Back to index

salome-kernel  6.5.0
Public Member Functions | Protected Member Functions | Protected Attributes

exception class for NamingService : ServiceUnreachable More...

#include <SALOME_NamingService.hxx>

List of all members.

Public Member Functions

 SALOME_NamingService ()
 SALOME_NamingService (CORBA::ORB_ptr orb)
virtual ~SALOME_NamingService ()
void init_orb (CORBA::ORB_ptr orb=0)
void Register (CORBA::Object_ptr ObjRef, const char *Path) throw (ServiceUnreachable)
CORBA::Object_ptr Resolve (const char *Path) throw ( ServiceUnreachable)
CORBA::Object_ptr ResolveFirst (const char *Path) throw ( ServiceUnreachable)
CORBA::Object_ptr ResolveComponent (const char *hostname, const char *containerName, const char *componentName, const int nbproc=0) throw (ServiceUnreachable)
std::string ContainerName (const char *ContainerName)
std::string ContainerName (const Engines::ContainerParameters &params)
std::string BuildContainerNameForNS (const char *ContainerName, const char *hostname)
std::string BuildContainerNameForNS (const Engines::ContainerParameters &params, const char *hostname)
std::string ContainerName (const Engines::MachineParameters &params)
std::string BuildContainerNameForNS (const Engines::MachineParameters &params, const char *hostname)
int Find (const char *name) throw (ServiceUnreachable)
bool Create_Directory (const char *Path) throw (ServiceUnreachable)
bool Change_Directory (const char *Path) throw (ServiceUnreachable)
char * Current_Directory () throw (ServiceUnreachable)
void list () throw (ServiceUnreachable)
std::vector< std::string > list_directory () throw (ServiceUnreachable)
std::vector< std::string > list_subdirs () throw (ServiceUnreachable)
std::vector< std::string > list_directory_recurs () throw (ServiceUnreachable)
void Destroy_Name (const char *Path) throw (ServiceUnreachable)
virtual void Destroy_Directory (const char *Path) throw (ServiceUnreachable)
virtual void Destroy_FullDirectory (const char *Path) throw (ServiceUnreachable)
char * getIORaddr ()
CORBA::ORB_ptr orb ()
 ServiceUnreachable (void)
 ServiceUnreachable (const ServiceUnreachable &ex)

Protected Member Functions

void _initialize_root_context ()
int _createContextNameDir (std::string path, CosNaming::Name &context_name, std::vector< std::string > &splitPath, bool onlyDir)
void _Find (const char *name, CORBA::Long &occurence_number)
void _current_directory (std::vector< std::string > &splitPath, int &lengthResult, CosNaming::NamingContext_var contextToFind, bool &notFound)
void _list_directory_recurs (std::vector< std::string > &myList, std::string relativeSubDir, std::string absCurDirectory)

Protected Attributes

Utils_Mutex _myMutex
CORBA::ORB_var _orb
CosNaming::NamingContext_var _root_context
CosNaming::NamingContext_var _current_context

Detailed Description

exception class for NamingService : ServiceUnreachable

Definition at line 48 of file SALOME_NamingService.hxx.

Constructor & Destructor Documentation

Member Function Documentation

int NAMINGSERVICE_EXPORT::_createContextNameDir ( std::string  path,
CosNaming::Name &  context_name,
std::vector< std::string > &  splitPath,
bool  onlyDir 
) [protected]
void NAMINGSERVICE_EXPORT::_current_directory ( std::vector< std::string > &  splitPath,
int &  lengthResult,
CosNaming::NamingContext_var  contextToFind,
bool notFound 
) [protected]
void NAMINGSERVICE_EXPORT::_Find ( const char *  name,
CORBA::Long &  occurence_number 
) [protected]
void NAMINGSERVICE_EXPORT::_list_directory_recurs ( std::vector< std::string > &  myList,
std::string  relativeSubDir,
std::string  absCurDirectory 
) [protected]
std::string NAMINGSERVICE_EXPORT::BuildContainerNameForNS ( const char *  ContainerName,
const char *  hostname 
std::string NAMINGSERVICE_EXPORT::BuildContainerNameForNS ( const Engines::ContainerParameters params,
const char *  hostname 
std::string NAMINGSERVICE_EXPORT::BuildContainerNameForNS ( const Engines::MachineParameters params,
const char *  hostname 
std::string NAMINGSERVICE_EXPORT::ContainerName ( const char *  ContainerName)
virtual void NAMINGSERVICE_EXPORT::Destroy_Directory ( const char *  Path) throw (ServiceUnreachable) [virtual]
virtual void NAMINGSERVICE_EXPORT::Destroy_FullDirectory ( const char *  Path) throw (ServiceUnreachable) [virtual]
void NAMINGSERVICE_EXPORT::Destroy_Name ( const char *  Path) throw (ServiceUnreachable)
int NAMINGSERVICE_EXPORT::Find ( const char *  name) throw (ServiceUnreachable)
void NAMINGSERVICE_EXPORT::init_orb ( CORBA::ORB_ptr  orb = 0)
std::vector<std::string> NAMINGSERVICE_EXPORT::list_directory ( ) throw (ServiceUnreachable)
std::vector<std::string> NAMINGSERVICE_EXPORT::list_subdirs ( ) throw (ServiceUnreachable)
void NAMINGSERVICE_EXPORT::Register ( CORBA::Object_ptr  ObjRef,
const char *  Path 
) throw (ServiceUnreachable)
CORBA::Object_ptr NAMINGSERVICE_EXPORT::Resolve ( const char *  Path) throw ( ServiceUnreachable)
CORBA::Object_ptr NAMINGSERVICE_EXPORT::ResolveComponent ( const char *  hostname,
const char *  containerName,
const char *  componentName,
const int  nbproc = 0 
) throw (ServiceUnreachable)
CORBA::Object_ptr NAMINGSERVICE_EXPORT::ResolveFirst ( const char *  Path) throw ( ServiceUnreachable)

Member Data Documentation

CosNaming::NamingContext_var NAMINGSERVICE_EXPORT::_current_context [protected]

Definition at line 110 of file SALOME_NamingService.hxx.

Utils_Mutex NAMINGSERVICE_EXPORT::_myMutex [protected]

Definition at line 108 of file SALOME_NamingService.hxx.


Definition at line 109 of file SALOME_NamingService.hxx.

CosNaming::NamingContext_var NAMINGSERVICE_EXPORT::_root_context [protected]

Definition at line 110 of file SALOME_NamingService.hxx.

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