Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
rpc::impl::ProductionHandlerProvider Class Referencefinal
Inheritance diagram for rpc::impl::ProductionHandlerProvider:
Collaboration diagram for rpc::impl::ProductionHandlerProvider:

Public Member Functions

 ProductionHandlerProvider (util::config::ClioConfigDefinition const &config, std::shared_ptr< BackendInterface > const &backend, std::shared_ptr< feed::SubscriptionManagerInterface > const &subscriptionManager, std::shared_ptr< etl::LoadBalancer > const &balancer, std::shared_ptr< etl::ETLService const > const &etl, std::shared_ptr< data::AmendmentCenterInterface const > const &amendmentCenter, Counters const &counters)
 
bool contains (std::string const &command) const override
 Check if the provider contains a handler for a given method.
 
std::optional< AnyHandlergetHandler (std::string const &command) const override
 Get the handler for a given method.
 
bool isClioOnly (std::string const &command) const override
 Check if a given method is Clio-only.
 
- Public Member Functions inherited from rpc::HandlerProvider

Member Function Documentation

◆ contains()

bool rpc::impl::ProductionHandlerProvider::contains ( std::string const & command) const
overridevirtual

Check if the provider contains a handler for a given method.

Parameters
commandThe method to check for
Returns
true if the provider contains a handler for the method, false otherwise

Implements rpc::HandlerProvider.

◆ getHandler()

std::optional< AnyHandler > rpc::impl::ProductionHandlerProvider::getHandler ( std::string const & command) const
overridevirtual

Get the handler for a given method.

Parameters
commandThe method to get the handler for
Returns
The handler for the method, or std::nullopt if the method is not found

Implements rpc::HandlerProvider.

◆ isClioOnly()

bool rpc::impl::ProductionHandlerProvider::isClioOnly ( std::string const & command) const
overridevirtual

Check if a given method is Clio-only.

Parameters
commandThe method to check
Returns
true if the method is Clio-only, false otherwise

Implements rpc::HandlerProvider.


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