org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Basic.Cancel
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Basic.Cancel
- All Implemented Interfaces:
- FrameBuilder
- Enclosing class:
- AMQP.Basic
public static class AMQP.Basic.Cancel
- extends AbstractMarshallingMethod
This method cancels a consumer. This does not affect already delivered
messages, but it does mean the server will not send any more messages for
that consumer. The client may receive an arbitrary number of messages in
between sending the cancel method and receiving the cancel-ok reply.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
consumerTag
public java.lang.String consumerTag
noWait
public boolean noWait
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
AMQP.Basic.Cancel
public AMQP.Basic.Cancel(java.lang.String consumerTag,
boolean noWait)
- This method cancels a consumer. This does not affect already delivered
messages, but it does mean the server will not send any more messages
for that consumer. The client may receive an arbitrary number of
messages in between sending the cancel method and receiving the
cancel-ok reply.
AMQP.Basic.Cancel
public AMQP.Basic.Cancel()
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 © 2005 Scalagent - All rights reserved