Thanks, I should've seen this before. 11 Mart 2017 Cumartesi 20:01:22 UTC+3 tarihinde Patrik Nordwall yazdı: > > Have you seen this: > http://doc.akka.io/docs/akka/2.4/scala/serialization.html#Serializing_ActorRefs > > On Sat, Mar 11, 2017 at 4:21 PM, Mücahit Kantepe <[email protected] > <javascript:>> wrote: > >> I have a case class like this: >> >> >>> case class Register(serviceName: String, actorRef: ActorRef) >> >> >> I want to send an instance of this class to another actor using Protobuf >> Serializer. >> >> I thought using like this could be convenient: >> >> message Register{ >>> string serviceName = 1; >>> bytes actorRef = 2; >>> } >> >> >> but converting actorRef from bytes to *ActorRef *and converting an >> ActorRef to Array[Byte] seems redundant to me. Is there any other way for >> this? >> >> >> -- >> >>>>>>>>>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > Patrik Nordwall > Akka Tech Lead > Lightbend <http://www.lightbend.com/> - Reactive apps on the JVM > Twitter: @patriknw > >
-- >>>>>>>>>> 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 https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
