public static class AMQImpl.Basic.Consume extends Method implements AMQP.Basic.Consume
AMQP.Basic.Consume.Builder| Modifier and Type | Field and Description |
|---|---|
static int |
INDEX |
| Constructor and Description |
|---|
Consume(int ticket,
String queue,
String consumerTag,
boolean noLocal,
boolean noAck,
boolean exclusive,
boolean nowait,
Map<String,Object> arguments) |
Consume(MethodArgumentReader rdr) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendArgumentDebugStringTo(StringBuilder acc)
Public API - debugging utility
|
boolean |
equals(Object o) |
Map<String,Object> |
getArguments() |
String |
getConsumerTag() |
boolean |
getExclusive() |
boolean |
getNoAck() |
boolean |
getNoLocal() |
boolean |
getNowait() |
String |
getQueue() |
int |
getTicket() |
boolean |
hasContent()
Tell if content is present.
|
int |
hashCode() |
int |
protocolClassId()
Retrieve the protocol class ID
|
int |
protocolMethodId()
Retrieve the protocol method ID
|
String |
protocolMethodName()
Retrieve the method name
|
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 Consume(int ticket,
String queue,
String consumerTag,
boolean noLocal,
boolean noAck,
boolean exclusive,
boolean nowait,
Map<String,Object> arguments)
public Consume(MethodArgumentReader rdr) throws IOException
IOExceptionpublic int getTicket()
getTicket in interface AMQP.Basic.Consumepublic String getQueue()
getQueue in interface AMQP.Basic.Consumepublic String getConsumerTag()
getConsumerTag in interface AMQP.Basic.Consumepublic boolean getNoLocal()
getNoLocal in interface AMQP.Basic.Consumepublic boolean getNoAck()
getNoAck in interface AMQP.Basic.Consumepublic boolean getExclusive()
getExclusive in interface AMQP.Basic.Consumepublic boolean getNowait()
getNowait in interface AMQP.Basic.Consumepublic Map<String,Object> getArguments()
getArguments in interface AMQP.Basic.Consumepublic int protocolClassId()
MethodprotocolClassId in interface MethodprotocolClassId in class Methodpublic int protocolMethodId()
MethodprotocolMethodId in interface MethodprotocolMethodId in class Methodpublic String protocolMethodName()
MethodprotocolMethodName in interface MethodprotocolMethodName in class Methodpublic boolean hasContent()
MethodhasContent in class Methodpublic Object visit(AMQImpl.MethodVisitor visitor) throws IOException
Methodvisit in class Methodvisitor - the visitor objectIOException - if an error is encounteredpublic void appendArgumentDebugStringTo(StringBuilder acc)
MethodappendArgumentDebugStringTo in class Methodacc - the buffer to append debug data topublic void writeArgumentsTo(MethodArgumentWriter writer) throws IOException
MethodwriteArgumentsTo in class Methodwriter - interface to an object to write the method argumentsIOException - if an error is encounteredCopyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.