org.rhq.core.clientapi.server.core
Class ConnectAgentResults
java.lang.Object
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
ConnectAgentResults
public ConnectAgentResults(long serverTime)
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.