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

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

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