#include <Forwarder.h>
Inheritance diagram for ImR_Forwarder:
Public Member Functions | |
ImR_Forwarder (ImR_Locator_i &imr_impl) | |
virtual PortableServer::Servant | preinvoke (const PortableServer::ObjectId &oid, PortableServer::POA_ptr poa, const char *operation, PortableServer::ServantLocator::Cookie &cookie ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableServer::ForwardRequest) |
Called before the invocation begins. | |
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) throw (CORBA::SystemException) |
void | init (CORBA::ORB_ptr orb ACE_ENV_ARG_DECL) |
Private Attributes | |
ImR_Locator_i & | locator_ |
Where we find out where to forward to. | |
PortableServer::Current_var | poa_current_var_ |
POA reference. | |
CORBA::ORB_ptr | orb_ |
Variable to save the ORB reference passed to the constr. |
This class provides a ServantLocator implementation that is used to handle arbitrary calls and forward them to the correct place.
|
This constructor takes in orb and ImR_Locator_i pointers to store for later use. It also grabs a reference to the POACurrent object for use in preinvoke. |
|
|
|
Implements PortableServer::ServantLocator. |
|
Called before the invocation begins.
|
|
Where we find out where to forward to.
|
|
Variable to save the ORB reference passed to the constr.
|
|
POA reference.
|