IT_Bus::PerInvocationServant Class Reference

#include <it_bus/servant.h>

Inheritance diagram for IT_Bus::PerInvocationServant:

IT_Bus::WrapperServant IT_Bus::Servant List of all members.

Detailed Description

Servant management wrapper class that provides a newly instantiated servant instance for each invocation.

The servant is destroyed after processing the request.

Definition at line 230 of file servant.h.

Public Member Functions

 PerInvocationServant (IT_Bus::Servant &servant)
 Constructor.
virtual void dispatch (ServerOperation &server_operation)
 This is the entry point from the Bus runtime into service application code.


Constructor & Destructor Documentation

IT_Bus::PerInvocationServant::PerInvocationServant ( IT_Bus::Servant servant  ) 

Constructor.

Parameters:
Servant instance.


Member Function Documentation

virtual void IT_Bus::PerInvocationServant::dispatch ( ServerOperation server_operation  )  [virtual]

This is the entry point from the Bus runtime into service application code.

This method is usually implemented by the generated Servant code which will handle all of the unmarshalling for the user and call the typed operation in the users code.

Alternatively if you are writing a dynamic bridge you may need to implement the dispatch method yourself.

Parameters:
ServerOperation & server_operation which contains the operation details like message parts and contexts

Implements IT_Bus::Servant.


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