Hi Lajos, the code snippet you are referring basically wraps ActorRef to a TypedActor. So for that to work you need to get ActorRef which can be achieved in a couple of ways:
* you could send (actor tell) it in a message to the actor which creates the TypedActor * you could get ActorRef by looking up remote <http://doc.akka.io/docs/akka/2.3.5/scala/remoting.html#Looking_up_Remote_Actors> actors using ActorSelection Have you gone through the code in the documentation page you have linked to? You can find complete code file here <https://github.com/akka/akka/blob/cb05725c1ec8a09e9bfd57dd093911dd41c7b288/akka-docs/rst/java/code/docs/actor/TypedActorDocTest.java> . On Wed, Sep 3, 2014 at 11:51 AM, <[email protected]> wrote: > Hi, > > I would like to build a client-server connection with Akka. > I can see that I should go with typed actors and "Lookup & remoting" in my > case as it is written shortly in the docs ( > http://doc.akka.io/docs/akka/snapshot/java/typed-actors.html) > Till now I did not find a more detailed example, or sample how I can build > it up with typed actors. > Can you please send me a link regarding this if there is any? > > Thank you, > Lajos Fulep > Hungary > > -- > >>>>>>>>>> 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. > -- 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 [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.
