Clio develop
The XRP Ledger API server.
|
Interface for the provider of RPC handlers. More...
#include <HandlerProvider.hpp>
Public Member Functions | |
virtual bool | contains (std::string const &command) const =0 |
Check if the provider contains a handler for a given method. | |
virtual std::optional< AnyHandler > | getHandler (std::string const &command) const =0 |
Get the handler for a given method. | |
virtual bool | isClioOnly (std::string const &command) const =0 |
Check if a given method is Clio-only. | |
Interface for the provider of RPC handlers.
|
pure virtual |
Check if the provider contains a handler for a given method.
command | The method to check for |
Implemented in rpc::impl::ProductionHandlerProvider.
|
pure virtual |
Get the handler for a given method.
command | The method to get the handler for |
Implemented in rpc::impl::ProductionHandlerProvider.
|
pure virtual |
Check if a given method is Clio-only.
command | The method to check |
Implemented in rpc::impl::ProductionHandlerProvider.