public abstract class GeneralFrame extends Object
| Modifier and Type | Field and Description |
|---|---|
static short |
FRAME_END |
| Constructor and Description |
|---|
GeneralFrame(byte type,
int channel) |
| Modifier and Type | Method and Description |
|---|---|
int |
getChannel()
Getter for channel.
|
abstract long |
getPayloadSize() |
abstract void |
handle(io.netty.channel.ChannelHandlerContext ctx,
AmqpConnectionHandler connectionHandler) |
io.netty.buffer.ByteBuf |
write(io.netty.buffer.ByteBufAllocator out) |
abstract void |
writePayload(io.netty.buffer.ByteBuf buf) |
public static final short FRAME_END
public abstract long getPayloadSize()
public abstract void writePayload(io.netty.buffer.ByteBuf buf)
public abstract void handle(io.netty.channel.ChannelHandlerContext ctx,
AmqpConnectionHandler connectionHandler)
public int getChannel()
public io.netty.buffer.ByteBuf write(io.netty.buffer.ByteBufAllocator out)
Copyright © 2017 WSO2. All rights reserved.