public interface EPPByteArrayAssembler
EPPByteArrayAssembler
interface defines an interface for serializing
EPPEvent
objects and EPPEventResponse
objects to and from byte arrays.Modifier and Type | Method and Description |
---|---|
EPPEvent |
decode(byte[] aInputBytes,
java.lang.Object aData)
Takes an
byte array and creates a EPPEvent . |
byte[] |
encode(EPPEventResponse aResponse,
java.lang.Object aData)
Takes an
EPPEventResponse and serializes the response as a
byte array. |
byte[] encode(EPPEventResponse aResponse, java.lang.Object aData) throws EPPAssemblerException
EPPEventResponse
and serializes the response as a
byte array.aResponse
- The response that will be serializedaData
- A data object which can be used to store context information.byte
array containing the encoded data.EPPAssemblerException
- Error converting the EPPEventResponse
to a byte
array.EPPEvent decode(byte[] aInputBytes, java.lang.Object aData) throws EPPAssemblerException
byte
array and creates a EPPEvent
.aInputBytes
- The byte array containing the request data.aData
- A data object which can be used to store context information.EPPEvent
that is created from the input
bytes.EPPAssemblerException
- Error creating the EPPEvent