log4cplus  2.1.0
Public Member Functions | Protected Attributes | List of all members
log4cplus::helpers::AbstractSocket Class Referenceabstract

#include <socket.h>

Inheritance diagram for log4cplus::helpers::AbstractSocket:
[legend]

Public Member Functions

 AbstractSocket ()
 
 AbstractSocket (SOCKET_TYPE sock, SocketState state, int err)
 
 AbstractSocket (AbstractSocket const &)=delete
 
 AbstractSocket (AbstractSocket &&) LOG4CPLUS_NOEXCEPT
 
virtual ~AbstractSocket ()=0
 
virtual void close ()
 Close socket. More...
 
virtual bool isOpen () const
 
virtual void shutdown ()
 
AbstractSocketoperator= (AbstractSocket &&rhs) LOG4CPLUS_NOEXCEPT
 
void swap (AbstractSocket &)
 

Protected Attributes

SOCKET_TYPE sock
 
SocketState state
 
int err
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AbstractSocket() [1/4]

log4cplus::helpers::AbstractSocket::AbstractSocket ( )

◆ AbstractSocket() [2/4]

log4cplus::helpers::AbstractSocket::AbstractSocket ( SOCKET_TYPE  sock,
SocketState  state,
int  err 
)

◆ AbstractSocket() [3/4]

log4cplus::helpers::AbstractSocket::AbstractSocket ( AbstractSocket const &  )
delete

◆ AbstractSocket() [4/4]

log4cplus::helpers::AbstractSocket::AbstractSocket ( AbstractSocket &&  )

◆ ~AbstractSocket()

virtual log4cplus::helpers::AbstractSocket::~AbstractSocket ( )
pure virtual

Member Function Documentation

◆ close()

virtual void log4cplus::helpers::AbstractSocket::close ( )
virtual

Close socket.

◆ isOpen()

virtual bool log4cplus::helpers::AbstractSocket::isOpen ( ) const
virtual

◆ operator=()

AbstractSocket& log4cplus::helpers::AbstractSocket::operator= ( AbstractSocket &&  rhs)

◆ shutdown()

virtual void log4cplus::helpers::AbstractSocket::shutdown ( )
virtual

◆ swap()

void log4cplus::helpers::AbstractSocket::swap ( AbstractSocket )

Member Data Documentation

◆ err

int log4cplus::helpers::AbstractSocket::err
protected

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

◆ sock

SOCKET_TYPE log4cplus::helpers::AbstractSocket::sock
protected

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

◆ state

SocketState log4cplus::helpers::AbstractSocket::state
protected

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


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