topleft

PureMVC

larger smaller reset larger Futurescale, Inc.
  • fixed-width
  • fluid-width
  • Home
  • About
  • Code
  • Docs
  • FAQ
  • Forums
  • News
  • Showcase
  • Contact
  • Jobs
topright
Utility_AS3_AsyncStub
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Browse Source

Context Navigation

  • Start Page
  • Index
  • History
  • Last Change

TracNav

  •  PureMVC Manifold...

  •  Contributors
  •  Repositories
  • Ports...

  •  ActionScript 2
  • ActionScript 3
  •  C #
  •  ColdFusion
  •  Haxe
  •  Java
  •  JavaScript
  •  Objective C
  •  PHP
  •  Python
  •  Ruby
  •  Propose a Port

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]

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.11.6
By Edgewall Software.

Powered by the Subversion, Trac & Bugzilla Hosting Experts, Codesion.com

Copyright © 2006-2008 Futurescale, Inc.