protected Receive ( object message ) : bool | ||
message | object | |
Résultat | bool |
protected override bool Receive(object message)
{
if (message is ReceiveTimeout)
{
_counter.IncrementAndGet();
_timeoutLatch.Open();
Context.SetReceiveTimeout(null);
return true;
}
if (message is Tick)
{
return true;
}
return false;
}
}