#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.
Definition at line 494 of file channels.h.
| 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 |
Definition at line 863 of file channels.cxx.
| H323Channel::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.
Definition at line 872 of file channels.cxx.
References H323Channel::IsReceiver, H323Channel::IsTransmitter, and receiver.
Referenced by H323_RTP_UDP::OnReceivedPDU(), H323_RTP_UDP::OnSendingPDU(), and H323_RTPChannel::Open().
| 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.
Definition at line 878 of file channels.cxx.
References H323Channel::endpoint, H323Channel::Open(), receiver, H323Channel::receiveThread, and H323Channel::transmitThread.
1.5.2