public interface Marshaller
Event and sends over a stream.| Modifier and Type | Interface and Description |
|---|---|
static class |
Marshaller.UncloseableOutputStream
OutputStream delegating every call except for
Marshaller.UncloseableOutputStream.close() to an other OutputStream. |
| Modifier and Type | Method and Description |
|---|---|
void |
marshall(Event event,
OutputStream destination)
Serialises an event and sends it through an
OutputStream. |
void marshall(Event event, OutputStream destination)
OutputStream.
The marshaller should not close the given stream, use Marshaller.UncloseableOutputStream to prevent automatic calls
to OutputStream.close().
event - event to serialise.destination - destination stream.Copyright © 2012–2014. All rights reserved.