Wire Sysio Wire Sysion 1.0.0
|
Public Types | |
using | result_type = void |
Public Member Functions | |
session (std::shared_ptr< state_history_plugin_impl > plugin) | |
void | start (tcp::socket socket) |
void | start_read () |
void | send (const char *s) |
template<typename T > | |
void | send (T obj) |
void | send () |
void | operator() (get_status_request_v0 &) |
void | operator() (get_blocks_request_v0 &req) |
void | operator() (get_blocks_ack_request_v0 &req) |
void | send_update (get_blocks_result_v0 result, const block_state_ptr &block_state) |
void | send_update (const block_state_ptr &block_state) |
void | send_update (bool changed=false) |
template<typename F > | |
void | catch_and_close (F f) |
template<typename F > | |
void | callback (boost::system::error_code ec, const char *what, F f) |
void | on_fail (boost::system::error_code ec, const char *what) |
void | close () |
Public Attributes | |
std::shared_ptr< state_history_plugin_impl > | plugin |
std::unique_ptr< ws::stream< tcp::socket > > | socket_stream |
bool | sending = false |
bool | sent_abi = false |
std::vector< std::vector< char > > | send_queue |
std::optional< get_blocks_request_v0 > | current_request |
bool | need_to_send_update = false |
Definition at line 100 of file state_history_plugin.cpp.
Definition at line 173 of file state_history_plugin.cpp.
|
inline |
Definition at line 109 of file state_history_plugin.cpp.
|
inline |
Definition at line 281 of file state_history_plugin.cpp.
|
inline |
Definition at line 265 of file state_history_plugin.cpp.
|
inline |
Definition at line 304 of file state_history_plugin.cpp.
|
inline |
Definition at line 291 of file state_history_plugin.cpp.
|
inline |
Definition at line 204 of file state_history_plugin.cpp.
|
inline |
Definition at line 191 of file state_history_plugin.cpp.
|
inline |
Definition at line 174 of file state_history_plugin.cpp.
|
inline |
Definition at line 154 of file state_history_plugin.cpp.
|
inline |
Definition at line 143 of file state_history_plugin.cpp.
Definition at line 149 of file state_history_plugin.cpp.
|
inline |
Definition at line 252 of file state_history_plugin.cpp.
|
inline |
Definition at line 243 of file state_history_plugin.cpp.
|
inline |
Definition at line 211 of file state_history_plugin.cpp.
|
inline |
Definition at line 112 of file state_history_plugin.cpp.
|
inline |
Definition at line 127 of file state_history_plugin.cpp.
std::optional<get_blocks_request_v0> sysio::state_history_plugin_impl::session::current_request |
Definition at line 106 of file state_history_plugin.cpp.
bool sysio::state_history_plugin_impl::session::need_to_send_update = false |
Definition at line 107 of file state_history_plugin.cpp.
std::shared_ptr<state_history_plugin_impl> sysio::state_history_plugin_impl::session::plugin |
Definition at line 101 of file state_history_plugin.cpp.
std::vector<std::vector<char> > sysio::state_history_plugin_impl::session::send_queue |
Definition at line 105 of file state_history_plugin.cpp.
bool sysio::state_history_plugin_impl::session::sending = false |
Definition at line 103 of file state_history_plugin.cpp.
bool sysio::state_history_plugin_impl::session::sent_abi = false |
Definition at line 104 of file state_history_plugin.cpp.
std::unique_ptr<ws::stream<tcp::socket> > sysio::state_history_plugin_impl::session::socket_stream |
Definition at line 102 of file state_history_plugin.cpp.