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

#include <Net.h>

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

Public Member Functions

 Net (NetworkFace &_network)
 
virtual RPCModules implementedModules () const override
 
virtual std::string net_version () override
 
virtual std::string net_peerCount () override
 
virtual bool net_listening () override
 
- Public Member Functions inherited from dev::rpc::NetFace
 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)
 
- Public Member Functions inherited from ServerInterface< NetFace >
virtual ~ServerInterface ()
 
Methods const & methods () const
 
Notifications const & notifications () const
 

Private Attributes

NetworkFacem_network
 

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 35 of file Net.h.

Constructor & Destructor Documentation

Net::Net ( NetworkFace _network)

Definition at line 32 of file Net.cpp.

Member Function Documentation

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

Implements ServerInterface< NetFace >.

Definition at line 39 of file Net.h.

Here is the call graph for this function:

bool Net::net_listening ( )
overridevirtual

Implements dev::rpc::NetFace.

Definition at line 44 of file Net.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Net::net_peerCount ( )
overridevirtual

Implements dev::rpc::NetFace.

Definition at line 39 of file Net.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string Net::net_version ( )
overridevirtual

Implements dev::rpc::NetFace.

Definition at line 34 of file Net.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

NetworkFace& dev::rpc::Net::m_network
private

Definition at line 48 of file Net.h.


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