MICO: An Open Source CORBA Implementation

4.2: Interface Repository (IR)

4.2 Interface Repository (IR)

Note

The IR stores runtime type information

The interface repository is implemented by a separate program (ird). The idea is to run one instance of the program and make allMICO applications use the same interface repository. As we mentionedin Section 4.1.2, the command line option -ORBIfaceRepoAddr can be used to tell a MICO application which interface repositoryto use. But where do you get the address of the ird program?The solution is to tell ird an address it should bind to by usingthe -ORBIIOPAddr. Here is an example of how to run ird:

ird -ORBIIOPAddr inet::8888
where should be replaced by the name of thehost executing ird. Afterward you can run MICO applicationsthis way:
some_mico_application -ORBIfaceRepoAddr \                      inet::8888

To avoid typing in such long command lines, you can put theoption into the file .micorc in your home directory:

echo -ORBIfaceRepoAddr inet::8888 \             > ~/.micorc
Now you can just type
some_mico_application
and some_mico_application will still use the ird's interface repository.

The following command line arguments control ird:

  • --help

    Show a list of all supported command line arguments andexit.

  • --db

    Specify the filename where ird should save the contents ofthe interface repository when exiting. ird is terminated bypressing ctri-c or...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Optical Windows
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.