java.lang.Object
org.freedesktop.dbus.propertyref.PropRefRemoteHandler
Contains
DBusBoundProperty
code used for remote method invokation.- Seit:
- 5.0.0 - 2023-10-20
- Autor:
- hypfvieh
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Method
getPropertiesMethod
(String _method, Class<?>... _signature) static Object
handleDBusBoundProperty
(AbstractConnection _conn, RemoteObject _remote, Method _method, Object[] _args) Handles theDBusBoundProperty
annotation.
The special handling is needed because when this annotation is used the
object uses the DBusProperties
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 inVariant
(due to DBus Properties specify that every property value is aVariant
).
-
Methodendetails
-
handleDBusBoundProperty
public static Object handleDBusBoundProperty(AbstractConnection _conn, RemoteObject _remote, Method _method, Object[] _args) throws DBusException Handles theDBusBoundProperty
annotation.
The special handling is needed because when this annotation is used the
object uses the DBusProperties
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 inVariant
(due to DBus Properties specify that every property value is aVariant
).- 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
-