#include <h323t38.h>
Inheritance diagram for H323_T38Channel:
Public Member Functions | |
OpalT38Protocol * | GetHandler () const |
Construction | |
H323_T38Channel (H323Connection &connection, const H323Capability &capability, Directions direction, unsigned sessionID, H323_T38Capability::TransportMode mode) | |
~H323_T38Channel () | |
Overrides from class H323Channel | |
virtual BOOL | OnSendingPDU (H245_OpenLogicalChannel &openPDU) const |
virtual BOOL | OnReceivedPDU (const H245_OpenLogicalChannel &pdu, unsigned &errorCode) |
virtual void | CleanUpOnTermination () |
virtual void | Receive () |
virtual void | Transmit () |
virtual BOOL | CreateListener () |
virtual BOOL | CreateTransport () |
Protected Attributes | |
BOOL | usesTCP |
OpalT38Protocol * | t38handler |
|
Create a new channel.
|
|
|
|
This is called to clean up any threads on connection termination. Reimplemented from H323DataChannel. |
|
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. Reimplemented from H323DataChannel. |
|
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. Reimplemented from H323DataChannel. |
|
|
|
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.
Reimplemented from H323DataChannel. |
|
Fill out the OpenLogicalChannel PDU for the particular channel type.
Reimplemented from H323DataChannel. |
|
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. Implements H323Channel. |
|
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). Implements H323Channel. |
|
|
|
|