|
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.bizapp.client.AgentCallbackClient
public abstract class AgentCallbackClient
Central place for communication back to the server.
Constructor Summary | |
---|---|
AgentCallbackClient(ProviderFetcher fetcher)
|
|
AgentCallbackClient(ProviderFetcher fetcher,
java.lang.String[] secureCommands)
|
Method Summary | |
---|---|
static java.lang.String |
getDefaultProviderURL(java.lang.String host,
int port,
boolean secure)
Generate a provider URL given a host and port. |
static java.lang.String |
getHostFromProviderURL(java.lang.String providerURL)
Retrieve the host name from a provider URL. |
protected ProviderInfo |
getProvider()
Get the most up-to-date information about what our provider is, from the storage provider. |
protected org.hyperic.lather.LatherValue |
invokeLatherCall(ProviderInfo provider,
java.lang.String methodName,
org.hyperic.lather.LatherValue args)
|
static boolean |
isValidProviderURL(java.lang.String provider)
Check to see if a particular provider URL is valid (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentCallbackClient(ProviderFetcher fetcher, java.lang.String[] secureCommands)
public AgentCallbackClient(ProviderFetcher fetcher)
Method Detail |
---|
protected ProviderInfo getProvider() throws AgentCallbackClientException
AgentCallbackClientException
public static boolean isValidProviderURL(java.lang.String provider)
public static java.lang.String getDefaultProviderURL(java.lang.String host, int port, boolean secure)
host
- Host to generate provider forport
- Port to use for provider. If it is -1, the default
port will be used.public static java.lang.String getHostFromProviderURL(java.lang.String providerURL)
providerURL
- The provider URL.
protected org.hyperic.lather.LatherValue invokeLatherCall(ProviderInfo provider, java.lang.String methodName, org.hyperic.lather.LatherValue args) throws AgentCallbackClientException
AgentCallbackClientException
|
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 |