The IC application is an IDL compiler implemented in Erlang. The IDL compiler generates client stubs and server skeletons. Several back-ends are supported, and they fall into three main groups.
The first group consists of a CORBA back-end:
This back-end is for CORBA communication and implementation, and the generated code uses the CORBA specific protocol for communication between clients and servers. See the Orber application User's Guide and manuals for further details.
The second group consists of a simple Erlang back-end:
This back-end provides a very simple Erlang client interface. It can only be used within an Erlang node, and the communication between client and "server" is therefore in terms of ordinary function calls.
This back-end can be considered a short-circuit version of the IDL to Erlang gen_server back-end (see further below).
The third group consists of backends for Erlang, C, and Java. The communication between clients and servers is by the Erlang distribution protocol, facilitated by erl_interface and jinterface for C and Java, respectively.
All back-ends of the third group generate code compatible with
the Erlang gen_server behavior protocol. Thus generated client
code corresponds to
The back-ends of the third group are:
Client stubs and server skeletons are generated. Data types are mapped according to the IDL to Erlang mapping described in the Orber User's Guide.
Client stubs are generated. The mapping of data types is described further on in the C client part of this guide.
Server skeletons are generated. The mapping of data types is described further on in the C server part of this guide.
Client stubs and server skeletons are generated. The mapping of data types is described further on in the Java part of this guide.
The IC compiler is invoked by executing the generic
%> erlc +'{be,BackEnd}' File.idl
where
For more details on IC compiler options consult the ic(3) manual page.