#include <jsonrpc_ws_server.hpp>
|
| std::shared_ptr< WsSession > | createSession (tcp::socket &&socket) override |
| |
| | WsServer (boost::asio::io_context &ioc, tcp::endpoint endpoint, addr_t node_addr, std::shared_ptr< metrics::JsonRpcMetrics > metrics) |
| |
| | WsServer (const WsServer &)=delete |
| |
| | WsServer (WsServer &&)=delete |
| |
| | WsServer (boost::asio::io_context &ioc, tcp::endpoint endpoint, addr_t node_addr, std::shared_ptr< metrics::JsonRpcMetrics > metrics) |
| |
| virtual | ~WsServer () |
| |
| | WsServer (const WsServer &)=delete |
| |
| | WsServer (WsServer &&)=delete |
| |
| WsServer & | operator= (const WsServer &)=delete |
| |
| WsServer & | operator= (WsServer &&)=delete |
| |
| void | run () |
| |
| void | newEthBlock (const ::taraxa::final_chain::BlockHeader &payload, const TransactionHashes &trx_hashes) |
| |
| void | newLogs (const ::taraxa::final_chain::BlockHeader &payload, TransactionHashes trx_hashes, const TransactionReceipts &receipts) |
| |
| void | newDagBlock (const std::shared_ptr< DagBlock > &blk) |
| |
| void | newDagBlockFinalized (const blk_hash_t &blk, uint64_t period) |
| |
| void | newPbftBlockExecuted (const PbftBlock &blk, const std::vector< blk_hash_t > &finalized_dag_blk_hashes) |
| |
| void | newPendingTransaction (const trx_hash_t &trx_hash) |
| |
| void | newPillarBlockData (const pillar_chain::PillarBlockData &pillar_block_data) |
| |
| uint32_t | numberOfSessions () |
| |
| virtual bool | StartListening () |
| |
| virtual bool | StopListening () |
| |
◆ createSession()
| std::shared_ptr< WsSession > taraxa::net::JsonRpcWsServer::createSession |
( |
tcp::socket && |
socket | ) |
|
|
overridevirtual |
◆ WsServer() [1/3]
| taraxa::net::WsServer::WsServer |
( |
boost::asio::io_context & |
ioc, |
|
|
tcp::endpoint |
endpoint, |
|
|
addr_t |
node_addr, |
|
|
std::shared_ptr< metrics::JsonRpcMetrics > |
metrics |
|
) |
| |
◆ WsServer() [2/3]
| taraxa::net::WsServer::WsServer |
( |
const WsServer & |
| ) |
|
|
delete |
◆ WsServer() [3/3]
| taraxa::net::WsServer::WsServer |
( |
WsServer && |
| ) |
|
|
delete |
The documentation for this class was generated from the following files: