Class ConnectionMethodInvocation
java.lang.Object
org.freedesktop.dbus.connections.base.AbstractConnectionBase
org.freedesktop.dbus.connections.base.ConnectionMethodInvocation
- All Implemented Interfaces:
Closeable, AutoCloseable
- Direct Known Subclasses:
DBusBoundPropertyHandler
public abstract sealed class ConnectionMethodInvocation
extends AbstractConnectionBase
permits DBusBoundPropertyHandler
Abstract class containing most methods to invoke methods on a connection.
Part of the
Part of the
AbstractConnectionBase → ConnectionMethodInvocation
→ DBusBoundPropertyHandler → ConnectionMessageHandler → AbstractConnection hierarchy.- Since:
- 5.0.0 - 2023-10-23
- Author:
- hypfvieh
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConnectionMethodInvocation(ConnectionConfig _conCfg, TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidhandleException(Message _methodOrSignal, DBusExecutionException _exception) protected voidinvokedMethodReply(MethodCall _methodCall, Method _me, Object _result) protected ObjectinvokeMethod(MethodCall _methodCall, Method _me, Object _ob) protected ObjectinvokeMethodAndReply(MethodCall _methodCall, Method _me, Object _ob, boolean _noreply) protected voidqueueInvokeMethod(MethodCall _methodCall, Method _meth, Object _ob) protected ObjectsetupAndInvoke(MethodCall _methodCall, Method _meth, Object _ob, boolean _noReply) Methods inherited from class AbstractConnectionBase
close, connect, createReaderThread, disconnect, disconnect, doWithExportedObjects, doWithExportedObjectsAndReturn, getAddress, getBusAddress, getCallbackManager, getCallInfo, getConnectionConfig, getDisconnectCallback, getError, getExportedObject, getExportedObject, getExportedObject, getFallbackContainer, getGenericHandledSignals, getHandledSignals, getImportedObjects, getInfoMap, getLogger, getMachineId, getMessageFactory, getObjectTree, getPendingCalls, getPendingErrorQueue, getReceivingService, getTransport, getTransportConfig, internalDisconnect, isConnected, listen, rejectUnknownProperty, sendMessage, setDisconnectCallback, toString, unExportObject
-
Constructor Details
-
ConnectionMethodInvocation
protected ConnectionMethodInvocation(ConnectionConfig _conCfg, TransportConfig _transportConfig, ReceivingServiceConfig _rsCfg) throws DBusException - Throws:
DBusException
-
-
Method Details
-
handleException
-
queueInvokeMethod
-
setupAndInvoke
-
invokeMethodAndReply
protected Object invokeMethodAndReply(MethodCall _methodCall, Method _me, Object _ob, boolean _noreply) -
invokedMethodReply
protected void invokedMethodReply(MethodCall _methodCall, Method _me, Object _result) throws DBusException - Throws:
DBusException
-
invokeMethod
-