|
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.autoinventory.agent.server.AutoinventoryCommandsServer
public class AutoinventoryCommandsServer
| Field Summary | |
|---|---|
protected java.lang.String |
_certDN
|
static long |
AIREPORT_MAX_SLEEP_WAIT
|
static long |
AIREPORT_MAX_TRY_TIME
|
| Constructor Summary | |
|---|---|
AutoinventoryCommandsServer()
|
|
| Method Summary | |
|---|---|
AgentRemoteValue |
dispatchCommand(java.lang.String cmd,
AgentRemoteValue args,
java.io.InputStream in,
java.io.OutputStream out)
dispatchCommand is the method used to invoke any command, previously retrieved via getCommandSet. |
AgentAPIInfo |
getAPIInfo()
Get information about the API, including the version number, which is used to ensure that remote APIs match up with local APIs. |
java.lang.String[] |
getCommandSet()
Get an array of strings with the commands that this handler recognizes. |
void |
handleNotification(java.lang.String msgClass,
java.lang.String msg)
|
void |
scanComplete(ScanState scanState)
This is where we report our autoinventory-detected data to the EAM server. |
protected void |
scheduleDefaultScan()
This is the scan that's run when the agent first starts up, and periodically thereafter. |
void |
shutdown()
inform the plugin that it should shutdown. |
void |
startup(AgentDaemon agent)
inform the plugin that it should startup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long AIREPORT_MAX_SLEEP_WAIT
public static final long AIREPORT_MAX_TRY_TIME
protected java.lang.String _certDN
| Constructor Detail |
|---|
public AutoinventoryCommandsServer()
| Method Detail |
|---|
public AgentAPIInfo getAPIInfo()
AgentServerHandler
getAPIInfo in interface AgentServerHandlerpublic java.lang.String[] getCommandSet()
AgentServerHandler
getCommandSet in interface AgentServerHandler
public AgentRemoteValue dispatchCommand(java.lang.String cmd,
AgentRemoteValue args,
java.io.InputStream in,
java.io.OutputStream out)
throws AgentRemoteException
AgentServerHandler
dispatchCommand in interface AgentServerHandlercmd - name of the command to executeargs - argument to pass to the commandin - Input stream which can be used to read special
command specific data from the remote entityout - Output stream which can be used to write special
command specific data to the remote entity.
AgentRemoteException - indicating an exception occurred
during executionAgentServerHandler.getCommandSet()
public void startup(AgentDaemon agent)
throws AgentStartException
AgentServerHandler
startup in interface AgentServerHandleragent - The agent.
AgentStartException
public void handleNotification(java.lang.String msgClass,
java.lang.String msg)
handleNotification in interface AgentNotificationHandlerprotected void scheduleDefaultScan()
public void shutdown()
AgentServerHandler
shutdown in interface AgentServerHandler
public void scanComplete(ScanState scanState)
throws AutoinventoryException,
SystemException
scanComplete in interface ScanListenerscanState - The final state of the scan. This object is
provided for convenience, as the class implementing
this interface will likely already have a way to get to it.
AutoinventoryException
SystemExceptionScanListener.scanComplete(org.hyperic.hq.autoinventory.ScanState)
|
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 | ||||||||