Add public method to AsycnRPCQueue to retrieve all the known operation ids.

This commit is contained in:
Simon
2016-09-08 21:46:13 -07:00
parent c72a427274
commit 861513a01f
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ public:
std::shared_ptr<AsyncRPCOperation> getOperationForId(AsyncRPCOperationId);
std::shared_ptr<AsyncRPCOperation> popOperationForId(AsyncRPCOperationId);
void addOperation(const std::shared_ptr<AsyncRPCOperation> &ptrOperation);
std::vector<AsyncRPCOperationId> getAllOperationIds();
private:
// addWorker() will spawn a new thread on this method