public class ConnectionClose extends MethodFrame
FRAME_END| Constructor and Description |
|---|
ConnectionClose(int replyCode,
ShortString replyText,
int classId,
int methodId) |
| Modifier and Type | Method and Description |
|---|---|
static AmqMethodBodyFactory |
getFactory() |
static ConnectionClose |
getInstance(short classId,
short methodId,
ConnectionException exception) |
protected long |
getMethodBodySize() |
void |
handle(io.netty.channel.ChannelHandlerContext ctx,
AmqpConnectionHandler connectionHandler) |
protected void |
writeMethod(io.netty.buffer.ByteBuf buf) |
getPayloadSize, writePayloadgetChannel, writepublic ConnectionClose(int replyCode,
ShortString replyText,
int classId,
int methodId)
protected long getMethodBodySize()
getMethodBodySize in class MethodFrameprotected void writeMethod(io.netty.buffer.ByteBuf buf)
writeMethod in class MethodFramepublic void handle(io.netty.channel.ChannelHandlerContext ctx,
AmqpConnectionHandler connectionHandler)
handle in class GeneralFramepublic static AmqMethodBodyFactory getFactory()
public static ConnectionClose getInstance(short classId, short methodId, ConnectionException exception)
Copyright © 2017 WSO2. All rights reserved.