Top Inners Methods
org.freedesktop.dbus.interfaces

public Interface ObjectManager

extends DBusInterface
Annotations
@DBusInterfaceName:org.freedesktop.DBus.ObjectManager
@SuppressWarnings:checkstyle:methodname, checkstyle:visibilitymodifier
Imports
org.freedesktop.dbus.DBusPath, org.freedesktop.dbus.annotations.DBusInterfaceName, org.freedesktop.dbus.exceptions.DBusException, org.freedesktop.dbus.messages.DBusSignal, org.freedesktop.dbus.types.Variant, java.util.List, .Map

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
ObjectManager.InterfacesAdded

Signal generated when a new interface is added

public static class
ObjectManager.InterfacesRemoved

Signal generated when an interface is removed

Method Summary

Modifier and TypeMethod and Description
public Map<DBusPath, Map<String, Map<String, Variant<?>>>>

Returns:

A Map from object path (DBusInterface) to a Map from interface name to a properties Map (as returned by Properties.GetAll())
GetManagedObjects
()

Get a sub-tree of objects.

Inherited from org.freedesktop.dbus.interfaces.DBusInterface:
getObjectPathisRemote

Method Detail

GetManagedObjectsback to summary
public Map<DBusPath, Map<String, Map<String, Variant<?>>>> GetManagedObjects()

Get a sub-tree of objects. The root of the sub-tree is this object.

Returns:Map<DBusPath, Map<String, Map<String, Variant<?>>>>

A Map from object path (DBusInterface) to a Map from interface name to a properties Map (as returned by Properties.GetAll())

org.freedesktop.dbus.interfaces back to summary

public Class ObjectManager.InterfacesAdded

extends DBusSignal
Class Inheritance

Signal generated when a new interface is added

Field Summary

Modifier and TypeField and Description
public final Map<String, Map<String, Variant<?>>>
public final String
public final DBusPath

Constructor Summary

AccessConstructor and Description
public
InterfacesAdded(String _objectPath, DBusPath _source, Map<String, Map<String, Variant<?>>> _interfaces)

Method Summary

Modifier and TypeMethod and Description
public Map<String, Map<String, Variant<?>>>

Returns:

Map
getInterfaces
()

Returns the added interfaces.

public String
public DBusPath

Returns:

DBusPath
getSignalSource
()

The source DBus object path (e.g. /org/bluez/hci0/dev_00_11_22_33_44_55).

public String
toString()

Overrides org.freedesktop.dbus.messages.Message.toString.

Formats the message in a human-readable format.

Inherited from org.freedesktop.dbus.messages.DBusSignal:
appendbodycreateReal

Field Detail

interfacesback to summary
public final Map<String, Map<String, Variant<?>>> interfaces
objectPathback to summary
public final String objectPath
signalSourceback to summary
public final DBusPath signalSource

Constructor Detail

InterfacesAddedback to summary
public InterfacesAdded(String _objectPath, DBusPath _source, Map<String, Map<String, Variant<?>>> _interfaces) throws DBusException

Method Detail

getInterfacesback to summary
public Map<String, Map<String, Variant<?>>> getInterfaces()

Returns the added interfaces. Key is a DBus interface name (like org.bluez.Device1). Value is a Map with properties known for the new device.

Returns:Map<String, Map<String, Variant<?>>>

Map

getObjectPathback to summary
public String getObjectPath()
getSignalSourceback to summary
public DBusPath getSignalSource()

The source DBus object path (e.g. /org/bluez/hci0/dev_00_11_22_33_44_55).

Returns:DBusPath

DBusPath

toStringback to summary
public String toString()

Overrides org.freedesktop.dbus.messages.Message.toString.

Doc from org.freedesktop.dbus.messages.Message.toString.

Formats the message in a human-readable format.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object

Annotations
@Override
org.freedesktop.dbus.interfaces back to summary

public Class ObjectManager.InterfacesRemoved

extends DBusSignal
Class Inheritance

Signal generated when an interface is removed

Field Summary

Modifier and TypeField and Description
public final List<String>
public final String
public final DBusPath

Constructor Summary

AccessConstructor and Description
public
InterfacesRemoved(String _objectPath, DBusPath _source, List<String> _interfaces)

Method Summary

Modifier and TypeMethod and Description
public List<String>

Returns:

List
getInterfaces
()

Returns list of removed DBus interfaces (like org.bluez.Device1).

public String
public DBusPath

Returns:

DBusPath
getSignalSource
()

The source DBus object path (e.g. /org/bluez/hci0/dev_00_11_22_33_44_55).

public String
toString()

Overrides org.freedesktop.dbus.messages.Message.toString.

Formats the message in a human-readable format.

Inherited from org.freedesktop.dbus.messages.DBusSignal:
appendbodycreateReal

Field Detail

interfacesback to summary
public final List<String> interfaces
objectPathback to summary
public final String objectPath
signalSourceback to summary
public final DBusPath signalSource

Constructor Detail

InterfacesRemovedback to summary
public InterfacesRemoved(String _objectPath, DBusPath _source, List<String> _interfaces) throws DBusException

Method Detail

getInterfacesback to summary
public List<String> getInterfaces()

Returns list of removed DBus interfaces (like org.bluez.Device1).

Returns:List<String>

List

getObjectPathback to summary
public String getObjectPath()
getSignalSourceback to summary
public DBusPath getSignalSource()

The source DBus object path (e.g. /org/bluez/hci0/dev_00_11_22_33_44_55).

Returns:DBusPath

DBusPath

toStringback to summary
public String toString()

Overrides org.freedesktop.dbus.messages.Message.toString.

Doc from org.freedesktop.dbus.messages.Message.toString.

Formats the message in a human-readable format.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object

Annotations
@Override