#include <channels.h>
Inheritance diagram for H323_RealTimeChannel:
Public Member Functions | |
Overrides from class H323Channel | |
virtual BOOL | OnSendingPDU (H245_OpenLogicalChannel &openPDU) const |
virtual void | OnSendOpenAck (const H245_OpenLogicalChannel &open, H245_OpenLogicalChannelAck &ack) const |
virtual BOOL | OnReceivedPDU (const H245_OpenLogicalChannel &pdu, unsigned &errorCode) |
virtual BOOL | OnReceivedAckPDU (const H245_OpenLogicalChannelAck &pdu) |
Operations | |
virtual BOOL | OnSendingPDU (H245_H2250LogicalChannelParameters ¶m) const=0 |
virtual void | OnSendOpenAck (H245_H2250LogicalChannelAckParameters ¶m) const =0 |
virtual BOOL | OnReceivedPDU (const H245_H2250LogicalChannelParameters ¶m, unsigned &errorCode)=0 |
virtual BOOL | OnReceivedAckPDU (const H245_H2250LogicalChannelAckParameters ¶m)=0 |
virtual BOOL | SetDynamicRTPPayloadType (int newType) |
RTP_DataFrame::PayloadTypes | GetDynamicRTPPayloadType () const |
Protected Attributes | |
RTP_DataFrame::PayloadTypes | rtpPayloadType |
H323_RealTimeChannel::H323_RealTimeChannel | ( | H323Connection & | connection, | |
const H323Capability & | capability, | |||
Directions | direction | |||
) |
Create a new channel.
connection | Connection to endpoint for channel |
capability | Capability channel is using |
direction | Direction of channel |
H323_RealTimeChannel::H323_RealTimeChannel | ( | H323Connection & | connection, | |
const H323Capability & | capability, | |||
Directions | direction | |||
) |
Create a new channel.
connection | Connection to endpoint for channel |
capability | Capability channel is using |
direction | Direction of channel |
virtual BOOL H323_RealTimeChannel::OnSendingPDU | ( | H245_OpenLogicalChannel & | openPDU | ) | const [virtual] |
Fill out the OpenLogicalChannel PDU for the particular channel type.
openPDU | Open PDU to send. |
Implements H323Channel.
virtual void H323_RealTimeChannel::OnSendOpenAck | ( | const H245_OpenLogicalChannel & | open, | |
H245_OpenLogicalChannelAck & | ack | |||
) | const [virtual] |
This is called when request to create a channel is received from a remote machine and is about to be acknowledged.
open | Open PDU |
ack | Acknowledgement PDU |
Reimplemented from H323Channel.
virtual BOOL H323_RealTimeChannel::OnReceivedPDU | ( | const H245_OpenLogicalChannel & | pdu, | |
unsigned & | errorCode | |||
) | [virtual] |
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.
pdu | Open PDU |
errorCode | Error code on failure |
Reimplemented from H323Channel.
virtual BOOL H323_RealTimeChannel::OnReceivedAckPDU | ( | const H245_OpenLogicalChannelAck & | pdu | ) | [virtual] |
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.
pdu | Acknowledgement PDU |
Reimplemented from H323Channel.
virtual BOOL H323_RealTimeChannel::OnSendingPDU | ( | H245_H2250LogicalChannelParameters & | param | ) | const [pure virtual] |
Fill out the OpenLogicalChannel PDU for the particular channel type.
param | Open PDU to send. |
Implemented in H323_RTPChannel, and H323_ExternalRTPChannel.
virtual void H323_RealTimeChannel::OnSendOpenAck | ( | H245_H2250LogicalChannelAckParameters & | param | ) | const [pure virtual] |
This is called when request to create a channel is received from a remote machine and is about to be acknowledged.
param | Acknowledgement PDU |
Implemented in H323_RTPChannel, and H323_ExternalRTPChannel.
virtual BOOL H323_RealTimeChannel::OnReceivedPDU | ( | const H245_H2250LogicalChannelParameters & | param, | |
unsigned & | errorCode | |||
) | [pure virtual] |
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.
param | Acknowledgement PDU |
errorCode | Error on failure |
Implemented in H323_RTPChannel, and H323_ExternalRTPChannel.
virtual BOOL H323_RealTimeChannel::OnReceivedAckPDU | ( | const H245_H2250LogicalChannelAckParameters & | param | ) | [pure virtual] |
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.
param | Acknowledgement PDU |
Implemented in H323_RTPChannel, and H323_ExternalRTPChannel.
virtual BOOL H323_RealTimeChannel::SetDynamicRTPPayloadType | ( | int | newType | ) | [virtual] |
Set the dynamic payload type used by this channel.
newType | New RTP payload type number |
RTP_DataFrame::PayloadTypes H323_RealTimeChannel::GetDynamicRTPPayloadType | ( | ) | const [inline] |