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 |
|---|---|
int |
getClassId()
Getter for classId.
|
static AmqMethodBodyFactory |
getFactory() |
static ConnectionClose |
getInstance(short classId,
short methodId,
ConnectionException exception) |
protected long |
getMethodBodySize() |
int |
getMethodId()
Getter for methodId.
|
int |
getReplyCode()
Getter for replyCode.
|
ShortString |
getReplyText()
Getter for replyText.
|
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 int getReplyCode()
public ShortString getReplyText()
public int getClassId()
public int getMethodId()
public static AmqMethodBodyFactory getFactory()
public static ConnectionClose getInstance(short classId, short methodId, ConnectionException exception)
Copyright © 2017 WSO2. All rights reserved.