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 ContextContainer & | get_incoming_context_container ()=0 |
Return the incoming context container for this operation. | |
virtual ContextContainer & | get_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::Exception * | get_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 () |
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.
virtual ContextContainer& IT_Bus::DispatchInfo::get_incoming_context_container | ( | ) | [pure virtual] |
Return the incoming context container for this operation.
virtual ContextContainer& IT_Bus::DispatchInfo::get_outgoing_context_container | ( | ) | [pure virtual] |
Return the outgoing context container for this operation.
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().
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.
response_buffer | Buffer which will hold the response message. |