|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.server.ResultObject
public final class ResultObject
The ResultObject encapsulates the return type and value of
a remote call.
| Constructor Summary | |
|---|---|
ResultObject(byte pType,
java.lang.Object pObject)
Creates a new instance of ResultObject. |
|
ResultObject(byte pType,
java.lang.Object pObject,
java.lang.Object pCallBackId)
Creates a new instance of ResultObject for an
asynchronous call. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getCallBackId()
Gets the callback identifier from an asynchronous method call. |
java.lang.Object |
getObject()
Gets the result of a remote method call. |
byte |
getType()
Gets the type of a remote method call. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultObject(byte pType,
java.lang.Object pObject)
ResultObject.
pType - result typepObject - result object
public ResultObject(byte pType,
java.lang.Object pObject,
java.lang.Object pCallBackId)
ResultObject for an
asynchronous call.
pType - result typepObject - result objectpCallBackId - callback identifier for the result| Method Detail |
|---|
public final byte getType()
IConnection.TYPE_CALL_RESULT, IConnection.TYPE_CALL_ERROR,
IConnection.TYPE_CALLBACK_RESULT, IConnection.TYPE_CALLBACK_ERRORpublic final java.lang.Object getObject()
public final java.lang.Object getCallBackId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||