public static class AMQP.Queue.DeclareOk extends AbstractMarshallingMethod
Modifier and Type | Field and Description |
---|---|
int |
consumerCount
Reports the number of active consumers for the queue.
|
static int |
INDEX |
int |
messageCount |
String |
queue
Reports the name of the queue.
|
private static long |
serialVersionUID |
channelNumber, logger
Constructor and Description |
---|
DeclareOk() |
DeclareOk(String queue,
int messageCount,
int consumerCount)
This method confirms a Declare method and confirms the name of the
queue, essential for automatically-named queues.
|
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 String queue
public int messageCount
public int consumerCount
public static final int INDEX
public DeclareOk(String queue, int messageCount, int consumerCount)
public DeclareOk()
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 © 2019 ScalAgent D.T.. All rights reserved.