public class ExchangeDeclareBody extends AMQMethodBodyImpl implements EncodableAMQDataBlock, AMQMethodBody
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
static int |
METHOD_ID |
TYPETYPE| Constructor and Description |
|---|
ExchangeDeclareBody(int ticket,
AMQShortString exchange,
AMQShortString type,
boolean passive,
boolean durable,
boolean autoDelete,
boolean internal,
boolean nowait,
FieldTable arguments) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(MethodDispatcher dispatcher,
int channelId) |
FieldTable |
getArguments() |
boolean |
getAutoDelete() |
protected int |
getBodySize()
unsigned short
|
int |
getClazz() |
boolean |
getDurable() |
AMQShortString |
getExchange() |
boolean |
getInternal() |
int |
getMethod() |
boolean |
getNowait() |
boolean |
getPassive() |
int |
getTicket() |
AMQShortString |
getType() |
static void |
process(ByteBuffer buffer,
ServerChannelMethodProcessor dispatcher) |
String |
toString() |
void |
writeMethodPayload(ByteBuffer buffer) |
generateFrame, getFrameType, getSize, getSizeOf, getSizeOf, getSizeOf, handle, writeAMQShortString, writeBitfield, writeByte, writeBytes, writeFieldTable, writeInt, writeLong, writePayload, writeShort, writeUnsignedByte, writeUnsignedInteger, writeUnsignedShortclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgenerateFrame, getSizegetFrameType, handle, writePayloadpublic static final int CLASS_ID
public static final int METHOD_ID
public ExchangeDeclareBody(int ticket,
AMQShortString exchange,
AMQShortString type,
boolean passive,
boolean durable,
boolean autoDelete,
boolean internal,
boolean nowait,
FieldTable arguments)
public int getClazz()
getClazz in interface AMQMethodBodypublic int getMethod()
getMethod in interface AMQMethodBodypublic final int getTicket()
public final AMQShortString getExchange()
public final AMQShortString getType()
public final boolean getPassive()
public final boolean getDurable()
public final boolean getAutoDelete()
public final boolean getInternal()
public final boolean getNowait()
public final FieldTable getArguments()
protected int getBodySize()
AMQMethodBodyImplgetBodySize in class AMQMethodBodyImplpublic void writeMethodPayload(ByteBuffer buffer)
writeMethodPayload in class AMQMethodBodyImplpublic boolean execute(MethodDispatcher dispatcher, int channelId) throws QpidException
execute in interface AMQMethodBodyQpidExceptionpublic String toString()
toString in interface AMQMethodBodytoString in class Objectpublic static void process(ByteBuffer buffer, ServerChannelMethodProcessor dispatcher) throws AMQFrameDecodingException
AMQFrameDecodingExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.