#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 33 of file protocol.h.
using scip2::Protocol::Ptr = std::shared_ptr<Protocol> |
Definition at line 67 of file protocol.h.
|
inlineexplicit |
Definition at line 69 of file protocol.h.
|
inlineprotected |
Definition at line 39 of file protocol.h.
|
inline |
Definition at line 84 of file protocol.h.
|
inline |
Definition at line 76 of file protocol.h.
|
protected |
Definition at line 36 of file protocol.h.
|
protected |
Definition at line 37 of file protocol.h.