#include </root/netsim/obj-x86_64-linux-gnu/include/netsim/tcp/tcp_session.h>
|
using | CallbackType = std::function< void(const ProtobufMessage &msg, const boost::asio::ip::tcp::endpoint &remote)> |
|
template<typename ProtobufMessage>
class netsim::Receive< ProtobufMessage >
Definition at line 54 of file tcp_session.h.
◆ CallbackType
template<typename ProtobufMessage >
using netsim::Receive< ProtobufMessage >::CallbackType = std::function<void(const ProtobufMessage& msg, const boost::asio::ip::tcp::endpoint& remote)> |
◆ Receive()
template<typename ProtobufMessage >
◆ post()
template<typename ProtobufMessage >
void netsim::Receive< ProtobufMessage >::post |
( |
const std::string & |
pb_name, |
|
|
const std::string & |
bytes, |
|
|
const boost::asio::ip::tcp::endpoint & |
remote |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file:
- /root/netsim/obj-x86_64-linux-gnu/include/netsim/tcp/tcp_session.h