MDnsService class
The MDnsService class is a singleton that returns an instance of the MDnsClient class
- Inheritance
-
- Object
- MDnsClient
- MDnsService
Constructors
- MDnsService()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
allInterfacesFactory(
InternetAddressType type) → Future< Iterable< NetworkInterface> > -
Find all network interfaces with an the InternetAddressType specified.
inherited
-
lookup<
T extends ResourceRecord> (ResourceRecordQuery query, {Duration timeout = const Duration(seconds: 5)}) → Stream< T> -
Lookup a
ResourceRecord
, potentially from the cache.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{InternetAddress? listenAddress, NetworkInterfacesFactory? interfacesFactory, int mDnsPort = mDnsPort, InternetAddress? mDnsAddress}) → Future< void> -
Start the mDNS client.
inherited
-
stop(
) → void -
Stop the client and close any associated sockets.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited