Apache Log4cxx  Version 1.3.1
Loading...
Searching...
No Matches
log4cxx::helpers::ServerSocket Class Referenceabstract

#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)
 

Protected Member Functions

 ServerSocket (LOG4CXX_PRIVATE_PTR(ServerSocketPrivate) priv)
 

Constructor & Destructor Documentation

◆ ServerSocket()

log4cxx::helpers::ServerSocket::ServerSocket ( LOG4CXX_PRIVATE_PTR(ServerSocketPrivate)  priv)
protected

◆ ~ServerSocket()

virtual log4cxx::helpers::ServerSocket::~ServerSocket ( )
virtual

Member Function Documentation

◆ 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

Closes this socket.

◆ 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: