akka.remote
Class MessageSerializer$

java.lang.Object
  extended by akka.remote.MessageSerializer$

public class MessageSerializer$
extends java.lang.Object

INTERNAL API

MessageSerializer is a helper for serializing and deserialize messages


Field Summary
static MessageSerializer$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
MessageSerializer$()
           
 
Method Summary
 java.lang.Object deserialize(ExtendedActorSystem system, WireFormats.SerializedMessage messageProtocol)
          Uses Akka Serialization for the specified ActorSystem to transform the given MessageProtocol to a message
 WireFormats.SerializedMessage serialize(ExtendedActorSystem system, java.lang.Object message)
          Uses Akka Serialization for the specified ActorSystem to transform the given message to a MessageProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE$

public static final MessageSerializer$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

MessageSerializer$

public MessageSerializer$()
Method Detail

deserialize

public java.lang.Object deserialize(ExtendedActorSystem system,
                                    WireFormats.SerializedMessage messageProtocol)
Uses Akka Serialization for the specified ActorSystem to transform the given MessageProtocol to a message

Parameters:
system - (undocumented)
messageProtocol - (undocumented)
Returns:
(undocumented)

serialize

public WireFormats.SerializedMessage serialize(ExtendedActorSystem system,
                                               java.lang.Object message)
Uses Akka Serialization for the specified ActorSystem to transform the given message to a MessageProtocol

Parameters:
system - (undocumented)
message - (undocumented)
Returns:
(undocumented)