java.lang.Object
io.qt.QtObject
io.qt.dbus.QDBusMessage
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents one message sent or received over the D-Bus bus
Java wrapper for Qt class QDBusMessage
- Since:
- This class was introduced in Qt 4.2.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QDBusMessage
final void
assign
(QDBusMessage other) final boolean
clone()
Creates and returns a copy of this object.static QDBusMessage
createError
(QDBusError err) static QDBusMessage
createError
(QDBusError.ErrorType type, String msg) static QDBusMessage
createError
(String name, String msg) final QDBusMessage
final QDBusMessage
createErrorReply
(QDBusError.ErrorType type, String msg) final QDBusMessage
createErrorReply
(String name, String msg) static QDBusMessage
createMethodCall
(String destination, String path, String arg__interface, String method) final QDBusMessage
Overloaded function forcreateReply(java.util.Collection)
witharguments = java.util.Collections.emptyList()
.final QDBusMessage
createReply
(Object argument) final QDBusMessage
createReply
(Collection<? extends Object> arguments) static QDBusMessage
createSignal
(String path, String arg__interface, String name) static QDBusMessage
createTargetedSignal
(String service, String path, String arg__interface, String name) final String
final String
final String
final boolean
final boolean
final boolean
final String
member()
final String
path()
final String
service()
final void
setArguments
(Collection<? extends Object> arguments) final void
setAutoStartService
(boolean enable) final void
setDelayedReply
(boolean enable) final void
setInteractiveAuthorizationAllowed
(boolean enable) final String
final void
swap
(QDBusMessage other) toString()
Seeoperator<<(QDebug,
QDBusMessage) final QDBusMessage.MessageType
type()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QDBusMessage
public QDBusMessage() -
QDBusMessage
- Parameters:
other
-
-
-
Method Details
-
arguments
- Returns:
-
autoStartService
- Returns:
- Since:
- This function was introduced in Qt 4.7.
-
createErrorReply
- Parameters:
err
-- Returns:
-
createErrorReply
- Parameters:
type
-msg
-- Returns:
-
createErrorReply
- Parameters:
name
-msg
-- Returns:
-
createReply
- Parameters:
arguments
-- Returns:
-
createReply
- Parameters:
argument
-- Returns:
-
errorMessage
- Returns:
- Since:
- This function was introduced in Qt 4.3.
-
errorName
- Returns:
-
interfaceName
- Returns:
-
isDelayedReply
- Returns:
-
isInteractiveAuthorizationAllowed
- Returns:
- Since:
- This function was introduced in Qt 5.12.
-
isReplyRequired
- Returns:
-
member
- Returns:
-
append
- Parameters:
arg
-- Returns:
-
assign
- Parameters:
other
-
-
path
- Returns:
-
service
- Returns:
-
setArguments
- Parameters:
arguments
-
-
setAutoStartService
- Parameters:
enable
-- Since:
- This function was introduced in Qt 4.7.
-
setDelayedReply
- Parameters:
enable
-
-
setInteractiveAuthorizationAllowed
- Parameters:
enable
-- Since:
- This function was introduced in Qt 5.12.
-
signature
- Returns:
-
swap
- Parameters:
other
-
-
type
- Returns:
-
createError
- Parameters:
err
-- Returns:
-
createError
- Parameters:
type
-msg
-- Returns:
-
createError
- Parameters:
name
-msg
-- Returns:
-
createMethodCall
public static QDBusMessage createMethodCall(String destination, String path, String arg__interface, String method) - Parameters:
destination
-path
-arg__interface
-method
-- Returns:
-
createSignal
- Parameters:
path
-arg__interface
-name
-- Returns:
-
createTargetedSignal
public static QDBusMessage createTargetedSignal(String service, String path, String arg__interface, String name) - Parameters:
service
-path
-arg__interface
-name
-- Returns:
- Since:
- This function was introduced in Qt 5.6.
-
toString
See
operator<<(QDebug,
QDBusMessage) -
clone
Creates and returns a copy of this object.
-
createReply
Overloaded function for
createReply(java.util.Collection)
witharguments = java.util.Collections.emptyList()
.
-