public bool TryPoll(TimeSpan inTimeout, out Message outItem) { return this.TryPoll(inTimeout, TimeSpan.FromMilliseconds(100), out outItem); }
void IAuctionSniperDriver.HasReceivedMessageFromServer() { Message msg; Assert.That(mQueue.TryPoll(TimeSpan.FromSeconds(5), out msg), Is.True, "expired at 5 seconds"); Assert.That(msg, Is.Not.Null); }