OPAL
Version 3.18.8
|
#include <svcctrl.h>
Public Member Functions | |
Construction | |
H323H248ServiceControl () | |
H323H248ServiceControl (const H225_ServiceControlDescriptor &contents) | |
Operations | |
virtual PBoolean | OnReceivedPDU (const H225_ServiceControlDescriptor &contents) |
virtual PBoolean | OnSendingPDU (H225_ServiceControlDescriptor &contents) const |
virtual PBoolean | OnReceivedPDU (const H248_SignalsDescriptor &descriptor) |
virtual PBoolean | OnSendingPDU (H248_SignalsDescriptor &descriptor) const |
virtual PBoolean | OnReceivedPDU (const H248_SignalRequest &request)=0 |
virtual PBoolean | OnSendingPDU (H248_SignalRequest &request) const =0 |
![]() | |
H323ServiceControlSession () | |
virtual PBoolean | IsValid () const =0 |
virtual PString | GetServiceControlType () const |
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 for H.248.
H323H248ServiceControl::H323H248ServiceControl | ( | ) |
Create a new handler for a Service Control.
H323H248ServiceControl::H323H248ServiceControl | ( | const H225_ServiceControlDescriptor & | contents | ) |
Create a new handler for a Service Control, initialise to PDU.
|
virtual |
Handle a received PDU. Update in the internal state from the received PDU.
Default behaviour converts to pdu to H248_SignalsDescriptor and calls that version of OnReceivedPDU().
Implements H323ServiceControlSession.
|
virtual |
Handle a received PDU. Update in the internal state from the received PDU.
Default behaviour calls the H248_SignalRequest version of OnReceivedPDU() for every element in H248_SignalsDescriptor.
|
pure virtual |
Handle a received PDU. Update in the internal state from the received PDU.
Default behaviour is pure.
|
virtual |
Handle a sent PDU. Set the PDU fields from in the internal state.
Default behaviour calls the H248_SignalsDescriptor version of OnSendingPDU() and converts that to the contents pdu.
Implements H323ServiceControlSession.
|
virtual |
Handle a sent PDU. Set the PDU fields from in the internal state.
Default behaviour calls the H248_SignalRequest version of OnSendingPDU() and appends it to the H248_SignalsDescriptor.
|
pure virtual |
Handle a sent PDU. Set the PDU fields from in the internal state.
Default behaviour is pure.