Exemple #1
0
 public override PacketBase Handle(PacketBase packet)
 {
     while (!Core.YieldingCycle)
     {
         ;
     }
     return(_registersPacketGenerator.Generate());
 }
Exemple #2
0
        public void UpdateRegisters()
        {
            var packet = _registersPacketGenerator.Generate(_viewModel.Registers);

            _tcpClientStream.Write(packet.Data, 0, packet.Length);
        }