void wss_OnServerClientDisconnection(object sender, OnClientDisConnectArgs e)
 {
     Debug.WriteLine("");
     Debug.WriteLine("Disconnected");
     Debug.WriteLine("Handler: " + ((IXBaseSocket)sender).Alias);
     Debug.WriteLine("ClientGuid: " + e.XNode.ClientGuid);
     Debug.WriteLine("");
 }
 void wss_OnServerClientDisconnection(object sender, OnClientDisConnectArgs e)
 {
     Debug.WriteLine("");
     Debug.WriteLine("Disconnected");
     Debug.WriteLine("Handler: " + ((IXBaseSocket)sender).Alias);
     Debug.WriteLine("ClientGuid: " + e.XNode.ClientGuid);
     Debug.WriteLine("");
 }
Пример #3
0
 /// <summary>
 /// When a client disconnects tell the other clients about the Peer being lost
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="onClientDisConnectArgs"></param>
 private void _OnClose(object sender, OnClientDisConnectArgs onClientDisConnectArgs)
 {
     this.NotifyPeerLost();
 }
Пример #4
0
 void wss_OnServerClientDisconnection(object sender, OnClientDisConnectArgs e)
 {
     try
     {
         Debug.WriteLine("");
         Debug.WriteLine("Disconnected");
         Debug.WriteLine("Handler: " + ((IXBaseSocket)sender).Alias);
         Debug.WriteLine("ClientGuid: " + e.Client.ClientGuid);
         Debug.WriteLine("");
     }
     catch (Exception ex)
     {
         Debug.WriteLine(ex.Message);
         Debug.WriteLine(ex.StackTrace);
     }
 }