Exemplo n.º 1
0
 private void HeartbeatTransport_HeartbeatReceived(object sender, HeartbeatReceivedEventArgs e)
 {
     spaceStates[e.Heartbeat.HostId] = new SpaceState(e.Heartbeat);
 }
Exemplo n.º 2
0
 private static void HeartBeatTransport_HeartbeatReceived(object sender, HeartbeatReceivedEventArgs e)
 {
     Console.WriteLine($"Received heartbeat from {e.Heartbeat.HostId} @ {DateTime.Now.ToLongTimeString()} on {HostId}");
 }