| Prev | Next
Menu: Products - Portfolio - Services - Download - Order - Company

 
Topic #1.1.1.1.
ASync Part II
   Introduction  
   Overview  
   New Classes  
   TwhAsyncAction  
   OnExecute  
   OnInit  
   OnFinish  
   OnDestroy  
   ExecuteDosCmd  
   Status Variables  
   ASync Download  
*

  

Browsing >>New Classes: Descriptions

TwhAsyncAction
The TwhWebActionEx component providing async capabilities to any WebHub application.

TwhAsyncThreads
Used to drive concurrent threads.

ThtBackgroundTaskThread
Used for sequential processing.

TwhAsyncObject
This class represents tasks that were run or are running.

The Execute() method is called until the Done property is set, which may be just once or hundreds of times. Control will rest in a TwhAsyncThread, or a global background thread to which the object is subscribed if no dedicated thread is used.

TwhAsyncObjectState

  • aoNone
  • aoInitialized
  • aoBusy (waiting,working)
  • aoFinished
  • aoAborted
  • aoError

TwhAsyncThreads
Used for concurrency by TwhAsyncAction. This class will execute an activity object until done.

TAsyncState
Seven states which are set by the component to represent the state of a surfer's async action.

  • asNone
  • asPrior
  • asStarted
  • asBusy
  • asAborted
  • asFinished
  • asFailed
TwhAsyncAction
A component capable of tracking and indicating the state of async operations for any number of surfers.

v1.73+


 
Path:  www.href.com to; Services to; Tech Talk Archive to; ASync Part II to; New Classes

Copyright © 1995-2012 HREF Tools Corp. All Rights Reserved Worldwide.
Running: WebHub-v2.167 compiled with d16_win32 on Microsoft-IIS/7.5,
Local Time: Wed, 23 May 2012 22:21:00.
Session 452429792, 19 pages sent to CCBot/1.0 (+http://www.commoncrawl.org/bot.html) at 38.107.179.227;
Time to produce this page: 0msec.