public static class AMQImpl.Basic.Nack extends Method implements AMQP.Basic.Nack
AMQP.Basic.Nack.Builder| Modifier and Type | Field and Description |
|---|---|
static int |
INDEX |
| Constructor and Description |
|---|
AMQImpl.Basic.Nack(long deliveryTag,
boolean multiple,
boolean requeue) |
AMQImpl.Basic.Nack(MethodArgumentReader rdr) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendArgumentDebugStringTo(java.lang.StringBuilder acc)
Public API - debugging utility
|
long |
getDeliveryTag() |
boolean |
getMultiple() |
boolean |
getRequeue() |
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.Nack(long deliveryTag,
boolean multiple,
boolean requeue)
public AMQImpl.Basic.Nack(MethodArgumentReader rdr) throws java.io.IOException
java.io.IOExceptionpublic long getDeliveryTag()
getDeliveryTag in interface AMQP.Basic.Nackpublic boolean getMultiple()
getMultiple in interface AMQP.Basic.Nackpublic boolean getRequeue()
getRequeue in interface AMQP.Basic.Nackpublic 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