H323BidirectionalChannel Class Reference

#include <channels.h>

Inheritance diagram for H323BidirectionalChannel:

H323Channel List of all members.

Public Member Functions

Construction
 H323BidirectionalChannel (H323Connection &connection, const H323Capability &capability)
Overrides from class H323Channel
virtual Directions GetDirection () const
virtual BOOL Start ()

Detailed Description

This class describes a bidirectional 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.

Definition at line 536 of file channels.h.


Constructor & Destructor Documentation

H323BidirectionalChannel::H323BidirectionalChannel ( H323Connection connection,
const H323Capability capability 
)

Create a new channel.

Parameters:
connection  Connection to endpoint for channel
capability  Capability channel is using

Definition at line 895 of file channels.cxx.


Member Function Documentation

H323Channel::Directions H323BidirectionalChannel::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 902 of file channels.cxx.

References H323Channel::IsBidirectional.

BOOL H323BidirectionalChannel::Start (  )  [virtual]

This is called when the channel can start transferring data. The default action is to start two threads, one calls Receive() and the other calls Transmit().

Implements H323Channel.

Definition at line 908 of file channels.cxx.

References H323Channel::endpoint, H323Channel::receiveThread, and H323Channel::transmitThread.


The documentation for this class was generated from the following files:
Generated on Thu Oct 25 13:45:19 2007 for h323plus by  doxygen 1.5.2