For learning purposes
- Install
omniorb omniorbpy
packages. IDL C++
generationomniidl -bcxx <filename>.idl
.
- Example 3 from the above reference uses NameService.
- Start the service:
omniNames -start -datadir .
- It will output to
stdout
anORBInitRef
. Look forIOR:<ior>
with very long output.
- Start the implementation:
- Copy the previous
<ior>
and substitute below. eg3_impl -ORBInitRef NameService=IOR:<ior>
- Copy the previous
- Start the client:
- Copy the previous
<ior>
and substitute below. eg3_clt -ORBInitRef NameService=IOR:<ior>
- Copy the previous
- Example 3 from the above reference uses NameService.
- Start the service:
omniNames -start -datadir .
- It will output to
stdout
anORBInitRef
. Look forIOR:<ior>
with very long output.
- Start the implementation:
- Copy the previous
<ior>
and substitute below. test_new_student_data_server -ORBInitRef NameService=IOR:<ior>
- Copy the previous
- Start the client:
- Copy the previous
<ior>
and substitute below. test_new_student_data_client -ORBInitRef NameService=IOR:<ior>
- Copy the previous
- Copy file
data.json
tobuilld/bin
. - Launch from build directory.
- Change the file
data.json
and update the client. - Watch the
server
display updated json file objects.