Package com.lucimber.dbus.annotation
Annotation Interface DBusSignal
Marks a method as a D-Bus signal emitter.
This annotation is used to mark methods that emit D-Bus signals. The method should typically return void and its parameters define the signal arguments.
Example usage:
@DBusSignal(name = "StatusChanged")
public void emitStatusChanged(String oldStatus, String newStatus) {
// Signal emission handled by framework
}
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameThe D-Bus signal name. If not specified, the Java method name is used.- Returns:
- the D-Bus signal name
- Default:
- ""
-