NtpClient (Hyperic HQ Plugin API)
Keywords: org.hyperic.util.ntp.NtpClient class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.util.ntp
Class NtpClient

    java.lang.Object
      org.hyperic.util.ntp.NtpClient

    public class NtpClient

extends java.lang.Object

Constructor Summary
`NtpClient(java.lang.String hostname)`
`NtpClient(java.lang.String hostname, int port)`

Method Summary
`NtpResponse` | `getResponse()`
`protected static double` | `now()` Return the number of seconds since 1900
`void` | `setTimeout(int timeout)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NtpClient

    public NtpClient(java.lang.String hostname,
                     int port)

### NtpClient

    public NtpClient(java.lang.String hostname)

Method Detail

### setTimeout

    public void setTimeout(int timeout)

### now

    protected static double now()

  Return the number of seconds since 1900

### getResponse

    public NtpResponse getResponse()
                            throws java.net.SocketException,
                                   java.net.UnknownHostException,
                                   java.io.IOException

  Throws:
    `java.net.SocketException`
    `java.net.UnknownHostException`
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.