Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Appendix B Using TIBCO Hawk Methods : Invoking Microagent Methods

Invoking Microagent Methods
A set of default microagents is loaded when a TIBCO Hawk agent is started. If requested during installation, TIBCO Repository microagents are dynamically added to the local agent.
The following steps describe how to invoke a microagent method by specifying a microagent, method name, and optional method arguments.
To invoke a microagent method on a TIBCO Hawk agent:
1.
If TIBCO Hawk security is implemented on your system and you do not have access to microagents on this agent, an error dialog displays. Select another agent, or contact your system administrator to obtain access.
2.
Figure 14 The Microagents, Methods and Arguments Dialog Displays
This dialog has two modes, Invoke and Subscribe. Invoking a method immediately returns a single set of current results. Subscribing provides updates of current results at regular intervals. Radio buttons at the bottom of the dialog control these modes.
3.
Click the microagent name, such as TIBCO RepositoryServer microagent to display a list of associated methods and text descriptions in the panels below.
4.
Figure 15 Select Microagent Name
If the method accepts arguments, fields for each argument display in the upper right panel. Detailed help text displays in the lower panel.
5.
6.
7.
Click the Invoke button to invoke the selected method.
The Invocation Results dialog displays the results returned by the method.
8.
Click Done to close the dialog.
These steps describe how to interactively invoke a microagent method and receive a single set of results in TIBCO Hawk Display. You can also use a microagent method as the data source of a TIBCO Hawk rule. Rules automatically receive method results, apply tests to evaluate them, then take action if necessary. For more information on building TIBCO Hawk rules and rulebases, see the TIBCO Hawk Administrator’s Guide.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved