|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.aglet.FutureReply
The FutureReply class is a abstract class for the result of a future message.
AgletProxy.sendAsyncMessage(com.ibm.aglet.Message)| Constructor Summary | |
FutureReply()
|
|
| Method Summary | |
boolean |
getBooleanReply()
Gets the reply as a primitive boolean. |
char |
getCharReply()
Gets the reply as a primitive char. |
double |
getDoubleReply()
Gets the reply as a primitive double. |
float |
getFloatReply()
Gets the reply as a primitive float. |
int |
getIntReply()
Gets the reply as a primitive integer. |
long |
getLongReply()
Gets the reply as a primitive long. |
abstract java.lang.Object |
getReply()
If the message was not handled the receiver, MessageNotHandled exception is raised. |
abstract boolean |
isAvailable()
Checks if the reply is available or not. |
abstract void |
waitForReply()
Waits for a reply until the reply is available. |
abstract void |
waitForReply(long timeout)
Waits for a reply with specific timeout value. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public FutureReply()
| Method Detail |
public abstract java.lang.Object getReply()
throws MessageException,
NotHandledException
Message.sendReply(java.lang.Object)
public int getIntReply()
throws MessageException,
NotHandledException
public double getDoubleReply()
throws MessageException,
NotHandledException
public float getFloatReply()
throws MessageException,
NotHandledException
public boolean getBooleanReply()
throws MessageException,
NotHandledException
public char getCharReply()
throws MessageException,
NotHandledException
public long getLongReply()
throws MessageException,
NotHandledException
public abstract boolean isAvailable()
public abstract void waitForReply(long timeout)
timeout - the maximum time to wait in millisecondspublic abstract void waitForReply()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||