Sends replies to Heartbeat messages
Наследование: IClusterMessage, IPriorityMessage
Пример #1
0
 public ClusterHeartbeatReceiver()
 {
     _selfHeartbeatRsp = new ClusterHeartbeatSender.HeartbeatRsp(Cluster.Get(Context.System).SelfUniqueAddress);
     Receive<ClusterHeartbeatSender.Heartbeat>(heartbeat => Sender.Tell(_selfHeartbeatRsp));
 }
Пример #2
0
 public ClusterHeartbeatReceiver()
 {
     _selfHeartbeatRsp = new ClusterHeartbeatSender.HeartbeatRsp(Cluster.Get(Context.System).SelfUniqueAddress);
     Receive <ClusterHeartbeatSender.Heartbeat>(heartbeat => Sender.Tell(_selfHeartbeatRsp));
 }