Package | Description |
---|---|
examples.ntp | |
org.apache.commons.net.ntp |
NTP - network time protocol
|
Modifier and Type | Method | Description |
---|---|---|
static void |
NTPClient.processResponse(TimeInfo info) |
Process
TimeInfo object and print its details. |
Modifier and Type | Method | Description |
---|---|---|
TimeInfo |
NTPUDPClient.getTime(java.net.InetAddress host) |
Retrieves the time information from the specified server on the
default NTP port and returns it.
|
TimeInfo |
NTPUDPClient.getTime(java.net.InetAddress host,
int port) |
Retrieves the time information from the specified server and port and
returns it.
|