OPAL
Version 3.18.8
|
#include <svcctrl.h>
Public Member Functions | |
Construction | |
H323ServiceControlSession () | |
Operations | |
enum | ChangeType { OpenSession, RefreshSession, CloseSession } |
virtual PBoolean | IsValid () const =0 |
virtual PString | GetServiceControlType () const |
virtual PBoolean | OnReceivedPDU (const H225_ServiceControlDescriptor &descriptor)=0 |
virtual PBoolean | OnSendingPDU (H225_ServiceControlDescriptor &descriptor) const =0 |
virtual void | OnChange (unsigned type, unsigned sessionId, H323EndPoint &endpoint, H323Connection *connection) const =0 |
This is a base class for H.323 Service Control Session handling. This implements the service class session management as per Annex K/H.323.
H323ServiceControlSession::H323ServiceControlSession | ( | ) |
Create a new handler for a Service Control.
|
virtual |
Get identification name for the Control Service. This function separates the dynamic data from the fundamental type of the control service which will cause a new session ID to be generated by the gatekeeper server.
Default behaviour returns the class name.
Reimplemented in H323HTTPServiceControl.
|
pure virtual |
Determine of the session is valid. That is has all of the data it needs to correctly encode a PDU.
Default behaviour is pure.
Implemented in H323CallCreditServiceControl, and H323HTTPServiceControl.
|
pure virtual |
Handle a change of the state of the Service Control Session.
Default behaviour is pure.
Implemented in H323CallCreditServiceControl, and H323HTTPServiceControl.
|
pure virtual |
Handle a received PDU. Update in the internal state from the received PDU.
Returns false is PDU is not sutiable for the class type.
Default behaviour is pure.
Implemented in H323CallCreditServiceControl, H323H248ServiceControl, and H323HTTPServiceControl.
|
pure virtual |
Handle a sent PDU. Set the PDU fields from in the internal state.
Returns false is PDU cannot be created.
Default behaviour is pure.
Implemented in H323CallCreditServiceControl, H323H248ServiceControl, and H323HTTPServiceControl.