Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/server.h
Show All 17 Lines | |||||
#include <string> | #include <string> | ||||
#include <univalue.h> | #include <univalue.h> | ||||
static const unsigned int DEFAULT_RPC_SERIALIZE_VERSION = 1; | static const unsigned int DEFAULT_RPC_SERIALIZE_VERSION = 1; | ||||
class ContextFreeRPCCommand; | class ContextFreeRPCCommand; | ||||
namespace RPCServer { | namespace RPCServerSignals { | ||||
void OnStarted(std::function<void()> slot); | void OnStarted(std::function<void()> slot); | ||||
void OnStopped(std::function<void()> slot); | void OnStopped(std::function<void()> slot); | ||||
void OnPreCommand(std::function<void(const ContextFreeRPCCommand &)> slot); | void OnPreCommand(std::function<void(const ContextFreeRPCCommand &)> slot); | ||||
void OnPostCommand(std::function<void(const ContextFreeRPCCommand &)> slot); | void OnPostCommand(std::function<void(const ContextFreeRPCCommand &)> slot); | ||||
} // namespace RPCServer | } // namespace RPCServerSignals | ||||
class CBlockIndex; | class CBlockIndex; | ||||
class Config; | class Config; | ||||
class CNetAddr; | class CNetAddr; | ||||
/** | /** | ||||
* Wrapper for UniValue::VType, which includes typeAny: used to denote don't | * Wrapper for UniValue::VType, which includes typeAny: used to denote don't | ||||
* care type. Only used by RPCTypeCheckObj. | * care type. Only used by RPCTypeCheckObj. | ||||
▲ Show 20 Lines • Show All 243 Lines • Show Last 20 Lines |