|
Apache Log4cxx
Version 1.7.0
|
#include <serversocket.h>
Public Member Functions | |
| virtual | ~ServerSocket () |
| virtual SocketPtr | accept ()=0 |
| Listens for a connection to be made to this socket and accepts it. | |
| virtual void | close () |
| Closes this socket. | |
| int | getSoTimeout () const |
| Retrive setting for SO_TIMEOUT. | |
| void | setSoTimeout (int timeout) |
| Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds. | |
Static Public Member Functions | |
| static ServerSocketUniquePtr | create (int port) |
| static ServerSocketUniquePtr | create (int port, bool reuseAddress, const LogString &hostname) |
Protected Member Functions | |
| ServerSocket (LOG4CXX_PRIVATE_PTR(ServerSocketPrivate) priv) | |
|
protected |
|
virtual |
|
pure virtual |
Listens for a connection to be made to this socket and accepts it.
|
virtual |
Closes this socket.
|
static |
|
static |
| int log4cxx::helpers::ServerSocket::getSoTimeout | ( | ) | const |
Retrive setting for SO_TIMEOUT.
| void log4cxx::helpers::ServerSocket::setSoTimeout | ( | int | timeout | ) |
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.