public Putter(TestCallQueueManager _enclosing, CallQueueManager <TestCallQueueManager.FakeCall > aCq, int maxCalls, int tag) { this._enclosing = _enclosing; // How many calls we added, accurate unless interrupted this.maxCalls = maxCalls; this.cq = aCq; this.tag = tag; }
public Taker(TestCallQueueManager _enclosing, CallQueueManager <TestCallQueueManager.FakeCall > aCq, int maxCalls, int tag) { this._enclosing = _enclosing; // if >= 0 means we will only take the matching tag, and put back // anything else // total calls taken, accurate if we aren't interrupted // the last thing we took // maximum calls to take this.maxCalls = maxCalls; this.cq = aCq; this.tag = tag; }
public FakeCall(TestCallQueueManager _enclosing, int tag) { this._enclosing = _enclosing; // Can be used for unique identification this.tag = tag; }