Ejemplo n.º 1
0
 /// <summary>
 /// Constructs the ImplChatServer.
 /// </summary>
 /// <param name="client">the client to use for callbacks.</param>
 /// <param name="whoIsOnline">the database of who is online.</param>
 public ImplChatServer(RemoteChatClient client, Dictionary <String, ImplChatServer> whoIsOnline)
 {
     _client      = client;
     _whoIsOnline = whoIsOnline;
 }
Ejemplo n.º 2
0
 ///
 /// <summary>Return a new instance of ChatServer.</summary>
 /// <param>Remote Chat Client</param>
 ///
 public ChatServer NewChatServer(RemoteChatClient client)
 {
     return(new ImplChatServer(client, whoIsOnline));
 }