Package org.freedesktop.dbus.interfaces
Class Properties.PropertiesChanged
- java.lang.Object
-
- org.freedesktop.dbus.messages.Message
-
- org.freedesktop.dbus.messages.DBusSignal
-
- org.freedesktop.dbus.interfaces.Properties.PropertiesChanged
-
- Enclosing interface:
- Properties
public static class Properties.PropertiesChanged extends DBusSignal
Signal generated when a property changes.
-
-
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 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 StringgetInterfaceName()Get name of the interface created this signal (e.g. org.bluez.Adapter1).Map<String,Variant<?>>getPropertiesChanged()Return the changed properties.List<String>getPropertiesRemoved()Returns a list of removed property keys.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
-
PropertiesChanged
public PropertiesChanged(String _path, String _interfaceName, Map<String,Variant<?>> _propertiesChanged, List<String> _propertiesRemoved) throws DBusException
- Throws:
DBusException
-
-
Method Detail
-
getInterfaceName
public String getInterfaceName()
Get name of the interface created this signal (e.g. org.bluez.Adapter1).- Returns:
- String
-
getPropertiesChanged
public Map<String,Variant<?>> getPropertiesChanged()
Return the changed properties. Key is the properties name, value is Variant containing any type.- Returns:
- Map
-
getPropertiesRemoved
public List<String> getPropertiesRemoved()
Returns a list of removed property keys.- Returns:
- List
-
toString
public String toString()
Description copied from class:MessageFormats the message in a human-readable format.- Overrides:
toStringin classDBusSignal
-
-