class H323ListenerTCP: public H323Listener

This class manages H323 connections using TCP/IP transport

Inheritance:


Public Methods

[more] H323ListenerTCP ( H323EndPoint & endpoint, PIPSocket::Address binding = INADDR_ANY, WORD port = DefaultSignalPort, BOOL exclusive = TRUE )
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 void SetUpTransportPDU ( H225_ArrayOf_TransportAddress & pdu, const H323TransportAddress & first )
Set up a transport address PDU for RAS channel.
[more]virtual BOOL SetUpTransportPDU ( H245_TransportAddress & pdu, const H323TransportAddress & first )
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

Construction

Operations

Protected Fields

o


Documentation

This class manages H323 connections using TCP/IP transport
o H323ListenerTCP( H323EndPoint & endpoint, PIPSocket::Address binding = INADDR_ANY, WORD port = DefaultSignalPort, BOOL exclusive = TRUE )
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 void SetUpTransportPDU( H225_ArrayOf_TransportAddress & pdu, const H323TransportAddress & first )
Set up a transport address PDU for RAS channel.
Parameters:
pdu - List of transport addresses listening on
first - Transport address to take precedence

ovirtual BOOL SetUpTransportPDU( H245_TransportAddress & pdu, const H323TransportAddress & first )
Set up a transport address PDU for bidirectional logical channels.
Parameters:
pdu - Transport addresses listening on
first - Transport address to take precedence

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++.