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


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

AmiAsyncMethod::onStart()
Method
Declaration
virtual AmiStatus onStart(AmiSubscription * context,
                          AmiParameterListIn * args);
Purpose
This method is invoked by the AMI C++ API whenever an asynchronous method subscription request is made on this method. This method implements the start actions to be performed by the application on such an event
Remarks
This method is optional. The default is noop if the application chooses not to implement it. In this case, the AMI session will track the pertinent context for the purpose of sending asynchronous data.
Parameters
 
AMI context associated with the invocation. The context is specific to a subscription request. The lifetime of this context starts at the moment this method is invoked and stops after the AmiAsyncMethod::onStop method returns.
See Also
AmiParameterList Class, page 135
AmiAsyncMethod::onStop()
 

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