public interface AgentClient
org.rhq.core.domain.resource.Agent getAgent()
void startSending()
void stopSending()
boolean ping(long timeoutMillis)
true if this client can communicate with the agent. This *only* means a comm link
can be established. It does not mean the Agent is ready to service requests. For that use
pingService(long) This will return false if, for any reason, the agent cannot be pinged
(which could mean the agent is down, or a network problem has occurred that prohibits the client from reaching
the agent).timeoutMillis - the amount of time, in milliseconds, the caller wants to wait before considering the agent
downtrue if the agent can be pinged; false if this client cannot communicate with
the agent for some reasonvoid updatePlugins()
boolean pingService(long timeoutMillis)
true if this client can communicate with the agent and the agent Services are
available. For a simple communication check see ping(long). This will return
false if, for any reason, the agent cannot be pinged (which could mean the agent is down, or a network
problem has occurred that prohibits the client from reaching the agent) or its Services are not yet available.timeoutMillis - the amount of time, in milliseconds, the caller wants to wait before considering the agent
Services unavailable.true if the agent Services can be pinged; false if this client cannot communicate
with the agent or the agent is not yet servicing requests.BundleAgentService getBundleAgentService()
BundleAgentService getBundleAgentService(Long timeout)
ContentAgentService getContentAgentService()
ContentAgentService getContentAgentService(Long timeout)
ResourceFactoryAgentService getResourceFactoryAgentService()
ResourceFactoryAgentService getResourceFactoryAgentService(Long timeout)
DiscoveryAgentService getDiscoveryAgentService()
DiscoveryAgentService getDiscoveryAgentService(Long timeout)
MeasurementAgentService getMeasurementAgentService()
MeasurementAgentService getMeasurementAgentService(Long timeout)
OperationAgentService getOperationAgentService()
OperationAgentService getOperationAgentService(Long timeout)
ConfigurationAgentService getConfigurationAgentService()
ConfigurationAgentService getConfigurationAgentService(Long timeout)
SupportAgentService getSupportAgentService()
SupportAgentService getSupportAgentService(Long timeout)
DriftAgentService getDriftAgentService()
DriftAgentService getDriftAgentService(Long timeout)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.