|
TARAXA
|
#include <Net.h>

Public Member Functions | |
| Net (std::shared_ptr< taraxa::AppBase > const &app) | |
| 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 taraxa::net::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 | |
| std::weak_ptr< taraxa::AppBase > | app_ |
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) |
|
explicit |
|
inlineoverridevirtual |
Implements ServerInterface< NetFace >.
|
overridevirtual |
Implements taraxa::net::NetFace.
|
overridevirtual |
Implements taraxa::net::NetFace.
|
overridevirtual |
Implements taraxa::net::NetFace.
|
private |