|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.baserpc.RemoteData
at.spardat.xma.baserpc.ServerToClientData
Models the data transferred from server to client in a base rpc.
| Constructor Summary | |
ServerToClientData()
|
|
| Method Summary | |
protected void |
externalize(XmaOutput o)
Writes this to the provided ObjectOutput |
at.spardat.enterprise.exc.BaseException |
getException()
Returns the exception that has been set at the server or null if none. |
protected void |
internalize(XmaInput in)
Reads the stuff written by externalize |
void |
setException(at.spardat.enterprise.exc.BaseException x)
Sets a throwable that is going to be transferred to the client. |
| Methods inherited from class at.spardat.xma.baserpc.RemoteData |
getParameter, getParameterCount, getUnserializableCollection, setParameter, setUnserializableCollection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServerToClientData()
| Method Detail |
protected void externalize(XmaOutput o)
throws java.io.IOException
externalize in class RemoteDatajava.io.IOException
protected void internalize(XmaInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
internalize in class RemoteDatajava.io.IOException
java.lang.ClassNotFoundExceptionpublic void setException(at.spardat.enterprise.exc.BaseException x)
x - the Exception returned to the client. BaseExeption.prepareMigration
and BaseException.truncateSubclasses must have been called on x.public at.spardat.enterprise.exc.BaseException getException()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||