rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
TestMsgHandler Class Reference
Inheritance diagram for TestMsgHandler:
rad::MsgHandler

Public Member Functions

 TestMsgHandler (boost::asio::io_service &ios)
 
virtual ~TestMsgHandler ()
 
void Handle (std::string const &identity, std::string const &msg_type_id, void const *data, size_t data_size)
 
- Public Member Functions inherited from rad::MsgHandler
virtual ~MsgHandler ()
 
virtual ~MsgHandler ()
 

Public Attributes

boost::asio::io_service & m_ios
 

Constructor & Destructor Documentation

TestMsgHandler::TestMsgHandler ( boost::asio::io_service &  ios)
inline
virtual TestMsgHandler::~TestMsgHandler ( )
inlinevirtual

Member Function Documentation

void TestMsgHandler::Handle ( std::string const &  identity,
std::string const &  msg_type_id,
void const *  data,
size_t  data_size 
)
inlinevirtual

Handles raw message.

Parameters
identityRequestor identity.
msg_type_idIdentity of message type.
dataRaw serialized message.
data_sizeSize of the raw message.
Todo:
replace data with array_view

Implements rad::MsgHandler.

Member Data Documentation

boost::asio::io_service& TestMsgHandler::m_ios

The documentation for this class was generated from the following file: