org.freedesktop.dbus
public class DBusAsyncReply<ReturnType> extends Object
Modifier and Type | Method and Description |
---|---|
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() |
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 yet