|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.client.AbstractJmsRequest
org.objectweb.joram.shared.client.ConsumerSubRequest
A ConsumerSubRequest
is sent by a constructing
MessageConsumer
destinated to consume messages on a topic.
Field Summary |
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
target |
Constructor Summary | |
ConsumerSubRequest()
Constructs a ConsumerSubRequest . |
|
ConsumerSubRequest(java.lang.String topic,
java.lang.String subName,
java.lang.String selector,
boolean noLocal,
boolean durable)
Constructs a ConsumerSubRequest . |
Method Summary | |
boolean |
getDurable()
Returns true for a durable subscription. |
boolean |
getNoLocal()
Returns true for not consuming the local messages. |
java.lang.String |
getSelector()
Returns the selector for filtering the messages. |
java.lang.String |
getSubName()
Returns the name of the subscription. |
void |
setDurable(boolean durable)
Sets the durable attribute. |
void |
setNoLocal(boolean noLocal)
Sets the noLocal attribute. |
void |
setSelector(java.lang.String selector)
Sets the selector. |
void |
setSubName(java.lang.String subName)
Sets the subscription name. |
java.util.Hashtable |
soapCode()
|
static java.lang.Object |
soapDecode(java.util.Hashtable h)
|
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
getKey, getRequestId, getTarget, setRequestId, setTarget, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ConsumerSubRequest(java.lang.String topic, java.lang.String subName, java.lang.String selector, boolean noLocal, boolean durable)
ConsumerSubRequest
.
topic
- The topic identifier the client wishes to subscribe to.subName
- The subscription's name.selector
- The selector for filtering messages, if any.noLocal
- true
for not consuming the local messages.durable
- true
for a durable subscription.public ConsumerSubRequest()
ConsumerSubRequest
.
Method Detail |
public void setSubName(java.lang.String subName)
public void setSelector(java.lang.String selector)
public void setNoLocal(boolean noLocal)
public void setDurable(boolean durable)
public java.lang.String getSubName()
public java.lang.String getSelector()
public boolean getNoLocal()
true
for not consuming the local messages.
public boolean getDurable()
true
for a durable subscription.
public java.util.Hashtable soapCode()
soapCode
in class AbstractJmsRequest
public static java.lang.Object soapDecode(java.util.Hashtable h)
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |