Class OutboundMethodCall

java.lang.Object
com.lucimber.dbus.message.OutboundMethodCall
All Implemented Interfaces:
Message, OutboundMessage

public final class OutboundMethodCall extends Object implements OutboundMessage
An outbound method call.
Since:
1.0
  • Constructor Details

    • OutboundMethodCall

      public OutboundMethodCall(DBusUInt32 serial, DBusObjectPath path, DBusString member, boolean replyExpected, DBusString dst, DBusString iface, DBusSignature signature, List<? extends DBusType> payload)
      Constructs a new instance with all parameter. Please use the builder instead.
      Parameters:
      serial - the serial number
      path - the object path
      member - the name of the method
      replyExpected - states if reply is expected
      dst - optional; the destination of this method call
      iface - optional; the name of the interface
      signature - optional; the signature of the message body
      payload - optional; the message body
    • OutboundMethodCall

      public OutboundMethodCall(DBusUInt32 serial, DBusObjectPath path, DBusString member, boolean replyExpected, DBusString dst, DBusString iface, DBusSignature signature, List<? extends DBusType> payload, Duration timeout)
      Constructs a new instance with all parameter including timeout. Please use the builder instead.
      Parameters:
      serial - the serial number
      path - the object path
      member - the name of the method
      replyExpected - states if reply is expected
      dst - optional; the destination of this method call
      iface - optional; the name of the interface
      signature - optional; the signature of the message body
      payload - optional; the message body
      timeout - optional; timeout override for this specific call
  • Method Details