Back to index

salome-kernel  6.5.0
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
REGISTRY_EXPORT Protocol Reference

#include <RegistryConnexion.hxx>

Collaboration diagram for REGISTRY_EXPORT:
Collaboration graph

List of all members.


class  client_infos

Public Types

enum  Status { UNDEF = -1, TERMINATED = 0, RUNNING = 1 }

Public Member Functions

 RegistryConnexion (int argc, char **argv, const char *ior, const char *ptrSessionName, const char *componentName)
 ~RegistryConnexion ()
 RegistryService (void)
virtual ~RegistryService (void)
void ping ()
CORBA::Long getPID ()
virtual CORBA::ULong add (const Registry::Infos &infos)
virtual CORBA::ULong size (void)
virtual void remove (const CORBA::ULong id)
virtual void hello (const CORBA::ULong id)
virtual void end (void)
virtual Registry::AllInfosgetall (void)
virtual Registry::AllInfoshistory (void)
void SessionName (const char *sessionName)
void SetOrb (CORBA::ORB_ptr orb)
void Shutdown ()

Protected Member Functions

void add (const char *aName)
void remove (void)
 RegistryConnexion (void)
Registry::AllInfosmakeseq (std::map< int, client_infos * > &mymap)

Protected Attributes

const char * _Ior
Registry::Components_var _VarComponents
std::string _SessionName
std::string _Name
int _Id
CORBA::ORB_var _orb
const char * _SessionName
int _Compteur
std::map< int, client_infos * > _reg
std::map< int, client_infos * > _fin

Detailed Description

Definition at line 42 of file RegistryConnexion.hxx.

Member Enumeration Documentation


Definition at line 48 of file RegistryService.hxx.


Constructor & Destructor Documentation

virtual REGISTRY_EXPORT::~RegistryService ( void  ) [virtual]

Member Function Documentation

void REGISTRY_EXPORT::add ( const char *  aName) [protected]
virtual CORBA::ULong REGISTRY_EXPORT::add ( const Registry::Infos infos) [virtual]
virtual void REGISTRY_EXPORT::end ( void  ) [virtual]
virtual Registry::AllInfos* REGISTRY_EXPORT::getall ( void  ) [virtual]
virtual void REGISTRY_EXPORT::hello ( const CORBA::ULong  id) [virtual]
virtual Registry::AllInfos* REGISTRY_EXPORT::history ( void  ) [virtual]
Registry::AllInfos* REGISTRY_EXPORT::makeseq ( std::map< int, client_infos * > &  mymap) [protected]
REGISTRY_EXPORT::RegistryConnexion ( void  ) [protected]
REGISTRY_EXPORT::RegistryConnexion ( int  argc,
char **  argv,
const char *  ior,
const char *  ptrSessionName,
const char *  componentName 
void REGISTRY_EXPORT::remove ( void  ) [protected]
virtual void REGISTRY_EXPORT::remove ( const CORBA::ULong  id) [virtual]
void REGISTRY_EXPORT::SessionName ( const char *  sessionName)
void REGISTRY_EXPORT::SetOrb ( CORBA::ORB_ptr  orb) [inline]

Definition at line 97 of file RegistryService.hxx.

{ _orb = CORBA::ORB::_duplicate(orb); return; }
void REGISTRY_EXPORT::Shutdown ( ) [inline]

Definition at line 99 of file RegistryService.hxx.

{ if(!CORBA::is_nil(_orb)) _orb->shutdown(0); }
virtual CORBA::ULong REGISTRY_EXPORT::size ( void  ) [virtual]

Member Data Documentation

int REGISTRY_EXPORT::_Compteur [protected]

Definition at line 105 of file RegistryService.hxx.

std::map<int,client_infos *> REGISTRY_EXPORT::_fin [protected]

Definition at line 107 of file RegistryService.hxx.

int REGISTRY_EXPORT::_Id [protected]

Definition at line 49 of file RegistryConnexion.hxx.

const char* REGISTRY_EXPORT::_Ior [protected]

Definition at line 45 of file RegistryConnexion.hxx.

std::string REGISTRY_EXPORT::_Name [protected]

Definition at line 48 of file RegistryConnexion.hxx.

CORBA::ORB_var REGISTRY_EXPORT::_orb [protected]

Definition at line 103 of file RegistryService.hxx.

std::map<int,client_infos *> REGISTRY_EXPORT::_reg [protected]

Definition at line 106 of file RegistryService.hxx.

std::string REGISTRY_EXPORT::_SessionName [protected]

Definition at line 47 of file RegistryConnexion.hxx.

const char* REGISTRY_EXPORT::_SessionName [protected]

Definition at line 104 of file RegistryService.hxx.

Registry::Components_var REGISTRY_EXPORT::_VarComponents [protected]

Definition at line 46 of file RegistryConnexion.hxx.

The documentation for this protocol was generated from the following files: