3.2.2.1.5 Collection of Activities

Collection of Activities: The CAS also maintains a list of currently active Activity elements with the corresponding server that represent the currently active asynchronous connections established with the server.

A Collection of Activities is initially empty and gets a new element added when a new activity is created. There is no limit on the number of activities that can be added to an activity collection.

When the Active Call Reference counter for an Activity reaches zero, the Activity is removed from the Collection of Activities and added to the Collection of Inactive Activities.