Joram 5.2.4

org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Basic.Ack

java.lang.Object
  extended by org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
      extended by 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.
 
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
logger, NULL_METHOD_ID
 
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.
 
Method Summary
 int getClassId()
           
 java.lang.String getClassName()
           
 int getMethodId()
           
 java.lang.String getMethodName()
           
 void readFrom(AMQPInputStream in)
           
 java.lang.String toString()
           
 void writeTo(AMQPOutputStream out)
           
 
Methods inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
read, toFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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()
Method Detail

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

Joram 5.2.4

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved