Interface DBusInterface

  • All Known Subinterfaces:
    DBus, Features, Introspectable, ObjectManager, Peer, Properties
    All Known Implementing Classes:
    DBusDaemon.DBusServer, GlobalHandler

    public interface DBusInterface
    Denotes a class as exportable or a remote interface which can be called.

    Any interface which should be exported or imported should extend this interface. All public methods from that interface are exported/imported with the given method signatures.

    All method calls on exported objects are run in their own threads. Application writers are responsible for any concurrency issues.

    • Method Detail

      • isRemote

        default boolean isRemote()
        Returns true on remote objects. Local objects implementing this interface MUST return false.
        Returns:
        boolean
      • getObjectPath

        java.lang.String getObjectPath()
        Returns the path of this object.
        Returns:
        string