TARAXA
taraxa::net::NetClient Class Reference

#include <NetClient.h>

Collaboration diagram for taraxa::net::NetClient:

Public Member Functions

 NetClient (jsonrpc::IClientConnector &conn, jsonrpc::clientVersion_t type=jsonrpc::JSONRPC_CLIENT_V2)
 
std::string net_version () throw (jsonrpc::JsonRpcException)
 
std::string net_peerCount () throw (jsonrpc::JsonRpcException)
 
bool net_listening () throw (jsonrpc::JsonRpcException)
 

Constructor & Destructor Documentation

◆ NetClient()

taraxa::net::NetClient::NetClient ( jsonrpc::IClientConnector &  conn,
jsonrpc::clientVersion_t  type = jsonrpc::JSONRPC_CLIENT_V2 
)
inline

Member Function Documentation

◆ net_listening()

bool taraxa::net::NetClient::net_listening ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ net_peerCount()

std::string taraxa::net::NetClient::net_peerCount ( )
throw (jsonrpc::JsonRpcException
)
inline

◆ net_version()

std::string taraxa::net::NetClient::net_version ( )
throw (jsonrpc::JsonRpcException
)
inline

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