import "IORTable.pidl";
Inheritance diagram for IORTable::Locator:


Public Types | |
| typedef Locator_ptr | _ptr_type |
| typedef Locator_var | _var_type |
Public Member Functions | |
| string | locate (in string object_key) raises (NotFound) |
| Returns an IOR to use for . | |
| virtual char * | locate (const char *object_key)=0 throw ( CORBA::SystemException, ::IORTable::NotFound ) |
| virtual CORBA::Boolean | _is_a (const char *type_id) |
| virtual const char * | _interface_repository_id (void) const |
| virtual CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
Static Public Member Functions | |
| Locator_ptr | _duplicate (Locator_ptr obj) |
| void | _tao_release (Locator_ptr obj) |
| Locator_ptr | _narrow (CORBA::Object_ptr obj) |
| Locator_ptr | _unchecked_narrow (CORBA::Object_ptr obj) |
| Locator_ptr | _nil (void) |
Protected Member Functions | |
| Locator (void) | |
| virtual | ~Locator (void) |
Private Member Functions | |
| Locator (const Locator &) | |
| void | operator= (const Locator &) |
The application can provide a callback interface to locate object keys dynamically.
Definition at line 73 of file IORTable.pidl.
|
|
Reimplemented from CORBA::Object. Definition at line 323 of file IORTableC.h. |
|
|
Reimplemented from CORBA::Object. Definition at line 324 of file IORTableC.h. |
|
|
Definition at line 408 of file IORTableC.cpp.
00409 {}
|
|
|
Definition at line 411 of file IORTableC.cpp.
00412 {}
|
|
|
|
|
|
Definition at line 449 of file IORTableC.cpp. References CORBA::Object::_add_ref(), and IORTable::Locator_ptr. Referenced by TAO_IOR_Table_Impl::set_locator().
00450 {
00451 if (! ::CORBA::is_nil (obj))
00452 {
00453 obj->_add_ref ();
00454 }
00455
00456 return obj;
00457 }
|
|
|
Reimplemented from CORBA::Object. Definition at line 494 of file IORTableC.cpp.
00495 {
00496 return "IDL:IORTable/Locator:1.0";
00497 }
|
|
|
Reimplemented from CORBA::Object. Definition at line 466 of file IORTableC.cpp. References ACE_OS::strcmp().
00470 {
00471 if (
00472 !ACE_OS::strcmp (
00473 value,
00474 "IDL:IORTable/Locator:1.0"
00475 ) ||
00476 !ACE_OS::strcmp (
00477 value,
00478 "IDL:omg.org/CORBA/LocalObject:1.0"
00479 ) ||
00480 !ACE_OS::strcmp (
00481 value,
00482 "IDL:omg.org/CORBA/Object:1.0"
00483 )
00484 )
00485 {
00486 return true; // success using local knowledge
00487 }
00488 else
00489 {
00490 return false;
00491 }
00492 }
|
|
|
Reimplemented from CORBA::Object. Definition at line 415 of file IORTableC.cpp. References CORBA::is_nil(), and IORTable::Locator_ptr.
00419 {
00420 if (CORBA::is_nil (_tao_objref))
00421 {
00422 return Locator::_nil ();
00423 }
00424
00425 Locator_ptr proxy =
00426 dynamic_cast<Locator_ptr> (_tao_objref);
00427
00428 return Locator::_duplicate (proxy);
00429 }
|
|
|
Reimplemented from CORBA::Object. Definition at line 341 of file IORTableC.h. References IORTable::Locator_ptr.
00342 {
00343 return static_cast<Locator_ptr> (0);
00344 }
|
|
|
Definition at line 460 of file IORTableC.cpp. References IORTable::Locator_ptr.
00461 {
00462 ::CORBA::release (obj);
00463 }
|
|
|
Definition at line 432 of file IORTableC.cpp. References CORBA::is_nil(), and IORTable::Locator_ptr.
00436 {
00437 if (CORBA::is_nil (_tao_objref))
00438 {
00439 return Locator::_nil ();
00440 }
00441
00442 Locator_ptr proxy =
00443 dynamic_cast<Locator_ptr> (_tao_objref);
00444
00445 return Locator::_duplicate (proxy);
00446 }
|
|
|
|
|
|
Returns an IOR to use for .
|
|
|
Reimplemented from CORBA::Object. Definition at line 500 of file IORTableC.cpp.
00501 {
00502 return false;
00503 }
|
|
|
|
1.3.6