org.objectweb.joram.shared.client

Class AbstractJmsReply

Implemented Interfaces:
java.io.Serializable
Known Direct Subclasses:
CnxCloseReply, CnxConnectReply, ConsumerMessages, GetAdminTopicReply, MomExceptionReply, QBrowseReply, ServerReply, SessCreateTDReply, XACnxRecoverReply

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

An AbstractJmsReply is sent by a proxy to a Joram client as a reply to an AbstractJmsRequest.

See Also:
Serialized Form

Field Summary

protected int
correlationId
Identifier of the replied request.

Constructor Summary

AbstractJmsReply()
Constructs an AbstractJmsReply.
AbstractJmsReply(int correlationId)
Constructs an AbstractJmsReply.

Method Summary

int
getCorrelationId()
Returns the replied request identifier.
Integer
getKey()
Returns the identifier as an hashtable key.
void
setCorrelationId(int correlationId)
Sets the replied request identifier.
Hashtable
soapCode()
static Object
soapDecode(Hashtable h)
String
toString()

Field Details

correlationId

protected int correlationId
Identifier of the replied request.

Constructor Details

AbstractJmsReply

public AbstractJmsReply()
Constructs an AbstractJmsReply.


AbstractJmsReply

public AbstractJmsReply(int correlationId)
Constructs an AbstractJmsReply.

Parameters:
correlationId - Identifier of the replied request.

Method Details

getCorrelationId

public int getCorrelationId()
Returns the replied request identifier.


getKey

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


setCorrelationId

public void setCorrelationId(int correlationId)
Sets the replied request identifier.


soapCode

public Hashtable soapCode()


soapDecode

public static Object soapDecode(Hashtable h)


toString

public String toString()


Copyright B) 2004 Scalagent - All rights reserved