public class ContentFrame extends GeneralFrame
FRAME_END| Constructor and Description |
|---|
ContentFrame(int channel,
long length,
io.netty.buffer.ByteBuf payload) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPayloadSize() |
static ContentFrame |
parse(io.netty.buffer.ByteBuf buf,
int channel,
long payloadSize) |
void |
writePayload(io.netty.buffer.ByteBuf buf) |
getChannel, writepublic ContentFrame(int channel,
long length,
io.netty.buffer.ByteBuf payload)
public long getPayloadSize()
getPayloadSize in class GeneralFramepublic void writePayload(io.netty.buffer.ByteBuf buf)
writePayload in class GeneralFramepublic static ContentFrame parse(io.netty.buffer.ByteBuf buf, int channel, long payloadSize)
Copyright © 2017 WSO2. All rights reserved.