All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.freedesktop.dbus.SignalAwareProperties Maven / Gradle / Ivy

There is a newer version: 0.3.0
Show newest version
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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy