org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Queue.DeclareOk
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Queue.DeclareOk
- All Implemented Interfaces:
- FrameBuilder
- Enclosing class:
- AMQP.Queue
public static class AMQP.Queue.DeclareOk
- extends AbstractMarshallingMethod
This method confirms a Declare method and confirms the name of the queue,
essential for automatically-named queues.
Constructor Summary |
AMQP.Queue.DeclareOk()
|
AMQP.Queue.DeclareOk(java.lang.String queue,
int messageCount,
int consumerCount)
This method confirms a Declare method and confirms the name of the
queue, essential for automatically-named queues. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
queue
public java.lang.String queue
- Reports the name of the queue. If the server generated a queue name,
this field contains that name.
messageCount
public int messageCount
consumerCount
public int consumerCount
- Reports the number of active consumers for the queue. Note that
consumers can suspend activity (Channel.Flow) in which case they do not
appear in this count.
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
AMQP.Queue.DeclareOk
public AMQP.Queue.DeclareOk(java.lang.String queue,
int messageCount,
int consumerCount)
- This method confirms a Declare method and confirms the name of the
queue, essential for automatically-named queues.
AMQP.Queue.DeclareOk
public AMQP.Queue.DeclareOk()
getMethodId
public int getMethodId()
- Specified by:
getMethodId
in class AbstractMarshallingMethod
getMethodName
public java.lang.String getMethodName()
- Specified by:
getMethodName
in class AbstractMarshallingMethod
getClassId
public int getClassId()
- Specified by:
getClassId
in class AbstractMarshallingMethod
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in class AbstractMarshallingMethod
readFrom
public void readFrom(AMQPInputStream in)
throws java.io.IOException
- Specified by:
readFrom
in class AbstractMarshallingMethod
- Throws:
java.io.IOException
writeTo
public void writeTo(AMQPOutputStream out)
throws java.io.IOException
- Specified by:
writeTo
in class AbstractMarshallingMethod
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved