public class TextPartialMessage extends Object implements MessageAppender
Constructor and Description |
---|
TextPartialMessage(MessageHandlerWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
void |
appendFrame(ByteBuffer payload,
boolean isLast)
Append the frame payload to the message.
|
void |
messageComplete()
Notification that message is to be considered complete.
|
public TextPartialMessage(MessageHandlerWrapper wrapper)
public void appendFrame(ByteBuffer payload, boolean isLast) throws IOException
MessageAppender
appendFrame
in interface MessageAppender
payload
- 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 payloadpublic void messageComplete()
MessageAppender
Any cleanup or final actions should be taken here.
messageComplete
in interface MessageAppender
Copyright © 1995-2015 Webtide. All Rights Reserved.