org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Basic.Ack
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Basic.Ack
- All Implemented Interfaces:
- FrameBuilder
- Enclosing class:
- AMQP.Basic
public static class AMQP.Basic.Ack
- extends AbstractMarshallingMethod
This method acknowledges one or more messages delivered via the Deliver
or Get-Ok methods. The client can ask to confirm a single message or a
set of messages up to and including a specific message.
Field Summary |
long |
deliveryTag
|
static int |
INDEX
|
boolean |
multiple
If set to 1, the delivery tag is treated as "up to and including", so
that the client can acknowledge multiple messages with a single method. |
Constructor Summary |
AMQP.Basic.Ack()
|
AMQP.Basic.Ack(long deliveryTag,
boolean multiple)
This method acknowledges one or more messages delivered via the Deliver
or Get-Ok methods. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
deliveryTag
public long deliveryTag
multiple
public boolean multiple
- If set to 1, the delivery tag is treated as "up to and including", so
that the client can acknowledge multiple messages with a single method.
If set to zero, the delivery tag refers to a single message. If the
multiple field is 1, and the delivery tag is zero, tells the server to
acknowledge all outstanding messages.
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
AMQP.Basic.Ack
public AMQP.Basic.Ack(long deliveryTag,
boolean multiple)
- This method acknowledges one or more messages delivered via the Deliver
or Get-Ok methods. The client can ask to confirm a single message or a
set of messages up to and including a specific message.
AMQP.Basic.Ack
public AMQP.Basic.Ack()
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