Interface DBusObjectSkeleton.OnAuthorizeMethod

Enclosing class:
DBusObjectSkeleton
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DBusObjectSkeleton.OnAuthorizeMethod
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Emitted when a method is invoked by a remote caller and used to
    determine if the method call is authorized.
  • Method Details

    • onAuthorizeMethod

      boolean onAuthorizeMethod(@Nonnull DBusInterfaceSkeleton _interface, @Nonnull DBusMethodInvocation invocation)
      Emitted when a method is invoked by a remote caller and used to
      determine if the method call is authorized.

      This signal is like #GDBusInterfaceSkeleton's
      #GDBusInterfaceSkeleton::g-authorize-method signal,
      except that it is for the enclosing object.

      The default class handler just returns %TRUE.
      Parameters:
      _interface - The #GDBusInterfaceSkeleton that @invocation is for.
      invocation - A #GDBusMethodInvocation.
      Returns:
      %TRUE if the call is authorized, %FALSE otherwise.