protected override void ProcessAnswer(IIPCRequest request, IPCMessage answer) { if (request.TimedOut) { logger.Warn("Message {0} already timed out, message ignored", request.RequestMessage.GetType()); return; } request.ProcessMessage(answer); }
protected override void ProcessAnswer(IIPCRequest request, IPCMessage answer) { if (request.TimedOut) { logger.Warn("Message {0} already timed out, message ignored", request.RequestMessage.GetType()); return; } if (request.TimeoutTimer != null) { request.TimeoutTimer.Stop(); TaskPool.RemoveTimer(request.TimeoutTimer); } request.ProcessMessage(answer); }
private void RequestTimedOut(IIPCRequest request) { request.ProcessMessage(new IPCErrorTimeoutMessage(string.Format("Request {0} timed out", request.RequestMessage.GetType()))); }
protected override void ProcessAnswer(IIPCRequest request, IPCMessage answer) { request.TimeoutTimer.Stop(); AuthServer.Instance.IOTaskPool.AddTimer(request.TimeoutTimer); request.ProcessMessage(answer); }
protected override void ProcessAnswer(IIPCRequest request, IPCMessage answer) { request.TimeoutTimer.Stop(); this.TaskPool.RemoveTimer(request.TimeoutTimer); request.ProcessMessage(answer); }