This class is an LookupTask that uses java.net.InetAddress to see if a host is rechable or not. More...
Protected Member Functions | |
String | doInBackground (String...urls) |
This function uses java.net.InetAddress to determine if the host is reachable. More... | |
void | onPostExecute (String str) |
Method to be done after the task has executed. More... | |
Protected Member Functions inherited from com.jburto2.androidlookup.LookupTask | |
String | doInBackground (String...urls) |
This function makes the function call in the background. More... | |
void | onPostExecute (String str) |
Method to be done after the task has executed. More... | |
Additional Inherited Members | |
Public Member Functions inherited from com.jburto2.androidlookup.LookupTask | |
Exception | getException () |
String | getExceptionMsg () |
Protected Attributes inherited from com.jburto2.androidlookup.LookupTask | |
Exception | exception |
This holds any exception generated from the lookup call. More... | |
This class is an LookupTask that uses java.net.InetAddress to see if a host is rechable or not.
Definition at line 21 of file LookupPingTask.java.
|
protected |
This function uses java.net.InetAddress to determine if the host is reachable.
urls | Array of strings that are arguments to the function. url[0] is the address to lookup. |
Exception | generated from InetAddress call is stored in the public instance variable exception. |
Found NSLookup from http://www.coderanch.com/t/328875/java/java/nslookup-Java More on inet addresses from http://download.java.net/jdk7/archive/b123/docs/api/java/net/InetAddress.html
Definition at line 37 of file LookupPingTask.java.
|
protected |
Method to be done after the task has executed.
str | Some string |
Definition at line 77 of file LookupPingTask.java.