public interface EPPAssembler
EPPAssembler
interface defines an interface for serializing
EPPEvent
objects and EPPEventResponse
objects. Implementing
classes should define the format of the input and output streams.EPPXMLAssembler
,
EPPEventResponse
,
EPPEvent
,
EPPAssemblerException
Modifier and Type | Method and Description |
---|---|
EPPEvent |
toEvent(java.io.InputStream aInputStream,
java.lang.Object aData)
Takes an
InputStream and creates a EPPEvent |
void |
toStream(EPPEventResponse aResponse,
java.io.OutputStream aOutputStream,
java.lang.Object aData)
Takes an
EPPEventResponse and serializes it to an OutputStream |
void toStream(EPPEventResponse aResponse, java.io.OutputStream aOutputStream, java.lang.Object aData) throws EPPAssemblerException
EPPEventResponse
and serializes it to an OutputStream
aResponse
- The response that will be serializedaOutputStream
- The OutputStream that the response will be serialized to.aData
- Optional Client Data Object
EPPAssemblerException
- Error serializing the EPPEventResponse
EPPEvent toEvent(java.io.InputStream aInputStream, java.lang.Object aData) throws EPPAssemblerException
InputStream
and creates a EPPEvent
aInputStream
- The InputStream to read data from.aData
- Optional Client Data Object
EPPEvent
that is created from the
InputStreamEPPAssemblerException
- Error creating the EPPEvent