IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | List of all members
AsioAcceptor Class Reference

class AsioAcceptor More...

Public Member Functions

 AsioAcceptor (boost::asio::io_service &io_service, const tcp::endpoint &endpoint)
 constructor More...
 
 ~AsioAcceptor ()
 destructor
 
void start_accept ()
 starts the listen operation on the specified endpoint
 
void handle_accept (AsioServerPtr pServer, const boost::system::error_code &ec)
 start_accept completion callback method More...
 

Detailed Description

class AsioAcceptor

Constructor & Destructor Documentation

◆ AsioAcceptor()

AsioAcceptor::AsioAcceptor ( boost::asio::io_service &  io_service,
const tcp::endpoint &  endpoint 
)
inline

constructor

Parameters
io_serviceio_service used by the underlying boost asio acceptor
endpointTCP/IP endpoint description, containing in particular the version number of IP protocol, and the listening port number

Member Function Documentation

◆ handle_accept()

void AsioAcceptor::handle_accept ( AsioServerPtr  pServer,
const boost::system::error_code &  ec 
)
inline

start_accept completion callback method

Parameters
pServernew TCP/IP connected server
ecerror code associated to the accept operation (if !ec, the operation was successful)

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