public class DBusAsyncReply<ReturnType>
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
ReturnType |
getReply() |
Get the reply.
|
boolean |
hasReply() |
Check if we've had a reply.
|
static java.util.Collection<DBusAsyncReply<? extends java.lang.Object>> |
hasReply(java.util.Collection<DBusAsyncReply<? extends java.lang.Object>> replies) |
Check if any of a set of asynchronous calls have had a reply.
|
java.lang.String |
toString() |
public static java.util.Collection<DBusAsyncReply<? extends java.lang.Object>> hasReply(java.util.Collection<DBusAsyncReply<? extends java.lang.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 java.lang.String toString()
toString
in class java.lang.Object