#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) |
|
◆ ServerSocket()
◆ ~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()
static ServerSocketUniquePtr log4cxx::helpers::ServerSocket::create |
( |
int |
port | ) |
|
|
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: