Yes :)

On Sat, Jul 26, 2014 at 9:21 PM, Sean Zhong <[email protected]> wrote:

> Ah, I find out!
>
> addressTerminated seems to server this purpose.
>
> addressTerminated the Terminated message was derived from that the remote
> node hosting the watched actor was detected as unreachable
>
> Terminated private[akka] (@BeanProperty actor: ActorRef)(
>   @BeanProperty val existenceConfirmed: Boolean,
>   @BeanProperty val addressTerminated: Boolean)
>
> On Sunday, July 27, 2014 2:55:38 AM UTC+8, Sean Zhong wrote:
>>
>> fix typo
>>
>> A remote supervise B, A watch B
>>
>> There are two scenarios:
>> 1. normal: inside B, call context.stop(self) when B finish its work
>> 2. abnormal: the network connection between A and B is down
>>
>> A will receive a Terminated message, how can A know the Terminated
>> message is caused by "1" or "2"?
>>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Cheers,
√

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to