com.rabbitmq.client.impl
public static class AMQImpl.Basic.Deliver extends Method implements AMQP.Basic.Deliver
AMQP.Basic.Deliver.Builder| Modifier and Type | Field and Description |
|---|---|
static int |
INDEX |
| Constructor and Description |
|---|
AMQImpl.Basic.Deliver(MethodArgumentReader rdr) |
AMQImpl.Basic.Deliver(java.lang.String consumerTag,
long deliveryTag,
boolean redelivered,
java.lang.String exchange,
java.lang.String routingKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendArgumentDebugStringTo(java.lang.StringBuilder acc)
Public API - debugging utility
|
java.lang.String |
getConsumerTag() |
long |
getDeliveryTag() |
java.lang.String |
getExchange() |
boolean |
getRedelivered() |
java.lang.String |
getRoutingKey() |
boolean |
hasContent()
Tell if content is present.
|
int |
protocolClassId()
Retrieve the protocol class ID
|
int |
protocolMethodId()
Retrieve the protocol method ID
|
java.lang.String |
protocolMethodName()
Retrieve the method name
|
java.lang.Object |
visit(AMQImpl.MethodVisitor visitor)
Visitor support (double-dispatch mechanism).
|
void |
writeArgumentsTo(MethodArgumentWriter writer)
Private API - Autogenerated writer for this method.
|
public static final int INDEX
public AMQImpl.Basic.Deliver(java.lang.String consumerTag,
long deliveryTag,
boolean redelivered,
java.lang.String exchange,
java.lang.String routingKey)
public AMQImpl.Basic.Deliver(MethodArgumentReader rdr) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getConsumerTag()
getConsumerTag in interface AMQP.Basic.Deliverpublic long getDeliveryTag()
getDeliveryTag in interface AMQP.Basic.Deliverpublic boolean getRedelivered()
getRedelivered in interface AMQP.Basic.Deliverpublic java.lang.String getExchange()
getExchange in interface AMQP.Basic.Deliverpublic java.lang.String getRoutingKey()
getRoutingKey in interface AMQP.Basic.Deliverpublic int protocolClassId()
MethodprotocolClassId in interface MethodprotocolClassId in class Methodpublic int protocolMethodId()
MethodprotocolMethodId in interface MethodprotocolMethodId in class Methodpublic java.lang.String protocolMethodName()
MethodprotocolMethodName in interface MethodprotocolMethodName in class Methodpublic boolean hasContent()
MethodhasContent in class Methodpublic java.lang.Object visit(AMQImpl.MethodVisitor visitor) throws java.io.IOException
Methodpublic void appendArgumentDebugStringTo(java.lang.StringBuilder acc)
MethodappendArgumentDebugStringTo in class Methodacc - the buffer to append debug data topublic void writeArgumentsTo(MethodArgumentWriter writer) throws java.io.IOException
MethodwriteArgumentsTo in class Methodwriter - interface to an object to write the method argumentsjava.io.IOException - if an error is encountered