org.freedesktop.dbus.SignalAwareProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluez-dbus Show documentation
Show all versions of bluez-dbus Show documentation
Java native bluetooth library which uses bluez via dbus (linux only)
package org.freedesktop.dbus;
import java.util.List;
import java.util.Map;
import org.freedesktop.DBus.Properties;
import org.freedesktop.dbus.exceptions.DBusException;
/**
* Extended DBus-Properties object which supports the PropertiesChanged signal of DBus.
*
* @author hypfvieh
*
*/
@DBusInterfaceName("org.freedesktop.DBus.Properties")
public interface SignalAwareProperties extends Properties {
public static class PropertiesChanged extends DBusSignal {
private final Map> propertiesChanged;
private final List propertiesRemoved;
public PropertiesChanged(String _path, String _interfaceName, Map> _propertiesChanged, List _propertiesRemoved) throws DBusException {
super(_path, _interfaceName, _propertiesChanged, _propertiesRemoved);
this.propertiesChanged = _propertiesChanged;
this.propertiesRemoved = _propertiesRemoved;
}
public Map> getPropertiesChanged() {
return propertiesChanged;
}
public List getPropertiesRemoved() {
return propertiesRemoved;
}
}
}