Package org.freedesktop.dbus.interfaces
Interface DBusInterface
-
- All Known Subinterfaces:
DBus,Features,Introspectable,Local,ObjectManager,Peer,Properties
- All Known Implementing Classes:
DBusDaemon.DBusServer,GlobalHandler
public interface DBusInterfaceDenotes 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetObjectPath()Returns the path of this object.booleanisRemote()Returns true on remote objects.
-
-
-
Method Detail
-
isRemote
boolean isRemote()
Returns true on remote objects. Local objects implementing this interface MUST return false.- Returns:
- boolean
-
getObjectPath
String getObjectPath()
Returns the path of this object.- Returns:
- string
-
-