#include <channels.h>
Inheritance diagram for H323Channel:
An application may create a descendent off this class and override functions as required for operating the channel protocol.
|
|
|
Create a new channel.
|
|
Destroy new channel. To avoid usage of deleted objects in background threads, this waits for the H323LogicalChannelThread to terminate before continuing. |
|
This is called to clean up any threads on connection termination. Reimplemented in H323UnidirectionalChannel, H323DataChannel, and H323_T38Channel. |
|
Get the bandwidth used by the channel in 100's of bits/sec. |
|
Get the capability that created this channel. |
|
Indicate the direction of the channel. Return if the channel is bidirectional, or unidirectional, and which direction for the latter case. Implemented in H323UnidirectionalChannel, and H323BidirectionalChannel. |
|
Get the media stream associated with this logical channel. The default behaviour returns NULL. Implemented in H323UnidirectionalChannel. |
|
Get the media transport address for the connection. This is primarily used to determine if media bypass is possible for the call between two connections. The default behaviour returns FALSE.
Reimplemented in H323_ExternalRTPChannel. |
|
Get the number of the channel. |
|
Get the number of the reverse channel (if present). |
|
Indicate the session number of the channel. Return session for channel. This is primarily for use by RTP based channels, for channels for which the concept of a session is not meaningfull, the default simply returns 0. Reimplemented in H323_RTPChannel, H323_ExternalRTPChannel, and H323DataChannel. |
|
Indicate if has been opened. |
|
Get the "pause" flag. A paused channel is one that prevents the annunciation of the channels data. For example for audio this would mute the data, for video it would still frame. Note that channel is not stopped, and may continue to actually receive data, it is just that nothing is done with it. |
|
Limit bit flow for the logical channel. The default behaviour passes this on to the codec if not NULL.
|
|
Limit bit flow for the logical channel. The default behaviour does nothing.
|
|
Process a miscellaneous command on the logical channel. The default behaviour passes this on to the codec if not NULL.
Reimplemented in H323UnidirectionalChannel. |
|
Process a miscellaneous indication on the logical channel. The default behaviour passes this on to the codec if not NULL.
|
|
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 just returns TRUE.
Reimplemented in H323_RealTimeChannel, H323DataChannel, and H323_T120Channel. |
|
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 just returns TRUE.
Reimplemented in H323_RealTimeChannel, H323DataChannel, H323_T120Channel, and H323_T38Channel. |
|
Fill out the OpenLogicalChannel PDU for the particular channel type.
Implemented in H323_RealTimeChannel, H323DataChannel, H323_T120Channel, and H323_T38Channel. |
|
This is called when request to create a channel is received from a remote machine and is about to be acknowledged. The default behaviour does nothing.
Reimplemented in H323_RealTimeChannel, H323DataChannel, and H323_T120Channel. |
|
Open the channel. The default behaviour just calls connection.OnStartLogicalChannel() and if successful sets the opened member variable. Reimplemented in H323UnidirectionalChannel. |
|
|
|
Get the bandwidth used by the channel in 100's of bits/sec.
|
|
Set the initial bandwidth for the channel. This calculates the initial bandwidth required by the channel and returns TRUE if the connection can support this bandwidth. The default behaviour gets the bandwidth requirement from the codec object created by the channel. Implemented in H323UnidirectionalChannel. |
|
Set the number of the channel. |
|
Set the "pause" flag. A paused channel is one that prevents the annunciation of the channels data. For example for audio this would mute the data, for video it would still frame. Note that channel is not stopped, and may continue to actually receive data, it is just that nothing is done with it.
|
|
Set the number of the reverse channel (if present). |
|
This is called when the channel can start transferring data. Implemented in H323UnidirectionalChannel, H323BidirectionalChannel, and H323_ExternalRTPChannel. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|