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 OutputStreamaResponse - The response that will be serializedaOutputStream - The OutputStream that the response will be serialized to.aData - Optional Client Data ObjectEPPAssemblerException - Error serializing the EPPEventResponseEPPEvent toEvent(java.io.InputStream aInputStream, java.lang.Object aData) throws EPPAssemblerException
InputStream and creates a EPPEventaInputStream - The InputStream to read data from.aData - Optional Client Data ObjectEPPEvent that is created from the
InputStreamEPPAssemblerException - Error creating the EPPEvent