Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.agent.client
Class AgentCommandsClientFactory

java.lang.Object
  extended by org.hyperic.hq.agent.client.AgentCommandsClientFactory

public class AgentCommandsClientFactory
extends java.lang.Object

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


Method Summary
 AgentCommandsClient getClient(Agent agent)
           
 AgentCommandsClient getClient(AppdefEntityID aid)
           
 AgentCommandsClient getClient(java.lang.String agentToken)
           
 AgentCommandsClient getClient(java.lang.String agentAddress, int agentPort, java.lang.String authToken, boolean isNewTransportAgent, boolean unidirectional)
           
static AgentCommandsClientFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AgentCommandsClientFactory getInstance()

getClient

public AgentCommandsClient getClient(AppdefEntityID aid)
                              throws AgentNotFoundException
Throws:
AgentNotFoundException

getClient

public AgentCommandsClient getClient(java.lang.String agentToken)
                              throws AgentNotFoundException
Throws:
AgentNotFoundException

getClient

public AgentCommandsClient getClient(Agent agent)

getClient

public AgentCommandsClient getClient(java.lang.String agentAddress,
                                     int agentPort,
                                     java.lang.String authToken,
                                     boolean isNewTransportAgent,
                                     boolean unidirectional)

Hyperic HQ Plugin API v. 4.4.0.2

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