#include <channels.h>
Inheritance diagram for H323UnidirectionalChannel:
Public Member Functions | |
Construction | |
H323UnidirectionalChannel (H323Connection &connection, const H323Capability &capability, Directions direction) | |
~H323UnidirectionalChannel () | |
Overrides from class H323Channel | |
virtual Directions | GetDirection () const |
virtual BOOL | SetInitialBandwidth () |
virtual BOOL | Open () |
virtual BOOL | Start () |
virtual void | Close () |
virtual void | OnMiscellaneousCommand (const H245_MiscellaneousCommand_type &type) |
Member variable access | |
virtual OpalMediaStream * | GetMediaStream () const |
Protected Member Functions | |
PDECLARE_NOTIFIER (OpalMediaCommand, H323UnidirectionalChannel, OnMediaCommand) | |
Protected Attributes | |
BOOL | receiver |
OpalMediaStream * | mediaStream |
An application may create a descendent off this class and override functions as required for operating the channel protocol.
|
Create a new channel.
|
|
Destroy the channel, deleting the associated media stream. |
|
This is called to clean up any threads on connection termination. Reimplemented from H323Channel. Reimplemented in H323DataChannel, and H323_T38Channel. |
|
Indicate the direction of the channel. Return if the channel is bidirectional, or unidirectional, and which direction for th latter case. Implements H323Channel. |
|
Get the media stream associated with this logical channel. The default behaviour returns NULL. Implements H323Channel. |
|
Process a miscellaneous command on the logical channel. The default behaviour passes this on to the codec if not NULL.
Reimplemented from H323Channel. |
|
Open the channel. Reimplemented from H323Channel. |
|
|
|
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. Implements H323Channel. |
|
This is called when the channel can start transferring data. The default action is to start one threads, with it either calling Receive() or Transmit() depending on the receiver member variable. Implements H323Channel. Reimplemented in H323_ExternalRTPChannel. |
|
|
|
|