public class HttpClock extends NetTimeConnector<NetTimeConfiguration>
Represents a connection to a web server via the HTTP-protocol in order to evaluate the DATE-header of the HTTP-response.
| Constructor and Description |
|---|
HttpClock(String server)
Creates a new clock which connects to given web server.
|
connect, currentTime, getLastConnectionTime, getLastOffsetInMicros, getNetTimeConfiguration, isLogEnabled, isRunning, reconfigure, setLogWriterinLocalView, inPlatformView, inZonalView, inZonalViewpublic HttpClock(String server)
Creates a new clock which connects to given web server.
server - web server address (example: www.google.com)Copyright © 2014–2016. All rights reserved.