log4cplus  2.0.0
Public Member Functions
log4cplus::helpers::Socket Class Reference

This class implements client sockets (also called just "sockets"). More...

#include <socket.h>

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

List of all members.

Public Member Functions

 Socket ()
 Socket (SOCKET_TYPE sock, SocketState state, int err)
 Socket (const tstring &address, unsigned short port, bool udp=false, bool ipv6=false)
 Socket (Socket &&)
virtual ~Socket ()
Socketoperator= (Socket &&)
virtual bool read (SocketBuffer &buffer)
virtual bool write (const SocketBuffer &buffer)
virtual bool write (const std::string &buffer)

Detailed Description

This class implements client sockets (also called just "sockets").

A socket is an endpoint for communication between two machines.

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


Constructor & Destructor Documentation

log4cplus::helpers::Socket::Socket ( const tstring address,
unsigned short  port,
bool  udp = false,
bool  ipv6 = false 
)
virtual log4cplus::helpers::Socket::~Socket ( ) [virtual]

Member Function Documentation

Socket& log4cplus::helpers::Socket::operator= ( Socket &&  )
virtual bool log4cplus::helpers::Socket::read ( SocketBuffer buffer) [virtual]
virtual bool log4cplus::helpers::Socket::write ( const SocketBuffer buffer) [virtual]
virtual bool log4cplus::helpers::Socket::write ( const std::string &  buffer) [virtual]

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