This class is for encpsulating the IETF Real Time Protocol interface
Inheritance:
Public Methods
| Construction
|
| Overrides from class H323Channel
|
| Operations
|
Public Methods
-
Member variable access
Documentation
This class is for encpsulating the IETF Real Time Protocol interface
Construction
H323_RealTimeChannel( H323Connection & connection, const H323Capability & capability, Directions direction )
- Create a new channel.
- Parameters:
- connection - Connection to endpoint for channel
capability - Capability channel is using
direction - Direction of channel
Overrides from class H323Channel
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
Operations
virtual BOOL OnSendingPDU( H245_H2250LogicalChannelParameters & param ) const = 0
- Fill out the OpenLogicalChannel PDU for the particular channel type.
- Parameters:
- param - Open PDU to send.
virtual void OnSendOpenAck( H245_H2250LogicalChannelAckParameters & param ) const = 0
- This is called when request to create a channel is received from a
remote machine and is about to be acknowledged.
- Parameters:
- param - Acknowledgement PDU
virtual BOOL OnReceivedPDU( const H245_H2250LogicalChannelParameters & param, unsigned & errorCode ) = 0
- 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 behaviour sets the remote ports to send UDP packets to.
- Parameters:
- param - Acknowledgement PDU
errorCode - Error on failure
virtual BOOL OnReceivedAckPDU( const H245_H2250LogicalChannelAckParameters & param ) = 0
- 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 behaviour sets the remote ports to send UDP packets to.
- Parameters:
- param - Acknowledgement PDU
virtual BOOL SetDynamicRTPPayloadType( int newType )
- Set the dynamic payload type used by this channel.
- Parameters:
- newType - New RTP payload type number
- Direct child classes:
- H323_RTPChannel
H323_ExternalRTPChannel
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.