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

#include <NetFace.h>

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

Public Member Functions

 NetFace ()
 
virtual void net_versionI (const Json::Value &request, Json::Value &response)
 
virtual void net_peerCountI (const Json::Value &request, Json::Value &response)
 
virtual void net_listeningI (const Json::Value &request, Json::Value &response)
 
virtual std::string net_version ()=0
 
virtual std::string net_peerCount ()=0
 
virtual bool net_listening ()=0
 
- Public Member Functions inherited from ServerInterface< NetFace >
virtual ~ServerInterface ()
 
Methods const & methods () const
 
Notifications const & notifications () const
 
virtual RPCModules implementedModules () const =0
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file NetFace.h.

Constructor & Destructor Documentation

dev::rpc::NetFace::NetFace ( )
inline

Definition at line 15 of file NetFace.h.

Here is the call graph for this function:

Member Function Documentation

virtual bool dev::rpc::NetFace::net_listening ( )
pure virtual

Implemented in dev::rpc::Net.

Here is the caller graph for this function:

virtual void dev::rpc::NetFace::net_listeningI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

Definition at line 32 of file NetFace.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual std::string dev::rpc::NetFace::net_peerCount ( )
pure virtual

Implemented in dev::rpc::Net.

Here is the caller graph for this function:

virtual void dev::rpc::NetFace::net_peerCountI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

Definition at line 27 of file NetFace.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual std::string dev::rpc::NetFace::net_version ( )
pure virtual

Implemented in dev::rpc::Net.

Here is the caller graph for this function:

virtual void dev::rpc::NetFace::net_versionI ( const Json::Value &  request,
Json::Value &  response 
)
inlinevirtual

Definition at line 22 of file NetFace.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: