public final class ExchangeDeclare extends Method
Method.CompletionListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
ExchangeDeclare() |
ExchangeDeclare(String exchange,
String type,
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, toStringgetEncodedType, isDirty, setDirtypublic static final int TYPE
public final int getStructType()
getStructType in class Structpublic final int getSizeWidth()
getSizeWidth in class Structpublic final int getPackWidth()
getPackWidth in class Structpublic final boolean hasPayload()
hasPayload in class Methodpublic final byte getEncodedTrack()
getEncodedTrack in interface ProtocolEventgetEncodedTrack in class Methodpublic final boolean isConnectionControl()
public <C> void dispatch(C context,
MethodDelegate<C> delegate)
public final boolean hasExchange()
public final ExchangeDeclare clearExchange()
public final String getExchange()
public final ExchangeDeclare setExchange(String value)
public final ExchangeDeclare exchange(String value)
public final boolean hasType()
public final ExchangeDeclare clearType()
public final String getType()
public final ExchangeDeclare setType(String value)
public final ExchangeDeclare type(String value)
public final boolean hasAlternateExchange()
public final ExchangeDeclare clearAlternateExchange()
public final String getAlternateExchange()
public final ExchangeDeclare setAlternateExchange(String value)
public final ExchangeDeclare alternateExchange(String value)
public final boolean hasPassive()
public final ExchangeDeclare clearPassive()
public final boolean getPassive()
public final ExchangeDeclare setPassive(boolean value)
public final ExchangeDeclare passive(boolean value)
public final boolean hasDurable()
public final ExchangeDeclare clearDurable()
public final boolean getDurable()
public final ExchangeDeclare setDurable(boolean value)
public final ExchangeDeclare durable(boolean value)
public final boolean hasAutoDelete()
public final ExchangeDeclare clearAutoDelete()
public final boolean getAutoDelete()
public final ExchangeDeclare setAutoDelete(boolean value)
public final ExchangeDeclare autoDelete(boolean value)
public final boolean hasArguments()
public final ExchangeDeclare clearArguments()
public final ExchangeDeclare setArguments(Map<String,Object> value)
public final ExchangeDeclare arguments(Map<String,Object> value)
public void write(Encoder enc)
Encodablepublic void read(Decoder dec)
EncodableCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.