Class DBusAsyncReply<T>


  • public class DBusAsyncReply<T>
    extends java.lang.Object
    A handle to an asynchronous method call.
    • Method Detail

      • checkReply

        private void checkReply()
      • hasReply

        public boolean hasReply()
        Check if we've had a reply.
        Returns:
        true if we have a reply
      • getReply

        public T getReply()
                   throws DBusException
        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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getMethod

        public java.lang.reflect.Method getMethod()