コード例 #1
0
        } // End Setup_WCF

        /// <summary>
        /// Used to add another client connection to the server
        /// </summary>
        /// <param FirstName="client"></param>
        public ClientConnection AddClient(Client_WCF_Interface client)
        {
            ClientConnection new_client = new ClientConnection(client);

            clients.Add(new_client);
            return(new_client);
        } // End AddClient
コード例 #2
0
 public ClientConnection(Client_WCF_Interface connection)
 {
     client_connection = connection;
     client_id         = last_used_id++;
 }