public class SystemMessageSerializer extends java.lang.Object implements BaseSerializer
| Constructor and Description |
|---|
SystemMessageSerializer(ExtendedActorSystem system) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
fromBinary(byte[] bytes,
scala.Option<java.lang.Class<?>> manifest)
Produces an object from an array of bytes, with an optional type-hint;
the class should be loaded using ActorSystem.dynamicAccess.
|
int |
identifier()
Globally unique serialization identifier configured in the
reference.conf. |
boolean |
includeManifest()
Returns whether this serializer needs a manifest in the fromBinary method
|
ExtendedActorSystem |
system()
Actor system which is required by most serializer implementations.
|
byte[] |
toBinary(java.lang.Object o)
Serializes the given object into an Array of Byte
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitidentifierFromConfig, SerializationIdentifiersfromBinary, fromBinarypublic SystemMessageSerializer(ExtendedActorSystem system)
public int identifier()
BaseSerializerreference.conf.
identifier in interface BaseSerializeridentifier in interface Serializerpublic ExtendedActorSystem system()
BaseSerializersystem in interface BaseSerializerpublic boolean includeManifest()
SerializerincludeManifest in interface Serializerpublic byte[] toBinary(java.lang.Object o)
SerializertoBinary in interface Serializero - (undocumented)public java.lang.Object fromBinary(byte[] bytes,
scala.Option<java.lang.Class<?>> manifest)
SerializerfromBinary in interface Serializerbytes - (undocumented)manifest - (undocumented)