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 / AECLIENT / CLSCALBK.CLS < prev    next >
Encoding:
Visual Basic class definition  |  1996-12-04  |  1.5 KB  |  34 lines

  1. VERSION 1.0 CLASS
  2. BEGIN
  3.   MultiUse = -1  'True
  4. END
  5. Attribute VB_Name = "clsCallback"
  6. Attribute VB_GlobalNameSpace = False
  7. Attribute VB_Creatable = False
  8. Attribute VB_PredeclaredId = False
  9. Attribute VB_Exposed = True
  10. Attribute VB_Description = "Callback object passed to AEQueueMgr.Queue for the return of Service Request results."
  11. Option Explicit
  12.     '-------------------------------------------------------------------------
  13.     'Used to for callback objects to be sent with Service Requests to QueueMgr.
  14.     '-------------------------------------------------------------------------
  15. Implements APEInterfaces.Client
  16.  
  17. Private Sub Client_CallBack(ByVal lServiceID As Long, ByVal vServiceReturn As Variant, ByVal sServiceError As String)
  18.     '-------------------------------------------------------------------------
  19.     'Purpose:   Used by the Expediter to notify a Client when an Service is complete.
  20.     'IN:
  21.     '   [lServiceID]
  22.     '           Service Request ID
  23.     '   [vServiceReturn]
  24.     '           Data returned by Service Request
  25.     '   [sServiceError]
  26.     '           Error information for errors that occured processing Service Request.
  27.     '           Information is delimited by a semi-colon and a space in the following
  28.     '           format:  "number; source; description"
  29.     'Effects:
  30.     '   Calls CallbackHandler procedure
  31.     '-------------------------------------------------------------------------
  32.     CallBackHandler lServiceID, vServiceReturn, sServiceError
  33. End Sub
  34.