#include <connection.h>
|
using | CallbackClose = boost::function< void(void)> |
|
using | CallbackConnect = boost::function< void(void)> |
|
using | CallbackReceive = boost::function< void(boost::asio::streambuf &, const boost::posix_time::ptime &)> |
|
using | CallbackSend = boost::function< void(const boost::posix_time::ptime &)> |
|
Definition at line 87 of file connection.h.
scip2::ConnectionTcp::ConnectionTcp |
( |
const std::string & |
ip, |
|
|
const uint16_t |
port |
|
) |
| |
|
inline |
void scip2::ConnectionTcp::asyncRead |
( |
| ) |
|
|
inlineprotected |
void scip2::ConnectionTcp::clearWatchdog |
( |
| ) |
|
|
inlineprotected |
void scip2::ConnectionTcp::onConnect |
( |
const boost::system::error_code & |
error | ) |
|
|
inlineprotected |
void scip2::ConnectionTcp::onConnectTimeout |
( |
const boost::system::error_code & |
error | ) |
|
|
inlineprotected |
void scip2::ConnectionTcp::onReceive |
( |
const boost::system::error_code & |
error | ) |
|
|
inlineprotected |
void scip2::ConnectionTcp::onSend |
( |
const boost::system::error_code & |
error, |
|
|
CallbackSend |
cb |
|
) |
| |
|
inlineprotected |
void scip2::ConnectionTcp::onWatchdog |
( |
const boost::system::error_code & |
error | ) |
|
|
inlineprotected |
void scip2::ConnectionTcp::spin |
( |
| ) |
|
|
inlinevirtual |
void scip2::ConnectionTcp::startWatchdog |
( |
const boost::posix_time::time_duration & |
duration | ) |
|
|
inlinevirtual |
void scip2::ConnectionTcp::stop |
( |
| ) |
|
|
inlinevirtual |
boost::asio::streambuf scip2::ConnectionTcp::buf_ |
|
protected |
boost::asio::io_service scip2::ConnectionTcp::io_ |
|
protected |
boost::asio::ip::tcp::socket scip2::ConnectionTcp::socket_ |
|
protected |
boost::asio::deadline_timer scip2::ConnectionTcp::timeout_ |
|
protected |
boost::asio::deadline_timer scip2::ConnectionTcp::watchdog_ |
|
protected |
boost::posix_time::time_duration scip2::ConnectionTcp::watchdog_duration_ |
|
protected |
The documentation for this class was generated from the following file: