IT_Bus::ClientOperationPassThrough Class Reference

#include <it_bus_pdk/pass_thru_operation.h>

Inheritance diagram for IT_Bus::ClientOperationPassThrough:

IT_Bus::MessagingClientOperation List of all members.

Detailed Description

Class representing the Client Message Buffers of an operation.

Used when you want to avoid marshalling types. Used by bridges like the Router to optimise when input and output are the the same binding.

Access to the Message Buffers is not always gauranteed or supported. The user can not make any assumption about the the underlying middleware or the location of the target service so these Buffers are not always available.

The PassThruOperation is accessed through the ClientOperation

Definition at line 27 of file pass_thru_operation.h.

Public Member Functions

virtual Boolean set_passthru_request (BinaryBuffer *buffer)=0
 Tells the underlying binding that it should avoid marshalling and use the Buffer passed in.
virtual Boolean set_passthru_reply (BinaryBuffer *buffer)=0
 Tells the underlying binding that it should use the Buffer passed in for holding the response message.
virtual BinaryBufferget_passthru_request ()=0
 Indicates if the Operation is using pass through and gives caller access to underlying buffers being used.
virtual BinaryBufferget_passthru_reply ()=0
 Indicates if the Operation is using pass through and gives caller access to underlying buffers being used.
virtual Boolean passthru_enabled ()=0
 Indicates if the Operation is using pass through.

Protected Member Functions

 ClientOperationPassThrough ()
 Constructor.
virtual ~ClientOperationPassThrough ()
 Destructor.


Member Function Documentation

virtual BinaryBuffer* IT_Bus::ClientOperationPassThrough::get_passthru_reply (  )  [pure virtual]

Indicates if the Operation is using pass through and gives caller access to underlying buffers being used.

The call returns zero if underlying binding doesn't support passthru.

Returns:
Pointer to a BinaryBuffer.

Implemented in IT_Bus::MessagingClientOperation.

virtual BinaryBuffer* IT_Bus::ClientOperationPassThrough::get_passthru_request (  )  [pure virtual]

Indicates if the Operation is using pass through and gives caller access to underlying buffers being used.

The call returns zero if underlying binding doesn't support passthru.

Returns:
Pointer to a BinaryBuffer.

Implemented in IT_Bus::MessagingClientOperation.

virtual Boolean IT_Bus::ClientOperationPassThrough::passthru_enabled (  )  [pure virtual]

Indicates if the Operation is using pass through.

Returns:
Boolean indicating if pass through being used.

Implemented in IT_Bus::MessagingClientOperation.

virtual Boolean IT_Bus::ClientOperationPassThrough::set_passthru_reply ( BinaryBuffer buffer  )  [pure virtual]

Tells the underlying binding that it should use the Buffer passed in for holding the response message.

Returns a Boolean indicating if the underlying binding supports this.

Parameters:
BinaryBuffer to be used for response if supported.
Returns:
Boolean indicating if Buffer will be used.

Implemented in IT_Bus::MessagingClientOperation.

virtual Boolean IT_Bus::ClientOperationPassThrough::set_passthru_request ( BinaryBuffer buffer  )  [pure virtual]

Tells the underlying binding that it should avoid marshalling and use the Buffer passed in.

Returns a Boolean indicating if the underlying binding supports this.

Parameters:
BinaryBuffer to be sent if supported.
Returns:
Boolean indicating if Buffer will be used.

Implemented in IT_Bus::MessagingClientOperation.


Generated on Thu Sep 7 11:40:22 2006 for Artix by  doxygen 1.4.7