CCF
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ccf::ACMERpcFrontend Class Reference

#include <acme_challenge_frontend.h>

Inherits ccf::RpcFrontend.

Public Member Functions

 ACMERpcFrontend (NetworkState &network, ccf::AbstractNodeContext &context)
 
virtual ~ACMERpcFrontend ()=default
 
void add (const std::string &token, const std::string &response)
 
void remove (const std::string &token)
 
- Public Member Functions inherited from ccf::RpcFrontend
 RpcFrontend (ccf::kv::Store &tables_, endpoints::EndpointRegistry &handlers_, ccf::AbstractNodeContext &node_context_)
 
void set_sig_intervals (size_t sig_tx_interval_, size_t sig_ms_interval_) override
 
void set_cmd_forwarder (std::shared_ptr< AbstractForwarder > cmd_forwarder_) override
 
void open () override
 
bool is_open () override
 
void set_root_on_proposals (const ccf::RpcContextImpl &ctx, ccf::kv::CommittableTx &tx)
 
void process (std::shared_ptr< ccf::RpcContextImpl > ctx) override
 
void process_forwarded (std::shared_ptr< ccf::RpcContextImpl > ctx) override
 
void tick (std::chrono::milliseconds elapsed) override
 
- Public Member Functions inherited from ccf::RpcHandler
virtual ~RpcHandler ()
 
- Public Member Functions inherited from ccf::ForwardedRpcHandler
virtual ~ForwardedRpcHandler ()
 

Protected Attributes

ACMERpcEndpoints endpoints
 
- Protected Attributes inherited from ccf::RpcFrontend
ccf::kv::Storetables
 
endpoints::EndpointRegistryendpoints
 
ccf::AbstractNodeContextnode_context
 

Constructor & Destructor Documentation

◆ ACMERpcFrontend()

ccf::ACMERpcFrontend::ACMERpcFrontend ( NetworkState network,
ccf::AbstractNodeContext context 
)
inline

◆ ~ACMERpcFrontend()

virtual ccf::ACMERpcFrontend::~ACMERpcFrontend ( )
virtualdefault

Member Function Documentation

◆ add()

void ccf::ACMERpcFrontend::add ( const std::string &  token,
const std::string &  response 
)
inline

◆ remove()

void ccf::ACMERpcFrontend::remove ( const std::string &  token)
inline

Member Data Documentation

◆ endpoints

ACMERpcEndpoints ccf::ACMERpcFrontend::endpoints
protected

The documentation for this class was generated from the following file: