home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual BASIC 5.0 (Ent. Edition) / Vb5ent Extractor.EXE / VB / SAMPLES / ENTRPRIS / APE / INCLUDE / CLSWORKR.CLS < prev    next >
Encoding:
Visual Basic class definition  |  1996-08-03  |  1.3 KB  |  28 lines

  1. VERSION 1.0 CLASS
  2. BEGIN
  3.   MultiUse = -1  'True
  4. END
  5. Attribute VB_Name = "clsWorker"
  6. Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
  7. Attribute VB_GlobalNameSpace = False
  8. Attribute VB_Creatable = False
  9. Attribute VB_TemplateDerived = False
  10. Attribute VB_PredeclaredId = False
  11. Attribute VB_Exposed = False
  12. Attribute VB_Customizable = False
  13. Option Explicit
  14. '-------------------------------------------------------------------------
  15. 'This class is used for storing related data
  16. 'that will be added to a collection
  17. 'Stores a Worker object and data related to managing that Worker object
  18. '-------------------------------------------------------------------------
  19. Public ID As Long               'ID of the Worker, it should be the same
  20.                                 'as the Workers ID property and the same
  21.                                 'as the key an object of this class is stored
  22.                                 'in gcWorkers collection with
  23. Public Busy As Boolean          'Worker is processing a Service Request
  24. Public Worker As AEWorker.Worker    'A valid Worker class object
  25. Public RemoveMe As Boolean      'If true the Worker is marked for removal
  26.                                 'from the PoolMgr's or QueueMgr's
  27.                                 'collection of Workers
  28.