org.rhq.core.clientapi.server.core
Class ConnectAgentResults

java.lang.Object
  extended by org.rhq.core.clientapi.server.core.ConnectAgentResults
All Implemented Interfaces:
Serializable

public class ConnectAgentResults
extends Object
implements Serializable

These are the results of a successful "agent connect".

See Also:
Serialized Form

Constructor Summary
ConnectAgentResults(long serverTime)
           
 
Method Summary
 long getServerTime()
          The current time as seen by the server clock.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectAgentResults

public ConnectAgentResults(long serverTime)
Method Detail

getServerTime

public long getServerTime()
The current time as seen by the server clock. This is the time the agent connect was made and can also be used to determine if the agent's clock is in sync with the server.

Returns:
the server's clock, in epoch milliseconds

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.