|
Joram 5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod
org.objectweb.joram.mom.amqp.marshalling.AMQP.Exchange.Declare
public static class AMQP.Exchange.Declare
This method creates an exchange if it does not already exist, and if the exchange exists, verifies that it is of the correct and expected class.
Field Summary | |
---|---|
java.util.Map |
arguments
A set of arguments for the declaration. |
boolean |
durable
If set when creating a new exchange, the exchange will be marked as durable. |
java.lang.String |
exchange
|
static int |
INDEX
|
boolean |
noWait
|
boolean |
passive
If set, the server will reply with Declare-Ok if the exchange already exists with the same name, and raise an error if not. |
int |
reserved1
|
boolean |
reserved2
|
boolean |
reserved3
|
java.lang.String |
type
Each exchange belongs to one of a set of exchange types implemented by the server. |
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod |
---|
logger, NULL_METHOD_ID |
Constructor Summary | |
---|---|
AMQP.Exchange.Declare()
|
|
AMQP.Exchange.Declare(int reserved1,
java.lang.String exchange,
java.lang.String type,
boolean passive,
boolean durable,
boolean reserved2,
boolean reserved3,
boolean noWait,
java.util.Map arguments)
This method creates an exchange if it does not already exist, and if the exchange exists, verifies that it is of the correct and expected class. |
Method Summary | |
---|---|
int |
getClassId()
|
java.lang.String |
getClassName()
|
int |
getMethodId()
|
java.lang.String |
getMethodName()
|
void |
readFrom(AMQPInputStream in)
|
java.lang.String |
toString()
|
void |
writeTo(AMQPOutputStream out)
|
Methods inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod |
---|
read, toFrame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int reserved1
public java.lang.String exchange
public java.lang.String type
public boolean passive
public boolean durable
public boolean reserved2
public boolean reserved3
public boolean noWait
public java.util.Map arguments
public static final int INDEX
Constructor Detail |
---|
public AMQP.Exchange.Declare(int reserved1, java.lang.String exchange, java.lang.String type, boolean passive, boolean durable, boolean reserved2, boolean reserved3, boolean noWait, java.util.Map arguments)
public AMQP.Exchange.Declare()
Method Detail |
---|
public int getMethodId()
getMethodId
in class AbstractMarshallingMethod
public java.lang.String getMethodName()
getMethodName
in class AbstractMarshallingMethod
public int getClassId()
getClassId
in class AbstractMarshallingMethod
public java.lang.String getClassName()
getClassName
in class AbstractMarshallingMethod
public void readFrom(AMQPInputStream in) throws java.io.IOException
readFrom
in class AbstractMarshallingMethod
java.io.IOException
public void writeTo(AMQPOutputStream out) throws java.io.IOException
writeTo
in class AbstractMarshallingMethod
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
|
Joram 5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |