|
Joram 5.0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.kclient.AbstractMessage
org.objectweb.joram.kclient.AbstractRequest
public abstract class AbstractRequest
An AbstractRequest
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 | |
---|---|
AbstractRequest()
Constructs an AbstractRequest . |
|
AbstractRequest(java.lang.String target)
Constructs an AbstractRequest . |
Method Summary | |
---|---|
int |
getRequestId()
Returns the request identifier. |
void |
readFrom(InputXStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
setRequestId(int requestId)
Sets the request identifier. |
void |
toString(java.lang.StringBuffer strbuf)
|
void |
writeTo(OutputXStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.kclient.AbstractMessage |
---|
getClassId, read, toString, write |
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 AbstractRequest()
AbstractRequest
.
public AbstractRequest(java.lang.String target)
AbstractRequest
.
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 void toString(java.lang.StringBuffer strbuf)
toString
in class AbstractMessage
public void writeTo(OutputXStream os) throws java.io.IOException
os
- the stream to write the object to
java.io.IOException
public final void readFrom(InputXStream is) throws java.io.IOException
is
- the stream to read data from in order to restore the object
java.io.IOException
|
Joram 5.0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |