OmniEvents
OmniEvents::Mapper Class Reference

A dummy servant that installs itself into the INSPOA and redirects all calls to the real destination. More...

#include <Mapper.h>

Inheritance diagram for OmniEvents::Mapper:
Collaboration diagram for OmniEvents::Mapper:

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
 
- Public Member Functions inherited from OmniEvents::Servant
virtual PortableServer::POA_ptr _default_POA ()
 
virtual ~Servant ()
 

Private Attributes

CORBA::String_var id_
 
CORBA::Object_var obj_
 

Additional Inherited Members

- Protected Member Functions inherited from OmniEvents::Servant
 Servant (PortableServer::POA_ptr poa)
 
void activateObjectWithId (const char *oidStr)
 Calls activate_object_with_id() to activate this servant in its POA.
 
void deactivateObject ()
 Calls deactivate_object() to deactivate this servant in its POA.
 
- Protected Attributes inherited from OmniEvents::Servant
PortableServer::POA_var _poa
 

Detailed Description

A dummy servant that installs itself into the INSPOA and redirects all calls to the real destination.

Copied from the omniMapper application.

Definition at line 33 of file Mapper.h.

Constructor & Destructor Documentation

◆ Mapper()

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.

◆ ~Mapper()

OmniEvents::Mapper::~Mapper ( )
inline

Definition at line 48 of file Mapper.h.

References DB.

Member Function Documentation

◆ _dispatch()

CORBA::Boolean OmniEvents::Mapper::_dispatch ( GIOP_S )
inline

Definition at line 55 of file Mapper.h.

References do_redir().

◆ _is_a()

CORBA::Boolean OmniEvents::Mapper::_is_a ( const char id)
inline

Definition at line 50 of file Mapper.h.

References do_redir().

◆ destroy()

void OmniEvents::Mapper::destroy ( )
inline

◆ do_redir()

void OmniEvents::Mapper::do_redir ( )
inline

Definition at line 58 of file Mapper.h.

References DB, id_, and obj_.

Referenced by _dispatch(), and _is_a().

◆ id()

string OmniEvents::Mapper::id ( ) const
inline

Definition at line 68 of file Mapper.h.

References id_.

Member Data Documentation

◆ id_

CORBA::String_var OmniEvents::Mapper::id_
private

Definition at line 71 of file Mapper.h.

Referenced by do_redir(), and id().

◆ obj_

CORBA::Object_var OmniEvents::Mapper::obj_
private

Definition at line 72 of file Mapper.h.

Referenced by do_redir().


The documentation for this class was generated from the following file: