org.objectweb.joram.shared.client

Class CnxConnectReply

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, String proxyId)
Constructs a CnxConnectReply.

Method Summary

int
getCnxKey()
Returns the connection's key.
String
getProxyId()
Returns the proxy's identifier
void
setCnxKey(int cnxKey)
Sets the connection key.
void
setProxyId(String proxyId)
Sets the proxy's identifier
Hashtable
soapCode()
static Object
soapDecode(Hashtable h)

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

getCorrelationId, getKey, setCorrelationId, soapCode, soapDecode, toString

Constructor Details

CnxConnectReply

public CnxConnectReply()
Constructs a CnxConnectReply.


CnxConnectReply

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

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

Method Details

getCnxKey

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


getProxyId

public String getProxyId()
Returns the proxy's identifier


setCnxKey

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


setProxyId

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


soapCode

public Hashtable soapCode()
Overrides:
soapCode in interface AbstractJmsReply


soapDecode

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


Copyright B) 2004 Scalagent - All rights reserved