Exemplo n.º 1
0
        private void ToTransmission()
        {
            _Status = PeerStatus.Transmission;
            PeerTransmission stage = new PeerTransmission(_Line, _Stream);

            stage.DisconnectEvent += _Disconnect;
            _Machine.Push(stage);
        }
Exemplo n.º 2
0
        private void ToTransmission()
        {
            m_Status = PeerStatus.Transmission;
            var stage = new PeerTransmission(_SendTasks, m_Line, _ReadTask);

            stage.DisconnectEvent += _Disconnect;
            m_Machine.Push(stage);
        }