1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
|
[This document is also available at the following URL:
http://www.cs.wustl.edu/~schmidt/ACE.html.
All software and documentation is available via both anonymous ftp and
the World Wide Web.]
THE ADAPTIVE COMMUNICATION ENVIRONMENT (ACE)
An Object-Oriented Network Programming Toolkit
----------------------------------------
Overview of ACE
The ADAPTIVE Communication Environment (ACE) is an object-oriented
(OO) toolkit that implements fundamental design patterns for
communication software. ACE provides a rich set of reusable C++
wrappers and frameworks that perform common communication software
tasks across a range of OS platforms, including Win32 (i.e., WinNT
3.5.x and 4.x and Win95), most versions of UNIX (e.g., SunOS 4.x,
Solaris 2.x, SGI IRIX 5.x and 6.x, HP-UX 9.x and 10.x, OSF/1
a.k.a. DEC UNIX, AIX 4.x, Linux, SCO, UnixWare, and FreeBSD), VxWorks,
Chorus, and MVS OpenEdition. A single source tree is used for all
these platforms and porting ACE to other platforms is relatively easy.
The communication software components provided by ACE include event
demultiplexing and event handler dispatching, service initialization,
interprocess communication, shared memory management, message routing,
dynamic (re)configuration of distributed services, multi-threading,
and concurrency control. There are both C++ and Java versions of ACE
available.
ACE is targeted for developers of high-performance and real-time
communication services and applications on UNIX, POSIX, and Win32
platforms. ACE simplifies the development of OO network applications
and services that utilize interprocess communication, event
demultiplexing, explicit dynamic linking, and concurrency. ACE
automates system configuration and reconfiguration by dynamically
linking services into applications at run-time and executing these
services in one or more processes or threads.
ACE is currently used in commercial projects and products by dozens of
companies including Ericsson, Bellcore, Siemens, Motorola, Kodak,
Boeing, Lucent, DEC, Lockheed Martin, and SAIC. Commercial support
for ACE is available at http://www.riverace.com.
----------------------------------------
C++ Wrappers for OS Interfaces
The lower-level portions of ACE provide a set of portable and
type-secure C++ wrappers that encapsulate the following C language OS
interfaces:
. IPC mechanisms
-- e.g., Internet- and UNIX-domain sockets, TLI, Named
Pipes (for UNIX and Win32) and STREAM pipes;
. Event demultiplexing
-- e.g., select(), poll(), and Win32
WaitForMultipleObjects and I/O completion ports;
. Multi-threading and synchronization
-- e.g., Solaris threads, POSIX Pthreads, and Win32
threads;
. Explicit dynamic linking
-- e.g., dlopen/dlsym on UNIX and LoadLibrary/GetProc
on Win32;
. Memory-mapped files and shared memory management
-- e.g., BSD mmap(), SYSV shared memory, and Win32
shared memory;
. System V IPC
-- e.g., shared memory, semaphores, message queues.
The OS Adaptation Layer shields the upper levels of ACE from platform
dependencies associated with the underlying OS interfaces.
----------------------------------------
Frameworks and Class Categories
ACE also contains a higher-level network programming framework that
integrates and enhances the lower-level C++ wrappers. This framework
supports the dynamic configuration of concurrent distributed services
into applications. The framework portion of ACE contains the
following class categories:
. The Reactor
-- Supports both Reactive and Proactive I/O;
. The Service Configurator
-- Support dynamic (re)configuration of objects;
. The ADAPTIVE Service Executive
-- A user-level implementation of System V STREAMS,
that supports modular integration of
hierarchically-related communicaion services;
. Concurrency
-- Various types of higher-level concurrency
control and synchronization patterns (such as
Polymorphic Futures and Active Objects);
. Shared Malloc
-- Components for managing dynamically allocation
of shared and local memory;
. CORBA integration
-- Integrates ACE with CORBA implementations
(such as single-threaded and multi-threaded
Orbix and Visibroker for C++).
----------------------------------------
Distributed Services and Components
Finally, ACE provides a standard library of distributed services that
are packaged as components. These service components play two roles
in ACE:
1. They provide reusable components for common distributed
system tasks such as logging, naming, locking, and time
synchronization.
2. They illustrate how to utilize ACE features such as the
Reactor, Service Configurator, Service Initialization,
Concurrency, and IPC components.
ACE is currently being used in many commercial products including the
Bellcore Q.port ATM signaling software product, the Ericsson EOS
family of telecom switch monitoring applications, the Motorola Iridium
global mobile communications system, and enterprise-wide electronic
medical imaging systems for Kodak Health Imaging Systems and Siemens
medical engineering.
----------------------------------------
OBTAINING ACE
The current ACE release is provided as a tar file that is around 1.8
Meg compressed using GNU gzip. ACE may be obtained electronically
from http://www.cs.wustl.edu/~schmidt/ACE-obtain.html. This release
contains the source code, test drivers, and example applications for
C++ wrapper libraries and the higher-level ACE network programming
framework developed as part of the ADAPTIVE project at the University
of California, Irvine and at Washington University, St. Louis.
----------------------------------------
ACE DOCUMENTATION AND TUTORIALS
Many of the C++ wrappers and higher-level components have been
described in issues of the C++ Report, as well as in proceedings of
many journals, conferences, and workshops.
A collection of white papers and tutorial handouts are included at
ftp://wuarchive.wustl.edu/languages/c++/ACE/ACE-documentation. This
directory contains postscript versions of various papers that describe
different aspects of ACE.
I update these papers periodically to reflect changes to the ACE
architecture. Therefore, you might want to check the date on the
files to make sure that you have read the most recent versions of
these papers.
This material is also available available via the WWW at URL:
http://www.cs.wustl.edu/~schmidt/ACE.html
----------------------------------------
BUILDING AND INSTALLING ACE
Please refer to the http://www.cs.wustl.edu/~schmidt/ACE-INSTALL.html
file for information on how to build and test the ACE wrappers. The
BIBLIOGRAPHY file contains information on where to obtain articles
that describe the ACE wrappers and the ADAPTIVE system in more detail.
The current release has been tested extensively, but if you find any
bugs, please report them to me.
ACE MAILING LIST
A mailing list is available for discussing bug fixes, enhancements,
and porting issues regarding ACE. Please send mail to me at the
ace-users-request@cs.wustl.edu if you'd like to join the mailing list.
ACKNOWLEDGEMENTS
ACE has been deeply influenced and improved by the following members
of my research group at Washington University:
Darrell Brunsch <brunsch@cs.wustl.edu>
Chris Cleeland <chris@milo.st-louis.mo.us>
Aniruddha Gokhale <gokhale@cs.wustl.edu>
Tim Harrison <harrison@cs.wustl.edu>
James Hu <jxh@cs.wustl.edu>
Prashant Jain <pjain@cs.wustl.edu>
David Levine <levine@cs.wustl.edu>
Carlos O'Ryan <coryan@mat.puc.cl>
Irfan Pyarali <irfan@cs.wustl.edu>
Nanbor Wang <nw1@cs.wustl.edu>
I would also like to thank all the following people who have also
contributed to ACE over the years:
Paul Stephenson <pstephenson@objectspace.com>
Olaf Kruger <okruger@cssc-melb.tansu.com.au>
Ed Brown <eebrown@netcom.com>
Lee Baker <baker@ctis.af.mil>
Alex Ranous <ranous@nsa.hp.com>
Mark Patton <mark_patton@tx72.mot.com>
Steffen Winther Sorensen <sts@dad.stibo.dk> for
Troy Warner <tnw1@core01.osi.com>
Stacy Mahlon <mcs@contour.mayo.edu>
Charles Eads <eads@synoptics.com>
Mark Frutig <mfrutig@fnbc.com>
Todd Hoff <thm@ictv.com>
George <george@truffula.fp.trw.com>
Brad Needham <bneedham@ix.netcom.com>
Leslee Xu <lxu@ics.uci.edu>
Detlef Becker <beckerd@erlh.siemens.de>
Bruce Worden <bruce@betsy.gps.caltech.edu>
Chris Tarr <ctarr@objectspace.co>
Bill Sears <wsears@world.std.com>
Greg Lavendar <g.lavender@isode.com>
Steve Warwick <sjw@aesthetic.com>
Mats Sundvall <sundvall@perrier.embnet.se>
Andreas Ueltschi <Andreas.Ueltschi@ska.com>
Nigel Hooke <n.hooke@trl.oz.au>
Medhi Tabatabai <Mehdi.Tabatabai@ed.nce.sita.int>
Stuart Powell <stuartp@ot.com.au>
Bin Mu <mubin@wfg.com>
Andrew McGowan <mcgowan@wg2.waii.com>
Ken Konecki <kenk@wfg.com>
John P. Hearn <jph@ccrl.nj.nec.com>
Giang Hoang Nguyen <yang@titan.com>
Carlos Garcia Braschi <cgarcia@caramba.tid.es>
Jam Hamidi <jh1@osi.com>
Eric Vaughan <evaughan@arinc.com>
Karl-Heinz Dorn <karlheinz.dorn@med.siemens.de>
Steve Ritter <ritter@titan.com>
Chandra Venkatapathy <cvenkat@develop.bsis.com>
Matt Stevens <mstevens@kirk.softeng.infonautics.com>
Bob Vistica <robertv@ims.com>
David Trumble <trumble@cvg.enet.dec.com>
John Morey <jmorey@crl.com>
George Reynolds <george@dvcorp.com>
Hans Rohnert <Hans.Rohnert@zfe.siemens.de>
Alex V. Maclinovsky <alexm@teltrunk1.tait.co.nz>
Todd Blanchard <tblancha@evolving.com>
Rob Clairmont <rclairmo@bnr.ca>
Christian Millour <chris@etca.fr>
Neil Cohen <nbc@metsci.com>
Dieter Quehl <quehl@csaserv.erlh.siemens.de>
Reginald S. Perry <perry@zso.dec.com>
James Morris <jmorris@aurora.apana.org.au>
Mark Seaborn <mseaborn@itthp1.comm.mot.com>
Phil Brooks <phil_brooks@mentorg.com>
E. Jason Scheck <jasons@ims.com>
Daniel Proulx <daproulx@qc.bell.ca>
Bill Tang <tang@tekats.com>
John Huchinson <hutchiso@epi.syr.ge.com>
Jack Erickson <jack@cibc.com>
Byron Walton <bwalton@hughes.scg.hac.com>
Bill Lear <rael@anarchy.cybercom.net>
Mark Zusman <marklz@topaz.technion.ac.il>
Aurelio Nocerino <aurelio@irsipcs2-27-le0.irsip.na.cnr.it>
Walt Akers <akers@cebaf.gov>
Greg Baker <GBaker@p01.az15m.iac.honeywell.com>
Alexandre Karev <karev@vxcern.cern.ch>
Pramod Kumar Singh <pramod@saturn.miel.mot.com>
Bryon Rigg <bryon_rigg@mail.telecorpsys.com>
Brad Brown <bbrown@rdxsunhost.aud.alcatel.com>
Patty Genualdi <genualdp@agcs.com>
Eshel Liran <liran@bimacs.cs.biu.ac.il>
Mick Adams <eeimas@eei.ericsson.se>
Chris Eich <Chris_Eich@optilink.optilink.dsccc.com>
Mike Flinn <mike.flinn@smtpgate.aws.waii.com>
Audun Tornquist <Audun.Tornquist@iu.hioslo.no>
Sandeep Joshi <sandeepj@emailbox.att.com>
Kirk Sinnard <1764@mn.lawson.lawson.com>
Bernd Hofner <hofner@pd.et-inf.uni-siegen.de>
Craig Perras <craigp@wolfenet.com>
Kirk Sinnard <kirk.sinnard@lawson.com>
Matthew Newhook <matthew@neweast.ca>
Gerolf Wendland <wendland@hpp015.mch2.scn.de>
Phil Mesnier <phil@envision.com>
Ross Dargahi <rossd@krinfo.com>
Richard Orr <rorr@costello.den.csci.csc.com>
Rich Ryan <rryan@mseng.kla.com>
Jan Rychter <jwr@icm.edu.pl>
Tom Marrs <0002104588@mcimail.com>
Bob Olson <olson@mcs.anl.gov>
Jean-Francois Ripouteau <Jean-Francois.Ripouteau@netsurf.org>
Ajit Sagar <asagar@spdmail.spd.dsccc.com>
Ashish Singhai <singhai@delirius.cs.uiuc.edu>
David Sames <David.L.Sames.1@gsfc.nasa.gov>
Gonzalo Diethelm <gonzo@ing.puc.cl>
Raj <raj@itd.ssb.com>
Darrin <darrin@jeeves.net>
Steve Weismuller <spweismu@rsoc.rockwell.com>
Eric C. Newton <ecn@smart.net>
Andres Kruse <kruse@cern.ch>
Ramesh Nagabushnam <rcn@nynexst.com>
Antonio Tortorici <antonio@rh0011.roma.tlsoft.it>
Nigel Lowe <nigel@nt.com>
Tom Leith <trl@icon-stl.net>
Greg Wilson <gvw@cs.toronto.edu>
Michael Fortinsky <mike@vocaltec.com>
Marco Sommerau <sommerau@matisse.informatik.uni-stuttgart.de>
Gary Salsbery <gsalsber@simsun.atsc.allied.com>
Eric Beser <beser@simsun.atsc.allied.com>
Alfred Keller <kellera@pop.eunet.ch>
John Lu <johnlu@f1.telekurs.ch>
James Mansion <james@wgold.demon.co.uk>
Jesper S. M|ller <Jesper.Moller@ameridata.dk>
Chris Lahey <clahey@cccis.com>
Michael R"uger <m_rueger@syscomp.de>
Istvan Buki <istvan.buki@infoboard.be>
Greg Wilson <gvwilson@vnet.ibm.com>
Garrett Conaty <gconaty@outbackinc.com>
Brad Flood <BFLOOD@slc.unisysgsg.com>
Marius Kjeldahl <marius@funcom.com>
Steve Huston <shuston@riverace.com>
Eugene K. Plaude <jec@r-style.msk.su>
Joseph DeAngelis <bytor@faxint.com>
Kim Gillies <gillies@noao.edu>
Luca Priorelli <lucapri@mbox.vol.it>
Alan Stewart <axs2@osi.com>
Hani Yakan <hani@i-online.com>
William L. Gerecke <gerecke@rayva.org>
Craig Johnston <johnston@tortilla.ds.boeing.com>
Pierre-Yves Duval <duval@cppm.in2p3.fr>
Rochi Febo Dommarco <rocky@alter.it>
Jonathan Biggar <jon@sems.com>
Scott Shupe <shupes@mitre.org>
Chuck Gehr <gehr@sweng.stortek.com>
Avraham Nash <Avraham_Nash@praxisint.com>
Padhu Ramalingam <padhu@magicnet.net>
Jay Denkberg <jay_denkberg@comverse.com>
Ayman Farahat <afarahat@CCGATE.HAC.COM>
Tilo Christ <christ@swl.fh-heilbronn.de>
Ari Erev <Ari_Erev@icomverse.com>
Hamutal Yanay <Hamutal_Yanay@icomverse.com>
Vital Aza <va3@cs.wustl.edu>
Alex Villazon <villazon@cui.unige.ch>
David Artus <david.artus@sbil.co.uk>
Todd Barkalow <todd_barkalow@stortek.com>
Alexander Smundak <sasha@migration.com>
Thilo Kielmann <kielmann@informatik.uni-siegen.de>
Matthias Kerkhoff <make@cs.tu-berlin.de>
Fred LaBar <flabar@fallschurch.esys.com>
Hanan Herzog <hanan@wallenda.stanford.edu>
Eric Parker <eparker@credence.com>
James Michael Dwyer <jdwyer@knox.edu>
Arun Katkere <katkere@praja.com>
Bob Dunmire <bobd@titan.com>
Sandro Doro <alex@aureus.sublink.org>
Robert Lyng <RLyng@msmail.hsii.ccare.com>
Phil Logan <phill@in.ot.com.au>
John Cosby <John.D.Cosby@cpmx.saic.com>
Wayne Vucenic <wvucenic@netgate.net>
Harry Gunnarsson <hg@carmenta.se>
James CE Johnson <jcej@lads.com>
Samuel_Bercovici <Samuel_Bercovici_at_EFT__AD2@mail.icomverse.com>
Per Andersson <Per.Andersson@hfera.ericsson.se>
Anthony McConnell <Tonym@datel.demon.co.uk>
Mark Rabotnikov <mark@usp.elscintcorp.co.il>
John Bossom <John.Bossom@Cognos.COM>
Rino Simioni <sir@necsy.it>
Slawomir Kuzniar <kuzniar@Bear.COM>
Rob Jordan <jordan@hursley.ibm.com>
Michael Maxie <maxie@acm.org>
John Cosby <John.D.Cosby@cpmx.saic.com>
Nigel Owen <Nigel@voicelink.co.nz>
Jorn Jensen <jornj@funcom.com>
Paul Roman <proman@npac.syr.edu>
Dave Mayerhoefer <davem@lynx.com>
Bert Craytor <Bert_Craytor@peoplesoft.com>
Joey Zhu <joey.zhu@wcom.com>
Arthur J. Lewis <hfdh99a@prodigy.com>
Michael R. MacFaden" <mrm@cisco.com>
Eugene R. Somdahl <gene@endo.com>
Paul Han <phan@CCGATE.HAC.COM>
Jeff Morgan <jeff@audioactive.com>
Arturo Montes <mitosys@colomsat.net.co>
Elliot Lau <eeklau@post1.com>
Mark Wright <markw@odi.com.au>
Michael Newton <michaeln@in.ot.com.au>
Kumar Neelakantan <kneelaka@painewebber.com>
Scott Halstead <scott.halstead@gs.com>
Jean-Marc Strauss <strauss@limeil.cea.fr>
Adam Porter <aporter@cs.umd.edu>
Hakan Kallberg <hk@simulina.se>
Eric Dean Russell <edrusse@somnet.sandia.gov>
Daniel Montalibet <daniel_montalibet@stortek.com>
Norbert Rapp <norbert.rapp@nexus-informatics.de>
Ganesh Pai <gpai@voicetek.com>
Berni Merkle <merkle@io.freinet.de>
Tom Wright <twright@gem-net.demon.co.uk>
Torbjorn Lindgren <tl@funcom.no>
Mike Bernat <sagmb@sagus.com>
Brian Mendel <bmendel@mdc.com>
Jeremy Buch <davinci@nortel.ca>
Kevin Boyle <kboyle@sanwafp.com>
Kevin Martindale <kevin_martindale@stortek.com>
Luis Lopes <llopes@tick.rcc.Ryerson.CA>
Adrian Salt <acsalt@magi.com>
Hongbo Xu <hxu@mas.co.nz>
Michael Hartman <c62nt57@ibx.com>
Tom Dobridge <dobridge@persimmon.com>
Rich Christy <rchristy@cccis.com>
Satoshi Ueno <satoshi.ueno@gs.com>
Eugene R. Somdahl <gene@endo.com>
Robert Head <rhead@mail.virtc.com>
Ivan Murphy <Ivan.Murphy@med.siemens.de
Jan Perman <uabjjpp@osd.ericsson.se>
Shankar Krishnamoorthy <kshankar@lucent.com>
Reza Roodsari <reza@sprynet.com>
Jim Crossley <jim@lads.com>
Johannes Gutleber <Johannes.Gutleber@cern.ch>
Marina Spivak <marina@cs.wustl.edu>
Yigong Liu <ygl@emailbox.lucent.com>
Erik Urdang <erik@bhi.com>
Mike Schweiger <mikes@bmo.com>
Anthony Mutiso <amutiso@hughes.cg.hac.com>
Jeff R. Hayes <Jeff.Hayes@osi.com>
David Brackman <dbrackman@OhioEE.com>
Dave Moore <dave.moore@gecm.com>
Joseph Cross <joseph.k.cross@lmco.com>
Cherif Sleiman <sleiman@research.moore.com>
Stefan Ericsson <uabsjen@osd.ericsson.se>
Wei Chiang <chiang@tele.nokia.fi>
Thanh Ma <tma@encore.com>
Oleg Krivosheev <kriol@fnal.gov>
Stephen Coy <stevec@wsa.com.au>
Bob Laferriere <laferrie@gsao.med.ge.com>
Satheesh Kumar MG <satheesh@india.aspectdv.com>
Karen Amestoy <kamestoy@CCGATE.HAC.COM>
Jeff Richard <jrichard@OhioEE.com>
Samuel Melamed <sam@vdo.net>
Vladimir Schipunov <vlad@staff.prodigy.com>
Felix Popp <fxpopp@immd9.informatik.uni-erlangen.de>
I would particularly like to thank Paul Stephenson, who worked with me
at Ericsson and is now at ObjectSpace. Paul devised the recursive
Makefile scheme that underlies this distribution and also spent
countless hours with me discussing object-oriented techniques for
developing distributed application frameworks.
Finally, I'd also like to thank Todd L. Montgomery <tmont@cs.wvu.edu>,
fellow heavy metal head, for fulfilling his quest to get ACE to
compile with GCC!
In conclusion, my goal is to see ACE continue to evolve and become a
more comprehensive, robust, and well-documented C++ class library that
is freely available to researchers and developers. If you have any
improvements, suggestions, and or comments, I'd like to hear about it.
Thanks,
Douglas C. Schmidt
schmidt@cs.wustl.edu
|