DBusRemoteObjectSignalStream constructor

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

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})
    : super(object.client,
          sender: object.name,
          path: object.path,
          interface: interface,
          name: name,
          signature: signature);