DBusRemoteObjectSignalStream constructor

DBusRemoteObjectSignalStream({
  1. required DBusRemoteObject object,
  2. required String interface,
  3. required String name,
  4. DBusSignature? signature,
  5. bool ignoreSender = false,
})

Creates a stream of signals interface.name from object.

If signature is provided this causes the stream to throw a DBusSignalSignatureException if a signal is received that does not match the provided signature.

Implementation

DBusRemoteObjectSignalStream(
    {required DBusRemoteObject object,
    required String interface,
    required String name,
    DBusSignature? signature,
    bool ignoreSender = false})
    : super(object.client,
          sender: ignoreSender ? null : object.name,
          path: object.path,
          interface: interface,
          name: name,
          signature: signature);