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