|
Joram 5.0.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.client.AbstractJmsMessage
org.objectweb.joram.shared.client.AbstractJmsReply
org.objectweb.joram.shared.client.CnxConnectReply
public final class CnxConnectReply
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.
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 | |
---|---|
protected int |
getClassId()
|
int |
getCnxKey()
Returns the connection's key. |
java.lang.String |
getProxyId()
Returns the proxy's identifier |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
setCnxKey(int cnxKey)
Sets the connection key. |
void |
setProxyId(java.lang.String proxyId)
Sets the proxy's identifier |
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsReply |
---|
getCorrelationId, setCorrelationId, toString, toString |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CnxConnectReply(CnxConnectRequest req, int cnxKey, java.lang.String proxyId)
CnxConnectReply
.
req
- The replied request.cnxKey
- The connection's key.proxyId
- The proxy's identifier.public CnxConnectReply()
CnxConnectReply
.
Method Detail |
---|
public void setCnxKey(int cnxKey)
public int getCnxKey()
public void setProxyId(java.lang.String proxyId)
public java.lang.String getProxyId()
protected int getClassId()
getClassId
in class AbstractJmsMessage
public void writeTo(java.io.OutputStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractJmsReply
os
- the stream to write the object to
java.io.IOException
public void readFrom(java.io.InputStream is) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class AbstractJmsReply
is
- the stream to read data from in order to restore the object
java.io.IOException
|
Joram 5.0.8 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |