Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | List of all members
dev::rpc::DBFace Class Referenceabstract

#include <DBFace.h>

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

Public Member Functions

 DBFace ()
 
virtual void db_putI (const Json::Value &request, Json::Value &response)
 
virtual void db_getI (const Json::Value &request, Json::Value &response)
 
virtual bool db_put (const std::string &param1, const std::string &param2, const std::string &param3)=0
 
virtual std::string db_get (const std::string &param1, const std::string &param2)=0
 
- Public Member Functions inherited from ServerInterface< DBFace >
virtual ~ServerInterface ()
 
Methods const & methods () const
 
Notifications const & notifications () const
 
virtual RPCModules implementedModules () const =0
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file DBFace.h.

Constructor & Destructor Documentation

dev::rpc::DBFace::DBFace ( )
inline

Definition at line 15 of file DBFace.h.

Here is the call graph for this function:

Member Function Documentation

virtual std::string dev::rpc::DBFace::db_get ( const std::string &  param1,
const std::string &  param2 
)
pure virtual

Implemented in dev::rpc::LevelDB, and dev::rpc::MemoryDB.

Here is the caller graph for this function:

virtual void dev::rpc::DBFace::db_getI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

Definition at line 25 of file DBFace.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool dev::rpc::DBFace::db_put ( const std::string &  param1,
const std::string &  param2,
const std::string &  param3 
)
pure virtual

Implemented in dev::rpc::LevelDB, and dev::rpc::MemoryDB.

Here is the caller graph for this function:

virtual void dev::rpc::DBFace::db_putI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

Definition at line 21 of file DBFace.h.

Here is the call graph for this function:

Here is the caller graph for this function:


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