Class: TRequest

Declaration: RequestProcessor.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

MLinkable

Inherited By:

TActionDistributor TViewRequest TNotificationRequest

Purpose:

A request is an object processed by the TRequestProcessor. Provides a Do member function that is called by the processor in the appropriate context, typically a specific thread.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TRequest::~TRequest

virtual ~ TRequest ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object. Callable by anyone.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRequest::Do

virtual void Do ()

Interface Category:

API.

Purpose:

Causes the request to be performed.

Calling Context:

You can call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRequest::TRequest

TRequest ()

Interface Category:

API.

Purpose:

Default constructor.

Calling Context:

Called by the stream-in operators and directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not 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.