public class MessageSerializer$
extends java.lang.Object
MessageSerializer is a helper for serializing and deserialize messages
Modifier and Type | Field and Description |
---|---|
static MessageSerializer$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
MessageSerializer$() |
Modifier and Type | Method and Description |
---|---|
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
|
public static final MessageSerializer$ MODULE$
public java.lang.Object deserialize(akka.actor.ExtendedActorSystem system, WireFormats.SerializedMessage messageProtocol)
system
- (undocumented)messageProtocol
- (undocumented)public WireFormats.SerializedMessage serialize(akka.actor.ExtendedActorSystem system, java.lang.Object message)
system
- (undocumented)message
- (undocumented)