MeasurementCommandsClientFactory (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.measurement.agent.client.MeasurementCommandsClientFactory class

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

## org.hyperic.hq.measurement.agent.client
Class MeasurementCommandsClientFactory

    java.lang.Object
      org.hyperic.hq.measurement.agent.client.MeasurementCommandsClientFactory

    public class MeasurementCommandsClientFactory

extends java.lang.Object

A factory for returning Measurement Commands clients depending on if the agent uses the legacy or new transport.

Method Summary
`MeasurementCommandsClient` | `getClient(Agent agent)`
`MeasurementCommandsClient` | `getClient(AppdefEntityID aid)`
`MeasurementCommandsClient` | `getClient(java.lang.String agentToken)`
`static MeasurementCommandsClientFactory` | `getInstance()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInstance

    public static MeasurementCommandsClientFactory getInstance()

### getClient

    public MeasurementCommandsClient getClient(AppdefEntityID aid)
                                        throws AgentNotFoundException

  Throws:
    `AgentNotFoundException`

### getClient

    public MeasurementCommandsClient getClient(java.lang.String agentToken)
                                        throws AgentNotFoundException

  Throws:
    `AgentNotFoundException`

### getClient

    public MeasurementCommandsClient getClient(Agent agent)

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.