public override PacketBase Handle(PacketBase packet) { while (!Core.YieldingCycle) { ; } return(_registersPacketGenerator.Generate()); }
public void UpdateRegisters() { var packet = _registersPacketGenerator.Generate(_viewModel.Registers); _tcpClientStream.Write(packet.Data, 0, packet.Length); }