Schnittstelle DBusObjectSkeleton.OnAuthorizeMethod

Umschließende Klasse:
DBusObjectSkeleton
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface DBusObjectSkeleton.OnAuthorizeMethod
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    Emitted when a method is invoked by a remote caller and used to
    determine if the method call is authorized.
  • Methodendetails

    • 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.
      Parameter:
      _interface - The #GDBusInterfaceSkeleton that @invocation is for.
      invocation - A #GDBusMethodInvocation.
      Gibt zurück:
      %TRUE if the call is authorized, %FALSE otherwise.