Refactored WSConnection and RPCHandler to have one layer of commands.

Evented RPC commands are now on the same level as all other RPC
commands and are handled by the RPCHandler class.
This commit is contained in:
Stefan Thomas
2012-11-08 20:26:09 -08:00
parent 8d32892609
commit 00bb9d99a7
6 changed files with 314 additions and 322 deletions

View File

@@ -28,6 +28,16 @@ public:
virtual ~InfoSub() { ; }
virtual void send(const Json::Value& jvObj) = 0;
protected:
boost::unordered_set<RippleAddress> mSubAccountInfo;
boost::unordered_set<RippleAddress> mSubAccountTransaction;
public:
void insertSubAccountInfo(RippleAddress addr)
{
mSubAccountInfo.insert(addr);
}
};
class NetworkOPs