org.freedesktop.dbus.interfaces.DBusSigHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dbus-java-core Show documentation
Show all versions of dbus-java-core Show documentation
Improved version of the DBus-Java library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/).
package org.freedesktop.dbus.interfaces;
import org.freedesktop.dbus.messages.DBusSignal;
/**
* Handle a signal on DBus. All Signal handlers are run in their own Thread. Application writers are responsible for
* managing any concurrency issues.
*/
public interface DBusSigHandler {
/**
* Handle a signal.
*
* @param _signal The signal to handle. If such a class exists, the signal will be an instance of the class with the
* correct type signature. Otherwise it will be an instance of DBusSignal
*/
void handle(T _signal);
}