TAO_IORTable  2.1.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
IORTable.pidl File Reference

Pre-compiled IDL source for the IORTable module. More...

Classes

exception  AlreadyBound
 The object key is already in the IORTable. More...
 
exception  NotFound
 Cannot find the object key in the IORTable. More...
 

Functions

void rebind (in string object_key, in string IOR)
 Bind object_key to the IOR. More...
 
void unbind (in string object_key) raises (NotFound)
 Remove the binding for object_key. More...
 
void set_locator (in Locator the_locator)
 

Variables

module IORTable
 Define a module to avoid namespace pollution. More...
 
local interface Table
 Define the IORTable interface. More...
 
local interface Locator
 Callback interface to locate object keys dynamically. More...
 

Detailed Description

Pre-compiled IDL source for the IORTable module.

Id:
IORTable.pidl 97024 2013-04-15 16:55:16Z mesnier_p
Author
Carlos O'Ryan corya.nosp@m.n@uc.nosp@m.i.edu

Function Documentation

void rebind ( in string  object_key,
in string  IOR 
)

Bind object_key to the IOR.

void set_locator ( in Locator  the_locator)

Set the locator, if no binding is set for an object_key we try to use the locator to resolve it

void unbind ( in string  object_key) raises (NotFound)

Remove the binding for object_key.

Variable Documentation

module IORTable
Initial value:
{
local interface Locator

Define a module to avoid namespace pollution.

local interface Locator
Initial value:
{
string locate (in string object_key)
raises (NotFound)

Callback interface to locate object keys dynamically.

The application can provide a callback interface to locate object keys dynamically.

local interface Table
Initial value:
{
void bind (in string object_key,
in string IOR)
raises (AlreadyBound)

Define the IORTable interface.

Any TAO server can be configured as an corbaloc agent. Such agents forward requests generated using a simple ObjectKey in a corbaloc specifcation to the real location of the object. In TAO we implement this feature by dynamically (or statically) adding a new Object Adapter to the ORB, that handles any sort of request.