/**@class android.net.SntpClient
@extends java.lang.Object

 {@hide}

 Simple SNTP client class for retrieving network time.

 Sample usage:
 <pre>SntpClient client = new SntpClient();
 if (client.requestTime("time.foo.com")) {
     long now = client.getNtpTime() + SystemClock.elapsedRealtime() - client.getNtpTimeReference();
 }
 </pre>
*/
var SntpClient = {

/**Sends an SNTP request to the given host and processes the response.
@param {String} host host name of the server.
@param {Number} timeout network timeout in milliseconds.
@return {Boolean} true if the transaction was successful.
*/
requestTime : function(  ) {},

/**Returns the time computed from the NTP transaction.
@return {Number} time value computed from NTP server response.
*/
getNtpTime : function(  ) {},

/**Returns the reference clock value (value of SystemClock.elapsedRealtime())
 corresponding to the NTP time.
@return {Number} reference clock corresponding to the NTP time.
*/
getNtpTimeReference : function(  ) {},

/**Returns the round trip time of the NTP transaction
@return {Number} round trip time in milliseconds.
*/
getRoundTripTime : function(  ) {},


};