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.
- TRequestQueueObserver ()
- TRequestQueueObserver (ostream * streamToAlias)
Interface Category:
API.
Purpose:
- Default constructor. Uses standard output.
- Construct using a specific output stream.
Calling Context:
- You can call this function directly.
- You can call this function directly.
Parameters:
- Takes no parameters.
- ostream * streamToAlias -Stream to use for output.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
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.
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:
- const TRequest & theRequest -The request that was added.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Multithread safe.
Other Considerations:
None.
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:
- const TRequest & theRequest -The request that was added.
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.