IT_Bus::DispatchInfo Class Reference

List of all members.

Detailed Description

Definition at line 110 of file messaging_transport.h.

Public Member Functions

virtual CorrelationId get_correlation_id () const=0
 Returns an identifier which is unique to the operation that this DispatchInfo represents.
virtual ContextContainerget_incoming_context_container ()=0
 Return the incoming context container for this operation.
virtual ContextContainerget_outgoing_context_container ()=0
 Return the outgoing context container for this operation.
virtual bool is_oneway () const=0
 In ServerMessageInterceptor::send_message() this returns true of the operation is one-way false otherwise.
virtual const IT_Bus::Exceptionget_exception ()=0
 The following method may be called to get an exception that might have occurred during the server-side dispatch.
virtual void provide_response_buffer (BinaryBuffer &response_buffer)=0
 The following method may ONLY be called by transports advertizing the policy POLICY_REQUIRES_SYNCHRONOUS_DISPATCH.
virtual bool is_transactional_transport ()=0
 This method can be called to determine if the underlying transport is transaction aware.

Protected Member Functions

 DispatchInfo ()


Member Function Documentation

virtual CorrelationId IT_Bus::DispatchInfo::get_correlation_id (  )  const [pure virtual]

Returns an identifier which is unique to the operation that this DispatchInfo represents.

It can be used to correlate the incoming and outgoing messages associated with the same operation in ServerMessageInterceptor:: message_received and send_message calls.

Returns:
correlation identifier.

virtual ContextContainer& IT_Bus::DispatchInfo::get_incoming_context_container (  )  [pure virtual]

Return the incoming context container for this operation.

Returns:
Incoming context container.

virtual ContextContainer& IT_Bus::DispatchInfo::get_outgoing_context_container (  )  [pure virtual]

Return the outgoing context container for this operation.

Returns:
Outgoing context container.

virtual bool IT_Bus::DispatchInfo::is_oneway (  )  const [pure virtual]

In ServerMessageInterceptor::send_message() this returns true of the operation is one-way false otherwise.

This function does not return a meaningful value in ServerMessageInterceptor::message_received().

Returns:
true if operation is one-way.

virtual const IT_Bus::Exception* IT_Bus::DispatchInfo::get_exception (  )  [pure virtual]

The following method may be called to get an exception that might have occurred during the server-side dispatch.

The caller must not delete the exception returned from this method.

virtual void IT_Bus::DispatchInfo::provide_response_buffer ( BinaryBuffer response_buffer  )  [pure virtual]

The following method may ONLY be called by transports advertizing the policy POLICY_REQUIRES_SYNCHRONOUS_DISPATCH.

This method must be called to provide a reference to the stack allocated BinaryBuffer. The caller may expect the BinaryBuffer to contain the reply message after TransportCallback::dispatch() returns.

Parameters:
response_buffer Buffer which will hold the response message.


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