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

org.freedesktop.dbus.handlers.AbstractPropertiesChangedHandler Maven / Gradle / Ivy

Go to download

Improved version of the DBus-Java library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/).

There is a newer version: 5.1.0
Show newest version
package org.freedesktop.dbus.handlers;

import org.freedesktop.dbus.connections.AbstractConnection;
import org.freedesktop.dbus.interfaces.DBusSigHandler;
import org.freedesktop.dbus.interfaces.Properties;
import org.freedesktop.dbus.interfaces.Properties.PropertiesChanged;

/**
 * Subclass this abstract class for creating a callback for changed properties.
 *
 * As soon as your callback is registered by calling {@link AbstractConnection#addSigHandler(Class, DBusSigHandler)},
 * all property changes by Dbus will be visible in the handle(DBusSigHandler) method of your callback class.
 */
public abstract class AbstractPropertiesChangedHandler extends AbstractSignalHandlerBase {

    @Override
    public final Class getImplementationClass() {
        return Properties.PropertiesChanged.class;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy