|
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.measurement.agent.client.LegacyMeasurementCommandsClientImpl
public class LegacyMeasurementCommandsClientImpl
The Measurement Commands client that uses the legacy transport.
| Constructor Summary | |
|---|---|
LegacyMeasurementCommandsClientImpl(AgentConnection agentConn)
Creates a new MeasurementCommandsClient object which should communicate through the passed connection object. |
|
| Method Summary | |
|---|---|
void |
addTrackPlugin(java.lang.String id,
java.lang.String pluginType,
java.lang.String resourceName,
ConfigResponse response)
|
void |
closeConnection()
|
void |
deleteProperties(DeleteProperties_args args)
|
GetMeasurements_result |
getMeasurements(GetMeasurements_args args)
Get real time measurements from the Agent. |
void |
removeTrackPlugin(java.lang.String id,
java.lang.String pluginType)
|
void |
scheduleMeasurements(ScheduleMeasurements_args args)
Schedule a group of measurements on the agent. |
void |
setProperties(SetProperties_args args)
|
void |
unscheduleMeasurements(UnscheduleMeasurements_args args)
Unschedule a group of previously scheduled measurements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyMeasurementCommandsClientImpl(AgentConnection agentConn)
agentConn - Connection this object should use when sending
commands.| Method Detail |
|---|
public void closeConnection()
throws AgentRemoteException
closeConnection in interface MeasurementCommandsClientAgentRemoteException
public void scheduleMeasurements(ScheduleMeasurements_args args)
throws AgentRemoteException,
AgentConnectionException
MeasurementCommandsClient
scheduleMeasurements in interface MeasurementCommandsClientargs - The collection of arguments to send to the remote Agent.
AgentRemoteException - indicating a protocol error
AgentConnectionException - indicating an error in communication
with the agent.MeasurementCommandsClient.scheduleMeasurements(org.hyperic.hq.measurement.agent.commands.ScheduleMeasurements_args)
public void unscheduleMeasurements(UnscheduleMeasurements_args args)
throws AgentRemoteException,
AgentConnectionException
MeasurementCommandsClient
unscheduleMeasurements in interface MeasurementCommandsClientargs - The collection of arguments to send to the remote Agent.
AgentRemoteException - indicating an error unscheduling or
protocol problem.
AgentConnectionException - indicating an error in communication
with the agent.MeasurementCommandsClient.unscheduleMeasurements(org.hyperic.hq.measurement.agent.commands.UnscheduleMeasurements_args)
public GetMeasurements_result getMeasurements(GetMeasurements_args args)
throws AgentRemoteException,
AgentConnectionException
MeasurementCommandsClient
getMeasurements in interface MeasurementCommandsClientargs - The collection of arguments to send to the remote Agent.
AgentRemoteException - indicating a protocol error
AgentConnectionException - indicating an error in communication
with the agent.MeasurementCommandsClient.getMeasurements(org.hyperic.hq.measurement.agent.commands.GetMeasurements_args)
public void setProperties(SetProperties_args args)
throws AgentRemoteException,
AgentConnectionException
setProperties in interface MeasurementCommandsClientAgentRemoteException
AgentConnectionExceptionMeasurementCommandsClient.setProperties(org.hyperic.hq.measurement.agent.commands.SetProperties_args)
public void deleteProperties(DeleteProperties_args args)
throws AgentRemoteException,
AgentConnectionException
deleteProperties in interface MeasurementCommandsClientAgentRemoteException
AgentConnectionExceptionMeasurementCommandsClient.deleteProperties(org.hyperic.hq.measurement.agent.commands.DeleteProperties_args)
public void addTrackPlugin(java.lang.String id,
java.lang.String pluginType,
java.lang.String resourceName,
ConfigResponse response)
throws AgentRemoteException,
AgentConnectionException
addTrackPlugin in interface MeasurementCommandsClientAgentRemoteException
AgentConnectionExceptionMeasurementCommandsClient.addTrackPlugin(java.lang.String, java.lang.String, java.lang.String, org.hyperic.util.config.ConfigResponse)
public void removeTrackPlugin(java.lang.String id,
java.lang.String pluginType)
throws AgentRemoteException,
AgentConnectionException
removeTrackPlugin in interface MeasurementCommandsClientAgentRemoteException
AgentConnectionExceptionMeasurementCommandsClient.removeTrackPlugin(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 | ||||||||