idl2pmrpc - IDL compiler to Perl RPC-GIOP
idl2pmrpc [options] spec.idl
All options are forwarded to C preprocessor, except -h -i -J -v -x.
With the GNU C Compatible Compiler Processor, useful options are :
Specific options :
Specify a path for import (only for version 3.0).
Specify a path for Perl package importation (use package;).
Enable export (only for version 3.0).
idl2pmrpc parses the given input file (IDL) and generates :
idl2pmrpc is a Perl OO application what uses the visitor design pattern. The parser is generated by Parse::Yapp.
idl2pmrpc needs a cpp executable.
CORBA Specifications, including IDL (Interface Definition Language) are available on <http://www.omg.org/>.
CORBA mapping for Perl [mapping.pod - Draft 1, 7 October 1999] comes with the package CORBA::MICO or CORBA::ORBit.
RPC-GIOP is an another RPC (Remote Procedure Call) mecanism.
RPC-GIOP reuses a subset of CORBA GIOP messages, but don't deal with any CORBA ORB (Object Request Broker). RPC-GIOP reuses the CORBA CDR (Common Data Representation) transfer syntax.
An interface (a set of operations) is defined with CORBA IDL (Interface Definition Language).
RPC-GIOP has a lot of common properties with CORBA GIOP :
Use rpc1 as current directory.
The file calculator.idl describes the interface of a simple calculator.
First, run :
Second, run the server (see srv_calc.pm that contains the implementation) :
Third, run the client (Tkinter based)
cpp, idl2html, idl2pm
(c) 2004-2008 François PERRAD, France. All rights reserved.
This program and all CORBA::Perl modules are distributed under the terms of the Artistic Licence.
François PERRAD, email@example.com