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