NodeMulticastProbe class

Node.js-native WS-Discovery probe.

Re-implements the parts of easy_onvif/lib/src/platform/multicast_probe_io.dart that need sockets, but does so through Node's dgram module via dart:js_interop. The XML message construction continues to come from WsDiscovery and Envelope.fromXmlString inside the pure-Dart easy_onvif library.

The browser ships a different class that simply throws UnsupportedError; this file is only ever imported from the Node entry point.

Mixed-in types
  • UiLoggy

Constructors

NodeMulticastProbe({int? timeoutSeconds})

Properties

hashCode → int
The hash code for this object.
no setterinherited
loggy → Loggy<UiLoggy>
no setterinherited
matches → List<ProbeMatch>
Returns the devices discovered during the most recent probe call.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
probe() → Future<void>
Sends a WS-Discovery Probe message on the ONVIF multicast group and collects ProbeMatches responses for _timeout.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited