class AsioServer
More...
|
| | AsioServer (boost::asio::io_service &ioService) |
| | constructor More...
|
| |
|
| ~AsioServer () |
| | destructor
|
| |
|
void | readCfg () |
| | prepare the reception of the configuration from the client
|
| |
|
void | readHdr () |
| | prepare the reception of a header from the client
|
| |
|
void | readData () |
| | prepare the reception of a data buffer from the client
|
| |
|
void | writeCfg () |
| | deliver the configuration to the client, in response to the delivery of the configuration request from the clientto the server the reception of this object by the client means that the server is ready to exchange (hdr, data)
|
| |
|
void | writeHdr () |
| | sends back a header to the client, in response to the reception of (header, data) buffers
|
| |
|
void | writeHdrAndData () |
| | sends back (header and data) buffers to the client in one single write operation, in response to the reception of (header, data) buffers
|
| |
|
void | writeData () |
| | sends a data buffer to the client, once the preceeding header has been correctly delivered
|
| |
|
void | handle_write_cfg (const boost::system::error_code &ec) |
| | writeCfg completion callback method
|
| |
|
void | handle_read_cfg (const boost::system::error_code &ec) |
| | readCfg completion callback method
|
| |
|
void | handle_read_hdr (const boost::system::error_code &ec) |
| | readHdr completion callback method
|
| |
|
void | handle_read_data (const boost::system::error_code &ec) |
| | readData completion callback method
|
| |
|
void | handle_write_hdr (const boost::system::error_code &ec) |
| | writeHdr completion callback method
|
| |
|
void | handle_write_data (const boost::system::error_code &ec) |
| | completion callback method associated to writeData and writeHdrAndData methods
|
| |
◆ AsioServer()
| AsioServer::AsioServer |
( |
boost::asio::io_service & |
ioService | ) |
|
|
inline |
constructor
- Parameters
-
| ioService | asio io_service used by the internal socket |
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