300  8.  - ...

//  8.5.     
//                  
//

micod -ORBIIOPAddr inet:hostname:portnumber forward &

imr create NameService poa 'which nsd' IDL:omg.org/CosNaming/

NamingContext:1.OftNameService \

-ORBImplRepoAddr inet:hostname:portnumber \

-ORBNamingAddr inet:hostname:hostname:portnumberportnumber

imr create permutation persistent "'pwd'/permutation_server \

-ORBImplRepoAddr inet:hostname:portnumber \

-ORBNamingAddr inet:hostname:portnumber" IDL:permutation:1. \

-ORBImplRepoAddr inet:hostname:portnumber \

-ORBNamingAddr inet:hostname:portnumber
imr activate permutation

-ORBImplRepoAddr inet:hostname:portnumber \

-ORBNamingAddr inet:hostname:portnumber

        , 
  8.3.       -
 - permutation_server.    , 
 hostname  portnumber   8.5    -
 ,    ,    .

8.6.2.   "-"

 8.3      .  8.4 -
  -,      
  "-",      8.3.  8.3 -
    ,   .  -
     . ,  

Objcte               JbOetc                  tbOjec
Ojbect               JObetc
Ojbcet               JtObec

    Object.    
   N .    "Inflection"  -
 .    -  ,  
    .

//  8.4

1 int main(int argc, char *argv[])

2 {

3

4    try{

5       CORBA::ORB_var Orb = CORBA::ORB_init

(argc,argv,"mico-local-orb") ;

6       object_re?erence Remote("NameService",Orb) ;

7       Remote.objectName("Inflection");

8       permutation_var Client =

permutation::_narrow(Remote.objectReference());