H323H248ServiceControl Class Reference

#include <svcctrl.h>

Inheritance diagram for H323H248ServiceControl:

H323ServiceControlSession List of all members.

Public Member Functions

Construction
 H323H248ServiceControl ()
 H323H248ServiceControl (const H225_ServiceControlDescriptor &contents)
Operations
virtual BOOL OnReceivedPDU (const H225_ServiceControlDescriptor &contents)
virtual BOOL OnSendingPDU (H225_ServiceControlDescriptor &contents) const
virtual BOOL OnReceivedPDU (const H248_SignalsDescriptor &descriptor)
virtual BOOL OnSendingPDU (H248_SignalsDescriptor &descriptor) const
virtual BOOL OnReceivedPDU (const H248_SignalRequest &request)=0
virtual BOOL OnSendingPDU (H248_SignalRequest &request) const =0
serviceType GetType ()

Detailed Description

This is a base class for H.323 Service Control Session handling for H.248.

Definition at line 228 of file svcctrl.h.


Constructor & Destructor Documentation

H323H248ServiceControl::H323H248ServiceControl (  ) 

Create a new handler for a Service Control.

Definition at line 136 of file svcctrl.cxx.

H323H248ServiceControl::H323H248ServiceControl ( const H225_ServiceControlDescriptor contents  ) 

Create a new handler for a Service Control, initialise to PDU.

Definition at line 141 of file svcctrl.cxx.

References OnReceivedPDU().


Member Function Documentation

BOOL H323H248ServiceControl::OnReceivedPDU ( const H225_ServiceControlDescriptor contents  )  [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.

Definition at line 147 of file svcctrl.cxx.

References H225_ServiceControlDescriptor::e_signal.

Referenced by H323H248ServiceControl(), and OnReceivedPDU().

BOOL H323H248ServiceControl::OnSendingPDU ( H225_ServiceControlDescriptor contents  )  const [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.

Definition at line 162 of file svcctrl.cxx.

References H225_ServiceControlDescriptor::e_signal.

Referenced by OnSendingPDU().

BOOL H323H248ServiceControl::OnReceivedPDU ( const H248_SignalsDescriptor descriptor  )  [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.

Definition at line 175 of file svcctrl.cxx.

References OnReceivedPDU().

BOOL H323H248ServiceControl::OnSendingPDU ( H248_SignalsDescriptor descriptor  )  const [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.

Definition at line 186 of file svcctrl.cxx.

References OnSendingPDU().

virtual BOOL H323H248ServiceControl::OnReceivedPDU ( const H248_SignalRequest request  )  [pure virtual]

Handle a received PDU. Update in the internal state from the received PDU.

Default behaviour is pure.

virtual BOOL H323H248ServiceControl::OnSendingPDU ( H248_SignalRequest request  )  const [pure virtual]

Handle a sent PDU. Set the PDU fields from in the internal state.

Default behaviour is pure.


The documentation for this class was generated from the following files:
Generated on Thu Oct 25 13:45:28 2007 for h323plus by  doxygen 1.5.2