org.objectweb.joram.shared.client

Class ConsumerSetListRequest

Implemented Interfaces:
java.io.Serializable

public class ConsumerSetListRequest
extends AbstractJmsRequest

A ConsumerSetListRequest is sent by a MessageConsumer on which a message listener is set.

See Also:
Serialized Form

Field Summary

Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest

target

Constructor Summary

ConsumerSetListRequest()
Constructs a ConsumerSetListRequest.
ConsumerSetListRequest(String targetName, String selector, boolean queueMode)
Constructs a ConsumerSetListRequest.

Method Summary

boolean
getQueueMode()
Returns true if the request is destinated to a queue.
String
getSelector()
Returns the selector for filtering messages.
void
setQueueMode(boolean queueMode)
Sets the target destination type.
void
setSelector(String selector)
Sets the selector.
Hashtable
soapCode()
static Object
soapDecode(Hashtable h)
String
toString()

Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest

getKey, getRequestId, getTarget, setRequestId, setTarget, soapCode, soapDecode, toString

Constructor Details

ConsumerSetListRequest

public ConsumerSetListRequest()
Constructs a ConsumerSetListRequest.


ConsumerSetListRequest

public ConsumerSetListRequest(String targetName,
                              String selector,
                              boolean queueMode)
Constructs a ConsumerSetListRequest.

Parameters:
targetName - Name of the target queue or subscription.
selector - Selector for filtering messages.
queueMode - true if this request is destinated to a queue.

Method Details

getQueueMode

public boolean getQueueMode()
Returns true if the request is destinated to a queue.


getSelector

public String getSelector()
Returns the selector for filtering messages.


setQueueMode

public void setQueueMode(boolean queueMode)
Sets the target destination type.


setSelector

public void setSelector(String selector)
Sets the selector.


soapCode

public Hashtable soapCode()
Overrides:
soapCode in interface AbstractJmsRequest


soapDecode

public static Object soapDecode(Hashtable h)
Overrides:
soapDecode in interface AbstractJmsRequest


toString

public String toString()
Overrides:
toString in interface AbstractJmsRequest


Copyright B) 2004 Scalagent - All rights reserved