adchpp::SocketFactory Class Reference

Inheritance diagram for adchpp::SocketFactory:
Inheritance graph
[legend]
Collaboration diagram for adchpp::SocketFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void close ()
void completeAccept (const error_code &ec, const ManagedSocketPtr &socket)
void handleAccept (const error_code &ec, const ManagedSocketPtr &socket)
void prepareAccept ()
 SocketFactory (io_service &io_, const SocketManager::IncomingHandler &handler_, const ServerInfoPtr &info)

Public Attributes

ip::tcp::acceptor acceptor
SocketManager::IncomingHandler handler
io_service & io
ServerInfoPtr serverInfo

Detailed Description

Definition at line 121 of file SocketManager.cpp.


Constructor & Destructor Documentation

adchpp::SocketFactory::SocketFactory ( io_service &  io_,
const SocketManager::IncomingHandler handler_,
const ServerInfoPtr info 
) [inline]

Definition at line 123 of file SocketManager.cpp.

References io.


Member Function Documentation

void adchpp::SocketFactory::close (  )  [inline]

Definition at line 205 of file SocketManager.cpp.

References acceptor.

void adchpp::SocketFactory::completeAccept ( const error_code &  ec,
const ManagedSocketPtr socket 
) [inline]

Definition at line 200 of file SocketManager.cpp.

References handler.

Referenced by handleAccept().

Here is the caller graph for this function:

void adchpp::SocketFactory::handleAccept ( const error_code &  ec,
const ManagedSocketPtr socket 
) [inline]

Definition at line 182 of file SocketManager.cpp.

References completeAccept(), prepareAccept(), and adchpp::SOCKET_BUFFER_SIZE.

Referenced by prepareAccept().

Here is the call graph for this function:

Here is the caller graph for this function:

void adchpp::SocketFactory::prepareAccept (  )  [inline]

Definition at line 144 of file SocketManager.cpp.

References acceptor, adchpp::Singleton< SocketManager >::getInstance(), handleAccept(), io, and serverInfo.

Referenced by handleAccept().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 208 of file SocketManager.cpp.

Referenced by close(), and prepareAccept().

Definition at line 210 of file SocketManager.cpp.

Referenced by completeAccept().

Definition at line 207 of file SocketManager.cpp.

Referenced by prepareAccept(), and SocketFactory().

Definition at line 209 of file SocketManager.cpp.

Referenced by prepareAccept().

Generated on Sat Nov 27 23:38:52 2010 for adchpp by  doxygen 1.6.3