#include <transports.h>
Inheritance diagram for H323Listener:
Public Member Functions | |
Construction | |
H323Listener (H323EndPoint &endpoint) | |
Overrides from PObject | |
virtual void | PrintOn (ostream &strm) const |
Operations | |
virtual BOOL | Open ()=0 |
virtual BOOL | Close ()=0 |
virtual H323Transport * | Accept (const PTimeInterval &timeout)=0 |
virtual H323TransportAddress | GetTransportAddress () const =0 |
virtual BOOL | SetUpTransportPDU (H245_TransportAddress &pdu, const H323Transport &associatedTransport)=0 |
Protected Attributes | |
H323EndPoint & | endpoint |
The Main() function is used to handle incoming H.323 connections and dispatch them in new threads based on the actual H323Transport class. This is defined in the descendent class that knows what the low level transport is, eg H323ListenerIP for the TCP/IP protocol.
An application may create a descendent off this class and override functions as required for operating the channel protocol.
|
Create a new listener.
|
|
Accept a new incoming transport.
Implemented in H323ListenerTCP. |
|
Stop the listener thread and no longer accept incoming connections. Implemented in H323ListenerTCP. |
|
Get the local transport address on which this listener may be accessed. Implemented in H323ListenerTCP. |
|
Open the listener. Implemented in H323ListenerTCP. |
|
|
|
Set up a transport address PDU for bidirectional logical channels.
Implemented in H323ListenerTCP. |
|
|