Package org.freedesktop.dbus
Class DBusAsyncReply<T>
java.lang.Object
org.freedesktop.dbus.DBusAsyncReply<T>
A handle to an asynchronous method call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AbstractConnectionprivate DBusExecutionExceptionprivate final org.slf4j.Loggerprivate final MethodCallprivate final Methodprivate T -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
private final org.slf4j.Logger logger -
rval
-
error
-
mc
-
me
-
conn
-
-
Constructor Details
-
DBusAsyncReply
-
-
Method Details
-
checkReply
private void checkReply() -
hasReply
public boolean hasReply()Check if we've had a reply.- Returns:
- true if we have a reply
-
getReply
Get the reply.- Returns:
- The return value from the method.
- Throws:
DBusException- if the reply to the method was an error.NoReply- if the method hasn't had a reply yet
-
toString
-
getMethod
-
getConnection
-
getCall
-