org.objectweb.joram.shared.client

Class ConsumerUnsetListRequest

Implemented Interfaces:
java.io.Serializable

public class ConsumerUnsetListRequest
extends AbstractJmsRequest

A ConsumerUnsetListRequest is sent by a MessageConsumer which listener is unset.

See Also:
Serialized Form

Field Summary

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

target

Constructor Summary

ConsumerUnsetListRequest()
Constructs a ConsumerUnsetListRequest.
ConsumerUnsetListRequest(boolean queueMode)
Constructs a ConsumerUnsetListRequest.

Method Summary

int
getCancelledRequestId()
Returns the identifier of the last listener request, cancelled by this request, queue mode only.
boolean
getQueueMode()
Returns true for a queue listener.
void
setCancelledRequestId(int cancelledRequestId)
Sets the identifier of the last listener request, cancelled by this request, queue mode only.
void
setQueueMode(boolean queueMode)
Sets the listener mode (queue or topic listener).
Hashtable
soapCode()
static Object
soapDecode(Hashtable h)

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

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

Constructor Details

ConsumerUnsetListRequest

public ConsumerUnsetListRequest()
Constructs a ConsumerUnsetListRequest.


ConsumerUnsetListRequest

public ConsumerUnsetListRequest(boolean queueMode)
Constructs a ConsumerUnsetListRequest.

Parameters:
queueMode - true if the listener is listening to a queue.

Method Details

getCancelledRequestId

public int getCancelledRequestId()
Returns the identifier of the last listener request, cancelled by this request, queue mode only.


getQueueMode

public boolean getQueueMode()
Returns true for a queue listener.


setCancelledRequestId

public void setCancelledRequestId(int cancelledRequestId)
Sets the identifier of the last listener request, cancelled by this request, queue mode only.


setQueueMode

public void setQueueMode(boolean queueMode)
Sets the listener mode (queue or topic listener).


soapCode

public Hashtable soapCode()
Overrides:
soapCode in interface AbstractJmsRequest


soapDecode

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


Copyright B) 2004 Scalagent - All rights reserved