Пример #1
0
 static void WriteLog(string name, ClientIdEventArgs e)
 {
     Console.WriteLine("{0} ClientId: {1}", name, clientNames[e.ClientId]);
 }
Пример #2
0
 static void RemoteHub_RemoteClientRemoved(object sender, ClientIdEventArgs e)
 {
     //Unreg event when a remote client is offline.
     remoteAgency.OnProxiesOfSiteDisposed(e.ClientId);
 }
Пример #3
0
 void client_OnReceivedClientId(Client sender, ClientIdEventArgs eventArgs)
 {
     HandleTitleChange("Client - Connected - " + client.Id);
 }