5 #ifndef JSONRPC_CPP_STUB_DEV_RPC_WHISPERFACE_H_ 6 #define JSONRPC_CPP_STUB_DEV_RPC_WHISPERFACE_H_ 30 response = this->
shh_post(request[0u]);
68 virtual std::string
shh_newGroup(
const std::string& param1,
const std::string& param2) = 0;
69 virtual std::string
shh_addToGroup(
const std::string& param1,
const std::string& param2) = 0;
78 #endif //JSONRPC_CPP_STUB_DEV_RPC_WHISPERFACE_H_ virtual std::string shh_addToGroup(const std::string ¶m1, const std::string ¶m2)=0
Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Origi...
virtual void shh_uninstallFilterI(const Json::Value &request, Json::Value &response)
virtual void shh_newFilterI(const Json::Value &request, Json::Value &response)
virtual void shh_hasIdentityI(const Json::Value &request, Json::Value &response)
virtual void shh_postI(const Json::Value &request, Json::Value &response)
virtual Json::Value shh_getFilterChanges(const std::string ¶m1)=0
void bindAndAddMethod(jsonrpc::Procedure const &_proc, MethodPointer _pointer)
virtual void shh_getMessagesI(const Json::Value &request, Json::Value &response)
virtual std::string shh_newFilter(const Json::Value ¶m1)=0
virtual std::string shh_newIdentity()=0
virtual bool shh_hasIdentity(const std::string ¶m1)=0
virtual void shh_newGroupI(const Json::Value &request, Json::Value &response)
virtual bool shh_post(const Json::Value ¶m1)=0
virtual Json::Value shh_getMessages(const std::string ¶m1)=0
virtual void shh_newIdentityI(const Json::Value &request, Json::Value &response)
virtual void shh_addToGroupI(const Json::Value &request, Json::Value &response)
virtual bool shh_uninstallFilter(const std::string ¶m1)=0
virtual void shh_getFilterChangesI(const Json::Value &request, Json::Value &response)
std::string asString(bytes const &_b)
Converts byte array to a string containing the same (binary) data.
virtual std::string shh_newGroup(const std::string ¶m1, const std::string ¶m2)=0