|
scc 2026.07
SystemC components library
|
The connection class provides FlatBuffers framing primitives on top of a socket. More...
#include <serialized_connection.h>


Classes | |
| struct | async_listener |
Public Types | |
| typedef boost::asio::ip::tcp::socket | socket_t |
| typedef boost::asio::ip::tcp::endpoint | endpoint_t |
| typedef boost::asio::ip::tcp::acceptor | acceptor_t |
| typedef std::shared_ptr< connection< TSEND, TREC > > | ptr |
Public Member Functions | |
| connection (boost::asio::io_context &io_context) | |
| socket_t & | socket () |
| void | add_listener (std::shared_ptr< async_listener > l) |
| void | async_write (TSEND &t) |
| void | async_write (TSEND *t) |
| void | async_read () |
| void | write_data (std::shared_ptr< TSEND > &t) |
| void | write_data (TSEND &t) |
| void | write_data (TSEND *t) |
| void | write_data (TSEND *t, boost::system::error_code &ec) |
| bool | read_data_available () |
| void | read_data (std::shared_ptr< TREC > &msg) |
| void | read_data (TREC *&t) |
| void | read_data (TREC *&t, boost::system::error_code &ec) |
Protected Member Functions | |
| void | handle_async_write (const boost::system::error_code &err, size_t) |
| void | async_read_header (const boost::system::error_code &e) |
| void | async_read_data (const boost::system::error_code &e) |
The connection class provides FlatBuffers framing primitives on top of a socket.
Each message sent using this class consists of:
Definition at line 38 of file serialized_connection.h.
| typedef boost::asio::ip::tcp::acceptor scc::tcp4tlm::connection< TSEND, TREC >::acceptor_t |
Definition at line 51 of file serialized_connection.h.
| typedef boost::asio::ip::tcp::endpoint scc::tcp4tlm::connection< TSEND, TREC >::endpoint_t |
Definition at line 50 of file serialized_connection.h.
| typedef std::shared_ptr<connection<TSEND, TREC> > scc::tcp4tlm::connection< TSEND, TREC >::ptr |
Definition at line 53 of file serialized_connection.h.
| typedef boost::asio::ip::tcp::socket scc::tcp4tlm::connection< TSEND, TREC >::socket_t |
Definition at line 49 of file serialized_connection.h.
|
inline |
Definition at line 60 of file serialized_connection.h.
|
inline |
Definition at line 64 of file serialized_connection.h.
|
inline |
Definition at line 92 of file serialized_connection.h.
|
inlineprotected |
Definition at line 121 of file serialized_connection.h.
|
inlineprotected |
Definition at line 99 of file serialized_connection.h.
|
inline |
Definition at line 66 of file serialized_connection.h.
|
inline |
Definition at line 68 of file serialized_connection.h.
|
inlineprotected |
Definition at line 86 of file serialized_connection.h.
|
inline |
Definition at line 175 of file serialized_connection.h.
|
inline |
Definition at line 181 of file serialized_connection.h.
|
inline |
Definition at line 187 of file serialized_connection.h.
|
inline |
Definition at line 168 of file serialized_connection.h.
|
inline |
Definition at line 63 of file serialized_connection.h.
|
inline |
Definition at line 144 of file serialized_connection.h.
|
inline |
Definition at line 146 of file serialized_connection.h.
|
inline |
Definition at line 148 of file serialized_connection.h.
|
inline |
Definition at line 154 of file serialized_connection.h.