public static class AMQP.Channel.Close extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
int |
classId
When the close is provoked by a method exception, this is the class of the method.
|
static int |
INDEX |
int |
methodId
When the close is provoked by a method exception, this is the ID of the method.
|
int |
replyCode |
String |
replyText |
private static long |
serialVersionUID |
channelNumber, logger
Constructor and Description |
---|
Close() |
Close(int replyCode,
String replyText,
int classId,
int methodId)
This method indicates that the sender wants to close the channel.
|
Modifier and Type | Method and Description |
---|---|
int |
getClassId() |
String |
getClassName() |
int |
getMethodId() |
String |
getMethodName() |
void |
readFrom(AMQPInputStream in) |
String |
toString() |
void |
writeTo(AMQPOutputStream out) |
read, toFrame
private static final long serialVersionUID
public int replyCode
public String replyText
public int classId
public int methodId
public static final int INDEX
public Close(int replyCode, String replyText, int classId, int methodId)
public Close()
public int getMethodId()
getMethodId
in class AbstractMarshallingMethod
public String getMethodName()
getMethodName
in class AbstractMarshallingMethod
public int getClassId()
getClassId
in class AbstractMarshallingMethod
public String getClassName()
getClassName
in class AbstractMarshallingMethod
public void readFrom(AMQPInputStream in) throws IOException
readFrom
in class AbstractMarshallingMethod
IOException
public void writeTo(AMQPOutputStream out) throws IOException
writeTo
in class AbstractMarshallingMethod
IOException
Copyright © 2021 ScalAgent D.T.. All rights reserved.