OmniEvents
|
A dummy servant that installs itself into the INSPOA and redirects all calls to the real destination. More...
#include <Mapper.h>
Public Member Functions | |
Mapper (const char *id, CORBA::Object_ptr obj) | |
~Mapper () | |
void | destroy () |
CORBA::Boolean | _is_a (const char *id) |
CORBA::Boolean | _dispatch (GIOP_S &) |
void | do_redir () |
string | id () const |
Private Attributes | |
CORBA::String_var | id_ |
CORBA::Object_var | obj_ |
A dummy servant that installs itself into the INSPOA and redirects all calls to the real destination.
Copied from the omniMapper application.
OmniEvents::Mapper::Mapper | ( | const char * | id, |
CORBA::Object_ptr | obj | ||
) | [inline] |
Definition at line 39 of file Mapper.h.
References OmniEvents::Servant::activateObjectWithId(), and DB.
CORBA::Boolean OmniEvents::Mapper::_dispatch | ( | GIOP_S & | ) | [inline] |
Definition at line 55 of file Mapper.h.
References do_redir().
CORBA::Boolean OmniEvents::Mapper::_is_a | ( | const char * | id | ) | [inline] |
Definition at line 50 of file Mapper.h.
References do_redir().
void OmniEvents::Mapper::destroy | ( | ) | [inline] |
Definition at line 49 of file Mapper.h.
References OmniEvents::Servant::deactivateObject().
Referenced by OmniEvents::EventChannel_i::setInsName().
void OmniEvents::Mapper::do_redir | ( | ) | [inline] |
Definition at line 58 of file Mapper.h.
References DB, HAVE_OMNIORB4, id_, and obj_.
Referenced by _dispatch(), and _is_a().
string OmniEvents::Mapper::id | ( | ) | const [inline] |
CORBA::String_var OmniEvents::Mapper::id_ [private] |
Definition at line 71 of file Mapper.h.
Referenced by do_redir(), and id().
CORBA::Object_var OmniEvents::Mapper::obj_ [private] |
Definition at line 72 of file Mapper.h.
Referenced by do_redir().