#include <gridclienttcpconnection.hpp>
Public Member Functions | |
| GridClientAsyncTcpConnection () | |
| GridClientAsyncTcpConnection (boost::shared_ptr< boost::asio::ssl::context > &ctx) | |
| virtual void | send (const GridClientTcpPacket &gridTcpPacket, GridClientTcpPacket &result) |
An asynchronous implementation of GridClientTcpConnection.
| GridClientAsyncTcpConnection::GridClientAsyncTcpConnection | ( | ) | [inline] |
Non-SSL TCP connection constructor.
| GridClientAsyncTcpConnection::GridClientAsyncTcpConnection | ( | boost::shared_ptr< boost::asio::ssl::context > & | ctx | ) | [inline] |
SSL TCP connection constructor.
| ctx | Shared pointer to a Boost SSL context. |
| void GridClientAsyncTcpConnection::send | ( | const GridClientTcpPacket & | gridTcpPacket, | |
| GridClientTcpPacket & | result | |||
| ) | [virtual] |
Sends a TCP packet over connection and receives a reply.
| gridTcpPacket | Binary data to send. | |
| result | Binary response. |
Reimplemented from GridClientSyncTcpConnection.
1.7.1