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


Chapter 4 AMI API : Data Types Summary : ami_Subscription

ami_Subscription
Function
Purpose
This is the AMI C API subscription object handle. It encapsulates all the information required to define and support a subscription to an asynchronous AMI method.
Remarks
An asynchronous method sends data whenever it becomes available. An AMI manager informs (starts) the asynchronous method when it is interested in receiving this data, in other words, it subscribes to the asynchronous method. The asynchronous method will send data as long as the subscription is in effect and will no longer send data when that subscription is terminated (stopped). An AMI C API asynchronous method specifies callback functions that are called when a subscription is started and when it is stopped. An ami_Subscription instance is provided in these callbacks to be used by the application to identify the subscription in AMI C API functions.

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