- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a connection to the D-Bus bus daemon
Java wrapper for Qt class QDBusConnection
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQDBusConnection::BusType
static final class
QFlags
type for enumQDBusConnection.ConnectionCapability
static enum
Java wrapper for Qt enumQDBusConnection::ConnectionCapability
static enum
Java wrapper for Qt enumQDBusConnection::RegisterOption
static final class
QFlags
type for enumQDBusConnection.RegisterOption
static enum
Java wrapper for Qt enumQDBusConnection::UnregisterMode
static enum
Java wrapper for Qt enumQDBusConnection::VirtualObjectRegisterOption
static final class
QFlags
type for enumQDBusConnection.VirtualObjectRegisterOption
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QDBusConnection other) final QDBusPendingCall
asyncCall
(QDBusMessage message) Overloaded function forasyncCall(io.qt.dbus.QDBusMessage, int)
withtimeout = -1
.final QDBusPendingCall
asyncCall
(QDBusMessage message, int timeout) final String
final QDBusMessage
call
(QDBusMessage message) Overloaded function forcall(io.qt.dbus.QDBusMessage, io.qt.dbus.QDBus.CallMode, int)
final QDBusMessage
call
(QDBusMessage message, QDBus.CallMode mode) Overloaded function forcall(io.qt.dbus.QDBusMessage, io.qt.dbus.QDBus.CallMode, int)
withtimeout = -1
.final QDBusMessage
call
(QDBusMessage message, QDBus.CallMode mode, int timeout) final boolean
callWithCallback
(QDBusMessage message, QObject receiver, String slot) Overloaded function forcallWithCallback(io.qt.dbus.QDBusMessage, io.qt.core.QObject, java.lang.String, int)
withtimeout = -1
.final boolean
callWithCallback
(QDBusMessage message, QObject receiver, String slot, int timeout) final boolean
callWithCallback
(QDBusMessage message, QObject receiver, String returnMethod, String errorMethod) Overloaded function forcallWithCallback(io.qt.dbus.QDBusMessage, io.qt.core.QObject, java.lang.String, java.lang.String, int)
withtimeout = -1
.final boolean
callWithCallback
(QDBusMessage message, QObject receiver, String returnMethod, String errorMethod, int timeout) clone()
Creates and returns a copy of this object.final boolean
connect
(String service, String path, String arg__interface, String name, QObject receiver, String slot) final boolean
connect
(String service, String path, String arg__interface, String name, String signature, QObject receiver, String slot) final boolean
connect
(String service, String path, String arg__interface, String name, Collection<String> argumentMatch, String signature, QObject receiver, String slot) final QDBusConnectionInterface
static QDBusConnection
connectToBus
(QDBusConnection.BusType type, String name) static QDBusConnection
connectToBus
(String address, String name) static QDBusConnection
connectToPeer
(String address, String name) final boolean
disconnect
(String service, String path, String arg__interface, String name, QObject receiver, String slot) final boolean
disconnect
(String service, String path, String arg__interface, String name, String signature, QObject receiver, String slot) final boolean
disconnect
(String service, String path, String arg__interface, String name, Collection<String> argumentMatch, String signature, QObject receiver, String slot) static void
disconnectFromBus
(String name) static void
disconnectFromPeer
(String name) final boolean
final QDBusError
static QByteArray
final String
name()
final QObject
objectRegisteredAt
(String path) final boolean
registerObject
(String path, QObject object) Overloaded function forregisterObject(java.lang.String, io.qt.core.QObject, io.qt.dbus.QDBusConnection.RegisterOptions)
withoptions = new io.qt.dbus.QDBusConnection.RegisterOptions(1)
.final boolean
registerObject
(String path, QObject object, QDBusConnection.RegisterOption ... options) Overloaded function forregisterObject(java.lang.String, io.qt.core.QObject, io.qt.dbus.QDBusConnection.RegisterOptions)
.final boolean
registerObject
(String path, QObject object, QDBusConnection.RegisterOptions options) final boolean
registerObject
(String path, String arg__interface, QObject object) Overloaded function forregisterObject(java.lang.String, java.lang.String, io.qt.core.QObject, io.qt.dbus.QDBusConnection.RegisterOptions)
withoptions = new io.qt.dbus.QDBusConnection.RegisterOptions(1)
.final boolean
registerObject
(String path, String arg__interface, QObject object, QDBusConnection.RegisterOption ... options) final boolean
registerObject
(String path, String arg__interface, QObject object, QDBusConnection.RegisterOptions options) final boolean
registerService
(String serviceName) final boolean
send
(QDBusMessage message) static QDBusConnection
final void
swap
(QDBusConnection other) static QDBusConnection
final void
unregisterObject
(String path) Overloaded function forunregisterObject(java.lang.String, io.qt.dbus.QDBusConnection.UnregisterMode)
withmode = io.qt.dbus.QDBusConnection.UnregisterMode.UnregisterNode
.final void
unregisterObject
(String path, QDBusConnection.UnregisterMode mode) final boolean
unregisterService
(String serviceName) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QDBusConnection
-
QDBusConnection
-
-
Method Details
-
asyncCall
-
baseService
-
call
@QtUninvokable public final QDBusMessage call(QDBusMessage message, QDBus.CallMode mode, int timeout) -
callWithCallback
@QtUninvokable public final boolean callWithCallback(QDBusMessage message, QObject receiver, String returnMethod, String errorMethod, int timeout) -
callWithCallback
@QtUninvokable public final boolean callWithCallback(QDBusMessage message, QObject receiver, String slot, int timeout) -
connect
-
connect
-
connect
@QtUninvokable public final boolean connect(String service, String path, String arg__interface, String name, Collection<String> argumentMatch, String signature, QObject receiver, String slot) -
connectionCapabilities
-
disconnect
-
disconnect
-
disconnect
@QtUninvokable public final boolean disconnect(String service, String path, String arg__interface, String name, Collection<String> argumentMatch, String signature, QObject receiver, String slot) -
connectionInterface
-
isConnected
-
lastError
-
name
-
objectRegisteredAt
-
assign
-
registerObject
@QtUninvokable public final boolean registerObject(String path, QObject object, QDBusConnection.RegisterOptions options) -
registerObject
@QtUninvokable public final boolean registerObject(String path, String arg__interface, QObject object, QDBusConnection.RegisterOptions options) -
registerService
-
send
-
swap
-
unregisterObject
-
unregisterService
-
connectToBus
-
connectToBus
-
connectToPeer
-
disconnectFromBus
-
disconnectFromPeer
-
localMachineId
-
sessionBus
-
systemBus
-
clone
Creates and returns a copy of this object.
-
asyncCall
Overloaded function for
asyncCall(io.qt.dbus.QDBusMessage, int)
withtimeout = -1
. -
call
Overloaded function for
call(io.qt.dbus.QDBusMessage, io.qt.dbus.QDBus.CallMode, int)
withtimeout = -1
. -
call
Overloaded function for
call(io.qt.dbus.QDBusMessage, io.qt.dbus.QDBus.CallMode, int)
with:
mode = io.qt.dbus.QDBus.CallMode.Block
timeout = -1
-
callWithCallback
@QtUninvokable public final boolean callWithCallback(QDBusMessage message, QObject receiver, String returnMethod, String errorMethod) Overloaded function for
callWithCallback(io.qt.dbus.QDBusMessage, io.qt.core.QObject, java.lang.String, java.lang.String, int)
withtimeout = -1
. -
callWithCallback
@QtUninvokable public final boolean callWithCallback(QDBusMessage message, QObject receiver, String slot) Overloaded function for
callWithCallback(io.qt.dbus.QDBusMessage, io.qt.core.QObject, java.lang.String, int)
withtimeout = -1
. -
registerObject
Overloaded function for
registerObject(java.lang.String, io.qt.core.QObject, io.qt.dbus.QDBusConnection.RegisterOptions)
withoptions = new io.qt.dbus.QDBusConnection.RegisterOptions(1)
. -
registerObject
@QtUninvokable public final boolean registerObject(String path, QObject object, QDBusConnection.RegisterOption ... options) Overloaded function for
registerObject(java.lang.String, io.qt.core.QObject, io.qt.dbus.QDBusConnection.RegisterOptions)
. -
registerObject
@QtUninvokable public final boolean registerObject(String path, String arg__interface, QObject object) Overloaded function for
registerObject(java.lang.String, java.lang.String, io.qt.core.QObject, io.qt.dbus.QDBusConnection.RegisterOptions)
withoptions = new io.qt.dbus.QDBusConnection.RegisterOptions(1)
. -
registerObject
@QtUninvokable public final boolean registerObject(String path, String arg__interface, QObject object, QDBusConnection.RegisterOption ... options) -
unregisterObject
Overloaded function for
unregisterObject(java.lang.String, io.qt.dbus.QDBusConnection.UnregisterMode)
withmode = io.qt.dbus.QDBusConnection.UnregisterMode.UnregisterNode
.
-