Package javax.jmdns.impl
Class JmmDNSImpl.NetworkChecker
java.lang.Object
java.util.TimerTask
javax.jmdns.impl.JmmDNSImpl.NetworkChecker
- All Implemented Interfaces:
Runnable
- Enclosing class:
JmmDNSImpl
Checks the network state.
If the network change, this class will reconfigure the list of DNS do adapt to the new configuration.
If the network change, this class will reconfigure the list of DNS do adapt to the new configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set
<InetAddress> private final NetworkTopologyListener
private final NetworkTopologyDiscovery
private static org.slf4j.Logger
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkChecker
(NetworkTopologyListener mmDNS, NetworkTopologyDiscovery topology) -
Method Summary
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime