Klasse PropRefRemoteHandler

java.lang.Object
org.freedesktop.dbus.propertyref.PropRefRemoteHandler

public final class PropRefRemoteHandler extends Object
Contains DBusBoundProperty code used for remote method invokation.
Seit:
5.0.0 - 2023-10-20
Autor:
hypfvieh
  • Methodendetails

    • handleDBusBoundProperty

      public static Object handleDBusBoundProperty(AbstractConnection _conn, RemoteObject _remote, Method _method, Object[] _args) throws DBusException
      Handles the DBusBoundProperty annotation.

      The special handling is needed because when this annotation is used the
      object uses the DBus Properties interface without explicitly implementing it.

      In that case we have to fake the presents of this interface and also take care about
      the types which have to be wrapped in Variant
      (due to DBus Properties specify that every property value is a Variant).
      Parameter:
      _conn - connection
      _remote - remote object
      _method - annotated method which was called
      _args - arguments used if this was a call to a setter
      Gibt zurück:
      remote invocation result
      Löst aus:
      DBusException - when DBus call fails
    • getPropertiesMethod

      public static Method getPropertiesMethod(String _method, Class<?>... _signature)