5 #ifndef JSONRPC_CPP_STUB_DEV_RPC_ADMINNETFACE_H_ 6 #define JSONRPC_CPP_STUB_DEV_RPC_ADMINNETFACE_H_ 63 virtual bool admin_net_connect(
const std::string& param1,
const std::string& param2) = 0;
73 #endif //JSONRPC_CPP_STUB_DEV_RPC_ADMINNETFACE_H_ Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
virtual void admin_net_stopI(const Json::Value &request, Json::Value &response)
virtual Json::Value admin_net_nodeInfo(const std::string ¶m1)=0
virtual void admin_net_nodeInfoI(const Json::Value &request, Json::Value &response)
virtual bool admin_net_start(const std::string ¶m1)=0
virtual void admin_net_peersI(const Json::Value &request, Json::Value &response)
virtual bool admin_net_connect(const std::string ¶m1, const std::string ¶m2)=0
virtual Json::Value admin_net_peers(const std::string ¶m1)=0
void bindAndAddMethod(jsonrpc::Procedure const &_proc, MethodPointer _pointer)
virtual Json::Value admin_nodeInfo()=0
virtual bool admin_addPeer(const std::string ¶m1)=0
virtual bool admin_net_stop(const std::string ¶m1)=0
virtual void admin_addPeerI(const Json::Value &request, Json::Value &response)
virtual void admin_net_startI(const Json::Value &request, Json::Value &response)
virtual void admin_nodeInfoI(const Json::Value &request, Json::Value &response)
virtual void admin_peersI(const Json::Value &request, Json::Value &response)
virtual void admin_net_connectI(const Json::Value &request, Json::Value &response)
virtual Json::Value admin_peers()=0
std::string asString(bytes const &_b)
Converts byte array to a string containing the same (binary) data.