Public Member Functions |
|
| H323DataChannel (H323Connection &connection, const H323Capability &capability, Directions direction, unsigned sessionID) |
| ~H323DataChannel () |
|
virtual unsigned | GetSessionID () const |
virtual PBoolean | OnSendingPDU (H245_OpenLogicalChannel &openPDU) const |
virtual void | OnSendOpenAck (const H245_OpenLogicalChannel &open, H245_OpenLogicalChannelAck &ack) const |
virtual PBoolean | OnReceivedPDU (const H245_OpenLogicalChannel &pdu, unsigned &errorCode) |
virtual PBoolean | OnReceivedAckPDU (const H245_OpenLogicalChannelAck &pdu) |
|
virtual PBoolean | CreateListener () |
virtual PBoolean | CreateTransport () |
| H323UnidirectionalChannel (H323Connection &connection, const H323Capability &capability, Directions direction) |
| ~H323UnidirectionalChannel () |
virtual Directions | GetDirection () const |
virtual PBoolean | SetInitialBandwidth () |
virtual PBoolean | Open () |
virtual PBoolean | Start () |
virtual OpalMediaStreamPtr | GetMediaStream () const |
virtual bool | OnMediaCommand (const OpalMediaCommand &) |
| H323Channel (H323Connection &connection, const H323Capability &capability) |
| ~H323Channel () |
virtual void | PrintOn (ostream &strm) const |
const H323ChannelNumber & | GetNumber () const |
void | SetNumber (const H323ChannelNumber &num) |
const H323ChannelNumber & | GetReverseChannel () const |
void | SetReverseChannel (const H323ChannelNumber &num) |
unsigned | GetBandwidthUsed () const |
PBoolean | SetBandwidthUsed (unsigned bandwidth) |
const H323Capability & | GetCapability () const |
PBoolean | IsPaused () const |
void | SetPause (PBoolean pause) |
virtual bool | SetSessionID (unsigned sessionID) |
virtual PBoolean | GetMediaTransportAddress (OpalTransportAddress &data, OpalTransportAddress &control) const |
virtual void | Close () |
PBoolean | IsOpen () const |
virtual void | OnFlowControl (long bitRateRestriction) |
virtual void | OnMiscellaneousCommand (const H245_MiscellaneousCommand_type &type) |
virtual void | OnMiscellaneousIndication (const H245_MiscellaneousIndication_type &type) |
virtual void | OnJitterIndication (DWORD jitter, int skippedFrameCount, int additionalBuffer) |
This class describes a data logical channel between the two endpoints. They may be created and deleted as required in the H245 protocol.
An application may create a descendent off this class and override functions as required for operating the channel protocol.
virtual PBoolean H323DataChannel::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.
- Parameters
-
Reimplemented from H323Channel.
Reimplemented in H323_T120Channel.
virtual PBoolean H323DataChannel::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.
- Parameters
-
pdu | Open PDU |
errorCode | Error code on failure |
Reimplemented from H323Channel.
Reimplemented in H323_T120Channel.