20 #ifndef RTC_CORBANAMING_H
21 #define RTC_CORBANAMING_H
46 #pragma warning( disable : 4290 )
126 CorbaNaming(CORBA::ORB_ptr orb,
const char* name_server);
160 void init(
const char* name_server);
165 typedef CosNaming::NamingContext::NotFound
NotFound;
169 typedef CosNaming::NamingContext::NotEmpty
NotEmpty;
255 void bind(
const CosNaming::Name& name, CORBA::Object_ptr obj,
256 const bool force = 1)
298 void bindByString(const
char* string_name, CORBA::Object_ptr obj,
299 const
bool force = 1)
300 throw (SystemException, NotFound, CannotProceed,
301 InvalidName, AlreadyBound);
364 const CosNaming::Name& name,
365 CORBA::Object_ptr obj)
366 throw (SystemException, CannotProceed, InvalidName, AlreadyBound);
405 void rebind(const CosNaming::Name& name, CORBA::Object_ptr obj,
406 const
bool force = 1)
407 throw (SystemException, NotFound, CannotProceed, InvalidName);
445 void rebindByString(const
char* string_name, CORBA::Object_ptr obj,
446 const
bool force = 1)
447 throw (SystemException, NotFound, CannotProceed, InvalidName);
487 const CosNaming::Name& name,
488 CORBA::Object_ptr obj)
489 throw (SystemException, CannotProceed, InvalidName);
528 CosNaming::NamingContext_ptr name_cxt,
529 const
bool force = 1)
530 throw (SystemException, NotFound, CannotProceed,
531 InvalidName, AlreadyBound);
571 CosNaming::NamingContext_ptr name_cxt,
572 const
bool force = 1)
573 throw (SystemException, NotFound, CannotProceed,
574 InvalidName, AlreadyBound);
602 const CosNaming::Name& name,
603 CosNaming::NamingContext_ptr name_cxt);
644 CosNaming::NamingContext_ptr name_cxt,
645 const
bool force = 1)
646 throw (SystemException, NotFound, CannotProceed, InvalidName);
687 CosNaming::NamingContext_ptr name_cxt,
688 const
bool force = 1)
689 throw (SystemException, NotFound, CannotProceed, InvalidName);
717 const CosNaming::Name& name,
718 CosNaming::NamingContext_ptr name_cxt);
761 CORBA::Object_ptr
resolve(const CosNaming::Name& name)
762 throw (SystemException, NotFound, CannotProceed, InvalidName);
806 CORBA::Object_ptr
resolve(const
char* string_name)
807 throw (SystemException, NotFound, CannotProceed, InvalidName);
846 void unbind(const CosNaming::Name& name)
847 throw (SystemException, NotFound, CannotProceed, InvalidName);
891 void unbind(const
char* string_name)
892 throw (SystemException, NotFound, CannotProceed, InvalidName);
956 CosNaming::NamingContext_ptr
958 throw (SystemException, NotFound, CannotProceed,
959 InvalidName, AlreadyBound);
1001 CosNaming::NamingContext_ptr
1003 throw (SystemException, NotFound, CannotProceed,
1004 InvalidName, AlreadyBound);
1033 void destroy(CosNaming::NamingContext_ptr context)
1068 throw (SystemException, NotEmpty, NotFound, CannotProceed, InvalidName);
1108 void list(CosNaming::NamingContext_ptr name_cxt,
1109 CORBA::ULong how_many,
1110 CosNaming::BindingList_var& bl,
1111 CosNaming::BindingIterator_var& bi);
1141 char*
toString(const CosNaming::Name& name)
1142 throw (SystemException, InvalidName);
1169 CosNaming::Name
toName(const
char* string_name)
1170 throw (SystemException, InvalidName);
1201 char*
toUrl(
char* addr,
char* string_name)
1235 CORBA::Object_ptr
resolveStr(const
char* string_name)
1236 throw (SystemException, NotFound, CannotProceed,
1237 InvalidName, AlreadyBound);
1279 CORBA::Object_ptr
bindOrResolve(CosNaming::NamingContext_ptr context,
1280 const CosNaming::Name& name,
1281 CORBA::Object_ptr obj);
1316 CosNaming::NamingContext_ptr
1318 const CosNaming::Name& name,
1319 CosNaming::NamingContext_ptr new_context);
1351 CosNaming::NamingContext_ptr
1353 const CosNaming::Name& name);
1491 CosNaming::Name
subName(const CosNaming::Name& name,
1493 CORBA::Long end = -1);
1528 void nameToString(const CosNaming::Name& name,
char* string_name,
1585 unsigned int split(const std::
string& input,
1586 const std::
string& delimiter,
1587 std::vector<std::
string>& results);
1616 CORBA::ULong m_blLength;
1622 #pragma warning( default : 4290 )
1625 #endif // end of RTC_CORBANAMING_H