Thanks, Martynas. On Tuesday, July 29, 2014 9:38:48 PM UTC+8, Martynas Mickevičius wrote: > > Hi Sean, > > I can not think of a clean way of doing that. One idea that popped into my > mind was to write a custom Mailbox implementation where it would be > possible to track mailbox owners. This is surely and definitely a hack. > Maybe it will give you some nicer ideas. :) > > Writing custom ActorRef provider would be another hacky idea, because for > that you would need to go to private[akka] code. > > > On Tue, Jul 29, 2014 at 3:51 PM, Sean Zhong <cloc...@gmail.com > <javascript:>> wrote: > >> The child's path is not known. >> >> I want get notified when a new child come up no matter what the path is. >> >> >> On Monday, July 28, 2014 2:48:28 PM UTC+8, 09goral wrote: >>> >>> use context.watch(ActorRef) to register for chaning of actor's life >>> cycle. >>> >>> W dniu niedziela, 27 lipca 2014 09:23:14 UTC+2 użytkownik Sean Zhong >>> napisał: >>>> >>>> I cannot change the code of this actor, I want to get notified when >>>> there is a child created or stopped, how can this be done? >>>> >>>> There was ActorRegistry, but it was removed in akka 2. ( >>>> http://doc.akka.io/docs/akka/1.3.1/java/actor-registry. >>>> html#ActorRegistry__Finding_Actors) >>>> >>>> >>>> >>>> -- >> >>>>>>>>>> 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 akka-user+...@googlegroups.com <javascript:>. >> To post to this group, send email to akka...@googlegroups.com >> <javascript:>. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Martynas Mickevičius > Typesafe <http://typesafe.com/> – Reactive > <http://www.reactivemanifesto.org/> Apps on the JVM >
-- >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.