#include <serversocket.h>
|
| 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 ServerSocketUniquePtr | create (int port) |
| static ServerSocketUniquePtr | create (int port, bool reuseAddress, const LogString &hostname) |
|
| | ServerSocket (LOG4CXX_PRIVATE_PTR(ServerSocketPrivate) priv) |
◆ ServerSocket()
| log4cxx::helpers::ServerSocket::ServerSocket |
( |
LOG4CXX_PRIVATE_PTR(ServerSocketPrivate) | priv | ) |
|
|
protected |
◆ ~ServerSocket()
| virtual log4cxx::helpers::ServerSocket::~ServerSocket |
( |
| ) |
|
|
virtual |
◆ accept()
| virtual SocketPtr log4cxx::helpers::ServerSocket::accept |
( |
| ) |
|
|
pure virtual |
Listens for a connection to be made to this socket and accepts it.
◆ close()
| virtual void log4cxx::helpers::ServerSocket::close |
( |
| ) |
|
|
virtual |
◆ create() [1/2]
| ServerSocketUniquePtr log4cxx::helpers::ServerSocket::create |
( |
int | port | ) |
|
|
static |
◆ create() [2/2]
| ServerSocketUniquePtr log4cxx::helpers::ServerSocket::create |
( |
int | port, |
|
|
bool | reuseAddress, |
|
|
const LogString & | hostname ) |
|
static |
◆ getSoTimeout()
| int log4cxx::helpers::ServerSocket::getSoTimeout |
( |
| ) |
const |
Retrive setting for SO_TIMEOUT.
◆ setSoTimeout()
| void log4cxx::helpers::ServerSocket::setSoTimeout |
( |
int | timeout | ) |
|
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
The documentation for this class was generated from the following file: