diff options
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/Forwarder.h')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/Forwarder.h | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/Forwarder.h b/TAO/orbsvcs/ImplRepo_Service/Forwarder.h index 23932226962..e83271b31c4 100644 --- a/TAO/orbsvcs/ImplRepo_Service/Forwarder.h +++ b/TAO/orbsvcs/ImplRepo_Service/Forwarder.h @@ -30,52 +30,7 @@ class ImR_Locator_i; -//--------------------------------------------------------------------------- -/** - * @class ImR_Forwarder: - * - * @brief Implementation Repository Forwarder - * - * This class provides a ServantLocator implementation that - * is used to handle arbitrary calls and forward them to the - * correct place. - */ -class ImR_Forwarder - : public PortableServer::ServantLocator, - public CORBA::LocalObject -{ -public: - ImR_Forwarder (ImR_Locator_i& imr_impl); - - /// Called before the invocation begins. - virtual PortableServer::Servant preinvoke ( - const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - const char * operation, - PortableServer::ServantLocator::Cookie &cookie); - - virtual void postinvoke ( - const PortableServer::ObjectId & oid, - PortableServer::POA_ptr adapter, - const char * operation, - PortableServer::ServantLocator::Cookie the_cookie, - PortableServer::Servant the_servant); - - void init(CORBA::ORB_ptr orb); - -private: - /// Where we find out where to forward to. - ImR_Locator_i& locator_; - - /// POA reference. - PortableServer::Current_var poa_current_var_; - - /// Variable to save the ORB reference passed to the constr. - CORBA::ORB_ptr orb_; -}; - - -//--------------------------------------------------------------------------- +//---------------------------------------------------------------------------- /** * @class ImR_ReplyHandler * |