Package org.freedesktop.dbus.interfaces
Class ObjectManager.InterfacesAdded
- java.lang.Object
-
- org.freedesktop.dbus.messages.Message
-
- org.freedesktop.dbus.messages.DBusSignal
-
- org.freedesktop.dbus.interfaces.ObjectManager.InterfacesAdded
-
- Enclosing interface:
- ObjectManager
public static class ObjectManager.InterfacesAdded extends DBusSignal
Signal generated when a new interface is added
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.freedesktop.dbus.messages.Message
Message.ArgumentType, Message.Endian, Message.Flags, Message.HeaderField, Message.MessageType
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,Map<String,Variant<?>>>interfacesStringobjectPathDBusPathsignalSource-
Fields inherited from class org.freedesktop.dbus.messages.Message
globalserial, MAXIMUM_ARRAY_LENGTH, MAXIMUM_MESSAGE_LENGTH, MAXIMUM_NUM_UNIX_FDS, PROTOCOL
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Map<String,Variant<?>>>getInterfaces()Returns the added interfaces.StringgetObjectPath()DBusPathgetSignalSource()The source DBus object path (e.g.StringtoString()Formats the message in a human-readable format.-
Methods inherited from class org.freedesktop.dbus.messages.DBusSignal
appendbody, createReal
-
Methods inherited from class org.freedesktop.dbus.messages.Message
align, append, appendByte, appendBytes, appendint, demarshallint, demarshallint, demarshallintBig, demarshallintLittle, extract, extract, getAlignment, getByteCounter, getDestination, getEndianess, getFiledescriptors, getFlags, getHeader, getHeaderFieldName, getHeaders, getInterface, getName, getParameters, getPath, getReplySerial, getSerial, getSig, getSource, getType, getWiredata, getWireData, marshallint, marshallintBig, marshallintLittle, pad, setArgs, setByteCounter, setSerial, setSource, setWiredata
-
-
-
-
Constructor Detail
-
InterfacesAdded
public InterfacesAdded(String _objectPath, DBusPath _source, Map<String,Map<String,Variant<?>>> interfaces) throws DBusException
- Throws:
DBusException
-
-
Method Detail
-
getSignalSource
public DBusPath getSignalSource()
The source DBus object path (e.g. /org/bluez/hci0/dev_00_11_22_33_44_55).- Returns:
- DBusPath
-
getObjectPath
public String getObjectPath()
-
getInterfaces
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
-
toString
public String toString()
Description copied from class:MessageFormats the message in a human-readable format.- Overrides:
toStringin classDBusSignal
-
-