akka.remote
Class MessageSerializer$
java.lang.Object
akka.remote.MessageSerializer$
public class MessageSerializer$
- extends java.lang.Object
INTERNAL API
MessageSerializer is a helper for serializing and deserialize messages
|
Method Summary |
java.lang.Object |
deserialize(akka.actor.ExtendedActorSystem system,
WireFormats.SerializedMessage messageProtocol)
Uses Akka Serialization for the specified ActorSystem to transform the given MessageProtocol to a message |
WireFormats.SerializedMessage |
serialize(akka.actor.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 |
MODULE$
public static final MessageSerializer$ MODULE$
- Static reference to the singleton instance of this Scala object.
MessageSerializer$
public MessageSerializer$()
deserialize
public java.lang.Object deserialize(akka.actor.ExtendedActorSystem system,
WireFormats.SerializedMessage messageProtocol)
- Uses Akka Serialization for the specified ActorSystem to transform the given MessageProtocol to a message
serialize
public WireFormats.SerializedMessage serialize(akka.actor.ExtendedActorSystem system,
java.lang.Object message)
- Uses Akka Serialization for the specified ActorSystem to transform the given message to a MessageProtocol