TIBCO Adapter SDK C++ Reference
MHawkMicroAgent
Class Hierarchy | C++ Classes and Methods | Members | Methods
Encapsulate a TIBCO Hawk microagent. The microagent is created automatically during initialization by MApp based on information in the adapter instance description object. The microagent is deleted by MApp during shutdown. MHawkMicroagent keeps track of all registered methods and allows applications to access these methods.
Remarks
There is no constructor or destructor for this class in the API because the microagent is always defined in the Startup element (in the adapter instance description object) and created and deleted by the SDK itself.

TIBCO Hawk microagents are objects that support methods that the TIBCO Hawk Agent is able to invoke either for obtaining information (that is, status()) or for causing some action to occur (i.e., preRegisterListener). In most cases, microagents are local to that particular Agent’s host, but application microagents can be used remotely if so configured. Each Agent has a set of core microagents for reading log files, running scripts and other executables, performing administrative functions within the Agent, and monitoring the status of the TIBCO Rendezvous processes on the Agent’s host.

In addition, the Agent will have operating system-specific microagents for gathering information from the Agent’s host.

The adapter instance description object contains the startup association list which contains for attributes that control whether the SDK microagents are included:

  • <startup/hasStdMicroAgent> - If true (the default), a standard TIBCO Hawk microagent is available for this adapter. Its name is COM.TIBCO.ADAPTER.

  • <startup/stdMicroAgentName> - TIBCO Hawk microagent name. Defaults to COM.TIBCO.ADAPTER.

  • <startup/hasclassMicroAgent> - If true, an adapter-specific TIBCO Hawk microagent is available for this adapter. Its name is COM.TIBCO.ADAPTER.adaptername.

  • <startup/classMicroAgentName> - Redefines the name for the adapter-specific agent. Defaults to COM.TIBCO.ADAPTER.<*>.
See also "TIBCO Adapter SDK and TIBCO Hawk" in TIBCO Adapter SDK Programmer's Guide.
Declaration
class MHawkMicroAgent : public MComponent;
Class Hierarchy
MObject
    MComponent
        MHawkMicroAgent
File
MHawkMicroAgent.h
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.