public class ReplicaEventMessageSerializer extends Object implements jdbm.helper.Serializer
Constructor and Description |
---|
ReplicaEventMessageSerializer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates a new instance of ReplicaEventMessageSerializer.
|
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(byte[] bytes)
Deserialize a ReplicaEventMessage.
|
byte[] |
serialize(Object object) |
public ReplicaEventMessageSerializer(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
schemaManager
- The reference to the global schemaManagerpublic byte[] serialize(Object object) throws IOException
serialize
in interface jdbm.helper.Serializer
IOException
public Object deserialize(byte[] bytes) throws IOException
deserialize
in interface jdbm.helper.Serializer
bytes
- the byte array containing the serialized ReplicaEventMessageIOException
- if we can't deserialize the ReplicaEventMessageCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.