public abstract class ActiveDataEncoder extends Object
| Constructor and Description |
|---|
ActiveDataEncoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
encode(ActiveDataExceptionEvent event,
Writer writer)
Handle the result of receiving an exception from the active data manager.
|
boolean |
encode(ActiveDataUpdateEvent event,
Writer writer)
Encode active data contents for the given ActiveDataEvent.
|
boolean |
encode(ClientEncoder clientEncoder,
Writer writer,
ActiveDataExceptionEvent event)
Handle the result of receiving an exception from the active data manager.
|
boolean |
encode(ClientEncoder clientEncoder,
Writer writer,
ActiveDataUpdateEvent event)
Encode active data contents for the given ActiveDataEvent.
|
public boolean encode(ActiveDataUpdateEvent event, Writer writer) throws IOException
event - the active data upate eventwriter - the output writer used by the encoder to write encoded
contentsIOException - If an I/O error occursActiveDataUpdateEventpublic boolean encode(ClientEncoder clientEncoder, Writer writer, ActiveDataUpdateEvent event) throws IOException
clientEncoder - the client encoder.writer - the output writer used by the encoder to write encoded contentsevent - the active data upate eventIOException - If an I/O error occurspublic boolean encode(ActiveDataExceptionEvent event, Writer writer) throws IOException
event - the active data exception eventwriter - the output writer used by the encoder to write encoded
contentsIOException - If an I/O error occurspublic boolean encode(ClientEncoder clientEncoder, Writer writer, ActiveDataExceptionEvent event) throws IOException
clientEncoder - the client encoder.writer - the output writer used by the encoder to write encoded contentsevent - the active data upate eventIOException - If an I/O error occurs