virtual void Receive()
- Handle channel data reception.
This is called by the thread started by the Start() function and is
typically a loop reading from the transport and handling PDU's.
The default behaviour here is to call HandleChannel()
virtual 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).
The default behaviour here is to call HandleChannel()
virtual BOOL OnSendingPDU( H245_OpenLogicalChannel & openPDU ) const
- Fill out the OpenLogicalChannel PDU for the particular channel type.
- Parameters:
- openPDU - Open PDU to send.
virtual void OnSendOpenAck( const H245_OpenLogicalChannel & open, H245_OpenLogicalChannelAck & ack ) const
- This is called when request to create a channel is received from a
remote machine and is about to be acknowledged.
- Parameters:
- open - Open PDU
ack - Acknowledgement PDU
virtual 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
virtual BOOL OnReceivedAckPDU( const H245_OpenLogicalChannelAck & pdu )
- 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 - Acknowledgement PDU