| Access | Constructor and Description |
|---|---|
| public | BinaryWebSocketFrame(Buffer
the content of the frame. binaryData)Creates a new binary frame with the specified binary data. |
| public | BinaryWebSocketFrame(boolean
flag indicating if this frame is the final fragment finalFragment, int reserved bits used for protocol extensions rsv, Buffer the content of the frame. binaryData)Creates a new binary frame with the specified binary data and the final fragment flag. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected WebSocketFrame | receive(Buffer
The buf)Buffer that is received by the recipient,
and needs to be wrapped in a new BufferHolder instance.Implements abstract io. BufferHolder is received by the recipient.
|
| BinaryWebSocketFrame | back to summary |
|---|---|
| public BinaryWebSocketFrame(Buffer binaryData) Creates a new binary frame with the specified binary data. The final fragment flag is set to true.
| |
| BinaryWebSocketFrame | back to summary |
|---|---|
| public BinaryWebSocketFrame(boolean finalFragment, int rsv, Buffer binaryData) Creates a new binary frame with the specified binary data and the final fragment flag.
| |
| BinaryWebSocketFrame | back to summary |
|---|---|
| private BinaryWebSocketFrame(BinaryWebSocketFrame copyFrom, Buffer data) | |
| receive | back to summary |
|---|---|
| protected WebSocketFrame receive(Buffer buf) Implements abstract io. Doc from io. Called when a sent
| |