diff options
author | fields_t <fields_t@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-24 20:19:09 +0000 |
---|---|---|
committer | fields_t <fields_t@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-24 20:19:09 +0000 |
commit | c7a2d6b5ef02b1737545406765d8757c2d812585 (patch) | |
tree | c4f33b43453b6e5cc15558ab3da655e36fba99e8 /TAO/orbsvcs/ImplRepo_Service/Forwarder.h | |
parent | d3315e8f5289b13ebd375d96ab9ab5ec70af7f5e (diff) | |
download | ATCD-c7a2d6b5ef02b1737545406765d8757c2d812585.tar.gz |
ChangeLogTag:Fri Sep 24 13:16:44 MST 2004 Trevor Fields <fields_t@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/Forwarder.h')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/Forwarder.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/Forwarder.h b/TAO/orbsvcs/ImplRepo_Service/Forwarder.h index fe0828939ad..2236f1cf7ff 100644 --- a/TAO/orbsvcs/ImplRepo_Service/Forwarder.h +++ b/TAO/orbsvcs/ImplRepo_Service/Forwarder.h @@ -17,6 +17,10 @@ #include "tao/PortableServer/PortableServerC.h" +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + class ImR_Locator_i; /** @@ -31,7 +35,7 @@ class ImR_Locator_i; class ImR_Forwarder: public PortableServer::ServantLocator { public: - ImR_Forwarder (ImR_Locator_i *ir_impl, CORBA::ORB_ptr orb); + ImR_Forwarder (ImR_Locator_i& imr_impl); /// Called before the invocation begins. virtual PortableServer::Servant preinvoke ( @@ -42,18 +46,20 @@ public: ACE_ENV_ARG_DECL ) ACE_THROW_SPEC ((CORBA::SystemException, PortableServer::ForwardRequest)); - /// Called after the invocation finishes. - virtual void postinvoke (const PortableServer::ObjectId &oid, - PortableServer::POA_ptr poa, - const char * operation, - PortableServer::ServantLocator::Cookie cookie, - PortableServer::Servant servant - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); + virtual void postinvoke ( + const PortableServer::ObjectId & oid, + PortableServer::POA_ptr adapter, + const char * operation, + PortableServer::ServantLocator::Cookie the_cookie, + PortableServer::Servant the_servant + ACE_ENV_ARG_DECL_WITH_DEFAULTS + ) ACE_THROW_SPEC ((CORBA::SystemException)); + + void init(CORBA::ORB_ptr orb ACE_ENV_ARG_DECL); private: /// Where we find out where to forward to. - ImR_Locator_i *imr_impl_; + ImR_Locator_i& locator_; /// POA reference. PortableServer::Current_var poa_current_var_; |