public interface AgentClient
| Modifier and Type | Method and Description |
|---|---|
org.rhq.core.domain.resource.Agent |
getAgent()
Returns the agent domain object which provides the information about the agent.
|
BundleAgentService |
getBundleAgentService() |
ConfigurationAgentService |
getConfigurationAgentService() |
ContentAgentService |
getContentAgentService() |
DiscoveryAgentService |
getDiscoveryAgentService() |
DriftAgentService |
getDriftAgentService() |
MeasurementAgentService |
getMeasurementAgentService() |
OperationAgentService |
getOperationAgentService() |
ResourceFactoryAgentService |
getResourceFactoryAgentService() |
SupportAgentService |
getSupportAgentService() |
boolean |
ping(long timeoutMillis)
Returns
true if the agent is up and this client can communicate with it. |
void |
startSending()
Puts this agent client in "sending mode" which enables this client to begin sending messages to the agent.
|
void |
stopSending()
Stops the agent client from sending messages.
|
org.rhq.core.domain.resource.Agent getAgent()
void startSending()
void stopSending()
boolean ping(long timeoutMillis)
true if the agent is up and this client can communicate with it. 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 reasonBundleAgentService getBundleAgentService()
ContentAgentService getContentAgentService()
ResourceFactoryAgentService getResourceFactoryAgentService()
DiscoveryAgentService getDiscoveryAgentService()
MeasurementAgentService getMeasurementAgentService()
OperationAgentService getOperationAgentService()
ConfigurationAgentService getConfigurationAgentService()
SupportAgentService getSupportAgentService()
DriftAgentService getDriftAgentService()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.