#include <it_bus_pdk/pass_thru_operation.h>
Inheritance diagram for IT_Bus::ClientOperationPassThrough:
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 BinaryBuffer * | get_passthru_request ()=0 |
Indicates if the Operation is using pass through and gives caller access to underlying buffers being used. | |
virtual BinaryBuffer * | get_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. |
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.
BinaryBuffer | to be sent if supported. |
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.
BinaryBuffer | to be used for response if supported. |
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.
Implemented in IT_Bus::MessagingClientOperation.
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.
Implemented in IT_Bus::MessagingClientOperation.
virtual Boolean IT_Bus::ClientOperationPassThrough::passthru_enabled | ( | ) | [pure virtual] |
Indicates if the Operation is using pass through.
Implemented in IT_Bus::MessagingClientOperation.