#include <protocol.h>
Public Types | |
| using | Ptr = std::shared_ptr< Protocol > |
Public Member Functions | |
| Protocol (Connection::Ptr connection) | |
| template<typename TResponse > | |
| void | registerCallback (typename TResponse::Callback cb) |
| void | sendCommand (const std::string &command, Connection::CallbackSend cb=Connection::CallbackSend()) |
Protected Member Functions | |
| void | cbReceive (boost::asio::streambuf &buf, const boost::posix_time::ptime &time_read) |
Protected Attributes | |
| Connection::Ptr | connection_ |
| ResponseProcessor | response_processor_ |
Definition at line 31 of file protocol.h.
| using scip2::Protocol::Ptr = std::shared_ptr<Protocol> |
Definition at line 65 of file protocol.h.
|
inlineexplicit |
Definition at line 67 of file protocol.h.
|
inlineprotected |
Definition at line 37 of file protocol.h.
|
inline |
Definition at line 82 of file protocol.h.
|
inline |
Definition at line 74 of file protocol.h.
|
protected |
Definition at line 34 of file protocol.h.
|
protected |
Definition at line 35 of file protocol.h.