- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QDBusConnection extends QtObject implements Cloneable
Represents a connection to the D-Bus bus daemon
Java wrapper for Qt class QDBusConnection
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QDBusConnection.BusType
Java wrapper for Qt enum QDBusConnection::BusTypestatic class
QDBusConnection.ConnectionCapabilities
QFlags type for enumQDBusConnection.ConnectionCapability
static class
QDBusConnection.ConnectionCapability
Java wrapper for Qt enum QDBusConnection::ConnectionCapabilitystatic class
QDBusConnection.RegisterOption
Java wrapper for Qt enum QDBusConnection::RegisterOptionstatic class
QDBusConnection.RegisterOptions
QFlags type for enumQDBusConnection.RegisterOption
static class
QDBusConnection.UnregisterMode
Java wrapper for Qt enum QDBusConnection::UnregisterModestatic class
QDBusConnection.VirtualObjectRegisterOption
Java wrapper for Qt enum QDBusConnection::VirtualObjectRegisterOption -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QDBusConnection(QDBusConnection other)
protected
QDBusConnection(QtObject.QPrivateConstructor p)
Constructor for internal use only.QDBusConnection(String name)
-
Method Summary
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QDBusConnection
-
QDBusConnection
-
QDBusConnection
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
asyncCall
Overloaded function for
asyncCall(io.qt.dbus.QDBusMessage, int)
withtimeout = -1
. -
asyncCall
-
baseService
-
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
-
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)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 returnMethod, String errorMethod, int timeout) -
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
. -
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
-
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
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.RegisterOptions options) -
registerObject
@QtUninvokable public final boolean registerObject(String path, String arg__interface, QObject object, QDBusConnection.RegisterOption... options) -
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.RegisterOptions options) -
registerService
-
send
-
swap
-
unregisterObject
Overloaded function for
unregisterObject(java.lang.String, io.qt.dbus.QDBusConnection.UnregisterMode)
withmode = io.qt.dbus.QDBusConnection.UnregisterMode.UnregisterNode
. -
unregisterObject
@QtUninvokable public final void unregisterObject(String path, QDBusConnection.UnregisterMode mode) -
unregisterService
-
connectToBus
-
connectToBus
-
connectToPeer
-
disconnectFromBus
-
disconnectFromPeer
-
localMachineId
-
sessionBus
-
systemBus
-
clone
-