|
sipxtacklib
Version 3.3
|
#include <SipTcpServer.h>


Public Member Functions | |
| SipTcpServer (int sipPort=SIP_PORT, SipUserAgent *userAgent=NULL, const char *protocolString=SIP_TRANSPORT_TCP, const char *taskName="SipTcpServer-%d", UtlBoolean bUseNextAvailablePort=FALSE, const char *szBindAddr=NULL) | |
| virtual | ~SipTcpServer () |
| virtual UtlBoolean | startListener () |
| void | shutdownListener () |
| int | run (void *pArg) |
| int | getServerPort () const |
Public Member Functions inherited from SipProtocolServerBase | |
| SipProtocolServerBase (SipUserAgent *userAgent, const char *protocolString, const char *taskName) | |
| virtual | ~SipProtocolServerBase () |
| UtlBoolean | send (SipMessage *message, const char *hostAddress, int hostPort=SIP_PORT) |
| void | removeOldClients (long oldTime) |
| int | getClientCount () |
| virtual void | printStatus () |
| virtual UtlBoolean | isOk () |
Protected Member Functions | |
| OsStatus | createServerSocket (const char *szBindAddr, int &port, const UtlBoolean &bUseNextAvailablePort) |
| virtual OsSocket * | buildClientSocket (int hostPort, const char *hostAddress, const char *localIp) |
Protected Member Functions inherited from SipProtocolServerBase | |
| SipClient * | createClient (const char *hostAddress, int hostPort, const char *localIp) |
| void | releaseClient (SipClient *client) |
| void | startClients () |
| void | shutdownClients () |
| UtlBoolean | clientExists (SipClient *client) |
| void | addClient (SipClient *client) |
Protected Attributes | |
| int | mServerPort |
| UtlHashMap | mServerBrokers |
Protected Attributes inherited from SipProtocolServerBase | |
| UtlString | mProtocolString |
| UtlString | mDefaultIp |
| int | mDefaultPort |
| SipUserAgent * | mSipUserAgent |
| UtlHashMap | mServerSocketMap |
| UtlHashMap | mServerPortMap |
| UtlHashMap | mServers |
| SipServerBrokerListener * | mpServerBrokerListener |
| SipTcpServer | ( | int | sipPort = SIP_PORT, |
| SipUserAgent * | userAgent = NULL, |
||
| const char * | protocolString = SIP_TRANSPORT_TCP, |
||
| const char * | taskName = "SipTcpServer-%d", |
||
| UtlBoolean | bUseNextAvailablePort = FALSE, |
||
| const char * | szBindAddr = NULL |
||
| ) |
|
virtual |
|
virtual |
Reimplemented from SipProtocolServerBase.
|
virtual |
Implements SipProtocolServerBase.
|
virtual |
Implements SipProtocolServerBase.
| int getServerPort | ( | ) | const |
|
protected |
|
protectedvirtual |
Implements SipProtocolServerBase.
|
protected |
|
protected |