Ejemplo n.º 1
0
 public override void OnDisConnect(ITcpClientSession session)
 {
     RpcContainer.DestroyScope(session.SessionId);
     foreach (var taskSource in taskDict.Values)
     {
         taskSource.SetException(new Exception("Disconnected with the server"));
     }
 }
Ejemplo n.º 2
0
 public override void OnDisConnect(ITcpSession session)
 {
     RpcFactory.GetInvoke(session.SessionId).DisConnect();
     rpcContainer.DestroyScope(session.SessionId);
 }