Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
dev::rpc::AdminUtils Class Reference

#include <AdminUtils.h>

Inheritance diagram for dev::rpc::AdminUtils:
[legend]
Collaboration diagram for dev::rpc::AdminUtils:
[legend]

Public Member Functions

 AdminUtils (SessionManager &_sm, SystemManager *_systemManager=nullptr)
 
virtual RPCModules implementedModules () const override
 
virtual bool admin_setVerbosity (int _v, std::string const &_session) override
 
virtual bool admin_verbosity (int _v) override
 
virtual bool admin_exit (std::string const &_session) override
 
- Public Member Functions inherited from dev::rpc::AdminUtilsFace
 AdminUtilsFace ()
 
virtual void admin_setVerbosityI (const Json::Value &request, Json::Value &response)
 
virtual void admin_verbosityI (const Json::Value &request, Json::Value &response)
 
virtual void admin_exitI (const Json::Value &request, Json::Value &response)
 
- Public Member Functions inherited from ServerInterface< AdminUtilsFace >
virtual ~ServerInterface ()
 
Methods const & methods () const
 
Notifications const & notifications () const
 

Private Attributes

SessionManagerm_sm
 
SystemManagerm_systemManager = nullptr
 

Additional Inherited Members

- Public Types inherited from ServerInterface< AdminUtilsFace >
using MethodPointer = AbstractMethodPointer< AdminUtilsFace >
 
using NotificationPointer = AbstractNotificationPointer< AdminUtilsFace >
 
using MethodBinding = std::tuple< jsonrpc::Procedure, AbstractMethodPointer< AdminUtilsFace >>
 
using NotificationBinding = std::tuple< jsonrpc::Procedure, AbstractNotificationPointer< AdminUtilsFace >>
 
using Methods = std::vector< MethodBinding >
 
using Notifications = std::vector< NotificationBinding >
 
using RPCModules = std::vector< RPCModule >
 
- Protected Member Functions inherited from ServerInterface< AdminUtilsFace >
void bindAndAddMethod (jsonrpc::Procedure const &_proc, MethodPointer _pointer)
 
void bindAndAddNotification (jsonrpc::Procedure const &_proc, NotificationPointer _pointer)
 

Detailed Description

Definition at line 17 of file AdminUtils.h.

Constructor & Destructor Documentation

AdminUtils::AdminUtils ( SessionManager _sm,
SystemManager _systemManager = nullptr 
)

Definition at line 12 of file AdminUtils.cpp.

Member Function Documentation

bool AdminUtils::admin_exit ( std::string const &  _session)
overridevirtual

Implements dev::rpc::AdminUtilsFace.

Definition at line 29 of file AdminUtils.cpp.

Here is the call graph for this function:

bool AdminUtils::admin_setVerbosity ( int  _v,
std::string const &  _session 
)
overridevirtual

Implements dev::rpc::AdminUtilsFace.

Definition at line 17 of file AdminUtils.cpp.

Here is the call graph for this function:

bool AdminUtils::admin_verbosity ( int  _v)
overridevirtual

Implements dev::rpc::AdminUtilsFace.

Definition at line 23 of file AdminUtils.cpp.

Here is the caller graph for this function:

virtual RPCModules dev::rpc::AdminUtils::implementedModules ( ) const
inlineoverridevirtual
Returns
which interfaces (eth, admin, db, ...) this class implements in which version.

Implements ServerInterface< AdminUtilsFace >.

Definition at line 21 of file AdminUtils.h.

Member Data Documentation

SessionManager& dev::rpc::AdminUtils::m_sm
private

Definition at line 30 of file AdminUtils.h.

SystemManager* dev::rpc::AdminUtils::m_systemManager = nullptr
private

Definition at line 31 of file AdminUtils.h.


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