class H323_T38Channel

This class describes the T38 logical channel

Inheritance:


Public Methods

[more] Construction
[more] Overrides from class H323Channel


Inherited from H323DataChannel:

Public Methods

Operations


Inherited from H323UnidirectionalChannel:


Inherited from H323Channel:

Public Methods

Member variable access


Documentation

This class describes the T38 logical channel
o Construction

o H323_T38Channel( H323Connection & connection, const H323Capability & capability, Directions direction, unsigned sessionID, H323_T38Capability::TransportMode mode )
Create a new channel.
Parameters:
connection - Connection to endpoint for channel
capability - Capability channel is using
direction - Direction of channel
sessionID - Session ID for channel

o Overrides from class H323Channel

ovirtual BOOL OnSendingPDU( H245_OpenLogicalChannel & openPDU ) const
Fill out the OpenLogicalChannel PDU for the particular channel type.
Parameters:
openPDU - Open PDU to send.

ovirtual BOOL OnReceivedPDU( const H245_OpenLogicalChannel & pdu, unsigned & errorCode )
This is called after a request to create a channel occurs from the local machine via the H245LogicalChannelDict::Open() function, and the request has been acknowledged by the remote endpoint.

The default makes sure the parameters are compatible and passes on the PDU to the rtp session.

Parameters:
pdu - Open PDU
errorCode - Error code on failure

ovirtual void CleanUpOnTermination()
This is called to clean up any threads on connection termination

ovirtual void Receive()
Handle channel data reception.

This is called by the thread started by the Start() function and is a loop reading from the transport and calling HandlePacket() for each PDU read.

ovirtual void Transmit()
Handle channel data transmission.

This is called by the thread started by the Start() function and is typically a loop reading from the codec and writing to the transport (eg an RTP_session).

ovirtual BOOL CreateListener()
Create the H323Listener class to be used. This is called on receipt of an OpenLogicalChannel request.

The default behaviour creates a compatible listener using the connections control channel as a basis and returns TRUE if successful.

ovirtual BOOL CreateTransport()
Create the H323Transport class to be used. This is called on receipt of an OpenLogicalChannelAck response. It should not return TRUE unless the transport member variable is set.

The default behaviour uses the connection signalling channel to create the transport and returns TRUE if successful.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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