#include <frontend.h>
Inherits ccf::RpcHandler, and ccf::ForwardedRpcHandler.
Inherited by ccf::ACMERpcFrontend, ccf::MemberRpcFrontend, ccf::NodeRpcFrontend, and ccf::UserRpcFrontend.
◆ RpcFrontend()
◆ is_open()
bool ccf::RpcFrontend::is_open |
( |
| ) |
|
|
inlineoverridevirtual |
◆ open()
void ccf::RpcFrontend::open |
( |
| ) |
|
|
inlineoverridevirtual |
◆ process()
Process a serialised command with the associated RPC context
If an RPC that requires writing to the kv store is processed on a backup, the serialised RPC is forwarded to the current network primary.
- Parameters
-
ctx | Context for this RPC. Will be populated with response details before this call returns, or else response_is_pending will be set to true |
Implements ccf::RpcHandler.
◆ process_forwarded()
Process a serialised input forwarded from another node
- Parameters
-
ctx | Context for this forwarded RPC |
Implements ccf::ForwardedRpcHandler.
◆ set_cmd_forwarder()
void ccf::RpcFrontend::set_cmd_forwarder |
( |
std::shared_ptr< AbstractForwarder > |
cmd_forwarder_ | ) |
|
|
inlineoverridevirtual |
◆ set_root_on_proposals()
◆ set_sig_intervals()
void ccf::RpcFrontend::set_sig_intervals |
( |
size_t |
sig_tx_interval_, |
|
|
size_t |
sig_ms_interval_ |
|
) |
| |
|
inlineoverridevirtual |
◆ tick()
void ccf::RpcFrontend::tick |
( |
std::chrono::milliseconds |
elapsed | ) |
|
|
inlineoverridevirtual |
◆ endpoints
◆ node_context
◆ tables
The documentation for this class was generated from the following file: