Inheritance diagram for H323TransactionServer:

Public Member Functions | |
Construction | |
| H323TransactionServer (H323EndPoint &endpoint) | |
| ~H323TransactionServer () | |
Access functions | |
| H323EndPoint & | GetOwnerEndPoint () const |
Protocol Handler Operations | |
| BOOL | AddListeners (const H323TransportAddressArray &ifaces) |
| BOOL | AddListener (const H323TransportAddress &interfaceName) |
| BOOL | AddListener (H323Transport *transport) |
| BOOL | AddListener (H323Transactor *listener) |
| virtual H323Transactor * | CreateListener (H323Transport *transport)=0 |
| BOOL | RemoveListener (H323Transactor *listener) |
Protected Attributes | |
| H323EndPoint & | ownerEndPoint |
| PThread * | monitorThread |
| PSyncPoint | monitorExit |
| PMutex | mutex |
| ListenerList | listeners |
| BOOL | usingAllInterfaces |
Definition at line 454 of file h323trans.h.
| H323TransactionServer::H323TransactionServer | ( | H323EndPoint & | endpoint | ) |
Create a new gatekeeper.
Definition at line 918 of file h323trans.cxx.
References usingAllInterfaces.
| H323TransactionServer::~H323TransactionServer | ( | ) |
Destroy gatekeeper.
Definition at line 925 of file h323trans.cxx.
| H323EndPoint& H323TransactionServer::GetOwnerEndPoint | ( | ) | const [inline] |
| BOOL H323TransactionServer::AddListeners | ( | const H323TransportAddressArray & | ifaces | ) |
Add listeners to the transaction server. If a listener already exists on the interface specified in the list then it is ignored. If a listener does not yet exist a new one is created and if a listener is running that is not in the list then it is stopped and removed.
If the array is empty then the string "*" is assumed which will listen on the standard UDP port on INADDR_ANY.
Returns TRUE if at least one interface was successfully started.
| ifaces | Interfaces to listen on. |
Definition at line 930 of file h323trans.cxx.
References AddListener(), listeners, and mutex.
| BOOL H323TransactionServer::AddListener | ( | const H323TransportAddress & | interfaceName | ) |
Add a gatekeeper listener to this gatekeeper server given the transport address for the local interface.
Definition at line 962 of file h323trans.cxx.
References H323TransportAddress::GetIpAndPort(), listeners, mutex, ownerEndPoint, and usingAllInterfaces.
Referenced by AddListener(), and AddListeners().
| BOOL H323TransactionServer::AddListener | ( | H323Transport * | transport | ) |
Add a gatekeeper listener to this gatekeeper server given the transport. Note that the transport is then owned by the listener and will be deleted automatically when the listener is destroyed. Note also the transport is deleted if this function returns FALSE and no listener was created.
Definition at line 996 of file h323trans.cxx.
References AddListener(), and CreateListener().
| BOOL H323TransactionServer::AddListener | ( | H323Transactor * | listener | ) |
Add a gatekeeper listener to this gatekeeper server. Note that the gatekeeper listener is then owned by the gatekeeper server and will be deleted automatically when the listener is removed. Note also the listener is deleted if this function returns FALSE and the listener was not used.
Definition at line 1010 of file h323trans.cxx.
References listeners, mutex, and H323Transactor::StartChannel().
| virtual H323Transactor* H323TransactionServer::CreateListener | ( | H323Transport * | transport | ) | [pure virtual] |
Create a new H323GatkeeperListener. The user woiuld not usually use this function as it is used internally by the server when new listeners are added by H323TransportAddress.
However, a user may override this function to create objects that are user defined descendants of H323GatekeeperListener so the user can maintain extra information on a interface by interface basis.
| transport | Transport for listener |
Implemented in H323GatekeeperServer.
Referenced by AddListener().
| BOOL H323TransactionServer::RemoveListener | ( | H323Transactor * | listener | ) |
Remove a gatekeeper listener from this gatekeeper server. The gatekeeper listener is automatically deleted.
Definition at line 1027 of file h323trans.cxx.
1.5.2