#include <Forwarder.h>
Inheritance diagram for ImR_Forwarder:


Public Methods | |
| ImR_Forwarder (ImR_Locator_i *ir_impl, CORBA::ORB_ptr orb) | |
| Constructor. More... | |
| 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. More... | |
| 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) throw (CORBA::SystemException) |
| Called after the invocation finishes. More... | |
Private Attributes | |
| ImR_Locator_i * | imr_impl_ |
| Where we find out where to forward to. More... | |
| PortableServer::Current_var | poa_current_var_ |
| POA reference. More... | |
| CORBA::ORB_ptr | orb_ |
| Variable to save the ORB reference passed to the constr. More... | |
This class provides a ServantLocator implementation that is used to handle arbitrary calls and forward them to the correct place.
|
||||||||||||
|
Constructor. 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. |
|
||||||||||||||||||||||||
|
Called after the invocation finishes. The postinvoke method just deletes the passed in servant. |
|
||||||||||||||||||||
|
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.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001