Package com.rabbitmq.client.impl
Class AMQImpl.Exchange.Declare
- java.lang.Object
 - 
- com.rabbitmq.client.impl.Method
 - 
- com.rabbitmq.client.impl.AMQImpl.Exchange.Declare
 
 
 
- 
- All Implemented Interfaces:
 AMQP.Exchange.Declare,Method
- Enclosing class:
 - AMQImpl.Exchange
 
public static class AMQImpl.Exchange.Declare extends Method implements AMQP.Exchange.Declare
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.rabbitmq.client.AMQP.Exchange.Declare
AMQP.Exchange.Declare.Builder 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static intINDEX 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendArgumentDebugStringTo(StringBuilder acc)Public API - debugging utilitybooleanequals(Object o)Map<String,Object>getArguments()booleangetAutoDelete()booleangetDurable()StringgetExchange()booleangetInternal()booleangetNowait()booleangetPassive()intgetTicket()StringgetType()booleanhasContent()Tell if content is present.inthashCode()intprotocolClassId()Retrieve the protocol class IDintprotocolMethodId()Retrieve the protocol method IDStringprotocolMethodName()Retrieve the method nameObjectvisit(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
 
 
 - 
 
- 
Constructor Detail
- 
Declare
public Declare(int ticket, String exchange, String type, boolean passive, boolean durable, boolean autoDelete, boolean internal, boolean nowait, Map<String,Object> arguments) 
- 
Declare
public Declare(MethodArgumentReader rdr) throws IOException
- Throws:
 IOException
 
 - 
 
- 
Method Detail
- 
getTicket
public int getTicket()
- Specified by:
 getTicketin interfaceAMQP.Exchange.Declare
 
- 
getExchange
public String getExchange()
- Specified by:
 getExchangein interfaceAMQP.Exchange.Declare
 
- 
getType
public String getType()
- Specified by:
 getTypein interfaceAMQP.Exchange.Declare
 
- 
getPassive
public boolean getPassive()
- Specified by:
 getPassivein interfaceAMQP.Exchange.Declare
 
- 
getDurable
public boolean getDurable()
- Specified by:
 getDurablein interfaceAMQP.Exchange.Declare
 
- 
getAutoDelete
public boolean getAutoDelete()
- Specified by:
 getAutoDeletein interfaceAMQP.Exchange.Declare
 
- 
getInternal
public boolean getInternal()
- Specified by:
 getInternalin interfaceAMQP.Exchange.Declare
 
- 
getNowait
public boolean getNowait()
- Specified by:
 getNowaitin interfaceAMQP.Exchange.Declare
 
- 
getArguments
public Map<String,Object> getArguments()
- Specified by:
 getArgumentsin interfaceAMQP.Exchange.Declare
 
- 
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 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 Object visit(AMQImpl.MethodVisitor visitor) throws IOException
Description copied from class:MethodVisitor support (double-dispatch mechanism).- Specified by:
 visitin classMethod- Parameters:
 visitor- the visitor object- Returns:
 - the result of the "visit" operation
 - Throws:
 IOException- if an error is encountered
 
- 
appendArgumentDebugStringTo
public void appendArgumentDebugStringTo(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 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:
 IOException- if an error is encountered
 
 - 
 
 -