|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.freedesktop.dbus.DBusAsyncReply<ReturnType>
public class DBusAsyncReply<ReturnType>
A handle to an asynchronous method call.
Method Summary | |
---|---|
ReturnType |
getReply()
Get the reply. |
boolean |
hasReply()
Check if we've had a reply. |
static Collection<DBusAsyncReply<? extends Object>> |
hasReply(Collection<DBusAsyncReply<? extends Object>> replies)
Check if any of a set of asynchronous calls have had a reply. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static Collection<DBusAsyncReply<? extends Object>> hasReply(Collection<DBusAsyncReply<? extends Object>> replies)
replies
- A Collection of handles to replies to check.
public boolean hasReply()
public ReturnType getReply() throws DBusExecutionException
DBusExecutionException
- if the reply to the method was an error.
DBus.Error.NoReply
- if the method hasn't had a reply yetpublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |