Aah, thanks - got it. On Monday, January 20, 2014, Akka Team <[email protected]> wrote:
> Hi Rajiv, > > As Viktor pointed out, the Akka container format is protobuf based, and > carries the user layer message as bytes -- so there must be a protobuf > deserialization step. > > -Endre > > > On Mon, Jan 20, 2014 at 11:32 AM, √iktor Ҡlang <[email protected]>wrote: > > The Akka remote protocol is based on Protobuf where the user message is a > byte(s) payload, so there is no bytebuffer to get ahold of. > > Cheers, > √ > On Jan 17, 2014 9:04 PM, "Rajiv Kurian" <[email protected]> wrote: > > The current > serialization<http://doc.akka.io/docs/akka/snapshot/scala/serialization.html> > has > the following signature: > > > 1. // "toBinary" serializes the given object to an Array of Bytes > 2. def toBinary(obj: AnyRef): Array[Byte] = { > 3. // Put the code that serializes the object here > 4. // ... ... > 5. } > 6. > 7. // "fromBinary" deserializes the given array, > 8. // using the type hint (if any, see "includeManifest" above) > 9. // into the optionally provided classLoader. > 10. def fromBinary(bytes: Array > > Akka Team > Typesafe - The software stack for applications that scale > Blog: letitcrash.com > Twitter: @akkateam > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://akka.io/faq/ > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to a topic in the > Google Groups "Akka User List" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/akka-user/UQLopnRMHAc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected] <javascript:_e({}, 'cvml', > 'akka-user%[email protected]');>. > To post to this group, send email to > [email protected]<javascript:_e({}, 'cvml', > '[email protected]');> > . > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/groups/opt_out. > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> 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/groups/opt_out.
