Ejemplo n.º 1
0
 public ClientHandler(Server server, Socket clientSocket, BroadcastService broadcastService)
 {
     this.server           = server;
     this.clientSocket     = clientSocket;
     this.broadcastService = broadcastService;
 }
Ejemplo n.º 2
0
        private StreamWriter writer; // nu objekt data og ikke lokale - så de kan bruges på tværs af metoder

        #endregion Fields

        #region Constructors

        public ClientHandler(Server server, Socket clientSocket, BroadcastService broadcastService)
        {
            this.server = server;
            this.clientSocket = clientSocket;
            this.broadcastService = broadcastService;
        }