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

#include <Web3.h>

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

Public Member Functions

 Web3 (std::string _clientVersion="C++ (ethereum-cpp)")
 
virtual RPCModules implementedModules () const override
 
virtual std::string web3_sha3 (std::string const &_param1) override
 
virtual std::string web3_clientVersion () override
 
- Public Member Functions inherited from dev::rpc::Web3Face
 Web3Face ()
 
virtual void web3_sha3I (const Json::Value &request, Json::Value &response)
 
virtual void web3_clientVersionI (const Json::Value &request, Json::Value &response)
 
- Public Member Functions inherited from ServerInterface< Web3Face >
virtual ~ServerInterface ()
 
Methods const & methods () const
 
Notifications const & notifications () const
 

Private Attributes

std::string m_clientVersion
 

Additional Inherited Members

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

Detailed Description

Definition at line 9 of file Web3.h.

Constructor & Destructor Documentation

dev::rpc::Web3::Web3 ( std::string  _clientVersion = "C++ (ethereum-cpp)")
inline

Definition at line 12 of file Web3.h.

Member Function Documentation

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

Implements ServerInterface< Web3Face >.

Definition at line 13 of file Web3.h.

Here is the call graph for this function:

virtual std::string dev::rpc::Web3::web3_clientVersion ( )
inlineoverridevirtual

Implements dev::rpc::Web3Face.

Definition at line 18 of file Web3.h.

std::string rpc::Web3::web3_sha3 ( std::string const &  _param1)
overridevirtual

Implements dev::rpc::Web3Face.

Definition at line 8 of file Web3.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string dev::rpc::Web3::m_clientVersion
private

Definition at line 21 of file Web3.h.


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