IT_Bus::ServerOperationPassThrough Class Reference

#include <it_bus_pdk/pass_thru_operation.h>

Inheritance diagram for IT_Bus::ServerOperationPassThrough:

IT_Bus::MessagingServerOperation List of all members.

Detailed Description

Class representing the Server 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 ServerOperation

Definition at line 126 of file pass_thru_operation.h.

Public Member Functions

virtual void enable_passthru ()=0
 Tells the Server Operation to skip marshalling.
virtual BinaryBufferget_passthru_reply ()=0
 Gives user access to the Message Reply Buffer if pass_thru is supported.
virtual BinaryBufferget_passthru_request ()=0
 Gives user access to the Message Request Buffer if pass_thru is supported.

Protected Member Functions

 ServerOperationPassThrough ()
 Constructor.
virtual ~ServerOperationPassThrough ()
 Destructor.


Member Function Documentation

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

Gives user access to the Message Reply Buffer if pass_thru is supported.

This tells the server to use this Buffer when sending a response message and to avoid marshalling from the the message parts. The call returns zero if underlying binding doesn't support passthru.

Returns:
Pointer to a BinaryBuffer.

Implemented in IT_Bus::MessagingServerOperation.

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

Gives user access to the Message Request Buffer if pass_thru is supported.

This tells the server to avoid marshalling the Buffer into the message parts. The call returns zero if underlying binding doesn't support passthru.

Returns:
Pointer to a BinaryBuffer.

Implemented in IT_Bus::MessagingServerOperation.


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