|
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.Access.Request
public static class AMQP.Access.Request
This method requests an access ticket for an access realm. The server responds by granting the access ticket. If the client does not have access rights to the requested realm this causes a connection exception. Access tickets are a per-channel resource.
Field Summary | |
---|---|
boolean |
active
Request message active access to the specified access realm. |
boolean |
exclusive
Request exclusive access to the realm, meaning that this will be the only channel that uses the realm's resources. |
static int |
INDEX
|
boolean |
passive
Request message passive access to the specified access realm. |
boolean |
read
Request read access to the specified access realm. |
java.lang.String |
realm
Specifies the name of the realm to which the client is requesting access. |
boolean |
write
Request write access to the specified access realm. |
Fields inherited from class org.objectweb.joram.mom.amqp.marshalling.AbstractMarshallingMethod |
---|
logger, NULL_METHOD_ID |
Constructor Summary | |
---|---|
AMQP.Access.Request()
|
|
AMQP.Access.Request(java.lang.String realm,
boolean exclusive,
boolean passive,
boolean active,
boolean write,
boolean read)
This method requests an access ticket for an access realm. |
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 java.lang.String realm
public boolean exclusive
public boolean passive
public boolean active
public boolean write
public boolean read
public static final int INDEX
Constructor Detail |
---|
public AMQP.Access.Request(java.lang.String realm, boolean exclusive, boolean passive, boolean active, boolean write, boolean read)
public AMQP.Access.Request()
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 |