This commit is contained in:
jed
2012-11-01 00:57:32 -07:00
parent 2b8fa2424e
commit 95fe63e7a3
2 changed files with 13 additions and 8 deletions

View File

@@ -72,14 +72,17 @@ protected:
// XXX Split into more locks.
boost::interprocess::interprocess_upgradable_mutex mMonitorLock;
subInfoMapType mBootAccountInfo;
subInfoMapType mSubAccountInfo;
subInfoMapType mSubAccountTransaction;
boost::unordered_set<InfoSub*> mSubLedger; // ledger accepteds
boost::unordered_set<InfoSub*> mSubLedgerAccounts; // ledger accepteds + affected accounts
boost::unordered_set<InfoSub*> mSubTransaction; // all transactions
boost::unordered_set<InfoSub*> mSubTxMeta; // all transaction meta
// subInfoMapType mSubTransactionAccounts;
subInfoMapType mSubAccount;
subInfoMapType mSubRTAccount;
boost::unordered_set<InfoSub*> mSubLedger; // accepted ledgers
boost::unordered_set<InfoSub*> mSubLedgerAccounts; // accepted ledgers + affected accounts
boost::unordered_set<InfoSub*> mSubTransactions; // all accepted transactions
boost::unordered_set<InfoSub*> mSubRTTransactions; // all proposed and accepted transactions
subInfoMapType mSubAccountTransaction; // DEPRECATED
subInfoMapType mBootAccountInfo; // DEPRECATED
subInfoMapType mSubAccountInfo; // DEPRECATED
void setMode(OperatingMode);

View File

@@ -416,6 +416,8 @@ server : Sends a message anytime the server status changes such as network conne
ledger : Sends a message at every ledger close.
transactions : Sends a message for every transaction that makes it into a ledger.
rt_transactions
accounts
rt_accounts
*/
// TODO
void WSConnection::doSubscribe(Json::Value& jvResult, const Json::Value& jvRequest)