|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AgentClient
The client interface to a JON agent - used by the JON server to send commands to the various agent subsystems. If you want to know all the things the JON Server can command the JON agent to do, study this interface and the Agent Services it provides.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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
down
true 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||