#include </root/netsim/obj-x86_64-linux-gnu/include/netsim/tcp/tcp_session.h>
|
std::unique_ptr< boost::asio::ip::tcp::socket > & | socket () |
|
Definition at line 89 of file tcp_session.h.
◆ tcp_session()
netsim::tcp_session::tcp_session |
( |
std::unique_ptr< boost::asio::ip::tcp::socket > |
socket | ) |
|
◆ connected()
bool netsim::tcp_session::connected |
( |
| ) |
|
|
inline |
◆ disconnect()
void netsim::tcp_session::disconnect |
( |
| ) |
|
◆ read_callback() [1/2]
template<typename ProtobufMessage >
void netsim::tcp_session::read_callback |
( |
typename Receive< ProtobufMessage >::CallbackType |
f | ) |
|
|
inline |
◆ read_callback() [2/2]
◆ remote_endpoint()
boost::asio::ip::tcp::endpoint netsim::tcp_session::remote_endpoint |
( |
| ) |
|
|
inline |
◆ socket()
std::unique_ptr<boost::asio::ip::tcp::socket>& netsim::tcp_session::socket |
( |
| ) |
|
|
inlineprotected |
◆ start()
void netsim::tcp_session::start |
( |
| ) |
|
◆ write()
void netsim::tcp_session::write |
( |
const google::protobuf::Message & |
message | ) |
|
The documentation for this class was generated from the following file:
- /root/netsim/obj-x86_64-linux-gnu/include/netsim/tcp/tcp_session.h