TARAXA
taraxa::net::TaraxaFace Class Referenceabstract

#include <TaraxaFace.h>

Collaboration diagram for taraxa::net::TaraxaFace:

Public Member Functions

 TaraxaFace ()
 
virtual void taraxa_protocolVersionI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_getVersionI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_getDagBlockByHashI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_getDagBlockByLevelI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_dagBlockLevelI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_dagBlockPeriodI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_getScheduleBlockByPeriodI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_getNodeVersionsI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_getConfigI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_getChainStatsI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_pbftBlockHashByPeriodI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_yieldI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_totalSupplyI (const Json::Value &request, Json::Value &response)
 
virtual void taraxa_getPillarBlockDataI (const Json::Value &request, Json::Value &response)
 
virtual std::string taraxa_protocolVersion ()=0
 
virtual Json::Value taraxa_getVersion ()=0
 
virtual Json::Value taraxa_getDagBlockByHash (const std::string &param1, bool param2)=0
 
virtual Json::Value taraxa_getDagBlockByLevel (const std::string &param1, bool param2)=0
 
virtual std::string taraxa_dagBlockLevel ()=0
 
virtual std::string taraxa_dagBlockPeriod ()=0
 
virtual Json::Value taraxa_getScheduleBlockByPeriod (const std::string &param1)=0
 
virtual Json::Value taraxa_getNodeVersions ()=0
 
virtual Json::Value taraxa_getConfig ()=0
 
virtual Json::Value taraxa_getChainStats ()=0
 
virtual std::string taraxa_pbftBlockHashByPeriod (const std::string &param1)=0
 
virtual std::string taraxa_yield (const std::string &param1)=0
 
virtual std::string taraxa_totalSupply (const std::string &param1)=0
 
virtual Json::Value taraxa_getPillarBlockData (const std::string &param1, bool param2)=0
 
- Public Member Functions inherited from ServerInterface< TaraxaFace >
virtual ~ServerInterface ()
 
Methods const & methods () const
 
Notifications const & notifications () const
 
virtual RPCModules implementedModules () const=0
 

Static Public Attributes

static constexpr int JSON_ANY = 0
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ TaraxaFace()

taraxa::net::TaraxaFace::TaraxaFace ( )
inline

Member Function Documentation

◆ taraxa_dagBlockLevel()

virtual std::string taraxa::net::TaraxaFace::taraxa_dagBlockLevel ( )
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_dagBlockLevelI()

virtual void taraxa::net::TaraxaFace::taraxa_dagBlockLevelI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_dagBlockPeriod()

virtual std::string taraxa::net::TaraxaFace::taraxa_dagBlockPeriod ( )
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_dagBlockPeriodI()

virtual void taraxa::net::TaraxaFace::taraxa_dagBlockPeriodI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_getChainStats()

virtual Json::Value taraxa::net::TaraxaFace::taraxa_getChainStats ( )
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_getChainStatsI()

virtual void taraxa::net::TaraxaFace::taraxa_getChainStatsI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_getConfig()

virtual Json::Value taraxa::net::TaraxaFace::taraxa_getConfig ( )
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_getConfigI()

virtual void taraxa::net::TaraxaFace::taraxa_getConfigI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_getDagBlockByHash()

virtual Json::Value taraxa::net::TaraxaFace::taraxa_getDagBlockByHash ( const std::string &  param1,
bool  param2 
)
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_getDagBlockByHashI()

virtual void taraxa::net::TaraxaFace::taraxa_getDagBlockByHashI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_getDagBlockByLevel()

virtual Json::Value taraxa::net::TaraxaFace::taraxa_getDagBlockByLevel ( const std::string &  param1,
bool  param2 
)
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_getDagBlockByLevelI()

virtual void taraxa::net::TaraxaFace::taraxa_getDagBlockByLevelI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_getNodeVersions()

virtual Json::Value taraxa::net::TaraxaFace::taraxa_getNodeVersions ( )
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_getNodeVersionsI()

virtual void taraxa::net::TaraxaFace::taraxa_getNodeVersionsI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_getPillarBlockData()

virtual Json::Value taraxa::net::TaraxaFace::taraxa_getPillarBlockData ( const std::string &  param1,
bool  param2 
)
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_getPillarBlockDataI()

virtual void taraxa::net::TaraxaFace::taraxa_getPillarBlockDataI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_getScheduleBlockByPeriod()

virtual Json::Value taraxa::net::TaraxaFace::taraxa_getScheduleBlockByPeriod ( const std::string &  param1)
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_getScheduleBlockByPeriodI()

virtual void taraxa::net::TaraxaFace::taraxa_getScheduleBlockByPeriodI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_getVersion()

virtual Json::Value taraxa::net::TaraxaFace::taraxa_getVersion ( )
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_getVersionI()

virtual void taraxa::net::TaraxaFace::taraxa_getVersionI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_pbftBlockHashByPeriod()

virtual std::string taraxa::net::TaraxaFace::taraxa_pbftBlockHashByPeriod ( const std::string &  param1)
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_pbftBlockHashByPeriodI()

virtual void taraxa::net::TaraxaFace::taraxa_pbftBlockHashByPeriodI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_protocolVersion()

virtual std::string taraxa::net::TaraxaFace::taraxa_protocolVersion ( )
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_protocolVersionI()

virtual void taraxa::net::TaraxaFace::taraxa_protocolVersionI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_totalSupply()

virtual std::string taraxa::net::TaraxaFace::taraxa_totalSupply ( const std::string &  param1)
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_totalSupplyI()

virtual void taraxa::net::TaraxaFace::taraxa_totalSupplyI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

◆ taraxa_yield()

virtual std::string taraxa::net::TaraxaFace::taraxa_yield ( const std::string &  param1)
pure virtual

Implemented in taraxa::net::Taraxa.

◆ taraxa_yieldI()

virtual void taraxa::net::TaraxaFace::taraxa_yieldI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

Member Data Documentation

◆ JSON_ANY

constexpr int taraxa::net::TaraxaFace::JSON_ANY = 0
staticconstexpr

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