Public Member Functions | |
void | feed (boost::asio::streambuf &buf, const boost::posix_time::ptime &time_read) |
void | send (const std::string &, CallbackSend=CallbackSend()) final |
void | spin () final |
void | startWatchdog (const boost::posix_time::time_duration &) final |
void | stop () final |
![]() | |
Connection () | |
void | registerCloseCallback (CallbackClose cb) |
void | registerConnectCallback (CallbackConnect cb) |
void | registerReceiveCallback (CallbackReceive cb) |
Additional Inherited Members | |
![]() | |
using | Ptr = std::shared_ptr< Connection > |
![]() | |
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 &)> |
![]() | |
void | close () |
void | connect () |
void | receive (boost::asio::streambuf &buf, const boost::posix_time::ptime &time_read) |
![]() | |
CallbackClose | cb_close_ |
CallbackConnect | cb_connect_ |
CallbackReceive | cb_receive_ |
Definition at line 27 of file test_scip2.cpp.
|
inline |
Definition at line 42 of file test_scip2.cpp.
|
inlinefinalvirtual |
Implements scip2::Connection.
Definition at line 36 of file test_scip2.cpp.
|
inlinefinalvirtual |
Implements scip2::Connection.
Definition at line 30 of file test_scip2.cpp.
|
inlinefinalvirtual |
Implements scip2::Connection.
Definition at line 39 of file test_scip2.cpp.
|
inlinefinalvirtual |
Implements scip2::Connection.
Definition at line 33 of file test_scip2.cpp.