/**@class android.net.DnsPinger
@extends android.os.Handler

 Performs a simple DNS "ping" by sending a "server status" query packet to the
 DNS server. As long as the server replies, we consider it a success.
 <p>
 We do not use a simple hostname lookup because that could be cached and the
 API may not differentiate between a time out and a failure lookup (which we
 really care about).
 <p>

 @hide
*/
var DnsPinger = {

/** Async response packet for dns pings.
 arg1 is the ID of the ping, also returned by {@link #pingDnsAsync(InetAddress, int, int)}
 arg2 is the delay, or is negative on error.
*/
DNS_PING_RESULT : "327680",
/**An error code for a {@link #DNS_PING_RESULT} packet */
TIMEOUT : "-1",
/**An error code for a {@link #DNS_PING_RESULT} packet */
SOCKET_EXCEPTION : "-2",
/**
*/
handleMessage : function(  ) {},

/**Returns a list of DNS addresses, coming from either the link properties of the
 specified connection or the default system DNS if the link properties has no dnses.
@return {Object {java.util.List}} a non-empty non-null list
*/
getDnsList : function(  ) {},

/**Send a ping.  The response will come via a {@link #DNS_PING_RESULT} to the handler
 specified at creation.
@param {Object {InetAddress}} dns address of dns server to ping
@param {Number} timeout timeout for ping
@return {Number} an ID field, which will also be included in the {@link #DNS_PING_RESULT} message.
*/
pingDnsAsync : function(  ) {},

/**
*/
cancelPings : function(  ) {},


};