Package com.lucimber.dbus.message
Class OutboundMethodCall.Builder
java.lang.Object
com.lucimber.dbus.message.OutboundMethodCall.Builder
- Enclosing class:
- OutboundMethodCall
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static OutboundMethodCall.Builder
create()
withBody
(DBusSignature signature, List<? extends DBusType> payload) withDestination
(DBusString destination) withInterface
(DBusString iface) withMember
(DBusString member) withPath
(DBusObjectPath path) withReplyExpected
(boolean replyExpected) withSerial
(DBusUInt32 serial) withTimeout
(Duration timeout) Sets a timeout override for this specific method call.
-
Method Details
-
create
-
withSerial
-
withPath
-
withMember
-
withReplyExpected
-
withDestination
-
withInterface
-
withBody
public OutboundMethodCall.Builder withBody(DBusSignature signature, List<? extends DBusType> payload) -
withTimeout
Sets a timeout override for this specific method call.- Parameters:
timeout
- The timeout duration (must be positive)- Returns:
- This builder instance
- Throws:
IllegalArgumentException
- if timeout is null or not positive
-
build
-