class AsioAcceptor
More...
|
| | 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...
|
| |
◆ AsioAcceptor()
| AsioAcceptor::AsioAcceptor |
( |
boost::asio::io_service & |
io_service, |
|
|
const tcp::endpoint & |
endpoint |
|
) |
| |
|
inline |
constructor
- Parameters
-
| io_service | io_service used by the underlying boost asio acceptor |
| endpoint | TCP/IP endpoint description, containing in particular the version number of IP protocol, and the listening port number |
◆ handle_accept()
| void AsioAcceptor::handle_accept |
( |
AsioServerPtr |
pServer, |
|
|
const boost::system::error_code & |
ec |
|
) |
| |
|
inline |
start_accept completion callback method
- Parameters
-
| pServer | new TCP/IP connected server |
| ec | error code associated to the accept operation (if !ec, the operation was successful) |
The documentation for this class was generated from the following file:
- /media/reactivipdev/Nightly/IPSDK_Patch/IPSDK_4_1/IPSDK_Nightly/src/Benchmark/BenchAsioTcpIpDataXchg/main.cpp