com.rabbitmq.client.impl
public static class AMQImpl.Basic.GetOk extends Method implements AMQP.Basic.GetOk
AMQP.Basic.GetOk.Builder| Modifier and Type | Field and Description |
|---|---|
static int |
INDEX |
| Constructor and Description |
|---|
AMQImpl.Basic.GetOk(long deliveryTag,
boolean redelivered,
java.lang.String exchange,
java.lang.String routingKey,
int messageCount) |
AMQImpl.Basic.GetOk(MethodArgumentReader rdr) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendArgumentDebugStringTo(java.lang.StringBuilder acc)
Public API - debugging utility
|
long |
getDeliveryTag() |
java.lang.String |
getExchange() |
int |
getMessageCount() |
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.GetOk(long deliveryTag,
boolean redelivered,
java.lang.String exchange,
java.lang.String routingKey,
int messageCount)
public AMQImpl.Basic.GetOk(MethodArgumentReader rdr) throws java.io.IOException
java.io.IOExceptionpublic long getDeliveryTag()
getDeliveryTag in interface AMQP.Basic.GetOkpublic boolean getRedelivered()
getRedelivered in interface AMQP.Basic.GetOkpublic java.lang.String getExchange()
getExchange in interface AMQP.Basic.GetOkpublic java.lang.String getRoutingKey()
getRoutingKey in interface AMQP.Basic.GetOkpublic int getMessageCount()
getMessageCount in interface AMQP.Basic.GetOkpublic 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