Fabcoin Core
0.16.2
P2P Digital Currency
|
#include <ModularServer.h>
Classes | |
struct | RPCModule |
Public Types | |
using | MethodPointer = AbstractMethodPointer< I > |
using | NotificationPointer = AbstractNotificationPointer< I > |
using | MethodBinding = std::tuple< jsonrpc::Procedure, AbstractMethodPointer< I >> |
using | NotificationBinding = std::tuple< jsonrpc::Procedure, AbstractNotificationPointer< I >> |
using | Methods = std::vector< MethodBinding > |
using | Notifications = std::vector< NotificationBinding > |
using | RPCModules = std::vector< RPCModule > |
Public Member Functions | |
virtual | ~ServerInterface () |
Methods const & | methods () const |
Notifications const & | notifications () const |
virtual RPCModules | implementedModules () const =0 |
Protected Member Functions | |
void | bindAndAddMethod (jsonrpc::Procedure const &_proc, MethodPointer _pointer) |
void | bindAndAddNotification (jsonrpc::Procedure const &_proc, NotificationPointer _pointer) |
Private Attributes | |
Methods | m_methods |
Notifications | m_notifications |
Definition at line 39 of file ModularServer.h.
using ServerInterface< I >::MethodBinding = std::tuple<jsonrpc::Procedure, AbstractMethodPointer<I>> |
Definition at line 45 of file ModularServer.h.
using ServerInterface< I >::MethodPointer = AbstractMethodPointer<I> |
Definition at line 42 of file ModularServer.h.
using ServerInterface< I >::Methods = std::vector<MethodBinding> |
Definition at line 47 of file ModularServer.h.
using ServerInterface< I >::NotificationBinding = std::tuple<jsonrpc::Procedure, AbstractNotificationPointer<I>> |
Definition at line 46 of file ModularServer.h.
using ServerInterface< I >::NotificationPointer = AbstractNotificationPointer<I> |
Definition at line 43 of file ModularServer.h.
using ServerInterface< I >::Notifications = std::vector<NotificationBinding> |
Definition at line 48 of file ModularServer.h.
using ServerInterface< I >::RPCModules = std::vector<RPCModule> |
Definition at line 50 of file ModularServer.h.
|
inlinevirtual |
Definition at line 52 of file ModularServer.h.
|
inlineprotected |
Definition at line 59 of file ModularServer.h.
|
inlineprotected |
Definition at line 60 of file ModularServer.h.
|
pure virtual |
Implemented in dev::rpc::Eth, dev::rpc::Whisper, dev::rpc::LevelDB, dev::rpc::Test, dev::rpc::Net, dev::rpc::MemoryDB, dev::rpc::AdminEth, dev::rpc::Debug, dev::rpc::AdminUtils, dev::rpc::Personal, dev::rpc::AdminNet, and dev::rpc::Web3.
|
inline |
Definition at line 53 of file ModularServer.h.
|
inline |
Definition at line 54 of file ModularServer.h.
|
private |
Definition at line 63 of file ModularServer.h.
|
private |
Definition at line 64 of file ModularServer.h.