#include <h323caps.h>
Inheritance diagram for H323_G7231Capability:
Public Member Functions | |
Construction | |
H323_G7231Capability (BOOL allowSIDFrames=TRUE) | |
Overrides from class PObject | |
virtual PObject * | Clone () const |
Identification functions | |
virtual unsigned | GetSubType () const |
virtual PString | GetFormatName () const |
Protocol manipulation | |
virtual BOOL | OnSendingPDU (H245_AudioCapability &pdu, unsigned packetSize) const |
virtual BOOL | OnReceivedPDU (const H245_AudioCapability &pdu, unsigned &packetSize) |
Protected Attributes | |
BOOL | allowSIDFrames |
H323_G7231Capability::H323_G7231Capability | ( | BOOL | allowSIDFrames = TRUE |
) |
Create a new G.723.1 capability.
allowSIDFrames | Allow SID frames in data stream. |
virtual PObject* H323_G7231Capability::Clone | ( | ) | const [virtual] |
Create a copy of the object.
virtual PString H323_G7231Capability::GetFormatName | ( | ) | const [virtual] |
Get the name of the media data format this class represents.
Implements H323Capability.
virtual unsigned H323_G7231Capability::GetSubType | ( | ) | const [virtual] |
Get the sub-type of the capability. This is a code dependent on the main type of the capability.
Implements H323Capability.
virtual BOOL H323_G7231Capability::OnReceivedPDU | ( | const H245_AudioCapability & | pdu, | |
unsigned & | packetSize | |||
) | [virtual] |
This function is called whenever and incoming TerminalCapabilitySet or OpenLogicalChannel PDU has been used to construct the control channel. It allows the capability to set from the PDU fields, information in members specific to the class.
The default behaviour gets the data rate field from the PDU.
pdu | PDU to get information from |
packetSize | Packet size to use in capability |
Reimplemented from H323AudioCapability.
virtual BOOL H323_G7231Capability::OnSendingPDU | ( | H245_AudioCapability & | pdu, | |
unsigned | packetSize | |||
) | const [virtual] |
This function is called whenever and outgoing TerminalCapabilitySet or OpenLogicalChannel PDU is being constructed for the control channel. It allows the capability to set the PDU fields from information in members specific to the class.
The default behaviour sets the data rate field in the PDU.
pdu | PDU to set information on |
packetSize | Packet size to use in capability |
Reimplemented from H323AudioCapability.
BOOL H323_G7231Capability::allowSIDFrames [protected] |