![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
The ASBrowser, ASEventBrowser, and ASListener examples show how simple it is to use the space browser and listener features to iterate over the contents of a space, or to listen for events on a space. ASBrowser and ASListener do exactly the same thing, but each uses a different set of ActiveSpaces API calls to achieve its goal. ASEventBrowser implements an event listener. Examine all three programs to evaluate when to use a browser and when to use a listener in your own code.
For example, try to launch ASOperations and, at the same time, use ASListener on the space called myspace to see the effects of the various space operations.Do not forget to experiment with the timescope attribute as well.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |