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) |
boolean |
encode(ClientEncoder clientEncoder, Writer writer, ActiveDataUpdateEvent event) |
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 contentsIOExceptionActiveDataUpdateEventpublic boolean encode(ClientEncoder clientEncoder, Writer writer, ActiveDataUpdateEvent event) throws IOException
IOExceptionpublic boolean encode(ActiveDataExceptionEvent event, Writer writer) throws IOException
event - the active data exception eventwriter - the output writer used by the encoder to write encoded contentsIOExceptionpublic boolean encode(ClientEncoder clientEncoder, Writer writer, ActiveDataExceptionEvent event) throws IOException
IOException