From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9e6602934992cd0e X-Google-Attributes: gid103376,public From: brad.balfour@ois.com (Brad Balfour) Subject: Re: Communication between Ada programs and C++ programs Date: 1998/06/15 Message-ID: <6m3cgb$7a4$1@supernews.com>#1/1 X-Deja-AN: 362841911 References: <01bd9849$27a4fac0$6cc811ac@grossemy> X-Complaints-To: newsabuse@supernews.com X-Trace: 897922379 VRL06/YYI57C2CF20C usenet88.supernews.com Organization: Objective Interface Newsgroups: comp.lang.ada Date: 1998-06-15T00:00:00+00:00 List-Id: In article <01bd9849$27a4fac0$6cc811ac@grossemy>, "Philippe GROSSEMY" wrote: > >What are the best ways to perform asynchronous communications between an >Ada program and a C++ program in the following configurations : > > - both programs located on the same machine. > - the first program located on onechine and the second program on > another >machine, both machines running on the same Operating System (UNIX : >HP-UXB10.20). > - the first program located on one machine and the second program on >another machine, each machine running on a different Operating System (UNIX >: HP_UXB10.20 and Windows NT). All of the scenarios you describe are easily managed when using CORBA. CORBA ORBs are available with mappings from IDL to Ada 95 and from IDL to C++. This allows seamless interoperability between the languages via CORBA 2.0's IIOP protocol regardless of whether the two programs are on the same machine or different machines running the same or different operating systems. The IDL keyword "oneway" can be used to invoke an operation without waiting for the results to be returned. Ada 95 tasking can also be used to achieve the goal of asynchronous communications. Objective Interface provides an Ada 95 ORB called ORBexpress. Check out http://www.ois.com/ for more information on ORBexpress. >francois.guyot@isr.alcatel-alsthom.fr > or >philippe.grossemy@isr.alcatel-alsthom.fr -- Brad Balfour Director of Technology Services Objective Interface Brad.Balfour@ois.com 703/295-6533 (voice) 703/295-6501 (fax)