|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatefulEncoder
The StatefulEncoder interface.
Method Summary | |
---|---|
void |
encode(java.lang.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. |
Method Detail |
---|
void encode(java.lang.Object obj) throws EncoderException
obj
- the message object to encode into a PDU
EncoderException
- 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 implementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |