ArtemisComm.Proxy.Library.ProxyProcessor.Processor_NewClientConnected C# (CSharp) Метод

Processor_NewClientConnected() приватный Метод

private Processor_NewClientConnected ( object sender, ConnectionEventArgs e ) : void
sender object
e ArtemisComm.ConnectionEventArgs
Результат void
        void Processor_NewClientConnected(object sender, ConnectionEventArgs e)
        {
            if (sender == clientProcessor)
            {
                LastclientID = e.ID;
                StartServerConnection();
            }
            else
            {
                if (proxyType == ProxyType.OneServerConnectionToOneClientConnection)
                {
                    ServersToClients.Add(e.ID, LastclientID);
                    ClientsToServers.Add(LastclientID, e.ID);
                    LastclientID = Guid.Empty;
                }
            }
        }
        void StartServerConnection()