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

org.freedesktop.dbus.annotations.MethodNoReply 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.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Methods annotated with this do not send a reply
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@DBusInterfaceName("org.freedesktop.DBus.Method.NoReply")
public @interface MethodNoReply {

    /**
     * Annotation value, true by default
     *
     * @return true when a method doesn't send a reply
     */
    boolean value() default true;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy