public final class QueueDeclare extends Method
Method.CompletionListener
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
QueueDeclare() |
QueueDeclare(String queue,
String alternateExchange,
Map<String,Object> arguments,
Option... _options) |
complete, create, delegate, getBody, getBodySize, getChannel, getHeader, getId, hasCompletionListener, isBatch, isSync, isUnreliable, setBody, setChannel, setCompletionListener, setHeader, setSync, toString
getEncodedType, isDirty, setDirty
public static final int TYPE
public final int getStructType()
getStructType
in class Struct
public final int getSizeWidth()
getSizeWidth
in class Struct
public final int getPackWidth()
getPackWidth
in class Struct
public final boolean hasPayload()
hasPayload
in class Method
public final byte getEncodedTrack()
getEncodedTrack
in interface ProtocolEvent
getEncodedTrack
in class Method
public final boolean isConnectionControl()
public <C> void dispatch(C context, MethodDelegate<C> delegate)
public final boolean hasQueue()
public final QueueDeclare clearQueue()
public final String getQueue()
public final QueueDeclare setQueue(String value)
public final QueueDeclare queue(String value)
public final boolean hasAlternateExchange()
public final QueueDeclare clearAlternateExchange()
public final String getAlternateExchange()
public final QueueDeclare setAlternateExchange(String value)
public final QueueDeclare alternateExchange(String value)
public final boolean hasPassive()
public final QueueDeclare clearPassive()
public final boolean getPassive()
public final QueueDeclare setPassive(boolean value)
public final QueueDeclare passive(boolean value)
public final boolean hasDurable()
public final QueueDeclare clearDurable()
public final boolean getDurable()
public final QueueDeclare setDurable(boolean value)
public final QueueDeclare durable(boolean value)
public final boolean hasExclusive()
public final QueueDeclare clearExclusive()
public final boolean getExclusive()
public final QueueDeclare setExclusive(boolean value)
public final QueueDeclare exclusive(boolean value)
public final boolean hasAutoDelete()
public final QueueDeclare clearAutoDelete()
public final boolean getAutoDelete()
public final QueueDeclare setAutoDelete(boolean value)
public final QueueDeclare autoDelete(boolean value)
public final boolean hasArguments()
public final QueueDeclare clearArguments()
public final QueueDeclare setArguments(Map<String,Object> value)
public final QueueDeclare arguments(Map<String,Object> value)
public void write(Encoder enc)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.