Class: TRequestQueueObserver

Declaration: RequestProcessor.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

Observes requests as they are added and removed from a request queue.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Member Function: TRequestQueueObserver::TRequestQueueObserver

  1. TRequestQueueObserver ()
  2. TRequestQueueObserver (ostream * streamToAlias)

Interface Category:

API.

Purpose:

  1. Default constructor. Uses standard output.
  2. Construct using a specific output stream.

Calling Context:

  1. You can call this function directly.
  2. You can call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRequestQueueObserver::~TRequestQueueObserver

virtual ~ TRequestQueueObserver ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRequestQueueObserver::ObserveNewRequest

virtual void ObserveNewRequest (const TRequest & theRequest)

Interface Category:

API.

Purpose:

Observes a new request added to the queue.

Calling Context:

Called by a request processor.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRequestQueueObserver::ObserveNextRequest

virtual void ObserveNextRequest (const TRequest & theRequest)

Interface Category:

API.

Purpose:

Observes a new request removed from the queue.

Calling Context:

Called by a request processor.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.