Joram 5.2.1

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

java.lang.Object
  extended by org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
      extended by org.objectweb.joram.mom.amqp.marshalling.AMQP.Basic.Deliver
All Implemented Interfaces:
FrameBuilder
Enclosing class:
AMQP.Basic

public static class AMQP.Basic.Deliver
extends AbstractMarshallingMethod

This method delivers a message to the client, via a consumer. In the asynchronous message delivery model, the client starts a consumer using the Consume method, then the server responds with Deliver methods as and when messages arrive for that consumer.


Field Summary
 java.lang.String consumerTag
           
 long deliveryTag
           
 java.lang.String exchange
          Specifies the name of the exchange that the message was originally published to.
static int INDEX
           
 boolean redelivered
           
 java.lang.String routingKey
          Specifies the routing key name specified when the message was published.
 
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
logger, NULL_METHOD_ID
 
Constructor Summary
AMQP.Basic.Deliver()
           
AMQP.Basic.Deliver(java.lang.String consumerTag, long deliveryTag, boolean redelivered, java.lang.String exchange, java.lang.String routingKey)
          This method delivers a message to the client, via a consumer.
 
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

consumerTag

public java.lang.String consumerTag

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. May be empty, indicating the default exchange.


routingKey

public java.lang.String routingKey
Specifies the routing key name specified when the message was published.


INDEX

public static final int INDEX
See Also:
Constant Field Values
Constructor Detail

AMQP.Basic.Deliver

public AMQP.Basic.Deliver(java.lang.String consumerTag,
                          long deliveryTag,
                          boolean redelivered,
                          java.lang.String exchange,
                          java.lang.String routingKey)
This method delivers a message to the client, via a consumer. In the asynchronous message delivery model, the client starts a consumer using the Consume method, then the server responds with Deliver methods as and when messages arrive for that consumer.


AMQP.Basic.Deliver

public AMQP.Basic.Deliver()
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.1

Copyright © 2005 Scalagent - All rights reserved