org.objectweb.joram.shared.client
Class ConsumerSubRequest
- java.io.Serializable
public class ConsumerSubRequest
A ConsumerSubRequest
is sent by a constructing
MessageConsumer
destinated to consume messages on a topic.
- Serialized Form
ConsumerSubRequest() - Constructs a
ConsumerSubRequest .
|
ConsumerSubRequest(String topic, String subName, String selector, boolean noLocal, boolean durable) - Constructs a
ConsumerSubRequest .
|
boolean | getDurable() - Returns
true for a durable subscription.
|
boolean | getNoLocal() - Returns
true for not consuming the local messages.
|
String | getSelector() - Returns the selector for filtering the messages.
|
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(String selector) - Sets the selector.
|
void | setSubName(String subName) - Sets the subscription name.
|
Hashtable | soapCode()
|
static Object | soapDecode(Hashtable h)
|
ConsumerSubRequest
public ConsumerSubRequest()
Constructs a ConsumerSubRequest
.
ConsumerSubRequest
public ConsumerSubRequest(String topic,
String subName,
String selector,
boolean noLocal,
boolean durable)
Constructs a 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.
getDurable
public boolean getDurable()
Returns true
for a durable subscription.
getNoLocal
public boolean getNoLocal()
Returns true
for not consuming the local messages.
getSelector
public String getSelector()
Returns the selector for filtering the messages.
getSubName
public String getSubName()
Returns the name of the subscription.
setDurable
public void setDurable(boolean durable)
Sets the durable attribute.
setNoLocal
public void setNoLocal(boolean noLocal)
Sets the noLocal attribute.
setSelector
public void setSelector(String selector)
Sets the selector.
setSubName
public void setSubName(String subName)
Sets the subscription name.
soapDecode
public static Object soapDecode(Hashtable h)
- soapDecode in interface AbstractJmsRequest
Copyright B) 2004 Scalagent - All rights reserved