#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 &)> |
|
|
void | close () |
|
void | connect () |
|
void | receive (boost::asio::streambuf &buf, const boost::posix_time::ptime &time_read) |
|
Definition at line 33 of file connection.h.
◆ CallbackClose
◆ CallbackConnect
◆ CallbackReceive
◆ CallbackSend
◆ Ptr
◆ Connection()
scip2::Connection::Connection |
( |
| ) |
|
|
inline |
◆ close()
void scip2::Connection::close |
( |
| ) |
|
|
inlineprotected |
◆ connect()
void scip2::Connection::connect |
( |
| ) |
|
|
inlineprotected |
◆ receive()
void scip2::Connection::receive |
( |
boost::asio::streambuf & |
buf, |
|
|
const boost::posix_time::ptime & |
time_read |
|
) |
| |
|
inlineprotected |
◆ registerCloseCallback()
void scip2::Connection::registerCloseCallback |
( |
CallbackClose |
cb | ) |
|
|
inline |
◆ registerConnectCallback()
◆ registerReceiveCallback()
◆ send()
◆ spin()
virtual void scip2::Connection::spin |
( |
| ) |
|
|
pure virtual |
◆ startWatchdog()
virtual void scip2::Connection::startWatchdog |
( |
const boost::posix_time::time_duration & |
| ) |
|
|
pure virtual |
◆ stop()
virtual void scip2::Connection::stop |
( |
| ) |
|
|
pure virtual |
◆ Protocol
◆ cb_close_
◆ cb_connect_
◆ cb_receive_
The documentation for this class was generated from the following file: