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, 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 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)
Encodable
public void read(Decoder dec)
Encodable
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.