Package com.lucimber.dbus.annotation
Annotation Interface DBusMethod
Marks a method as a D-Bus method.
This annotation is used to expose Java methods as D-Bus methods. The method name in D-Bus will match the Java method name unless explicitly specified.
Example usage:
@DBusMethod(name = "GetStatus")
public String getStatus() {
return "active";
}
-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameThe D-Bus method name. If not specified, the Java method name is used.- Returns:
- the D-Bus method name
- Default:
- ""
-