#include <channels.h>
Inheritance diagram for H323UnidirectionalChannel:
Public Member Functions | |
Construction | |
H323UnidirectionalChannel (H323Connection &connection, const H323Capability &capability, Directions direction) | |
Overrides from class H323Channel | |
virtual Directions | GetDirection () const |
virtual BOOL | Start () |
Protected Attributes | |
BOOL | receiver |
An application may create a descendent off this class and override functions as required for operating the channel protocol.
H323UnidirectionalChannel::H323UnidirectionalChannel | ( | 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 Directions H323UnidirectionalChannel::GetDirection | ( | ) | const [virtual] |
Indicate the direction of the channel. Return if the channel is bidirectional, or unidirectional, and which direction for th latter case.
Implements H323Channel.
virtual BOOL H323UnidirectionalChannel::Start | ( | ) | [virtual] |
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.
BOOL H323UnidirectionalChannel::receiver [protected] |