Class: TRemoteCallerTransport

Declaration: RemoteCaller.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

THardwiredTransport TMessageStreamsTransport TRemoteCallerSharedTransport

Purpose:

TRemoteCallerTransport is an abstract base class that isolates protocol and data related to a transport.

Instantiation:

TRemoteCallerTransport is abstract and cannot be instantiated.

Deriving Classes:

Classes derived from TRemoteCallerTransport include TMessageStreamsTransport, TRemoteCallerSharedTransport, and THardwiredTransport.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TRemoteCallerTransport::~TRemoteCallerTransport

virtual ~ TRemoteCallerTransport ()

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:

Not multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerTransport::GetArgumentStream

virtual TStream * GetArgumentStream ()

Interface Category:

API.

Purpose:

A pure virtual member function that returns the argument stream associated with this transport.

Calling Context:

Called to obtain a pointer to the argument stream for this transport. Call this function directly.

Parameters:

Return Value:

A pointer to the argument stream.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerTransport::GetResultStream

virtual TStream * GetResultStream ()

Interface Category:

API.

Purpose:

A pure virtual member function that returns the result stream associated with this transport.

Calling Context:

Called to obtain a pointer to the result stream for this transport. Call this function directly.

Parameters:

Return Value:

A pointer to the result stream.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerTransport::BeginRequest

virtual TStream * BeginRequest ()

Interface Category:

API.

Purpose:

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:

Not multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerTransport::SendRequest

virtual TStream * SendRequest ()

Interface Category:

API.

Purpose:

A pure virtual member function that 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:

Not multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerTransport::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:

Not multithread safe.

Other Considerations:

None.

Member Function: TRemoteCallerTransport::TRemoteCallerTransport

  1. TRemoteCallerTransport ()
  2. TRemoteCallerTransport (const TRemoteCallerTransport & theTransport)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and by derived classes.
  2. Called to copy an object. 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: TRemoteCallerTransport::operator=

TRemoteCallerTransport & operator =(const TRemoteCallerTransport & theTransport)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object. Call this function directly.

Parameters:

Return Value:

A reference to the left-hand side object.

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.