public class NetworkChecker extends Object
| Constructor and Description | 
|---|
| NetworkChecker(String address,
              Logger logger)Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isAvailable()Checks the network is available or not. | 
| boolean | isNetworkup(boolean useCachedValue)Returns  trueif the network is still up, otherwise throws anUnknownHostException. | 
public boolean isNetworkup(boolean useCachedValue)
                    throws Exception
true if the network is still up, otherwise throws an
 UnknownHostException. This tests if the adapter is ready.useCachedValue - Pass true if we use the cached value,
                       false otherwise.Exception - Thrown if the network is down.
                
                
Version: 5.2.6-ice35-b35
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.