Package com.rabbitmq.client.impl
Class AMQImpl.Basic.GetOk
- java.lang.Object
-
- com.rabbitmq.client.impl.Method
-
- com.rabbitmq.client.impl.AMQImpl.Basic.GetOk
-
- All Implemented Interfaces:
AMQP.Basic.GetOk,Method
- Enclosing class:
- AMQImpl.Basic
public static class AMQImpl.Basic.GetOk extends Method implements AMQP.Basic.GetOk
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.rabbitmq.client.AMQP.Basic.GetOk
AMQP.Basic.GetOk.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private longdeliveryTagprivate java.lang.Stringexchangestatic intINDEXprivate intmessageCountprivate booleanredeliveredprivate java.lang.StringroutingKey
-
Constructor Summary
Constructors Constructor Description GetOk(long deliveryTag, boolean redelivered, java.lang.String exchange, java.lang.String routingKey, int messageCount)GetOk(MethodArgumentReader rdr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendArgumentDebugStringTo(java.lang.StringBuilder acc)Public API - debugging utilitybooleanequals(java.lang.Object o)longgetDeliveryTag()java.lang.StringgetExchange()intgetMessageCount()booleangetRedelivered()java.lang.StringgetRoutingKey()booleanhasContent()Tell if content is present.inthashCode()intprotocolClassId()Retrieve the protocol class IDintprotocolMethodId()Retrieve the protocol method IDjava.lang.StringprotocolMethodName()Retrieve the method namejava.lang.Objectvisit(AMQImpl.MethodVisitor visitor)Visitor support (double-dispatch mechanism).voidwriteArgumentsTo(MethodArgumentWriter writer)Private API - Autogenerated writer for this method.
-
-
-
Field Detail
-
INDEX
public static final int INDEX
- See Also:
- Constant Field Values
-
deliveryTag
private final long deliveryTag
-
redelivered
private final boolean redelivered
-
exchange
private final java.lang.String exchange
-
routingKey
private final java.lang.String routingKey
-
messageCount
private final int messageCount
-
-
Constructor Detail
-
GetOk
public GetOk(long deliveryTag, boolean redelivered, java.lang.String exchange, java.lang.String routingKey, int messageCount)
-
GetOk
public GetOk(MethodArgumentReader rdr) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getDeliveryTag
public long getDeliveryTag()
- Specified by:
getDeliveryTagin interfaceAMQP.Basic.GetOk
-
getRedelivered
public boolean getRedelivered()
- Specified by:
getRedeliveredin interfaceAMQP.Basic.GetOk
-
getExchange
public java.lang.String getExchange()
- Specified by:
getExchangein interfaceAMQP.Basic.GetOk
-
getRoutingKey
public java.lang.String getRoutingKey()
- Specified by:
getRoutingKeyin interfaceAMQP.Basic.GetOk
-
getMessageCount
public int getMessageCount()
- Specified by:
getMessageCountin interfaceAMQP.Basic.GetOk
-
protocolClassId
public int protocolClassId()
Description copied from class:MethodRetrieve the protocol class ID- Specified by:
protocolClassIdin interfaceMethod- Specified by:
protocolClassIdin classMethod- Returns:
- the AMQP protocol class ID of this Method
-
protocolMethodId
public int protocolMethodId()
Description copied from class:MethodRetrieve the protocol method ID- Specified by:
protocolMethodIdin interfaceMethod- Specified by:
protocolMethodIdin classMethod- Returns:
- the AMQP protocol method ID of this Method
-
protocolMethodName
public java.lang.String protocolMethodName()
Description copied from class:MethodRetrieve the method name- Specified by:
protocolMethodNamein interfaceMethod- Specified by:
protocolMethodNamein classMethod- Returns:
- the AMQP protocol method name of this Method
-
hasContent
public boolean hasContent()
Description copied from class:MethodTell if content is present.- Specified by:
hasContentin classMethod- Returns:
- true if the wire-protocol for this method should involve a content header and body, or false if it should just involve a single method frame.
-
visit
public java.lang.Object visit(AMQImpl.MethodVisitor visitor) throws java.io.IOException
Description copied from class:MethodVisitor support (double-dispatch mechanism).
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
appendArgumentDebugStringTo
public void appendArgumentDebugStringTo(java.lang.StringBuilder acc)
Description copied from class:MethodPublic API - debugging utility- Overrides:
appendArgumentDebugStringToin classMethod- Parameters:
acc- the buffer to append debug data to
-
writeArgumentsTo
public void writeArgumentsTo(MethodArgumentWriter writer) throws java.io.IOException
Description copied from class:MethodPrivate API - Autogenerated writer for this method.- Specified by:
writeArgumentsToin classMethod- Parameters:
writer- interface to an object to write the method arguments- Throws:
java.io.IOException- if an error is encountered
-
-