summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsc2000-12-04 13:25:58 +0000
committersc2000-12-04 13:25:58 +0000
commit4d39cd1dc34aacd1bef2fb0132d16fd85a4240d5 (patch)
tree8aff9eec06af0123957614563873982b87722919
parent6e15174900ebfecb5c1e4aab224532209c34368f (diff)
downloadivy-league-4d39cd1dc34aacd1bef2fb0132d16fd85a4240d5.zip
ivy-league-4d39cd1dc34aacd1bef2fb0132d16fd85a4240d5.tar.gz
ivy-league-4d39cd1dc34aacd1bef2fb0132d16fd85a4240d5.tar.bz2
ivy-league-4d39cd1dc34aacd1bef2fb0132d16fd85a4240d5.tar.xz
Updated headers to Ivy League
-rw-r--r--comm/Address.h14
-rw-r--r--comm/BufStream.h13
-rw-r--r--comm/BusAccess.cc15
-rw-r--r--comm/BusAccess.h12
-rw-r--r--comm/IOS.cc12
-rw-r--r--comm/IOS.h13
-rw-r--r--comm/InetAddress.cc13
-rw-r--r--comm/InetAddress.h13
-rw-r--r--comm/Message.cc12
-rw-r--r--comm/Message.h13
-rw-r--r--comm/MsgBuffer.cc12
-rw-r--r--comm/MsgBuffer.h15
-rw-r--r--comm/SignalHandler.cc13
-rw-r--r--comm/SignalHandler.h19
-rw-r--r--comm/Socket.cc14
-rw-r--r--comm/Socket.h14
-rw-r--r--comm/Stream.cc14
-rw-r--r--comm/Stream.h18
-rw-r--r--comm/TimeOut.cc13
-rw-r--r--comm/TimeOut.h14
-rw-r--r--comm/TkMultiplexer.cc14
-rw-r--r--comm/TkMultiplexer.h14
-rw-r--r--comm/UnixAddress.cc13
-rw-r--r--comm/UnixAddress.h13
-rw-r--r--comm/XtMultiplexer.cc13
-rw-r--r--comm/XtMultiplexer.h19
-rw-r--r--comm/doc.main115
-rw-r--r--comm/error.cc12
-rw-r--r--comm/error.h13
-rw-r--r--comm/version.h43
30 files changed, 279 insertions, 266 deletions
diff --git a/comm/Address.h b/comm/Address.h
index 7ca302a..d72dca5 100644
--- a/comm/Address.h
+++ b/comm/Address.h
@@ -1,17 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Socket addresses
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Addresses
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
- * Removed smart pointers (S.Sire)
- * Changed IvlInetAddress::StrRepr and added GetHostname and GetNoHostname
+ *
*/
#ifndef Address_H_
diff --git a/comm/BufStream.h b/comm/BufStream.h
index dc2511e..54cf2ff 100644
--- a/comm/BufStream.h
+++ b/comm/BufStream.h
@@ -1,16 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Buffered streams
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Buffered streams
+ * by Stephane Chatty
+ * portions of code by Michel Beaudouin-Lafon
*
* $Id$
- * $CurLog$
- * Created from bits of MsgStream.h
+ *
*/
#ifndef BufStream_H_
diff --git a/comm/BusAccess.cc b/comm/BusAccess.cc
index f043fd2..10bdb54 100644
--- a/comm/BusAccess.cc
+++ b/comm/BusAccess.cc
@@ -1,18 +1,19 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Ivy bus access
*
- * Copyright 1990-1997
- * Laboratoire de Recherche en Informatique (LRI)
+ * Copyright 1997-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * CENA bus access, by Stephane Chatty
+ * by Stephane Chatty
*
* $Id$
- * $CurLog$
- * Now handle Die
+ *
*/
+
+
#include "BusAccess.h"
#include "Scheduler.h"
#include "BufStream.h"
diff --git a/comm/BusAccess.h b/comm/BusAccess.h
index ec03bc9..b77ee26 100644
--- a/comm/BusAccess.h
+++ b/comm/BusAccess.h
@@ -1,15 +1,15 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Ivy bus access
*
- * Copyright 1990-1997
- * Laboratoire de Recherche en Informatique (LRI)
+ * Copyright 1997-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Bus access, by Stephane Chatty
+ * by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
#ifndef BusAccess_H_
diff --git a/comm/IOS.cc b/comm/IOS.cc
index 6975d0c..05e0fec 100644
--- a/comm/IOS.cc
+++ b/comm/IOS.cc
@@ -1,15 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Basic I/O
*
- * Copyright 1990-1994
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Basic I/O
+ * by Stephane Chatty
+ * portions of code by Michel Beaudouin-Lafon,
*
* $Id$
- * $CurLog$
+ *
*/
#ifdef __GNUG__
diff --git a/comm/IOS.h b/comm/IOS.h
index 828393f..007efee 100644
--- a/comm/IOS.h
+++ b/comm/IOS.h
@@ -1,16 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Basic I/O
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Basic I/O
+ * by Stephane Chatty
+ * portions of code by Michel Beaudouin-Lafon,
*
* $Id$
- * $CurLog$
- * Removed global.h
+ *
*/
#ifndef IvlIO_H_
diff --git a/comm/InetAddress.cc b/comm/InetAddress.cc
index 7b3e5aa..01961b1 100644
--- a/comm/InetAddress.cc
+++ b/comm/InetAddress.cc
@@ -1,16 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * INET Addresses
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * INET Addresses
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty
*
* $Id$
- * $CurLog$<
- * Created from Address.cc
+ *
*/
#include "InetAddress.h"
diff --git a/comm/InetAddress.h b/comm/InetAddress.h
index 9a9f842..a7b1adc 100644
--- a/comm/InetAddress.h
+++ b/comm/InetAddress.h
@@ -1,16 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * INET Addresses
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * INET Addresses
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty
*
* $Id$
- * $CurLog$
- * Created from Address.h
+ *
*/
#ifndef InetAddress_H_
diff --git a/comm/Message.cc b/comm/Message.cc
index 50b9ac1..8933507 100644
--- a/comm/Message.cc
+++ b/comm/Message.cc
@@ -1,15 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Messages
*
- * Copyright 1990-1995
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Messages
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
+ *
*/
#include "cplus_bugs.h"
diff --git a/comm/Message.h b/comm/Message.h
index b7d711d..eb37d97 100644
--- a/comm/Message.h
+++ b/comm/Message.h
@@ -1,16 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Messages
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Messages
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
- * Removed global.h
+ *
*/
#ifndef Message_H_
diff --git a/comm/MsgBuffer.cc b/comm/MsgBuffer.cc
index 55cec65..07ca341 100644
--- a/comm/MsgBuffer.cc
+++ b/comm/MsgBuffer.cc
@@ -1,15 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Buffers for messages
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Buffers for messages
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
+ *
*/
#include "MsgBuffer.h"
diff --git a/comm/MsgBuffer.h b/comm/MsgBuffer.h
index 24d201a..d376839 100644
--- a/comm/MsgBuffer.h
+++ b/comm/MsgBuffer.h
@@ -1,19 +1,20 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Buffers for messages
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Buffers for messages
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
- * Removed smart pointers
- * Removed global.h
+ *
*/
+
#ifndef Buffer_H_
#define Buffer_H_
diff --git a/comm/SignalHandler.cc b/comm/SignalHandler.cc
index 86db5fe..d2b84d9 100644
--- a/comm/SignalHandler.cc
+++ b/comm/SignalHandler.cc
@@ -1,16 +1,15 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon and Stephane Chatty
+ * Scheduler-based signal handlers
*
- * Copyright 1990-1993
- * Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Copyright 1993-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Scheduler-based signal handlers
+ * code by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
#ifdef __GNUG__
diff --git a/comm/SignalHandler.h b/comm/SignalHandler.h
index 162b496..5ca5d55 100644
--- a/comm/SignalHandler.h
+++ b/comm/SignalHandler.h
@@ -1,20 +1,19 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon and Stephane Chatty
+ * Scheduler-based signal handlers
*
- * Copyright 1990-1993
- * Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Copyright 1993-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Scheduler-based signal handlers
+ * code by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
-#ifndef IvlSignal_H_
-#define IvlSignal_H_
+#ifndef IvlScheduledHandler_H_
+#define IvlScheduledHandler_H_
#ifdef __GNUG__
#pragma interface
@@ -48,5 +47,5 @@ public:
~IvlScheduledHandler ();
};
-#endif /* IvlSignal_H_ */
+#endif /* IvlScheduledHandler_H_ */
diff --git a/comm/Socket.cc b/comm/Socket.cc
index fc6f777..66a16bb 100644
--- a/comm/Socket.cc
+++ b/comm/Socket.cc
@@ -1,17 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Sockets
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Sockets
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
- * Removed Smart pointers
- * Added ReuseAddress and AllowBroadcast
+ *
*/
#include "Socket.h"
diff --git a/comm/Socket.h b/comm/Socket.h
index 82e1669..dfd291d 100644
--- a/comm/Socket.h
+++ b/comm/Socket.h
@@ -1,17 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Sockets
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Sockets
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
- * Removed Smart pointers
- * Added ReuseAddress and AllowBroadcast
+ *
*/
#ifndef Socket_H_
diff --git a/comm/Stream.cc b/comm/Stream.cc
index 02682ad..69ae41a 100644
--- a/comm/Stream.cc
+++ b/comm/Stream.cc
@@ -1,15 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Streams
*
- * Copyright 1990-1993
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Streams
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
+ *
*/
#include "Stream.h"
@@ -92,6 +94,6 @@ IvlStream :: Listen (int n)
{
if (! Setup ())
return -1;
- return listen (FilDes (), n);
+ return listen (GetFd (), n);
}
diff --git a/comm/Stream.h b/comm/Stream.h
index 2ae76b7..e9f489f 100644
--- a/comm/Stream.h
+++ b/comm/Stream.h
@@ -1,19 +1,21 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Streams
*
- * Copyright 1990-1993
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Streams
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
+ *
*/
-#ifndef Stream_H_
-#define Stream_H_
+#ifndef IvlStream_H_
+#define IvlStream_H_
#include "cplus_bugs.h"
#include "Socket.h"
@@ -28,4 +30,4 @@ public:
int Listen (int = 5);
};
-#endif /* Stream_H_ */
+#endif /* IvlStream_H_ */
diff --git a/comm/TimeOut.cc b/comm/TimeOut.cc
index 60346a5..e52413c 100644
--- a/comm/TimeOut.cc
+++ b/comm/TimeOut.cc
@@ -1,16 +1,15 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon and Stephane Chatty
+ * Scheduler-based timers
*
- * Copyright 1990-1997
- * Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Copyright 1993-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Scheduler-based timers
+ * code by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
#include "TimeOut.h"
diff --git a/comm/TimeOut.h b/comm/TimeOut.h
index fef1e22..f3ca5b4 100644
--- a/comm/TimeOut.h
+++ b/comm/TimeOut.h
@@ -1,17 +1,15 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon and Stephane Chatty
+ * Scheduler-based timers
*
- * Copyright 1990-1997
- * Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Copyright 1993-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Multiplexer-based timers
+ * code by Stephane Chatty
*
* $Id$
- * $CurLog$
- * CHange handling of multiplexer
+ *
*/
#ifndef IvlTimeOut_H_
diff --git a/comm/TkMultiplexer.cc b/comm/TkMultiplexer.cc
index 7ce87a4..0528ac4 100644
--- a/comm/TkMultiplexer.cc
+++ b/comm/TkMultiplexer.cc
@@ -1,17 +1,15 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon and Stephane Chatty
+ * Tk-based multiplexers/schedulers
*
- * Copyright 1990-1993
- * Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Copyright 1996-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Tk-based multiplexers
+ * code by Stephane Chatty
*
* $Id$
- * $CurLog$
- * Made consistent with Tcl7.0 and Tk3.3
+ *
*/
#include "TkMultiplexer.h"
diff --git a/comm/TkMultiplexer.h b/comm/TkMultiplexer.h
index b1d1741..5f970e2 100644
--- a/comm/TkMultiplexer.h
+++ b/comm/TkMultiplexer.h
@@ -1,17 +1,15 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon and Stephane Chatty
+ * Tk-based multiplexers/schedulers
*
- * Copyright 1990-1993
- * Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Copyright 1996-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Tk-based multiplexers
+ * code by Stephane Chatty
*
* $Id$
- * $CurLog$
- * Made consistent with Tcl7.0 and Tk3.3
+ *
*/
#ifndef TkMultiplexer_H_
diff --git a/comm/UnixAddress.cc b/comm/UnixAddress.cc
index 469fa2e..5b62647 100644
--- a/comm/UnixAddress.cc
+++ b/comm/UnixAddress.cc
@@ -1,16 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Unix Addresses
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Unix Addresses
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
- * Created from Address.cc
+ *
*/
#include "UnixAddress.h"
diff --git a/comm/UnixAddress.h b/comm/UnixAddress.h
index d21b619..2e1a903 100644
--- a/comm/UnixAddress.h
+++ b/comm/UnixAddress.h
@@ -1,16 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Unix Addresses
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Unix Addresses
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty and Stephane Sire
*
* $Id$
- * $CurLog$
- * Created from Address.h
+ *
*/
#ifndef UnixAddress_H_
diff --git a/comm/XtMultiplexer.cc b/comm/XtMultiplexer.cc
index f20894d..a4ab18c 100644
--- a/comm/XtMultiplexer.cc
+++ b/comm/XtMultiplexer.cc
@@ -1,16 +1,15 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon and Stephane Chatty
+ * Xt-based multiplexers/schedulers
*
- * Copyright 1990-1993
- * Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Copyright 1993-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Xt-based multiplexers
+ * code by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
#include "XtMultiplexer.h"
diff --git a/comm/XtMultiplexer.h b/comm/XtMultiplexer.h
index 0057cb5..d519d9d 100644
--- a/comm/XtMultiplexer.h
+++ b/comm/XtMultiplexer.h
@@ -1,20 +1,19 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon and Stephane Chatty
+ * Xt-based multiplexers/schedulers
*
- * Copyright 1990-1993
- * Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Copyright 1993-2000
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Xt-based multiplexers
+ * code by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
-#ifndef XtMultiplexer_H_
-#define XtMultiplexer_H_
+#ifndef IvlXtMultiplexer_H_
+#define IvlXtMultiplexer_H_
#include "Multiplexer.h"
@@ -44,4 +43,4 @@ public:
~IvlXtMultiplexer ();
};
-#endif /* XtMultiplexer_H_ */
+#endif /* IvlXtMultiplexer_H_ */
diff --git a/comm/doc.main b/comm/doc.main
index 400d6be..b77b08c 100644
--- a/comm/doc.main
+++ b/comm/doc.main
@@ -1,15 +1,16 @@
%
-% The Unix Channel
+% Ivy League
%
-% by Michel Beaudouin-Lafon
+% Programmer's Manual main file - to be updated
%
-% Copyright 1990-1993
+% Copyright 1990-2000
% Laboratoire de Recherche en Informatique (LRI)
+% Centre d'Etudes de la Navigation Aerienne (CENA)
%
-% User's Manual main file - to be updated
+% written by Michel Beaudouin-Lafon and Stephane Chatty
%
% $Id$
-% $CurLog$
+%
%
\documentstyle[11pt,mydoc,twoside]{doc}
@@ -18,7 +19,7 @@
\makeindex
\namedoc{Unix Channel}
-\def\uch{{\sc Uch}}
+\def\uch{{\sc Ivl}}
\begin{document}
\maketitle
@@ -89,17 +90,17 @@ allocated dynamically (with \fun{operator new}), it is automatically destroyed.
\item
\samepage
- {the archive files \com{libUch.a} and \com{libChan.a}, which are usually installed in \com{/usr/lib}
+ {the archive files \com{libIvl.a} and \com{libChan.a}, which are usually installed in \com{/usr/lib}
or in \com{/usr/loc\-al/lib}, contain the library procedures. One of these libraries must be loaded
with the object files which use \uch. This is usually performed
- by adding the flag \com{-lUch} or \com{-lChan} in the command line for your C++ compiler.
+ by adding the flag \com{-lIvl} or \com{-lChan} in the command line for your C++ compiler.
\uch\ uses the utilities library, so \com{libutils++.a} must be included when loading an application.
- \com{libUch.a} contain the object files for the whole library, while \com{libChan.a}
+ \com{libIvl.a} contain the object files for the whole library, while \com{libChan.a}
contains only the object files for the classes described in chapter \ref{General io},
corresponding to the header file \com{chan.h}.
For instance, you can type~:
\begin{center}
- \com{CC -o demo main.C -lUch -lCcu}
+ \com{CC -o demo main.C -lIvl -lCcu}
\end{center}}
\end{enumerate}
@@ -114,8 +115,8 @@ Unix input/output is byte oriented: byte buffers can be read and written in file
with the system calls \fun{read} and \fun{write}.
\uch\ implements message oriented input/output,
although byte io can be used if needed.
-The class \typ{UchMessage} is the abstract base class for the messages
-to be exchanged between applications. A \typ{UchMessage} only needs to
+The class \typ{IvlMessage} is the abstract base class for the messages
+to be exchanged between applications. A \typ{IvlMessage} only needs to
know how to convert itself to and from a set of bytes in a \typ{MsgBuffer}.
The class \typ{MsgBuffer} is used throughout \uch\ to buffer input and output.
Buffering output can dramatically improve performances (especially if the
@@ -130,12 +131,12 @@ The following types are defined for machine independent handling of data:
\item The type \typ {^{lword}} refers to a 32-bit quantity.
\end{itemize}.
-The class \typ{UchFilDes} encapsulates the Unix notion of file descriptor.
-The class \typ{UchChannel} derives from \typ{UchFilDes}, adding virtual functions
+The class \typ{IvlFd} encapsulates the Unix notion of file descriptor.
+The class \typ{IvlChannel} derives from \typ{IvlFd}, adding virtual functions
for implementing multiplexing and communication protocols.
-The class \typ{UchMultiplexer} implements a set of channels for multiplexing
+The class \typ{IvlMultiplexer} implements a set of channels for multiplexing
input and output.
-The class \typ{UchIOS} is a base class for input/output streams: message buffers,
+The class \typ{IvlIOS} is a base class for input/output streams: message buffers,
channels, etc.
These classes are not sufficient to write distributed applications because
@@ -151,29 +152,29 @@ The emission of messages works in a similar way: the contents of a message are
copied to a buffer before being sent.
\subsection{Messages}
-#iclass UchMessage
+#iclass IvlMessage
\subsection{Buffers}
-#iclass UchMsgBuffer
+#iclass IvlMsgBuffer
\section{Files and channels}
-#iclass UchFilDes
-#iclass UchChannel
+#iclass IvlFd
+#iclass IvlChannel
\section{Base IO streams}
-#iclass UchIOS
+#iclass IvlIOS
\section{Multiplexing channels}
-#iclass UchBaseMultiplexer
-#iclass UchMultiplexer
+#iclass IvlBaseMultiplexer
+#iclass IvlMultiplexer
\subsection{Adding timers}
-#iclass UchBaseTimeOut
-#iclass UchTimeOut
+#iclass IvlBaseTimeOut
+#iclass IvlTimeOut
\subsection{Safe signal handling}
-#iclass UchBaseSignalHandler
-#iclass UchSignalHandler
+#iclass IvlBaseSignalHandler
+#iclass IvlSignalHandler
\section{Example}
\label{General io example}.
@@ -203,11 +204,11 @@ the system, so that a distant process cannot know this port number to
establish the communication.
The port server described in chapter \ref{Portserv} overcomes this problem.
It is often used to create internet addresses from logical names,
-instead of the class \typ{UchInetAddress} described in this chapter.
+instead of the class \typ{IvlInetAddress} described in this chapter.
-#class UchAddress
-#class UchUnixAddress
-#class UchInetAddress
+#class IvlAddress
+#class IvlUnixAddress
+#class IvlInetAddress
\chapter{Basic communications}
@@ -216,13 +217,13 @@ instead of the class \typ{UchInetAddress} described in this chapter.
This chapter describes the main classes for developing distributed applications.
The communication between the processes is done by using Unix sockets.
-The class \typ{UchSocket} encapsulates such sockets, but it is an abstract base class.
-The classes \typ{UchDatagram} and \typ{UchStream} implement the two main
+The class \typ{IvlSocket} encapsulates such sockets, but it is an abstract base class.
+The classes \typ{IvlDatagram} and \typ{IvlStream} implement the two main
protocols available under Unix, i.e. datagrams and streams.
These protocols differ in the way the connection can be established and the way
the data is transmitted between the processes.
In particular, streams transfer bytes and do not know about messages.
-The class \typ{UchMsgStream} extends the stream protocol to transfer messages
+The class \typ{IvlMsgStream} extends the stream protocol to transfer messages
and not bytes.
This is the class that will be used most of the time to build distributed applications,
as illustrated in section \ref{Basics example}
@@ -234,11 +235,11 @@ in this chapter. All derivations are public. This means that the member function
of a base class are available in its derived classes, although they appear in the
documentation only for the base class.
-#class UchSocket
-#class UchDatagram
-#class UchStream
-#class UchMsgStream
-#class UchDGRAM
+#class IvlSocket
+#class IvlDatagram
+#class IvlStream
+#class IvlMsgStream
+#class IvlDGRAM
\section{Example}
\label{Basics example}
@@ -249,17 +250,17 @@ documentation only for the base class.
%--------------------------------
\label{Servers}
-This chapter describes the classes \typ{UchServer} and \typ{UchClient} to be used
+This chapter describes the classes \typ{IvlServer} and \typ{IvlClient} to be used
to implement a server.
A server is a process that accepts connections from several clients,
and processes their requests.
-When implementing a server, there is one object of class \typ{UchServer},
-and one object of class \typ{UchClient} for each connected client.
-Each such \typ{UchClient} object is connected to another process where
+When implementing a server, there is one object of class \typ{IvlServer},
+and one object of class \typ{IvlClient} for each connected client.
+Each such \typ{IvlClient} object is connected to another process where
a corresponding \typ{Service} object exists (see figure \ref{fig:clientserver}).
We call these processes the clients of the server:
-a \typ{UchClient} represents a connected client in the server,
+a \typ{IvlClient} represents a connected client in the server,
while a \typ{Service} represents the server in a client.
\fig{FIGURES/clientserver}{Objects in a client-server system}
@@ -271,16 +272,16 @@ class \typ{MsgStream}.
The class \typ{Service} and the associated classes for managing
events are described in chapter \ref{Clients}.
-#class UchServer
-#class UchClient
+#class IvlServer
+#class IvlClient
\chapter{Clients}
\label{Clients}
-An object of a class derived from \typ{UchMsgStream} must exist in a client process to communicate
-with its server (implemented by an object of class \typ{UchClient} in the server process).
+An object of a class derived from \typ{IvlMsgStream} must exist in a client process to communicate
+with its server (implemented by an object of class \typ{IvlClient} in the server process).
-The class \typ{UchService} described here can be used when the protocol between the
+The class \typ{IvlService} described here can be used when the protocol between the
server and its clients is of the event/request type.
\fig{FIGURES/evreq}{Event / request protocol model.}
@@ -298,19 +299,19 @@ usually the client reads an event in its top-level loop, and responds to it;
this may involve sending requests to the server, that in turn will generate events.
A single client may want to be connected to several servers.
-The class \typ{UchService} makes this possible by allowing to share an event queue
+The class \typ{IvlService} makes this possible by allowing to share an event queue
between several services.
Thus incoming events are multiplexed, and the top level loop of the client is of the
same form as above.
Each event contains the server that sent it so that it can be easily dispatched by the client.
Events are messages. They are implemented by the virtual base class \typ{EventMsg}.
-The event queue of a service is implemented by the class \typ{UchEvtMsgQueue}.
+The event queue of a service is implemented by the class \typ{IvlEvtMsgQueue}.
-#class UchService
-#class UchEventMsg
-#class UchGenEvtMsg
-#class UchEvtMsgQueue
+#class IvlService
+#class IvlEventMsg
+#class IvlGenEvtMsg
+#class IvlEvtMsgQueue
\chapter{Port registration server}
\label{Portserv}
@@ -351,7 +352,7 @@ If \var{savetime} is specified, it determines how many seconds after a modificat
the new state is saved. If it is not specified, the state is saved immediately after each modification.
The save time is intended for port servers that are heavily used in order to reduce file accesses.
-#class UchPortServer
+#class IvlPortServer
\section{Testing the port server}
@@ -394,7 +395,7 @@ The different commands are the following:
[to be done]
\chapter{Error management}
-#iclass UchError
+#iclass IvlError
\newpage
diff --git a/comm/error.cc b/comm/error.cc
index 9ddc674..103bf96 100644
--- a/comm/error.cc
+++ b/comm/error.cc
@@ -1,15 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Error management
*
- * Copyright 1990-1993
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Error management
+ * original code by Michel Beaudouin-Lafon,
+ * maintained by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
#include "error.h"
diff --git a/comm/error.h b/comm/error.h
index f0245a3..b7cf720 100644
--- a/comm/error.h
+++ b/comm/error.h
@@ -1,16 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Error management
*
- * Copyright 1990-1993
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Error management
+ * original code by Michel Beaudouin-Lafon,
+ * maintained by Stephane Chatty
*
* $Id$
- * $CurLog$
- * Removed global.h
+ *
*/
#ifndef IvlError_H_
diff --git a/comm/version.h b/comm/version.h
index ec6349f..9a683f4 100644
--- a/comm/version.h
+++ b/comm/version.h
@@ -1,21 +1,22 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Version and copyright header
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
- * Centre d'Etudes de la Navigation Aerienne
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Version and copyright header
+ * file by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
+
/**
* Copyright 1990 - 1992 Laboratoire de Recherche en Informatique (LRI)
- * Copyright 1992 - 1997 Centre d'Etudes de la Navigation Aerienne (CENA)
+ * Copyright 1992 - 2000 Centre d'Etudes de la Navigation Aerienne (CENA)
*
* Permission to use, copy, and modify this software and its documentation
* for your own purposes is hereby granted without fee, provided that
@@ -49,27 +50,27 @@
**/
/**
-title The Unix Channel
+title Ivy League
subtitle C++ Communication library
-version 4.0.0
-date June 1997
-copyright (c) 1989-1992 LRI, 1992-1997 CENA
-authors Michel Beaudouin-Lafon
-| St\'ephane Chatty
-address Laboratoire de Recherche en Informatique
-| B\^at. 490, Facult\'e d'Orsay
-| 91405 Orsay Cedex, France
-| and
-| Centre d'Etudes de la Navigation A\'erienne
+version 1.0.0
+date December 2000
+copyright (c) 1989-1992 LRI, 1992-2000 CENA
+authors St\'ephane Chatty
+| Michel Beaudouin-Lafon
+| St\'ephane Sire
+address Centre d'Etudes de la Navigation A\'erienne
| 7 avenue Edouard Belin
| 31055 TOULOUSE CEDEX, France
-e-mail mbl@lri.fr and chatty@dgac.fr
-phone +33 01 69 15 69 10 and +33 05 62 25 95 42
+| and
+| Laboratoire de Recherche en Informatique
+| B\^at. 490, Facult\'e d'Orsay
+| 91405 Orsay Cedex, France
+e-mail chatty@dgac.fr and mbl@lri.fr and sire@cena.fr
**/
#ifndef IvlVersion
-#define IvlVersion 4
+#define IvlVersion 1
#define IvlRelease 0
#define IvlPatchLevel 0