|
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 |
java.lang.Objectorg.hyperic.hq.control.agent.client.LegacyControlCommandsClientImpl
public class LegacyControlCommandsClientImpl
The Control Commands client that uses the legacy transport.
Constructor Summary | |
---|---|
LegacyControlCommandsClientImpl(AgentConnection agentConn)
Creates a new ControlCommandsClient object which should communicate through the passed connection object. |
Method Summary | |
---|---|
void |
controlPluginAdd(java.lang.String pluginName,
java.lang.String pluginType,
ConfigResponse response)
Register a control plugin for use on this agent |
void |
controlPluginCommand(java.lang.String pluginName,
java.lang.String pluginType,
java.lang.Integer id,
java.lang.String action,
java.lang.String args)
Issue a control operation on a plugin and associate it with a job id |
void |
controlPluginRemove(java.lang.String pluginName)
Remove a control plugin on an agent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LegacyControlCommandsClientImpl(AgentConnection agentConn)
agentConn
- Connection this object should use when sending
commands.Method Detail |
---|
public void controlPluginAdd(java.lang.String pluginName, java.lang.String pluginType, ConfigResponse response) throws AgentRemoteException, AgentConnectionException
ControlCommandsClient
controlPluginAdd
in interface ControlCommandsClient
pluginName
- The plugin namepluginType
- The type of plugin to createresponse
- The plugin configuration
AgentRemoteException
AgentConnectionException
ControlCommandsClient.controlPluginAdd(java.lang.String, java.lang.String, org.hyperic.util.config.ConfigResponse)
public void controlPluginRemove(java.lang.String pluginName) throws AgentRemoteException, AgentConnectionException
ControlCommandsClient
controlPluginRemove
in interface ControlCommandsClient
pluginName
- The plugin name
AgentRemoteException
AgentConnectionException
ControlCommandsClient.controlPluginRemove(java.lang.String)
public void controlPluginCommand(java.lang.String pluginName, java.lang.String pluginType, java.lang.Integer id, java.lang.String action, java.lang.String args) throws AgentRemoteException, AgentConnectionException
ControlCommandsClient
controlPluginCommand
in interface ControlCommandsClient
pluginName
- The plugin idpluginType
- The plugin typeaction
- The action to perform
AgentRemoteException
AgentConnectionException
ControlCommandsClient.controlPluginCommand(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String)
|
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 |