public interface MessageAppender
| Modifier and Type | Method and Description |
|---|---|
void |
appendMessage(ByteBuffer payload,
boolean isLast)
Append the payload to the message.
|
void |
messageComplete()
Notification that message is to be considered complete.
|
void appendMessage(ByteBuffer payload, boolean isLast) throws IOException
payload - the payload to append.isLast - flag indicating if this is the last part of the message or not.IOException - if unable to append the payloadvoid messageComplete()
Any cleanup or final actions should be taken here.
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.