#include <transports.h>
Inheritance diagram for H323ListenerTCP:
Public Member Functions | |
H323ListenerTCP (H323EndPoint &endpoint, PIPSocket::Address binding, WORD port, BOOL exclusive=FALSE) | |
~H323ListenerTCP () | |
virtual BOOL | Open () |
virtual BOOL | Close () |
virtual H323Transport * | Accept (const PTimeInterval &timeout) |
virtual H323TransportAddress | GetTransportAddress () const |
virtual BOOL | SetUpTransportPDU (H245_TransportAddress &pdu, const H323Transport &associatedTransport) |
WORD | GetListenerPort () const |
Protected Member Functions | |
virtual void | Main () |
Protected Attributes | |
PTCPSocket | listener |
PIPSocket::Address | localAddress |
BOOL | exclusiveListener |
|
Create a new listener for the TCP/IP protocol.
|
|
Destroy the listener thread. |
|
Accept a new incoming transport.
Implements H323Listener. |
|
Stop the listener thread and no longer accept incoming connections. Implements H323Listener. |
|
|
|
Get the local transport address on which this listener may be accessed. Implements H323Listener. |
|
Handle incoming H.323 connections and dispatch them in new threads based on the H323Transport class. This is defined in the descendent class that knows what the low level transport is, eg H323ListenerIP for the TCP/IP protocol. Note this function does not return until the Close() function is called or there is some other error. |
|
Open the listener. Implements H323Listener. |
|
Set up a transport address PDU for bidirectional logical channels.
Implements H323Listener. |
|
|
|
|
|
|