|
||||||||||
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,
Object pObject)
Creates a new instance of ResultObject . |
|
ResultObject(byte pType,
Object pObject,
Object pCallBackId)
Creates a new instance of ResultObject for an
asynchronous call. |
Method Summary | |
---|---|
Object |
getCallBackId()
Gets the callback identifier from an asynchronous method call. |
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, Object pObject)
ResultObject
.
pType
- result typepObject
- result objectpublic ResultObject(byte pType, Object pObject, Object pCallBackId)
ResultObject
for an
asynchronous call.
pType
- result typepObject
- result objectpCallBackId
- callback identifier for the resultMethod Detail |
---|
public final byte getType()
IConnection.TYPE_CALL_RESULT
, IConnection.TYPE_CALL_ERROR
,
IConnection.TYPE_CALLBACK_RESULT
, IConnection.TYPE_CALLBACK_ERROR
public final Object getObject()
public final Object getCallBackId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |