log4cplus  2.0.0
Public Member Functions | Protected Attributes
log4cplus::helpers::ServerSocket Class Reference

This class implements server sockets. More...

#include <socket.h>

Inheritance diagram for log4cplus::helpers::ServerSocket:
[legend]
Collaboration diagram for log4cplus::helpers::ServerSocket:
[legend]

List of all members.

Public Member Functions

 ServerSocket (unsigned short port, bool udp=false, bool ipv6=false)
 ServerSocket (ServerSocket &&)
virtual ~ServerSocket ()
ServerSocketoperator= (ServerSocket &&)
Socket accept ()
void interruptAccept ()
void swap (ServerSocket &)

Protected Attributes

std::array< std::ptrdiff_t, 2 > interruptHandles

Detailed Description

This class implements server sockets.

A server socket waits for requests to come in over the network. It performs some operation based on that request, and then possibly returns a result to the requester.

Definition at line 110 of file helpers/socket.h.


Constructor & Destructor Documentation

log4cplus::helpers::ServerSocket::ServerSocket ( unsigned short  port,
bool  udp = false,
bool  ipv6 = false 
)

Member Function Documentation

ServerSocket& log4cplus::helpers::ServerSocket::operator= ( ServerSocket &&  )

Member Data Documentation

std::array<std::ptrdiff_t, 2> log4cplus::helpers::ServerSocket::interruptHandles [protected]

Definition at line 123 of file helpers/socket.h.


The documentation for this class was generated from the following file: