org.objectweb.joram.shared.client

Class AbstractJmsRequest

Implemented Interfaces:
java.io.Serializable
Known Direct Subclasses:
CnxCloseRequest, CnxConnectRequest, CnxStartRequest, CnxStopRequest, ConsumerAckRequest, ConsumerCloseSubRequest, ConsumerDenyRequest, ConsumerReceiveRequest, ConsumerSetListRequest, ConsumerSubRequest, ConsumerUnsetListRequest, ConsumerUnsubRequest, GetAdminTopicRequest, PingRequest, ProducerMessages, QBrowseRequest, SessAckRequest, SessCreateTQRequest, SessCreateTTRequest, SessDenyRequest, TempDestDeleteRequest, XACnxCommit, XACnxPrepare, XACnxRecoverRequest, XACnxRollback

public class AbstractJmsRequest
extends java.lang.Object
implements java.io.Serializable

An AbstractJmsRequest is a request sent by a Joram client to its proxy.

See Also:
Serialized Form

Field Summary

protected String
target
The request target is either a destination agent name, or a subscription name.

Constructor Summary

AbstractJmsRequest()
Constructs an AbstractJmsRequest.
AbstractJmsRequest(String target)
Constructs an AbstractJmsRequest.

Method Summary

Integer
getKey()
Returns the identifier as an hashtable key.
int
getRequestId()
Returns the request identifier.
String
getTarget()
Returns the request target name.
void
setRequestId(int requestId)
Sets the request identifier.
void
setTarget(String target)
Sets the request target name.
Hashtable
soapCode()
static Object
soapDecode(Hashtable h)
String
toString()

Field Details

target

protected String target
The request target is either a destination agent name, or a subscription name.

Constructor Details

AbstractJmsRequest

public AbstractJmsRequest()
Constructs an AbstractJmsRequest.


AbstractJmsRequest

public AbstractJmsRequest(String target)
Constructs an AbstractJmsRequest.

Parameters:
target - String identifier of the request target, either a queue name, or a subscription name.

Method Details

getKey

public Integer getKey()
Returns the identifier as an hashtable key.


getRequestId

public int getRequestId()
Returns the request identifier.


getTarget

public String getTarget()
Returns the request target name.


setRequestId

public void setRequestId(int requestId)
Sets the request identifier.


setTarget

public void setTarget(String target)
Sets the request target name.


soapCode

public Hashtable soapCode()


soapDecode

public static Object soapDecode(Hashtable h)


toString

public String toString()


Copyright B) 2004 Scalagent - All rights reserved