Top Description Constructors Methods
org.freedesktop.dbus.connections.base

public abstract sealed Class ConnectionMethodInvocation

extends AbstractConnectionBase
permits DBusBoundPropertyHandler
Class Inheritance
Known Direct Subclasses
org.freedesktop.dbus.connections.base.DBusBoundPropertyHandler
Imports
org.freedesktop.dbus.DBusCallInfo, .Marshalling, org.freedesktop.dbus.connections.AbstractConnection, org.freedesktop.dbus.connections.config.ReceivingServiceConfig, .TransportConfig, org.freedesktop.dbus.connections.impl.ConnectionConfig, org.freedesktop.dbus.errors.UnknownMethod, org.freedesktop.dbus.exceptions.DBusException, .DBusExecutionException, org.freedesktop.dbus.interfaces.Properties, org.freedesktop.dbus.messages.Message, .MethodCall, .MethodReturn, org.freedesktop.dbus.messages.constants.Flags, org.freedesktop.dbus.utils.LoggingHelper, java.lang.reflect.InvocationTargetException, .Method, .Type, java.util.Arrays

Abstract class containing most methods to invoke methods on a connection.
Part of the AbstractConnectionBase → ConnectionMethodInvocation → DBusBoundPropertyHandler → ConnectionMessageHandler → AbstractConnection hierarchy.
Author
hypfvieh
Since
5.0.0 - 2023-10-23

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected abstract void
handleException(Message _methodOrSignal, DBusExecutionException _exception)

protected void
invokedMethodReply(final MethodCall _methodCall, final Method _me, Object _result)

protected Object
invokeMethod(final MethodCall _methodCall, final Method _me, final Object _ob)

protected Object
invokeMethodAndReply(final MethodCall _methodCall, final Method _me, final Object _ob, final boolean _noreply)

protected void
queueInvokeMethod(final MethodCall _methodCall, Method _meth, final Object _ob)

protected Object
setupAndInvoke(final MethodCall _methodCall, Method _meth, final Object _ob, final boolean _noReply)

Inherited from org.freedesktop.dbus.connections.base.AbstractConnectionBase:
closeconnectcreateReaderThreaddisconnectdisconnectdoWithExportedObjectsdoWithExportedObjectsAndReturngetAddressgetBusAddressgetCallbackManagergetCallInfogetConnectionConfiggetDisconnectCallbackgetErrorgetExportedObjectgetExportedObjectgetExportedObjectgetFallbackContainergetGenericHandledSignalsgetHandledSignalsgetImportedObjectsgetInfoMapgetLoggergetMachineIdgetMessageFactorygetObjectTreegetPendingCallsgetPendingErrorQueuegetReceivingServicegetTransportgetTransportConfiginternalDisconnectisConnectedlistenreadIncomingrejectUnknownPropertysendMessagesetDisconnectCallbacktoStringunExportObject

Constructor Detail

ConnectionMethodInvocationback to summary
protected ConnectionMethodInvocation(ConnectionConfig _conCfg, TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) throws DBusException

Method Detail

handleExceptionback to summary
protected abstract void handleException(Message _methodOrSignal, DBusExecutionException _exception)
invokedMethodReplyback to summary
protected void invokedMethodReply(final MethodCall _methodCall, final Method _me, Object _result) throws DBusException
invokeMethodback to summary
protected Object invokeMethod(final MethodCall _methodCall, final Method _me, final Object _ob) throws Throwable
invokeMethodAndReplyback to summary
protected Object invokeMethodAndReply(final MethodCall _methodCall, final Method _me, final Object _ob, final boolean _noreply)
queueInvokeMethodback to summary
protected void queueInvokeMethod(final MethodCall _methodCall, Method _meth, final Object _ob)
setupAndInvokeback to summary
protected Object setupAndInvoke(final MethodCall _methodCall, Method _meth, final Object _ob, final boolean _noReply)