public interface StatefulEncoder
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Object obj)
Encodes a Message object piece by piece often emitting chunks of the
final PDU to the callback if present.
|
void |
setCallback(EncoderCallback cb)
Sets the callback of the underlying implementation.
|
void |
setEncoderMonitor(EncoderMonitor monitor)
Sets the monitor of the underlying implementation.
|
void encode(Object obj) throws EncoderException
obj - the message object to encode into a PDUEncoderException - if there are problems while encodingvoid setCallback(EncoderCallback cb)
cb - the callback to set on the underlying provider specific encodervoid setEncoderMonitor(EncoderMonitor monitor)
monitor - the monitor to set on the underlying implementationCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.