T - The type of protocol message.public interface ProtocolMessageMarshaller<T>
| Modifier and Type | Method and Description |
|---|---|
void |
marshal(T msg,
OutputStream os)
Serializes the given message to the given output stream.
|
void marshal(T msg, OutputStream os) throws IOException
msg - a messageos - an output streamIOException - if the message could not be serialized to the streamCopyright © 2015 Apache NiFi(incubating) Project. All rights reserved.