资 源 简 介
Introduction
corbasim is a generator of generic testing tools for CORBA-based applications. It generates this tools from the IDL files of the applications.
corbasim libraries might be used also as support libraries in the development of the CORBA-based applications.
Hello world example
module HelloApp{ typedef sequence< string > Names; interface Hello { string sayHello(); string sayHelloTo(in Names people); oneway void shutdown(); };}
Generating a client of this for the Hello interface:
$ lshello.idl$ corbasim_idl -Gclient -Gserver hello.idl$ lshello_adapted.hpp