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

#include <Test.h>

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

Public Member Functions

 Test (eth::Client &_eth)
 
virtual RPCModules implementedModules () const override
 
virtual bool test_setChainParams (const Json::Value &param1) override
 
virtual bool test_mineBlocks (int _number) override
 
virtual bool test_modifyTimestamp (int _timestamp) override
 
virtual bool test_addBlock (std::string const &_rlp) override
 
virtual bool test_rewindToBlock (int _number) override
 
- Public Member Functions inherited from dev::rpc::TestFace
 TestFace ()
 
virtual void test_setChainParamsI (const Json::Value &request, Json::Value &response)
 
virtual void test_mineBlocksI (const Json::Value &request, Json::Value &response)
 
virtual void test_modifyTimestampI (const Json::Value &request, Json::Value &response)
 
virtual void test_addBlockI (const Json::Value &request, Json::Value &response)
 
virtual void test_rewindToBlockI (const Json::Value &request, Json::Value &response)
 
- Public Member Functions inherited from ServerInterface< TestFace >
virtual ~ServerInterface ()
 
Methods const & methods () const
 
Notifications const & notifications () const
 

Private Attributes

eth::Clientm_eth
 

Additional Inherited Members

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

Detailed Description

Definition at line 37 of file Test.h.

Constructor & Destructor Documentation

Test::Test ( eth::Client _eth)

Definition at line 34 of file Test.cpp.

Member Function Documentation

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

Implements ServerInterface< TestFace >.

Definition at line 41 of file Test.h.

bool Test::test_addBlock ( std::string const &  _rlp)
overridevirtual

Implements dev::rpc::TestFace.

Definition at line 79 of file Test.cpp.

Here is the call graph for this function:

bool Test::test_mineBlocks ( int  _number)
overridevirtual

Implements dev::rpc::TestFace.

Definition at line 52 of file Test.cpp.

Here is the call graph for this function:

bool Test::test_modifyTimestamp ( int  _timestamp)
overridevirtual

Implements dev::rpc::TestFace.

Definition at line 66 of file Test.cpp.

Here is the call graph for this function:

bool Test::test_rewindToBlock ( int  _number)
overridevirtual

Implements dev::rpc::TestFace.

Definition at line 92 of file Test.cpp.

Here is the call graph for this function:

bool Test::test_setChainParams ( const Json::Value &  param1)
overridevirtual

Implements dev::rpc::TestFace.

Definition at line 36 of file Test.cpp.

Here is the call graph for this function:

Member Data Documentation

eth::Client& dev::rpc::Test::m_eth
private

Definition at line 53 of file Test.h.


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