INTERNAL API Used for remote death watch. Failure detectors publish this to the AddressTerminatedTopic when a remote node is detected to be unreachable and / or decided to be removed. The watcher DeathWatch subscribes to the AddressTerminatedTopic and translates this event to Terminated, which is sent to itself.
Inheritance: IAutoReceivedMessage, IPossiblyHarmful
 public void Publish(AddressTerminated msg)
 {
     foreach (var subscriber in _subscribers.Value)
     {
         subscriber.Tell(msg, ActorRef.NoSender);
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (ActorRef != null ? ActorRef.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ AddressTerminated.GetHashCode();
         hashCode = (hashCode * 397) ^ ExistenceConfirmed.GetHashCode();
         return(hashCode);
     }
 }