org.objectweb.joram.mom.amqp.marshalling
Class AMQP.Basic.GetOk
java.lang.Object
org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Basic.GetOk
- All Implemented Interfaces:
- FrameBuilder
- Enclosing class:
- AMQP.Basic
public static class AMQP.Basic.GetOk
- extends AbstractMarshallingMethod
This method delivers a message to the client following a get method. A
message delivered by 'get-ok' must be acknowledged unless the no-ack
option was set in the get method.
Field Summary |
long |
deliveryTag
|
java.lang.String |
exchange
Specifies the name of the exchange that the message was originally
published to. |
static int |
INDEX
|
int |
messageCount
|
boolean |
redelivered
|
java.lang.String |
routingKey
Specifies the routing key name specified when the message was
published. |
Constructor Summary |
AMQP.Basic.GetOk()
|
AMQP.Basic.GetOk(long deliveryTag,
boolean redelivered,
java.lang.String exchange,
java.lang.String routingKey,
int messageCount)
This method delivers a message to the client following a get method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
deliveryTag
public long deliveryTag
redelivered
public boolean redelivered
exchange
public java.lang.String exchange
- Specifies the name of the exchange that the message was originally
published to. If empty, the message was published to the default
exchange.
routingKey
public java.lang.String routingKey
- Specifies the routing key name specified when the message was
published.
messageCount
public int messageCount
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
AMQP.Basic.GetOk
public AMQP.Basic.GetOk(long deliveryTag,
boolean redelivered,
java.lang.String exchange,
java.lang.String routingKey,
int messageCount)
- This method delivers a message to the client following a get method. A
message delivered by 'get-ok' must be acknowledged unless the no-ack
option was set in the get method.
AMQP.Basic.GetOk
public AMQP.Basic.GetOk()
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