|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EPPByteArrayAssembler
The EPPByteArrayAssembler interface defines an interface for serializing
EPPEvent objects and EPPEventResponse objects to and from byte arrays.
EPPXMLByteArrayAssembler
,
EPPEventResponse
,
EPPEvent
,
EPPAssemblerException
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |