IT_Bus::MessagingClientOperation Class Reference

Inheritance diagram for IT_Bus::MessagingClientOperation:

IT_Bus::ClientOperation IT_Bus::ClientOperationPassThrough IT_Bus::Operation List of all members.

Detailed Description

Definition at line 22 of file messaging_client_operation.h.

Public Member Functions

virtual WritableMessageget_input_message ()
 Return the input message encapsulated within this client operation object.
virtual ReadableMessageget_output_message ()
 Return the output message encapsulated within this client operation object.
virtual ContextContainerrequest_contexts ()
 Returns a pointer to the IT_Bus::ContextContainer that holds request contexts.
virtual ContextContainerreply_contexts ()
 Returns a pointer to the IT_Bus::ContextContainer that holds reply contexts.
virtual ClientOperationPassThroughget_client_pass_through ()
 Get access to the Message Buffers so the user can replace then if supported.
Boolean set_passthru_request (BinaryBuffer *buffer)
 Tells the underlying binding that it should avoid marshalling and use the Buffer passed in.
Boolean set_passthru_reply (BinaryBuffer *buffer)
 Tells the underlying binding that it should use the Buffer passed in for holding the response message.
BinaryBufferget_passthru_reply ()
 Indicates if the Operation is using pass through and gives caller access to underlying buffers being used.
BinaryBufferget_passthru_request ()
 Indicates if the Operation is using pass through and gives caller access to underlying buffers being used.
Boolean passthru_enabled ()
 Indicates if the Operation is using pass through.

Private Attributes

BinaryBuffer m_request_buffer
BinaryBuffer m_reply_buffer
TransportWritableMessage m_input_message
TransportReadableMessage m_output_message
MessageWriterm_message_writer
MessageReaderm_message_reader
MessagingPortm_messaging_port
BusContextRegistry & m_context_registry
ContextContainerm_request_contexts
ContextContainerm_reply_contexts
BinaryBufferm_passthru_request_buffer
BinaryBufferm_passthru_reply_buffer
bool m_passthru_enabled


Member Function Documentation

virtual WritableMessage& IT_Bus::MessagingClientOperation::get_input_message (  )  [virtual]

Return the input message encapsulated within this client operation object.

Returns:
A reference to an IT_Bus::WritableMessage instance.

Implements IT_Bus::ClientOperation.

virtual ReadableMessage& IT_Bus::MessagingClientOperation::get_output_message (  )  [virtual]

Return the output message encapsulated within this client operation object.

Returns:
A reference to an IT_Bus::ReadableMessage instance.

Implements IT_Bus::ClientOperation.

virtual ContextContainer* IT_Bus::MessagingClientOperation::request_contexts (  )  [virtual]

Returns a pointer to the IT_Bus::ContextContainer that holds request contexts.

Returns:
Pointer to an IT_Bus::ContextContainer instance.

Implements IT_Bus::ClientOperation.

virtual ContextContainer* IT_Bus::MessagingClientOperation::reply_contexts (  )  [virtual]

Returns a pointer to the IT_Bus::ContextContainer that holds reply contexts.

Returns:
Pointer to an IT_Bus::ContextContainer instance.

Implements IT_Bus::ClientOperation.

virtual ClientOperationPassThrough* IT_Bus::MessagingClientOperation::get_client_pass_through (  )  [virtual]

Get access to the Message Buffers so the user can replace then if supported.

Returns 0 if Operation doesn't support pass thru.

Returns:
Pointer to an IT_Bus::ClientOperationPassThrough instance.

Implements IT_Bus::ClientOperation.

Boolean IT_Bus::MessagingClientOperation::set_passthru_request ( BinaryBuffer buffer  )  [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.

Implements IT_Bus::ClientOperationPassThrough.

Boolean IT_Bus::MessagingClientOperation::set_passthru_reply ( BinaryBuffer buffer  )  [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.

Implements IT_Bus::ClientOperationPassThrough.

BinaryBuffer* IT_Bus::MessagingClientOperation::get_passthru_reply (  )  [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.

Implements IT_Bus::ClientOperationPassThrough.

BinaryBuffer* IT_Bus::MessagingClientOperation::get_passthru_request (  )  [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.

Implements IT_Bus::ClientOperationPassThrough.

Boolean IT_Bus::MessagingClientOperation::passthru_enabled (  )  [virtual]

Indicates if the Operation is using pass through.

Returns:
Boolean indicating if pass through being used.

Implements IT_Bus::ClientOperationPassThrough.


Generated on Tue Mar 20 15:28:13 2007 for Artix by  doxygen 1.5.1-p1