Ejemplo n.º 1
0
 private void CSCloudClientDisconnected(object sender, ClientConnectedEventArgs args)
 {
     bool removed = clients.Remove(args.ConnectedClient);
     Debug.WriteLine(string.Format("Disconnected client removed successfully: {0}", removed));
 }
Ejemplo n.º 2
0
 //public ICSCloudServerCallback Callback
 //{
 //    get
 //    {
 //        return OperationContext.Current.GetCallbackChannel<ICSCloudServerCallback>();
 //    }
 //}
 private void CSCloudClientConnected(object sender, ClientConnectedEventArgs args)
 {
     clients.Add(args.ConnectedClient);
 }