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


Chapter 4 AMI API : AMI Method Classes : AmiMethod::onInvoke()

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
 
See Also
AmiParameterList Class, page 135
AmiAsyncMethod Class
Class
Declaration
class AmiAsyncMethod : public AmiMethod Class
Purpose
The AmiAsyncMethod class extends the AmiMethod class to implement asynchronous methods.
Member Summary
 
Sends data asynchronously from an asynchronous AMI method.
Reports an error condition for the specified asynchronous method subscription.

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