class H323ListenerTCP

This class manages H323 connections using TCP/IP transport

Inheritance:


Public Methods

[more] H323ListenerTCP ( H323EndPoint & endpoint, PIPSocket::Address binding, WORD port, BOOL exclusive = FALSE )
Create a new listener for the TCP/IP protocol.
[more] ~H323ListenerTCP ()
Destroy the listener thread
[more]virtual BOOL Open ()
Open the listener
[more]virtual BOOL Close ()
Stop the listener thread and no longer accept incoming connections
[more]virtual H323Transport* Accept ( const PTimeInterval & timeout )
Accept a new incoming transport.
[more]virtual H323TransportAddress GetTransportAddress () const
Get the local transport address on which this listener may be accessed
[more]virtual BOOL SetUpTransportPDU ( H245_TransportAddress & pdu, const H323Transport & associatedTransport )
Set up a transport address PDU for bidirectional logical channels.

Protected Methods

[more]virtual void Main ()
Handle incoming H323 connections and dispatch them in new threads based on the H323Transport class.


Inherited from H323Listener:

Public Methods

Construction

Operations

Protected Fields

o Endpoint that owns the listener


Documentation

This class manages H323 connections using TCP/IP transport
o H323ListenerTCP( H323EndPoint & endpoint, PIPSocket::Address binding, WORD port, BOOL exclusive = FALSE )
Create a new listener for the TCP/IP protocol.
Parameters:
endpoint - Endpoint instance for channel
binding - Local interface to listen on
port - TCP port to listen for connections
exclusive - Fail if listener port in use

o ~H323ListenerTCP()
Destroy the listener thread

ovirtual BOOL Open()
Open the listener

ovirtual BOOL Close()
Stop the listener thread and no longer accept incoming connections

ovirtual H323Transport* Accept( const PTimeInterval & timeout )
Accept a new incoming transport.
Parameters:
timeout - Time to wait for incoming connection

ovirtual H323TransportAddress GetTransportAddress() const
Get the local transport address on which this listener may be accessed

ovirtual BOOL SetUpTransportPDU( H245_TransportAddress & pdu, const H323Transport & associatedTransport )
Set up a transport address PDU for bidirectional logical channels.
Parameters:
pdu - Transport addresses listening on
associatedTransport - Associated transport for precendence and translation

ovirtual void Main()
Handle incoming H323 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.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.