public class NetworkReachabilityDelegate extends BaseCommunicationDelegate implements me.adaptive.arp.api.INetworkReachability
| Constructor and Description |
|---|
NetworkReachabilityDelegate()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
isNetworkReachable(java.lang.String host,
me.adaptive.arp.api.INetworkReachabilityCallback callback)
Whether there is connectivity to a host, via domain name or ip address, or not.
|
void |
isNetworkServiceReachable(java.lang.String url,
me.adaptive.arp.api.INetworkReachabilityCallback callback)
Whether there is connectivity to an url of a service or not.
|
getAPIGroup, getAPIVersionpublic NetworkReachabilityDelegate()
public void isNetworkReachable(java.lang.String host,
me.adaptive.arp.api.INetworkReachabilityCallback callback)
isNetworkReachable in interface me.adaptive.arp.api.INetworkReachabilityhost - domain name or ip address of host.callback - Callback called at the end.public void isNetworkServiceReachable(java.lang.String url,
me.adaptive.arp.api.INetworkReachabilityCallback callback)
isNetworkServiceReachable in interface me.adaptive.arp.api.INetworkReachabilityurl - to look forcallback - Callback called at the end