TracNav
AS3 Std : AS3 MC : : AsyncStub...
- Downloads
- Installation
- Release Notes
- View Source
- API Docs
- Discussion
Project Owner...
- Philip Sexton
Demos...
- Loadup as Ordered
Utility - AS3 / Asynchronous Stub
The Asynchronous Stub utility consists of a Proxy which can be extended for the purpose of simulating asynchronous activity, by way of a random timer.
Key Functionality
- Uses a timer to simulate asyncronous interaction with server
- Simulates failure
Discussion
Occasionally, for testing a service before it is online, you may need a Proxy that acts as though it has asynchronously contacted a server and retrieved data. You may also need for it to simulate random load times, timeouts, and failures. This can be for testing purposes or as a stand-in until the actual service is in place so that client development can proceed.
The Flex-based demo called Startup as Ordered provides an example use of this utility.
[TBD: expand this section]
