AmiMethod::onInvoke() Method Declaration virtual AmiStatus onInvoke(AmiSubscription * context, AmiParameterListIn * argsIn AmiParameterListOut * argsOut) = 0; Purpose This is a callback method invoked by the C++ API whenever a method invocation message arrives from the monitoring agent. Remarks Programmers must implement this method to implement the actions to be performed by the application. Parameters Parameter Description context AMI context associated with invocation. argsIn Input parameters list from the TIBCO Hawk agent. argsOut Output parameters list See Also AmiParameterList Class, page 136 AmiAsyncMethod Class Class Declaration class AmiAsyncMethod : public AmiMethod Class Purpose The AmiAsyncMethod class extends the AmiMethod class to implement asynchronous methods. Member Summary Member Description Page AmiAsyncMethod() Constructor. 113 AmiAsyncMethod::onStart() Optional virtual method to initiate data flow. 114 AmiAsyncMethod::onStop() Optional virtual method to halt data flow. 114 AmiAsyncMethod::onData() Sends data asynchronously when an event occurs. 116 AmiAsyncMethod::sendData() Sends data asynchronously from an asynchronous AMI method. 117 AmiAsyncMethod::sendError() Reports an error condition for the specified asynchronous method subscription. 119