class H323_T120Capability

This class describes the T120 logical channel

Inheritance:


Public Methods

[more] Construction
[more] Overrides from class PObject
[more] Identification functions
[more] Operations
[more] Protocol manipulation
[more] Member access


Inherited from H323DataCapability:


Inherited from H323Capability:

Public Methods

Member variable access

Protected Fields

oCapabilityDirection capabilityDirection


Documentation

This class describes the T120 logical channel
o Construction

o H323_T120Capability()
Create capability

o Overrides from class PObject

ovirtual PObject* Clone() const
Create a copy of the object

o Identification functions

ovirtual unsigned GetSubType() const
Get the sub-type of the capability. This is a code dependent on the main type of the capability.

This returns the e_t120 enum value from the protocol ASN H245_DataApplicationCapability_application class.

ovirtual PString GetFormatName() const
Get the name of the media data format this class represents

o Operations

ovirtual H323Channel* CreateChannel( H323Connection & connection, H323Channel::Directions dir, unsigned sessionID, const H245_H2250LogicalChannelParameters* param ) const
Create the channel instance, allocating resources as required.
Parameters:
connection - Owner connection for channel
dir - Direction of channel
sessionID - Session ID for RTP channel
param - Parameters for channel

o Protocol manipulation

ovirtual BOOL OnSendingPDU( H245_DataApplicationCapability & pdu ) const
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 pdu and calls OnSendingPDU with a H245_DataProtocolCapability parameter.

ovirtual BOOL OnSendingPDU( H245_DataMode & pdu ) const
This function is called whenever and outgoing RequestMode 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 pdu and calls OnSendingPDU with a H245_DataProtocolCapability parameter.

Parameters:
pdu - PDU to set information on

ovirtual BOOL OnSendingPDU( H245_DataProtocolCapability & pdu ) const
This function is called whenever and outgoing 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 separate LAN stack.

Parameters:
pdu - PDU to set information on

ovirtual BOOL OnReceivedPDU( const H245_DataApplicationCapability & pdu )
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.

Parameters:
pdu - PDU to set information on

o Member access

oBOOL GetDynamicPortCapability() const
Get the dynamic port capability. Indicates endpoint can use something other than port 1503.

ovoid SetDynamicPortCapability(BOOL dynamic)
Set the dynamic port capability. Indicates endpoint can use something other than port 1503.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.