|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.rpc.RemoteData
at.spardat.xma.rpc.RemoteReplyData
Value object that holds the data transferred from server to client in an XMA RPC.
| Field Summary | |
protected at.spardat.enterprise.exc.BaseException |
exception_
An exception occured in the course of executing the request |
protected byte[] |
pageDeltas_
The stream of page modifications. |
protected int |
runtimeVersion_
The version of the XMA runtime that produces an serialized output stream via externalize (excluding the bootstrap runtime). |
protected short |
serverChangeNumber_
The serial change number. |
| Constructor Summary | |
RemoteReplyData()
|
|
| Method Summary | |
protected void |
externalize(XmaOutput o)
Writes this to the provided ObjectOutput |
protected void |
externalizeExclParameter(XmaOutput o)
Write all except the parameters to the XmaOutput. |
protected void |
externalizeParameters(XmaOutput o)
Write the parameters to the ObjectOutput. |
protected int |
getExternalizedPageDeltasSize()
Returns the size it requires to externalize the page deltas |
java.lang.Object |
getParameter(int id)
Retrieves a parameter for a given id. |
int |
getParameterCount()
Returns the number of parameters |
protected void |
internalize(XmaInput in)
Reads the stuff written by externalize |
protected void |
internalizeExclParameter(XmaInput in)
Reads data as written by externalizeExclParameter |
protected void |
internalizeParameters(XmaInput in)
Reads parameters as written by externalizeParameters. |
void |
setParameter(int id,
java.lang.Object parameter)
Adds a parameter to this |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected at.spardat.enterprise.exc.BaseException exception_
protected int runtimeVersion_
protected short serverChangeNumber_
Component.
-1 means that the SCN is unknown. An unknown SCN may be sent from server to client
in the case of some early time processing errors.
protected byte[] pageDeltas_
| Constructor Detail |
public RemoteReplyData()
| Method Detail |
protected void externalize(XmaOutput o)
throws java.io.IOException
java.io.IOException
protected void internalize(XmaInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
protected void externalizeExclParameter(XmaOutput o)
throws java.io.IOException
java.io.IOException
protected void externalizeParameters(XmaOutput o)
throws java.io.IOException
java.io.IOException
protected void internalizeExclParameter(XmaInput in)
throws java.io.IOException
java.io.IOException
protected void internalizeParameters(XmaInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundExceptionprotected int getExternalizedPageDeltasSize()
public void setParameter(int id,
java.lang.Object parameter)
id - a numeric id of the parameter. Must not be less than zero and greater than 127.parameter - the parameter data which has to implement java.io.Serializable
and must be successfully be serialized. It cannot be null.
java.lang.IllegalArgumentException - if any before mentioned condition is violated.public java.lang.Object getParameter(int id)
id - the id that has been used in setParameter.
public int getParameterCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||