Package | Description |
---|---|
examples.ntp | |
org.apache.commons.net.ntp |
Modifier and Type | Method and Description |
---|---|
static void |
NTPClient.processResponse(TimeInfo info)
Process
TimeInfo object and print its details. |
Modifier and Type | Method and Description |
---|---|
TimeInfo |
NTPUDPClient.getTime(InetAddress host)
Retrieves the time information from the specified server on the
default NTP port and returns it.
|
TimeInfo |
NTPUDPClient.getTime(InetAddress host,
int port)
Retrieves the time information from the specified server and port and
returns it.
|
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.