Esempio n. 1
0
 private void handler_Closed(FtpSocketHandler handler)
 {
     apConnections.Remove(handler);
 }
Esempio n. 2
0
        private void InitialiseSocketHandler(TcpClient socket)
        {
            var handler = new FtpSocketHandler(fileSystemClassFactory, id);
            handler.Start(socket);

            apConnections.Add(handler);

            handler.Closed += handler_Closed;
        }