Akka.Remote.Tests.Performance.Transports.RemoteMessagingThroughputSpecBase.TwoWay C# (CSharp) 메소드

TwoWay() 개인적인 메소드

private TwoWay ( BenchmarkContext context ) : void
context NBench.BenchmarkContext
리턴 void
        public void TwoWay(BenchmarkContext context)
        {
            for (var i = 0; i < RemoteMessageCount;)
            {
                _remoteEcho.Tell("foo", _receiver); // send a remote message
                ++i;
            }

            if (!_resetEvent.Wait(WaitTimeout))
            {
                context.Trace.Warning($"Timed out after {WaitTimeout}s");
            }
        }