Class: TRemoteCallerSharedTransport

Declaration: RemoteCaller.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TRemoteCallerTransport

Inherited By:

None.

Purpose:

TRemoteCallerSharedTransport is a class that wraps a TRemoteCallerTransport to make it multithread safe. Use TRemoteCallerSharedTransport when you want multiple callers to share a single transport.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derived classes are not supported in this release.

Concurrency:

Multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TRemoteCallerSharedTransport::TRemoteCallerSharedTransport

TRemoteCallerSharedTransport (TRemoteCallerTransport * theTransport)

Interface Category:

API.

Purpose:

Creates a TRemoteCallerSharedTransport, using the transport specified.

Calling Context:

Called to create a TRemoteCallerSharedTransport with the specified transport. Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerSharedTransport::~TRemoteCallerSharedTransport

virtual ~ TRemoteCallerSharedTransport ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object. Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerSharedTransport::GetArgumentStream

virtual TStream * GetArgumentStream ()

Interface Category:

API.

Purpose:

Returns a pointer to this object's argument stream.

Calling Context:

Called to obtain a pointer to this object's argument stream. Call this function directly.

Parameters:

Return Value:

A pointer to this object's argument stream.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerSharedTransport::GetResultStream

virtual TStream * GetResultStream ()

Interface Category:

API.

Purpose:

Returns a pointer to this object's result stream.

Calling Context:

Called to obtain a pointer to this object's result stream. Call this function directly.

Parameters:

Return Value:

A pointer to this object's result stream.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerSharedTransport::BeginRequest

virtual TStream * BeginRequest ()

Interface Category:

Marshals the input parameters and writes them to the stream.

Calling Context:

Called to marshal the input parameters to the stream. Call this function directly.

Parameters:

Return Value:

A pointer to the argument stream.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerSharedTransport::SendRequest

virtual TStream * SendRequest ()

Interface Category:

API.

Purpose:

Sends the request, awaits the reply, and processes the reply.

Calling Context:

Called to send a request and process the reply. Call this function directly.

Parameters:

Return Value:

A pointer to the argument stream.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerSharedTransport::EndRequest

virtual void EndRequest ()

Interface Category:

API.

Purpose:

Ends a request and prepares for the sending of another request.

Calling Context:

Called to end a request. Call this function directly.

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.