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].
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.

Reply via email to