|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AgentCommandsClient
| Method Summary | |
|---|---|
FileDataResult[] |
agentSendFileData(FileData[] destFiles,
java.io.InputStream[] streams)
Send file data to a remote agent |
void |
die()
Tell the agent to die. |
java.lang.String |
getCurrentAgentBundle()
Return the bundle that the agent is currently running. |
long |
ping()
Send a ping to the agent. |
void |
restart()
Tell the agent to restart. |
java.util.Map |
upgrade(java.lang.String tarFile,
java.lang.String destination)
Tell the agent to upgrade itself upon JVM restart. |
| Method Detail |
|---|
long ping()
throws AgentRemoteException,
AgentConnectionException
AgentRemoteException - indicating the server failed to
understand our request.
AgentConnectionException - indicating an error connecting to or
communicating with the agent.
void restart()
throws AgentRemoteException,
AgentConnectionException
AgentRemoteException - indicating the server failed to
understand our request.
AgentConnectionException - indicating an error connecting to or
communicating with the agent.
void die()
throws AgentRemoteException,
AgentConnectionException
AgentRemoteException - indicating the server failed to
understand our request.
AgentConnectionException - indicating an error connecting to or
communicating with the agent.
java.lang.String getCurrentAgentBundle()
throws AgentRemoteException,
AgentConnectionException
AgentRemoteException - indicating the server failed to
understand our request.
AgentConnectionException - indicating an error connecting to or
communicating with the agent.
java.util.Map upgrade(java.lang.String tarFile,
java.lang.String destination)
throws AgentRemoteException,
AgentConnectionException
tarFile - Agent bundle tarball used to update the agent.destination - Destination directory on the agent where the bundle will reside.
AgentRemoteException - indicating the server failed to
understand our request.
AgentConnectionException - indicating an error connecting to or
communicating with the agent.
FileDataResult[] agentSendFileData(FileData[] destFiles,
java.io.InputStream[] streams)
throws AgentRemoteException,
AgentConnectionException
destFiles - Info about the file data to send
AgentRemoteException
AgentConnectionException
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||