Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 4 AMI API : AMI Method Classes : AmiAsyncMethod()

AmiAsyncMethod()
Constructor
Declaration
AmiAsyncMethod(
   AmiSession * session,
   const char * name,
   const char * help,
   ami_MethodType type,
   int inTimeout);
Purpose
Constructs an instance of AmiAsyncMethod class.
Parameters
 
Type of method. Must be one of AMI_METHOD_INFO, AMI_METHOD_ACTION or AMI_METHOD_ACTION_INFO.
AMI_METHOD_INFO methods collect data. Data sources in rulebases and method subscriptions in the TIBCO Hawk WebConsole use this type of method only.
AMI_METHOD_ACTION methods affect the application’s behavior in some way. They can be invoked in the TIBCO Hawk WebConsole through interacting with one agent or through a network action. Action methods can also be invoked as an action in a rulebase.
AMI_METHOD_ACTION_INFO methods both make a change to the application and return data. They can be invoked in the TIBCO Hawk WebConsole through interacting with one agent or through a network action.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved