blob: d23600083b0aad634e5270fb03bb1fa7c4c602d6 (
plain)
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
|
(This is file $Id$)
The files in this directory contain the source code from the book
``C++ Network Programming: Systematic Reuse with ACE and Frameworks''
(C++NPv2) by Douglas C. Schmidt and Stephen D. Huston (Addison-Wesley
2001, ISBN 0-201-79525-6).
We have compiled and run these files on the following platforms:
Sun Solaris 8 on SPARC using Sun Forte 6.
Redhat Linux 7.1 using g++ 2.96.
Microsoft Windows 2000 using Microsoft Visual C++ 6.
You must have the ACE_ROOT environment variable set correctly to build
these examples. ACE_ROOT must refer to the top-level ACE_wrappers
directory. Please see $ACE_ROOT/ACE-INSTALL.html for instructions on
how to build the ACE toolkit.
Mapping Source Files to Book Chapters
-------------------------------------
The files in this directory map to the chapters in C++NPv2 as follows:
Chapter 3 Logging_Acceptor.cpp
Logging_Acceptor.h
Logging_Acceptor_Ex.h
Logging_Event_Handler.cpp
Logging_Event_Handler.h
Logging_Event_Handler_Ex.cpp
Logging_Event_Handler_Ex.h
Logging_Handler.cpp
Logging_Handler.h
Reactor_Logging_Server.cpp
Reactor_Logging_Server.h
Reactor_Logging_Server_T.cpp
Chapter 4 Select_Reactor_Logging_Server.cpp
TP_Reactor_Logging_Server.cpp
WFMO_Reactor_Logging_Server.cpp
Chapter 5 Configurable_Logging_Server.cpp
Reactor_Logging_Server_Adapter.cpp
Reactor_Logging_Server_Adapter.h
Service_Reporter.cpp
Service_Reporter.h
Server_Shutdown.cpp
SLD.cpp
SLDEX_export.h
SLD_export.h
SLDex.cpp
Chapter 6 Client_Logging_Daemon.cpp
CLD_export.h
TPLS_export.h
TP_Logging_Server.cpp
TP_Logging_Server.h
Chapter 7 AC_CLD_export.h
AC_Client_Logging_Daemon.cpp
SR_Configurable_Logging_Server.cpp
TPC_Logging_Server.cpp
TPC_Logging_Server.h
TPCLS_export.h
Chapter 8 AIO_CLD_export.h
AIO_Client_Logging_Daemon.cpp
Chapter 9 display_logfile.cpp
Microsoft Visual C++ users:
---------------------------
The examples.dsw file is a Microsoft Visual C++ workspace file that
contains projects for the individual programs. You can either build
them separately, or use the Batch Build command to build multiple
projects at once.
All other users:
----------------
Assuming that your system is configured correctly, you should be able
to type
% make
to compile all of the programs, and
% make clean
to remove all the files that were generated during compilation.
There are also individual Makefiles for each separate example program.
These makefiles have a ".mak" suffix. For example, Logging_Client.mak
is the makefile for the Logging_Client program.
All of the files in these directories are copyright Addison Wesley,
and they come with absolutely no warranty whatsoever. Permission is
hereby granted to use these programs for educational or commercial
purposes.
|