|
Joram 5.2.1 | ||||||||
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.AbstractJmsRequest
public abstract class AbstractJmsRequest
An AbstractJmsRequest
is a request sent by a Joram client
to its proxy.
Field Summary | |
---|---|
protected int |
requestId
Identifier of the request. |
protected java.lang.String |
target
The request target is either a destination agent name, or a subscription name. |
Constructor Summary | |
---|---|
AbstractJmsRequest()
Constructs an AbstractJmsRequest . |
|
AbstractJmsRequest(java.lang.String target)
Constructs an AbstractJmsRequest . |
Method Summary | |
---|---|
int |
getRequestId()
Returns the request identifier. |
java.lang.String |
getTarget()
Returns the request target name. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
setRequestId(int requestId)
Sets the request identifier. |
void |
setTarget(java.lang.String target)
Sets the request target name. |
java.lang.String |
toString()
|
void |
toString(java.lang.StringBuffer strbuf)
|
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.AbstractJmsMessage |
---|
getClassId, read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected volatile int requestId
protected java.lang.String target
Constructor Detail |
---|
public AbstractJmsRequest()
AbstractJmsRequest
.
public AbstractJmsRequest(java.lang.String target)
AbstractJmsRequest
.
target
- String identifier of the request target, either a queue
name, or a subscription name.Method Detail |
---|
public final void setRequestId(int requestId)
public final int getRequestId()
public final void setTarget(java.lang.String target)
public final java.lang.String getTarget()
public final java.lang.String toString()
toString
in class java.lang.Object
public void toString(java.lang.StringBuffer strbuf)
public void writeTo(java.io.OutputStream os) throws java.io.IOException
os
- the stream to write the object to
java.io.IOException
public void readFrom(java.io.InputStream is) throws java.io.IOException
is
- the stream to read data from in order to restore the object
java.io.IOException
|
Joram 5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |