org.objectweb.joram.shared.client
Class CnxConnectReply

java.lang.Object
  extended byorg.objectweb.joram.shared.client.AbstractJmsReply
      extended byorg.objectweb.joram.shared.client.CnxConnectReply
All Implemented Interfaces:
java.io.Serializable

public class CnxConnectReply
extends AbstractJmsReply

A CnxConnectReply is sent by a JMS proxy as a reply to a connection CnxConnectRequest and holds the connection's key and the proxy identifier.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsReply
correlationId
 
Constructor Summary
CnxConnectReply()
          Constructs a CnxConnectReply.
CnxConnectReply(CnxConnectRequest req, int cnxKey, java.lang.String proxyId)
          Constructs a CnxConnectReply.
 
Method Summary
 int getCnxKey()
          Returns the connection's key.
 java.lang.String getProxyId()
          Returns the proxy's identifier
 void setCnxKey(int cnxKey)
          Sets the connection key.
 void setProxyId(java.lang.String proxyId)
          Sets the proxy's identifier
 java.util.Hashtable soapCode()
           
static java.lang.Object soapDecode(java.util.Hashtable h)
           
 
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsReply
getCorrelationId, getKey, setCorrelationId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CnxConnectReply

public CnxConnectReply(CnxConnectRequest req,
                       int cnxKey,
                       java.lang.String proxyId)
Constructs a CnxConnectReply.

Parameters:
req - The replied request.
cnxKey - The connection's key.
proxyId - The proxy's identifier.

CnxConnectReply

public CnxConnectReply()
Constructs a CnxConnectReply.

Method Detail

setCnxKey

public void setCnxKey(int cnxKey)
Sets the connection key.


setProxyId

public void setProxyId(java.lang.String proxyId)
Sets the proxy's identifier


getCnxKey

public int getCnxKey()
Returns the connection's key.


getProxyId

public java.lang.String getProxyId()
Returns the proxy's identifier


soapCode

public java.util.Hashtable soapCode()
Overrides:
soapCode in class AbstractJmsReply

soapDecode

public static java.lang.Object soapDecode(java.util.Hashtable h)


Copyright ? 2004 Scalagent - All rights reserved