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));
 }