summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/Makefile26
-rw-r--r--TAO/examples/POA/DSI/DSI.DSW41
-rw-r--r--TAO/examples/POA/DSI/Database.idl73
-rw-r--r--TAO/examples/POA/DSI/Database_i.cpp325
-rw-r--r--TAO/examples/POA/DSI/Database_i.h116
-rw-r--r--TAO/examples/POA/DSI/Makefile60
-rw-r--r--TAO/examples/POA/DSI/README5
-rw-r--r--TAO/examples/POA/DSI/client.cpp169
-rw-r--r--TAO/examples/POA/DSI/client.dsp209
-rwxr-xr-xTAO/examples/POA/DSI/run_test.pl21
-rw-r--r--TAO/examples/POA/DSI/server.cpp234
-rw-r--r--TAO/examples/POA/DSI/server.dsp206
-rw-r--r--TAO/examples/POA/Default_Servant/Default_Servant.dsw41
-rw-r--r--TAO/examples/POA/Default_Servant/File.idl52
-rw-r--r--TAO/examples/POA/Default_Servant/File_i.cpp223
-rw-r--r--TAO/examples/POA/Default_Servant/File_i.h89
-rw-r--r--TAO/examples/POA/Default_Servant/Makefile60
-rw-r--r--TAO/examples/POA/Default_Servant/README45
-rw-r--r--TAO/examples/POA/Default_Servant/client.cpp175
-rw-r--r--TAO/examples/POA/Default_Servant/client.dsp210
-rwxr-xr-xTAO/examples/POA/Default_Servant/run_test.pl21
-rw-r--r--TAO/examples/POA/Default_Servant/server.cpp235
-rw-r--r--TAO/examples/POA/Default_Servant/server.dsp218
-rw-r--r--TAO/examples/POA/Default_Servant/svc.conf49
-rw-r--r--TAO/examples/POA/Default_Servant/test1
-rw-r--r--TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsp63
-rw-r--r--TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsw29
-rw-r--r--TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.h32
-rw-r--r--TAO/examples/POA/Explicit_Activation/Alt_Resources/README14
-rw-r--r--TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.cpp26
-rw-r--r--TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.h25
-rw-r--r--TAO/examples/POA/Explicit_Activation/Explicit_Activation.dsw29
-rw-r--r--TAO/examples/POA/Explicit_Activation/Makefile44
-rw-r--r--TAO/examples/POA/Explicit_Activation/README48
-rw-r--r--TAO/examples/POA/Explicit_Activation/alternate.conf5
-rwxr-xr-xTAO/examples/POA/Explicit_Activation/run_test.pl69
-rw-r--r--TAO/examples/POA/Explicit_Activation/server.cpp383
-rw-r--r--TAO/examples/POA/Explicit_Activation/server.dsp100
-rw-r--r--TAO/examples/POA/FindPOA/FindPOA.cpp179
-rw-r--r--TAO/examples/POA/FindPOA/FindPOA.dsp99
-rw-r--r--TAO/examples/POA/FindPOA/FindPOA.dsw29
-rw-r--r--TAO/examples/POA/FindPOA/Makefile271
-rw-r--r--TAO/examples/POA/FindPOA/README52
-rw-r--r--TAO/examples/POA/Forwarding/Foo.idl19
-rw-r--r--TAO/examples/POA/Forwarding/Forwarding.dsw41
-rw-r--r--TAO/examples/POA/Forwarding/Makefile63
-rw-r--r--TAO/examples/POA/Forwarding/MyFooServant.cpp142
-rw-r--r--TAO/examples/POA/Forwarding/MyFooServant.h84
-rw-r--r--TAO/examples/POA/Forwarding/README55
-rw-r--r--TAO/examples/POA/Forwarding/Servant_Locator.cpp117
-rw-r--r--TAO/examples/POA/Forwarding/Servant_Locator.h74
-rw-r--r--TAO/examples/POA/Forwarding/client.cpp200
-rw-r--r--TAO/examples/POA/Forwarding/client.dsp210
-rw-r--r--TAO/examples/POA/Forwarding/server.cpp560
-rw-r--r--TAO/examples/POA/Forwarding/server.dsp226
-rw-r--r--TAO/examples/POA/Forwarding/svc.conf49
-rw-r--r--TAO/examples/POA/Generic_Servant/Foo.idl23
-rw-r--r--TAO/examples/POA/Generic_Servant/Generic_Servant.dsw41
-rw-r--r--TAO/examples/POA/Generic_Servant/Makefile77
-rw-r--r--TAO/examples/POA/Generic_Servant/MyFooServant.cpp58
-rw-r--r--TAO/examples/POA/Generic_Servant/MyFooServant.h55
-rw-r--r--TAO/examples/POA/Generic_Servant/README24
-rw-r--r--TAO/examples/POA/Generic_Servant/client.cpp241
-rw-r--r--TAO/examples/POA/Generic_Servant/client.dsp201
-rw-r--r--TAO/examples/POA/Generic_Servant/generic_servant_export.h31
-rw-r--r--TAO/examples/POA/Generic_Servant/server.dsp215
-rw-r--r--TAO/examples/POA/Makefile38
-rw-r--r--TAO/examples/POA/NewPOA/Makefile271
-rw-r--r--TAO/examples/POA/NewPOA/NewPOA.cpp193
-rw-r--r--TAO/examples/POA/NewPOA/NewPOA.dsp99
-rw-r--r--TAO/examples/POA/NewPOA/NewPOA.dsw29
-rw-r--r--TAO/examples/POA/NewPOA/README15
-rw-r--r--TAO/examples/POA/On_Demand_Activation/Makefile276
-rw-r--r--TAO/examples/POA/On_Demand_Activation/On_Demand_Activation.dsw29
-rw-r--r--TAO/examples/POA/On_Demand_Activation/README99
-rw-r--r--TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp71
-rw-r--r--TAO/examples/POA/On_Demand_Activation/Servant_Activator.h45
-rw-r--r--TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp81
-rw-r--r--TAO/examples/POA/On_Demand_Activation/Servant_Locator.h53
-rwxr-xr-xTAO/examples/POA/On_Demand_Activation/run_test.pl65
-rw-r--r--TAO/examples/POA/On_Demand_Activation/server.cpp374
-rw-r--r--TAO/examples/POA/On_Demand_Activation/server.dsp119
-rw-r--r--TAO/examples/POA/On_Demand_Activation/svc.conf49
-rw-r--r--TAO/examples/POA/README58
-rw-r--r--TAO/examples/POA/RootPOA/Makefile270
-rw-r--r--TAO/examples/POA/RootPOA/README11
-rw-r--r--TAO/examples/POA/RootPOA/RootPOA.cpp75
-rw-r--r--TAO/examples/POA/RootPOA/RootPOA.dsp99
-rw-r--r--TAO/examples/POA/RootPOA/RootPOA.dsw29
-rw-r--r--TAO/examples/POA/TIE/Foo.idl30
-rw-r--r--TAO/examples/POA/TIE/Foo_i.cpp99
-rw-r--r--TAO/examples/POA/TIE/Foo_i.h108
-rw-r--r--TAO/examples/POA/TIE/Makefile71
-rw-r--r--TAO/examples/POA/TIE/TIE.dsw41
-rw-r--r--TAO/examples/POA/TIE/client.cpp229
-rw-r--r--TAO/examples/POA/TIE/client.dsp210
-rw-r--r--TAO/examples/POA/TIE/server.cpp306
-rw-r--r--TAO/examples/POA/TIE/server.dsp218
-rw-r--r--TAO/examples/POA/locking/Makefile271
-rw-r--r--TAO/examples/POA/locking/locking.cpp168
-rw-r--r--TAO/examples/POA/locking/locking.dsp99
-rw-r--r--TAO/examples/POA/locking/locking.dsw29
-rw-r--r--TAO/examples/Quoter/Factory_Finder.cpp228
-rw-r--r--TAO/examples/Quoter/Factory_Finder.dsp227
-rw-r--r--TAO/examples/Quoter/Factory_Finder.h61
-rw-r--r--TAO/examples/Quoter/Factory_Finder_i.cpp120
-rw-r--r--TAO/examples/Quoter/Factory_Finder_i.h38
-rw-r--r--TAO/examples/Quoter/Generic_Factory.cpp282
-rw-r--r--TAO/examples/Quoter/Generic_Factory.dsp227
-rw-r--r--TAO/examples/Quoter/Generic_Factory.h65
-rw-r--r--TAO/examples/Quoter/Generic_Factory_i.cpp198
-rw-r--r--TAO/examples/Quoter/Generic_Factory_i.h52
-rw-r--r--TAO/examples/Quoter/Makefile108
-rw-r--r--TAO/examples/Quoter/Quoter.dsw65
-rw-r--r--TAO/examples/Quoter/Quoter.idl133
-rw-r--r--TAO/examples/Quoter/Quoter_i.cpp348
-rw-r--r--TAO/examples/Quoter/Quoter_i.h108
-rw-r--r--TAO/examples/Quoter/README122
-rw-r--r--TAO/examples/Quoter/client.conf49
-rw-r--r--TAO/examples/Quoter/client.cpp415
-rw-r--r--TAO/examples/Quoter/client.dsp219
-rw-r--r--TAO/examples/Quoter/client.h112
-rwxr-xr-xTAO/examples/Quoter/run_test.pl243
-rw-r--r--TAO/examples/Quoter/server.conf49
-rw-r--r--TAO/examples/Quoter/server.cpp271
-rw-r--r--TAO/examples/Quoter/server.dsp228
-rw-r--r--TAO/examples/Quoter/server.h83
-rw-r--r--TAO/examples/Quoter/svc.conf49
-rwxr-xr-xTAO/examples/Quoter/testall.pl206
-rw-r--r--TAO/examples/README22
-rw-r--r--TAO/examples/Simple/Makefile26
-rw-r--r--TAO/examples/Simple/README28
-rw-r--r--TAO/examples/Simple/bank/AccountManager_i.cpp154
-rw-r--r--TAO/examples/Simple/bank/AccountManager_i.h89
-rw-r--r--TAO/examples/Simple/bank/Account_i.cpp73
-rw-r--r--TAO/examples/Simple/bank/Account_i.h77
-rw-r--r--TAO/examples/Simple/bank/Bank.idl59
-rw-r--r--TAO/examples/Simple/bank/Client_i.cpp378
-rw-r--r--TAO/examples/Simple/bank/Client_i.h132
-rw-r--r--TAO/examples/Simple/bank/Makefile1977
-rw-r--r--TAO/examples/Simple/bank/README48
-rw-r--r--TAO/examples/Simple/bank/Server_i.cpp183
-rw-r--r--TAO/examples/Simple/bank/Server_i.h86
-rw-r--r--TAO/examples/Simple/bank/client.cpp21
-rwxr-xr-xTAO/examples/Simple/bank/run_test.pl23
-rw-r--r--TAO/examples/Simple/bank/server.cpp42
-rw-r--r--TAO/examples/Simple/chat/Broadcaster.idl34
-rw-r--r--TAO/examples/Simple/chat/Broadcaster_i.cpp174
-rw-r--r--TAO/examples/Simple/chat/Broadcaster_i.h91
-rw-r--r--TAO/examples/Simple/chat/Client_i.cpp249
-rw-r--r--TAO/examples/Simple/chat/Makefile88
-rw-r--r--TAO/examples/Simple/chat/README34
-rw-r--r--TAO/examples/Simple/chat/Receiver.idl15
-rw-r--r--TAO/examples/Simple/chat/Receiver_i.cpp50
-rw-r--r--TAO/examples/Simple/chat/Receiver_i.h57
-rw-r--r--TAO/examples/Simple/chat/Server.h18
-rw-r--r--TAO/examples/Simple/chat/Server_i.cpp118
-rw-r--r--TAO/examples/Simple/chat/Server_i.h67
-rw-r--r--TAO/examples/Simple/chat/client.cpp40
-rw-r--r--TAO/examples/Simple/chat/server.cpp45
-rw-r--r--TAO/examples/Simple/echo/Client_i.cpp262
-rw-r--r--TAO/examples/Simple/echo/Client_i.h95
-rw-r--r--TAO/examples/Simple/echo/Echo.dsw41
-rw-r--r--TAO/examples/Simple/echo/Echo.idl20
-rw-r--r--TAO/examples/Simple/echo/Echo_i.cpp83
-rw-r--r--TAO/examples/Simple/echo/Echo_i.h58
-rw-r--r--TAO/examples/Simple/echo/Makefile83
-rw-r--r--TAO/examples/Simple/echo/README53
-rw-r--r--TAO/examples/Simple/echo/Server_i.cpp174
-rw-r--r--TAO/examples/Simple/echo/Server_i.h82
-rw-r--r--TAO/examples/Simple/echo/client.cpp21
-rw-r--r--TAO/examples/Simple/echo/client.dsp181
-rwxr-xr-xTAO/examples/Simple/echo/run_test.pl18
-rw-r--r--TAO/examples/Simple/echo/server.cpp41
-rw-r--r--TAO/examples/Simple/echo/server.dsp189
-rw-r--r--TAO/examples/Simple/grid/Client_i.cpp242
-rw-r--r--TAO/examples/Simple/grid/Client_i.h93
-rw-r--r--TAO/examples/Simple/grid/Grid.dsw41
-rw-r--r--TAO/examples/Simple/grid/Grid.idl53
-rw-r--r--TAO/examples/Simple/grid/Grid_i.cpp184
-rw-r--r--TAO/examples/Simple/grid/Grid_i.h112
-rw-r--r--TAO/examples/Simple/grid/Makefile83
-rw-r--r--TAO/examples/Simple/grid/Server_i.cpp114
-rw-r--r--TAO/examples/Simple/grid/Server_i.h63
-rw-r--r--TAO/examples/Simple/grid/client.cpp20
-rw-r--r--TAO/examples/Simple/grid/client.dsp201
-rwxr-xr-xTAO/examples/Simple/grid/run_test.pl23
-rw-r--r--TAO/examples/Simple/grid/server.cpp40
-rw-r--r--TAO/examples/Simple/grid/server.dsp205
-rw-r--r--TAO/examples/Simple/time/Client_i.cpp198
-rw-r--r--TAO/examples/Simple/time/Client_i.h79
-rw-r--r--TAO/examples/Simple/time/Makefile83
-rw-r--r--TAO/examples/Simple/time/README54
-rw-r--r--TAO/examples/Simple/time/Server_i.cpp120
-rw-r--r--TAO/examples/Simple/time/Server_i.h65
-rw-r--r--TAO/examples/Simple/time/Time.dsw65
-rw-r--r--TAO/examples/Simple/time/Time.idl15
-rw-r--r--TAO/examples/Simple/time/Time_i.cpp48
-rw-r--r--TAO/examples/Simple/time/Time_i.h56
-rw-r--r--TAO/examples/Simple/time/client.cpp22
-rw-r--r--TAO/examples/Simple/time/client.dsp1127
-rw-r--r--TAO/examples/Simple/time/client_static.dsp211
-rwxr-xr-xTAO/examples/Simple/time/run_test.pl23
-rw-r--r--TAO/examples/Simple/time/server.cpp42
-rw-r--r--TAO/examples/Simple/time/server.dsp1151
-rw-r--r--TAO/examples/Simple/time/server_static.dsp218
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/AnswerEvent.java23
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/AnswerListener.java18
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html30
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java47
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/DOVEBrowserApplet.java49
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/DataHandler.java34
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/DemoCore.java154
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/DemoObservable.java19
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/DoubleVisComp.java206
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/Makefile106
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java112
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/NavWeapDataHandler.java220
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/NavigationVisComp.java350
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/ObservablesDialog.java90
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/Properties.java22
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/PushConsumer.java191
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2179
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java181
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2180
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/Queue.java190
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/VisComp.java19
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/VisCompFactory.java48
-rw-r--r--TAO/examples/Simulator/DOVEBrowser/WeaponsVisComp.java144
-rwxr-xr-xTAO/examples/Simulator/DOVEBrowser/make.bat45
-rw-r--r--TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp216
-rw-r--r--TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h63
-rw-r--r--TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp419
-rw-r--r--TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp102
-rw-r--r--TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw53
-rw-r--r--TAO/examples/Simulator/DOVEMIB/DOVEMIB.h62
-rw-r--r--TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp177
-rw-r--r--TAO/examples/Simulator/DOVEMIB/Makefile1239
-rw-r--r--TAO/examples/Simulator/DOVEMIB/Node.cpp219
-rw-r--r--TAO/examples/Simulator/DOVEMIB/Node.h185
-rw-r--r--TAO/examples/Simulator/DOVEMIB/NodeVisitor.h39
-rw-r--r--TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp159
-rw-r--r--TAO/examples/Simulator/DOVEMIB/PrintVisitor.h51
-rw-r--r--TAO/examples/Simulator/DOVEMIB/TestClient.dsp167
-rw-r--r--TAO/examples/Simulator/DOVEMIB/any_test.idl11
-rw-r--r--TAO/examples/Simulator/DOVEMIB/any_test_i.cpp64
-rw-r--r--TAO/examples/Simulator/DOVEMIB/any_test_i.h42
-rw-r--r--TAO/examples/Simulator/DOVEMIB/clnt.cpp184
-rw-r--r--TAO/examples/Simulator/DOVEMIB/clnt.h62
-rw-r--r--TAO/examples/Simulator/DOVEMIB/svc.conf49
-rw-r--r--TAO/examples/Simulator/DOVEMIB/svr.cpp168
-rw-r--r--TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp238
-rw-r--r--TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h81
-rw-r--r--TAO/examples/Simulator/Event_Supplier/EDF.dat72
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Con.cpp376
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Con.h66
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp466
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp160
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw29
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Sup.h79
-rw-r--r--TAO/examples/Simulator/Event_Supplier/MLF.dat72
-rw-r--r--TAO/examples/Simulator/Event_Supplier/MUF.dat72
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Makefile1303
-rw-r--r--TAO/examples/Simulator/Event_Supplier/RMS.dat72
-rw-r--r--TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat72
-rw-r--r--TAO/examples/Simulator/Event_Supplier/svc.conf49
-rw-r--r--TAO/examples/Simulator/Makefile23
-rw-r--r--TAO/examples/Simulator/NavWeap.idl54
-rw-r--r--TAO/examples/Simulator/README179
-rw-r--r--TAO/examples/TAO_Examples.dsw293
270 files changed, 0 insertions, 36934 deletions
diff --git a/TAO/examples/Makefile b/TAO/examples/Makefile
deleted file mode 100644
index 6ec257ab88a..00000000000
--- a/TAO/examples/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-# Makefile for the TAO examples
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-DIRS = POA \
- Quoter \
- Simple
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
-
diff --git a/TAO/examples/POA/DSI/DSI.DSW b/TAO/examples/POA/DSI/DSI.DSW
deleted file mode 100644
index 81ea7e514fa..00000000000
--- a/TAO/examples/POA/DSI/DSI.DSW
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 5.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/DSI/Database.idl b/TAO/examples/POA/DSI/Database.idl
deleted file mode 100644
index ed1a44b971a..00000000000
--- a/TAO/examples/POA/DSI/Database.idl
+++ /dev/null
@@ -1,73 +0,0 @@
-// $Id$
-
-module Database
-{
- typedef unsigned long Flags;
-
- typedef string Identifier;
-
- exception Unknown_Type
- {
- string type;
- };
-
- exception Unknown_Key
- {
- string key;
- };
-
- exception Duplicate_Key
- {
- string key;
- };
-
- exception Not_Found
- {
- string key;
- };
-
- interface Entry
- {
- readonly attribute string name;
- };
-
- interface Employee : Entry
- {
- attribute long id;
- };
-
- /*
- interface Machine : Entry
- {
- attribute string make;
- };
- */
-
- struct NamedValue
- {
- Identifier name;
- any value;
- Flags flags;
- };
-
- typedef sequence<NamedValue> NVPairSequence;
-
- interface Agent
- {
- Entry create_entry (in string key,
- in Identifier entry_type,
- in NVPairSequence initial_attributes)
- raises (Unknown_Type,
- Duplicate_Key);
-
- Entry find_entry (in string key,
- in Identifier entry_type)
- raises (Unknown_Type,
- Not_Found);
-
- void destroy_entry (in string key,
- in Identifier entry_type)
- raises (Unknown_Type,
- Unknown_Key);
- };
-};
diff --git a/TAO/examples/POA/DSI/Database_i.cpp b/TAO/examples/POA/DSI/Database_i.cpp
deleted file mode 100644
index 1076bce4276..00000000000
--- a/TAO/examples/POA/DSI/Database_i.cpp
+++ /dev/null
@@ -1,325 +0,0 @@
-// $Id$
-
-#include "Database_i.h"
-
-ACE_RCSID(DSI, Database_i, "$Id$")
-
-DatabaseImpl::Simpler_Malloc::Simpler_Malloc (void)
- : MALLOC (ACE_DEFAULT_BACKING_STORE)
-{
-}
-
-DatabaseImpl::Entry::Entry (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa)
- : orb_ (CORBA::ORB::_duplicate (orb)),
- poa_ (PortableServer::POA::_duplicate (poa))
-{
-}
-
-DatabaseImpl::Entry::~Entry (void)
-{
-}
-
-void
-DatabaseImpl::Entry::invoke (CORBA::ServerRequest_ptr request,
- CORBA::Environment &env)
-{
- // Get the POA Current object reference
- CORBA::Object_var obj = this->orb_->resolve_initial_references ("POACurrent");
-
- // Narrow the object reference to a POA Current reference
- PortableServer::Current_var poa_current = PortableServer::Current::_narrow (obj.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::Current::_narrow");
- return;
- }
-
- // The servant determines the key associated with thex database entry
- // represented by self
- PortableServer::ObjectId_var oid = poa_current->get_object_id (env);
- if (env.exception () != 0)
- return;
-
- // Now convert the id into a string
- CORBA::String_var key = PortableServer::ObjectId_to_string (oid.in ());
-
- // Get the operation name for this request
- const char *operation = request->operation ();
-
- if (ACE_OS::strcmp (operation, "_is_a") == 0)
- this->_is_a (request, env);
- else
- {
- env.exception (new CORBA::NO_IMPLEMENT (CORBA::COMPLETED_NO));
- return;
- }
-}
-
-void
-DatabaseImpl::Entry::_is_a (CORBA::ServerRequest_ptr request,
- CORBA::Environment &env)
-{
- CORBA::NVList_ptr list;
- this->orb_->create_list (1, list);
-
- char *value = 0;
- CORBA::Any any_1 (CORBA::_tc_string, &value);
-
- CORBA::NamedValue_ptr named_value_1 = list->add_value ("value",
- any_1,
- CORBA::ARG_IN,
- env);
- if (env.exception () != 0)
- return;
-
- request->arguments (list,
- env);
- if (env.exception () != 0)
- return;
-
- CORBA::Boolean result;
- if (!ACE_OS::strcmp (value, "IDL:Database/Employee:1.0") ||
- !ACE_OS::strcmp (value, "IDL:Database/Entry:1.0") ||
- !ACE_OS::strcmp (value, CORBA::_tc_Object->id (env)))
- result = 1;
- else
- result = 0;
-
- CORBA::Any result_any;
- CORBA::Any::from_boolean from_boolean (result);
- result_any <<= from_boolean;
-
- request->set_result (result_any, env);
-}
-
-CORBA::RepositoryId
-DatabaseImpl::Entry::_primary_interface (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr poa,
- CORBA::Environment &env)
-{
- return 0;
-}
-
-PortableServer::POA_ptr
-DatabaseImpl::Entry::_default_POA (CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (env);
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}
-
-DatabaseImpl::Agent::Agent (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa)
- : orb_ (CORBA::ORB::_duplicate (orb)),
- poa_ (PortableServer::POA::_duplicate (poa)),
- common_servant_ (orb, poa)
-{
- CORBA::Environment env;
-
- this->poa_->set_servant (&this->common_servant_, env);
- if (env.exception () != 0)
- {
- ACE_ERROR ((LM_ERROR, "PortableServer::POA::set_servant\n"));
- ACE_OS::exit (-1);
- }
-}
-
-DatabaseImpl::Agent::~Agent (void)
-{
-}
-
-Database::Entry_ptr
-DatabaseImpl::Agent::create_entry (const char *key,
- const char *entry_type,
- const Database::NVPairSequence &initial_attributes,
- CORBA::Environment &env)
-{
- // Create a new entry in the database:
- if (ACE_OS::strcmp (entry_type, "Employee") != 0 ||
- initial_attributes.length () != 2)
- {
- CORBA::Exception *exception = new Database::Unknown_Type (entry_type);
- env.exception (exception);
- return Database::Entry::_nil ();
- }
-
- char *name = 0;
- CORBA::Long id = 0;
-
- const Database::NamedValue &first = initial_attributes[0];
- const Database::NamedValue &second = initial_attributes[1];
- if (ACE_OS::strcmp (first.name.in (), "name") != 0 ||
- ACE_OS::strcmp (second.name.in (), "id") != 0)
- {
- CORBA::Exception *exception = new Database::Unknown_Type (entry_type);
- env.exception (exception);
- return Database::Entry::_nil ();
- }
-
- first.value >>= name;
- second.value >>= id;
-
- Employee *new_employee = new Employee (name, id);
- DATABASE::instance ()->bind (key, new_employee);
-
- // creates a reference to the CORBA object used to encapsulate
- // access to the new entry in the database. There is an interface
- // for each entry type:
- PortableServer::ObjectId_var obj_id = PortableServer::string_to_ObjectId (key);
- CORBA::String_var repository_id = DatabaseImpl::entry_type_to_repository_id ("Entry");
- CORBA::Object_var obj = this->poa_->create_reference_with_id (obj_id.in (),
- repository_id.in (),
- env);
- Database::Entry_var entry = Database::Entry::_narrow (obj, env);
- if (env.exception () != 0)
- return Database::Entry::_nil ();
-
- return entry._retn ();
-}
-
-Database::Entry_ptr
-DatabaseImpl::Agent::find_entry (const char *key,
- const char *entry_type,
- CORBA::Environment &env)
-{
- if (ACE_OS::strcmp (entry_type, "Employee") != 0)
- {
- CORBA::Exception *exception = new Database::Unknown_Type (entry_type);
- env.exception (exception);
- return Database::Entry::_nil ();
- }
-
- void *temp;
- if (DATABASE::instance ()->find (key, temp) == 0)
- {
- Employee *employee = (Employee *) temp;
-
- // creates a reference to the CORBA object used to encapsulate
- // access to the new entry in the database. There is an interface
- // for each entry type:
- PortableServer::ObjectId_var obj_id = PortableServer::string_to_ObjectId (key);
- CORBA::String_var repository_id = DatabaseImpl::entry_type_to_repository_id ("Entry");
- CORBA::Object_var obj = this->poa_->create_reference_with_id (obj_id.in (),
- repository_id.in (),
- env);
- Database::Entry_var entry = Database::Entry::_narrow (obj, env);
- if (env.exception () != 0)
- return Database::Entry::_nil ();
-
- return entry._retn ();
- }
-
- else
- {
- CORBA::Exception *exception = new Database::Unknown_Key (key);
- env.exception (exception);
- return Database::Entry::_nil ();
- }
-}
-
-void
-DatabaseImpl::Agent::destroy_entry (const char *key,
- const char *entry_type,
- CORBA::Environment &env)
-{
- if (ACE_OS::strcmp (entry_type, "Employee") != 0)
- {
- CORBA::Exception *exception = new Database::Unknown_Type (entry_type);
- env.exception (exception);
- return;
- }
-
- void *temp;
- if (DATABASE::instance ()->unbind (key, temp) == 0)
- {
- Employee *employee = (Employee *) temp;
- delete employee;
- }
- else
- {
- CORBA::Exception *exception = new Database::Unknown_Key (key);
- env.exception (exception);
- return;
- }
-}
-
-PortableServer::POA_ptr
-DatabaseImpl::Agent::_default_POA (CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (env);
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}
-
-char *
-DatabaseImpl::entry_type_to_repository_id (const char *entry_type)
-{
- static const char *prefix = "IDL:Database/";
- static int prefix_length = ACE_OS::strlen (prefix);
- static const char *suffix = ":1.0";
- static int suffix_length = ACE_OS::strlen (prefix);
-
- int len =
- prefix_length +
- ACE_OS::strlen (entry_type) +
- suffix_length +
- 1;
-
- char *result = CORBA::string_alloc (len);
- ACE_OS::sprintf (result,
- "%s%s%s",
- prefix,
- entry_type,
- suffix);
- return result;
-}
-
-DatabaseImpl::Employee::Employee (const char* name,
- CORBA::Long id)
- : id_ (id),
- name_ (0)
-{
- this->name (name);
-}
-
-DatabaseImpl::Employee::~Employee (void)
-{
- DATABASE::instance ()->free (this->name_);
-}
-
-const char *
-DatabaseImpl::Employee::name (void) const
-{
- return this->name_;
-}
-
-void
-DatabaseImpl::Employee::name (const char* name)
-{
- DATABASE::instance ()->free (this->name_);
- this->name_ = (char *) DATABASE::instance ()->malloc (ACE_OS::strlen (name) + 1);
- ACE_OS::strcpy (this->name_, name);
-}
-
-CORBA::Long
-DatabaseImpl::Employee::id (void) const
-{
- return this->id_;
-}
-
-void
-DatabaseImpl::Employee::id (CORBA::Long id)
-{
- this->id_ = id;
-}
-
-void *
-DatabaseImpl::Employee::operator new (size_t size)
-{
- return DATABASE::instance ()->malloc (size);
-}
-
-void
-DatabaseImpl::Employee::operator delete (void *pointer)
-{
- DATABASE::instance ()->free (pointer);
-}
diff --git a/TAO/examples/POA/DSI/Database_i.h b/TAO/examples/POA/DSI/Database_i.h
deleted file mode 100644
index c87bf9980ea..00000000000
--- a/TAO/examples/POA/DSI/Database_i.h
+++ /dev/null
@@ -1,116 +0,0 @@
-// $Id$
-
-#include "DatabaseS.h"
-#include "ace/Malloc.h"
-
-class DatabaseImpl
-{
-public:
-
- typedef ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> MALLOC;
-
- class Simpler_Malloc : public MALLOC
- {
- public:
- Simpler_Malloc (void);
- };
-
- typedef ACE_Singleton <Simpler_Malloc, ACE_Null_Mutex> DATABASE;
- typedef ACE_Malloc_Iterator <ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> DATABASE_ITERATOR;
-
- class Entry : public PortableServer::DynamicImplementation
- {
- public:
- Entry (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa);
- ~Entry (void);
-
- virtual void invoke (CORBA::ServerRequest_ptr request,
- CORBA::Environment &env);
- // The invoke() method receives requests issued to any CORBA
- // object incarnated by the DSI servant and performs the
- // processing necessary to execute the request.
-
- virtual CORBA::RepositoryId _primary_interface (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr poa,
- CORBA::Environment &env);
- // The _primary_interface() method receives an ObjectId value and
- // a POA_ptr as input parameters and returns a valid RepositoryId
- // representing the most-derived interface for that oid.
-
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
- // Returns the default POA for this servant.
-
- virtual void _is_a (CORBA::ServerRequest_ptr request,
- CORBA::Environment &env);
- // Handles the _is_a call
-
- protected:
- CORBA::ORB_var orb_;
- // ORB (auto) pointer
-
- PortableServer::POA_var poa_;
- // Default POA
- };
-
- class Agent : public POA_Database::Agent
- {
- public:
- Agent (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa);
- ~Agent (void);
-
- virtual Database::Entry_ptr create_entry (const char *key,
- const char *entry_type,
- const Database::NVPairSequence &initial_attributes,
- CORBA::Environment &env);
-
- virtual Database::Entry_ptr find_entry (const char *key,
- const char *entry_type,
- CORBA::Environment &env);
-
- virtual void destroy_entry (const char *key,
- const char *entry_type,
- CORBA::Environment &env);
-
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
- // Returns the default POA for this servant.
-
- protected:
- Entry common_servant_;
-
- CORBA::ORB_var orb_;
- // ORB (auto) pointer
-
- PortableServer::POA_var poa_;
- // Default POA
- };
-
- static char *entry_type_to_repository_id (const char *entry_type);
-
- class Employee
- {
- public:
- Employee (const char* name,
- CORBA::Long id);
-
- ~Employee (void);
-
- const char *name (void) const;
- void name (const char* name);
-
- CORBA::Long id (void) const;
- void id (CORBA::Long id);
-
- void *operator new (size_t);
- void operator delete (void *pointer);
-
- private:
- char *name_;
- // Employee name.
-
- CORBA::Long id_;
- // Employee ID.
- };
-
-};
diff --git a/TAO/examples/POA/DSI/Makefile b/TAO/examples/POA/DSI/Makefile
deleted file mode 100644
index 08bd749d7d8..00000000000
--- a/TAO/examples/POA/DSI/Makefile
+++ /dev/null
@@ -1,60 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO
-
-IDL_SRC = DatabaseC.cpp DatabaseS.cpp
-PROG_SRCS = $(IDL_SRC) server.cpp client.cpp Database_i.cpp
-
-LSRC = $(PROG_SRCS)
-
-FILE_SVR_OBJS = DatabaseC.o DatabaseS.o server.o Database_i.o
-FILE_CLT_OBJS = DatabaseC.o DatabaseS.o client.o
-
-BIN = server client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-
-.PRECIOUS: DatabaseC.h DatabaseC.i DatabaseC.cpp DatabaseS.h DatabaseS.i DatabaseS.cpp
-
-server: $(addprefix $(VDIR),$(FILE_SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(FILE_CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf DatabaseC.* DatabaseS.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/DSI/README b/TAO/examples/POA/DSI/README
deleted file mode 100644
index 34a850ea3de..00000000000
--- a/TAO/examples/POA/DSI/README
+++ /dev/null
@@ -1,5 +0,0 @@
-$Id$
-Note: If you run the test, and nothing happens, that's a good thing. This
-is more of an example than a test, and therefore is not very
-verbose.If you pass the [-d] argument to the server, it will print out
-some generic debugging info (multiple [-d]'s alter the output).
diff --git a/TAO/examples/POA/DSI/client.cpp b/TAO/examples/POA/DSI/client.cpp
deleted file mode 100644
index 88472c14903..00000000000
--- a/TAO/examples/POA/DSI/client.cpp
+++ /dev/null
@@ -1,169 +0,0 @@
-// $Id$
-
-//===================================================================
-// = LIBRARY
-// TAO/tests/POA/DSI/client
-//
-// = FILENAME
-// client.cpp
-//
-// = DESCRIPTION
-// A client program for the Database IDL module
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//====================================================================
-
-#include "ace/Get_Opt.h"
-#include "ace/Read_Buffer.h"
-#include "DatabaseC.h"
-
-ACE_RCSID(DSI, client, "$Id$")
-
-static char *ior = 0;
-static char *iorfile = 0;
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "k:d");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'k':
- iorfile = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'd':
- TAO_debug_level++;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- "[-k <iorfile>]"
- "\n",
- argv [0]),
- -1);
- }
-
- if (iorfile == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Please specify the IOR for the servant\n"), -1);
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Parse the command-line arguments to get the location of the IOR
- if (parse_args (argc, argv) == -1)
- return -1;
-
- // Read the file, and get the IOR
- ACE_HANDLE input_file = ACE_OS::open (iorfile, 0);
- if (input_file == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_DEBUG,
- "Cannot open input file for reading IOR: %s\n",
- iorfile),
- -1);
- ACE_Read_Buffer ior_buffer (input_file);
- char *data = ior_buffer.read ();
- if (data == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior\n"),
- -1);
- ior = ACE_OS::strdup (data);
- ior_buffer.alloc ()-> free (data);
- ACE_OS::close (input_file);
-
- // Get the object reference with the IOR
- CORBA::Object_var object = orb->string_to_object (ior, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::string_to_object");
- return -1;
- }
-
- // Narrow the object reference to a Database::Agent
- Database::Agent_var database_agent = Database::Agent::_narrow (object.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("Database::Agent::_narrow");
- return -1;
- }
-
- Database::NVPairSequence employee_attributes (2);
- employee_attributes.length (2);
-
- Database::NamedValue &first = employee_attributes[0];
- Database::NamedValue &second = employee_attributes[1];
-
- char *name = "irfan";
- CORBA::Long id = 555;
-
- first.name = CORBA::string_dup ("name");
- first.value <<= name;
- second.name = CORBA::string_dup ("id");
- second.value <<= id;
-
- // Create an employee
- Database::Entry_var entry = database_agent->create_entry ("irfan",
- "Employee",
- employee_attributes,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("Database::Agent::create_entry");
- return -1;
- }
-
- Database::Employee_var employee = Database::Employee::_narrow (entry.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("Database::Employee::_narrow");
- return -1;
- }
-
- /*
- *
- * NOT IMPLEMENTED YET
- *
- *
- */
-
-#if 0
- // Reset the id
- employee->id (666, env);
- if (env.exception () != 0)
- {
- env.print_exception ("Database::Employee::id");
- return -1;
- }
-#endif /* 0 */
-
- // Destroy the employee
- database_agent->destroy_entry ("irfan",
- "Employee",
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("Database::Entry::destroy");
- return -1;
- }
-
- return 0;
-}
diff --git a/TAO/examples/POA/DSI/client.dsp b/TAO/examples/POA/DSI/client.dsp
deleted file mode 100644
index 42bc61d8041..00000000000
--- a/TAO/examples/POA/DSI/client.dsp
+++ /dev/null
@@ -1,209 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA DSI Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA DSI Client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="POA DSI Client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA DSI Client - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "POA DSI Client - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA DSI Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /out:"Release/client.exe" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA DSI Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA DSI Client - Win32 Release"
-# Name "POA DSI Client - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\DatabaseC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\DatabaseS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\DatabaseC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\DatabaseS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\DatabaseS_T.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Database.idl
-
-!IF "$(CFG)" == "POA DSI Client - Win32 Release"
-
-USERDEP__DATAB="..\..\..\tao_idl\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Database.idl
-InputName=Database
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputPath)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA DSI Client - Win32 Debug"
-
-USERDEP__DATAB="..\..\..\tao_idl\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Database.idl
-InputName=Database
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/DSI/run_test.pl b/TAO/examples/POA/DSI/run_test.pl
deleted file mode 100755
index 77416e8c4b5..00000000000
--- a/TAO/examples/POA/DSI/run_test.pl
+++ /dev/null
@@ -1,21 +0,0 @@
-#$Id$
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-unshift @INC, '../../../../bin';
-require ACEutils;
-
-$iorfile = "server.ior";
-$SV = Process::Create ("server$Process::EXE_EXT", " -o $iorfile");
-
-ACE::waitforfile ($iorfile);
-
-$status = system ("client$Process::EXE_EXT -k $iorfile");
-
-$SV->Kill (); $SV->Wait ();
-
-unlink $iorfile;
-
-exit $status;
diff --git a/TAO/examples/POA/DSI/server.cpp b/TAO/examples/POA/DSI/server.cpp
deleted file mode 100644
index 3d1d3536b1a..00000000000
--- a/TAO/examples/POA/DSI/server.cpp
+++ /dev/null
@@ -1,234 +0,0 @@
-// $Id$
-
-//===================================================================
-// = LIBRARY
-// TAO/tests/POA/Default_Servant/server
-//
-// = FILENAME
-// server.cpp
-//
-// = DESCRIPTION
-// A server program for the File IDL module
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//====================================================================
-
-#include "Database_i.h"
-
-ACE_RCSID(DSI, server, "$Id$")
-
-static char *ior_output_file = 0;
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "o:d");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'o':
- ior_output_file = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'd':
- TAO_debug_level++;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s "
- "[-oior_output_file]"
- "[-d]"
- "\n",
- argv [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- int result = parse_args (argc, argv);
- if (result != 0)
- return result;
-
- // Get the Root POA object reference
- CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA");
-
- // Narrow the object reference to a POA reference
- PortableServer::POA_var root_poa = PortableServer::POA::_narrow (obj.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- PortableServer::POAManager_var poa_manager = root_poa->the_POAManager (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::the_POAManager");
- return -1;
- }
-
- CORBA::PolicyList policies (5);
- policies.length (5);
-
- // ID Assignment Policy
- policies[0] =
- root_poa->create_id_assignment_policy (PortableServer::USER_ID, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_id_assignment_policy");
- return -1;
- }
-
- // Lifespan Policy
- policies[1] =
- root_poa->create_lifespan_policy (PortableServer::PERSISTENT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_lifespan_policy");
- return -1;
- }
-
- // Request Processing Policy
- policies[2] =
- root_poa->create_request_processing_policy (PortableServer::USE_DEFAULT_SERVANT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_request_processing_policy");
- return -1;
- }
-
- // Servant Retention Policy
- policies[3] =
- root_poa->create_servant_retention_policy (PortableServer::RETAIN, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_servant_retention_policy");
- return -1;
- }
-
- // Id Uniqueness Policy
- policies[4] =
- root_poa->create_id_uniqueness_policy (PortableServer::MULTIPLE_ID, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_id_uniqueness_policy");
- return -1;
- }
-
- ACE_CString name = "firstPOA";
- PortableServer::POA_var first_poa = root_poa->create_POA (name.c_str (),
- poa_manager.in (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- for (CORBA::ULong i = 0;
- i < policies.length () && env.exception () == 0;
- ++i)
- {
- CORBA::Policy_ptr policy = policies[i];
- policy->destroy (env);
- }
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Create a Database Agent Implementation object in first_poa
- DatabaseImpl::Agent database_agent_impl (orb.in (),
- first_poa.in ());
-
- PortableServer::ObjectId_var database_agent_oid =
- PortableServer::string_to_ObjectId ("DatabaseAgent");
-
- first_poa->activate_object_with_id (database_agent_oid.in (),
- &database_agent_impl,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::activate_object_with_id");
- return -1;
- }
-
- CORBA::Object_var database_agent =
- first_poa->id_to_reference (database_agent_oid.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::id_to_reference");
- return -1;
- }
- // Get the IOR for the "DatabaseAgent" object
- CORBA::String_var database_agent_ior =
- orb->object_to_string (database_agent.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,"%s\n",
- database_agent_ior.in ()));
-
- // If the ior_output_file exists, output the ior to it
- if (ior_output_file != 0)
- {
- FILE *output_file= ACE_OS::fopen (ior_output_file, "w");
- if (output_file == 0)
- ACE_ERROR_RETURN ((LM_DEBUG, "Cannot open output file for writing IOR: %s",
- ior_output_file),
- -1);
- ACE_OS::fprintf (output_file, "%s", database_agent_ior.in ());
- ACE_OS::fclose (output_file);
- }
-
- // set the state of the poa_manager to active i.e ready to process requests
- poa_manager->activate (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::activate");
- return -1;
- }
-
- // Run the ORB
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1);
-
- // Destroy the rootPOA and its children
- root_poa->destroy (1,
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
- return 0;
-}
-
-
diff --git a/TAO/examples/POA/DSI/server.dsp b/TAO/examples/POA/DSI/server.dsp
deleted file mode 100644
index 7cc1fd71e25..00000000000
--- a/TAO/examples/POA/DSI/server.dsp
+++ /dev/null
@@ -1,206 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA DSI Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA DSI Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="POA DSI Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA DSI Server - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA DSI Server - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA DSI Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA DSI Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA DSI Server - Win32 Release"
-# Name "POA DSI Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ".cpp"
-# Begin Source File
-
-SOURCE=.\Database_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\DatabaseC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\DatabaseS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ".h"
-# Begin Source File
-
-SOURCE=.\Database_i.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ".idl"
-# Begin Source File
-
-SOURCE=.\Database.idl
-
-!IF "$(CFG)" == "POA DSI Server - Win32 Release"
-
-USERDEP__DATAB="..\..\..\tao_idl\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Database.idl
-InputName=Database
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputPath)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA DSI Server - Win32 Debug"
-
-USERDEP__DATAB="..\..\..\tao_idl\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Database.idl
-InputName=Database
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/Default_Servant/Default_Servant.dsw b/TAO/examples/POA/Default_Servant/Default_Servant.dsw
deleted file mode 100644
index d17cf7c9604..00000000000
--- a/TAO/examples/POA/Default_Servant/Default_Servant.dsw
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/Default_Servant/File.idl b/TAO/examples/POA/Default_Servant/File.idl
deleted file mode 100644
index 0caa3792c23..00000000000
--- a/TAO/examples/POA/Default_Servant/File.idl
+++ /dev/null
@@ -1,52 +0,0 @@
-// $Id$
-
-//=================================================================
-//
-// = FILENAME
-// File.idl
-//
-// = DESCRIPTION
-// A simple File Descriptor and File System IDL interface.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//==================================================================
-
-// IDL
-
-module File
-{
- exception IOError
- {
- long error;
- };
-
- interface Descriptor
- {
- typedef sequence<octet> DataBuffer;
-
- // write buffer to File
- long write (in DataBuffer buffer)
- raises (IOError);
-
- // read num_bytes to DataBuffer
- DataBuffer read (in long num_bytes)
- raises (IOError);
-
- // seek to offset in File from whence
- unsigned long lseek (in unsigned long offset,
- in long whence)
- raises (IOError);
-
- // destroy the descriptor
- void destroy ();
- };
-
- interface System
- {
- // File open operation
- Descriptor open (in string file_name, in long flags)
- raises (IOError);
- };
-};
diff --git a/TAO/examples/POA/Default_Servant/File_i.cpp b/TAO/examples/POA/Default_Servant/File_i.cpp
deleted file mode 100644
index 3e4fc0f883f..00000000000
--- a/TAO/examples/POA/Default_Servant/File_i.cpp
+++ /dev/null
@@ -1,223 +0,0 @@
-// $Id$
-
-//===================================================================
-//
-// = FILENAME
-// File_i.cpp
-//
-// = DESCRIPTION
-// Implementation of the File IDL module and the interfaces
-// Descriptor and System in it.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//====================================================================
-
-#include "File_i.h"
-
-ACE_RCSID(Default_Servant, File_i, "$Id$")
-
-// IDL File::System constructor
-FileImpl::System::System (PortableServer::POA_ptr poa)
- : poa_ (PortableServer::POA::_duplicate (poa)),
- // Create the Default Descriptor Servant
- fd_servant_ (poa)
-{
- CORBA::Environment env;
- // set the default servant of the POA
- poa->set_servant (&this->fd_servant_, env);
- ACE_ASSERT (env.exception () == 0);
-}
-
-FileImpl::System::~System (void)
-{
-}
-
-PortableServer::POA_ptr
-FileImpl::System::_default_POA (CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (env);
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}
-
-File::Descriptor_ptr
-FileImpl::System::open (const char *file_name,
- CORBA::Long flags,
- CORBA::Environment &env)
-{
- // Do an ACE_OS::open
- ACE_HANDLE file_descriptor = ACE_OS::open (file_name,
- flags);
-
- if (file_descriptor == ACE_INVALID_HANDLE)
- {
- CORBA::Exception *exception = new File::IOError (errno);
- env.exception (exception);
- return 0;
- }
-
- char file_descriptor_buffer[BUFSIZ];
-
- // convert ACE_HANDLE to a string
- ACE_OS::sprintf (file_descriptor_buffer,
- "%ld",
- (CORBA::Long) file_descriptor);
-
- //Create an objectID from the ACE_HANDLE string
- PortableServer::ObjectId_var oid =
- PortableServer::string_to_ObjectId (file_descriptor_buffer);
-
- // create an object reference with the specified ObjectID got
- // from ACE_HANDLE string
- CORBA::Object_var obj =
- this->poa_->create_reference_with_id (oid.in (),
- "IDL:File/Descriptor:1.0",
- env);
- if (env.exception () != 0)
- return File::Descriptor::_nil ();
-
- // Narrow the object reference to a File Descriptor
- File::Descriptor_var fd =
- File::Descriptor::_narrow (obj.in (), env);
-
- if (env.exception () != 0)
- return File::Descriptor::_nil ();
-
- return fd._retn ();
-}
-
-// IDL File::Descriptor constructor
-FileImpl::Descriptor::Descriptor (PortableServer::POA_ptr poa)
- : poa_ (PortableServer::POA::_duplicate (poa))
-{
-}
-
-FileImpl::Descriptor::~Descriptor (void)
-{
-}
-
-PortableServer::POA_ptr
-FileImpl::Descriptor::_default_POA (CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (env);
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}
-
-//Extracts the ACE_HANDLE from the passed object reference
-ACE_HANDLE
-FileImpl::Descriptor::fd (CORBA::Environment &env)
-{
- // Get a reference to myself
- File::Descriptor_var me = this->_this (env);
-
- if (env.exception () != 0)
- return ACE_INVALID_HANDLE;
-
- // Get the ObjectId from the reference
- PortableServer::ObjectId_var oid =
- this->poa_->reference_to_id (me.in (), env);
-
- if (env.exception () != 0)
- return ACE_INVALID_HANDLE;
-
- // Convert the ObjectId to a string
- CORBA::String_var s =
- PortableServer::ObjectId_to_string (oid.in ());
-
- // Get the ACE_HANDLE from the string
- return (ACE_HANDLE) ::atol (s.in ());
-}
-
-CORBA::Long
-FileImpl::Descriptor::write (const File::Descriptor::DataBuffer &buffer,
- CORBA::Environment &env)
-{
- ACE_HANDLE file_descriptor = this->fd (env);
-
- if (env.exception () != 0)
- return 0;
-
- const CORBA::Octet *data = &buffer[0];
-
- ssize_t len = ACE_OS::write (file_descriptor,
- data,
- buffer.length ());
- if (len > 0)
- return len;
- else
- {
- CORBA::Exception *exception = new File::IOError (errno);
- env.exception (exception);
- return 0;
- }
-}
-
-File::Descriptor::DataBuffer *
-FileImpl::Descriptor::read (CORBA::Long num_bytes,
- CORBA::Environment &env)
-{
- ACE_HANDLE file_descriptor = this->fd (env);
-
- if (env.exception () != 0)
- return 0;
-
- CORBA::Octet *buffer = File::Descriptor::DataBuffer::allocbuf (num_bytes);
- int length = ACE_OS::read (file_descriptor, buffer, num_bytes);
-
- if (length > 0)
- return new File::Descriptor::DataBuffer (length,
- length,
- buffer,
- 1);
- else
- {
- File::Descriptor::DataBuffer::freebuf (buffer);
- CORBA::Exception *exception = new File::IOError (errno);
- env.exception (exception);
- return 0;
- }
-}
-
-CORBA::ULong
-FileImpl::Descriptor::lseek (CORBA::ULong offset,
- CORBA::Long whence,
- CORBA::Environment &env)
-{
- ACE_HANDLE file_descriptor = this->fd (env);
-
- if (env.exception () != 0)
- return 0;
-
- CORBA::Long result = (CORBA::Long) ACE_OS::lseek (file_descriptor,
- offset,
- whence);
- if (result == -1)
- {
- CORBA::Exception *exception = new File::IOError (errno);
- env.exception (exception);
- return 0;
- }
- else
- return (CORBA::ULong) result;
-}
-
-void
-FileImpl::Descriptor::destroy (CORBA::Environment &env)
-{
- // Get the ACE_HANDLE for this object reference
- ACE_HANDLE file_descriptor = this->fd (env);
-
- if (env.exception () != 0)
- return;
-
- //close the file corresponding to this object reference
- int result = ACE_OS::close (file_descriptor);
-
- if (result != 0)
- {
- CORBA::Exception *exception = new File::IOError (errno);
- env.exception (exception);
- return;
- }
-}
diff --git a/TAO/examples/POA/Default_Servant/File_i.h b/TAO/examples/POA/Default_Servant/File_i.h
deleted file mode 100644
index 4ebbccea87b..00000000000
--- a/TAO/examples/POA/Default_Servant/File_i.h
+++ /dev/null
@@ -1,89 +0,0 @@
-// $Id$
-//===================================================================
-//
-// = FILENAME
-// File_i.h
-//
-// = DESCRIPTION
-// Defines the implementation classes for the File IDL
-// module
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//====================================================================
-
-
-
-#include "FileS.h"
-
-class FileImpl
-// FileImpl class provides the namespace for the File IDL module .
-{
-public:
- class Descriptor : public POA_File::Descriptor
- // Descriptor implements the Descriptor interface in the File Module
- // A single Descriptor servant can serve multiple object references
- {
- public:
- //Constructor
- Descriptor (PortableServer::POA_ptr poa);
-
- //Destructor
- ~Descriptor (void);
-
- // Returns the default POA of this object
- PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
-
- // write buffer to File corresponding to this Descriptor
- virtual CORBA::Long write (const File::Descriptor::DataBuffer &buffer,
- CORBA::Environment &env);
-
- // Reads num_bytes from the file and returns it
- virtual File::Descriptor::DataBuffer *read (CORBA::Long num_bytes,
- CORBA::Environment &env);
- // seek to the offset in file from whence
- virtual CORBA::ULong lseek (CORBA::ULong offset,
- CORBA::Long whence,
- CORBA::Environment &env);
-
- // closes the file corresponding to the requested ObjectID
- virtual void destroy (CORBA::Environment &env);
-
- private:
-
- // Extracts the ACE_HANDLE from the objectID
- ACE_HANDLE fd (CORBA::Environment &env);
-
- PortableServer::POA_var poa_;
- };
-
- class System : public POA_File::System
- // File System implementation class
- {
- public:
- // Constructor, Creates a single File Descriptor Servant and
- // registers it with the POA as the Default Servant
- System (PortableServer::POA_ptr poa);
-
- //Destructor
- ~System (void);
-
- //Returns the default POA of this object
- PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
-
- //Opens a file ,creates a Descriptor reference with the ACE_HANDLE
- // and returns that reference
- File::Descriptor_ptr open (const char *file_name,
- CORBA::Long flags,
- CORBA::Environment &env);
-
- private:
- PortableServer::POA_var poa_;
-
- // The single File Descriptor servant which serves requests for any
- // Descriptor object under poa_.
- Descriptor fd_servant_;
- };
-};
-
diff --git a/TAO/examples/POA/Default_Servant/Makefile b/TAO/examples/POA/Default_Servant/Makefile
deleted file mode 100644
index 203724a85f9..00000000000
--- a/TAO/examples/POA/Default_Servant/Makefile
+++ /dev/null
@@ -1,60 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO
-
-IDL_SRC = FileC.cpp FileS.cpp
-PROG_SRCS = $(IDL_SRC) server.cpp client.cpp File_i.cpp
-
-LSRC = $(PROG_SRCS)
-
-FILE_SVR_OBJS = FileC.o FileS.o server.o File_i.o
-FILE_CLT_OBJS = FileC.o FileS.o client.o
-
-BIN = server client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-
-.PRECIOUS: FileC.h FileC.i FileC.cpp FileS.h FileS.i FileS.cpp
-
-server: $(addprefix $(VDIR),$(FILE_SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(FILE_CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf FileC.* FileS.* FileS_T.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/Default_Servant/README b/TAO/examples/POA/Default_Servant/README
deleted file mode 100644
index d64c59dbe80..00000000000
--- a/TAO/examples/POA/Default_Servant/README
+++ /dev/null
@@ -1,45 +0,0 @@
-// $Id$
-
-
-Default_Servants
-================
-
- By using the USE_DEFAULT_SERVANT policy, the developer can create
- a POA that will use a single servant to implement all of its objects.
- This approach is useful when there is very little data associated
- with each object, so little that the data can be encoded in the
- Object Id.
-
-Example:
-=======
- In the example implementation a Single Servant is enough to
- serve requests for a File Descriptor interface. The Object Id of the
- Descriptor objects are formed from the file handle returned by the
- System call. The servant can get the file handle from the object
- reference to process the request. Thus a single Descriptor servant
- can serve multiple objects.
-
-SERVER:
-======
-
- 1. To run the server, type
-
- % server [-ORBport port] [-ORBobjrefstyle URL] [-ORBhost host]
-
-CLIENT:
-======
- The client tries to create a file "test" and writes a message to
- the file and reads it back and prints it.
-
- 1. To run the client, type
-
- % client -k IOR
-
- where the IOR is got from the server output.
-
-
-
-
-
-
-
diff --git a/TAO/examples/POA/Default_Servant/client.cpp b/TAO/examples/POA/Default_Servant/client.cpp
deleted file mode 100644
index 54d90f9acdc..00000000000
--- a/TAO/examples/POA/Default_Servant/client.cpp
+++ /dev/null
@@ -1,175 +0,0 @@
-// $Id$
-
-//===================================================================
-// = LIBRARY
-// TAO/tests/POA/Default_Servant/client
-//
-// = FILENAME
-// client.cpp
-//
-// = DESCRIPTION
-// A client program for the File IDL module
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//====================================================================
-
-#include "ace/streams.h"
-#include "ace/Get_Opt.h"
-#include "ace/Read_Buffer.h"
-#include "ace/OS.h"
-#include "FileC.h"
-
-ACE_RCSID(Default_Servant, client, "$Id$")
-
-static char *iorfile = 0;
-static char *filename = "test";
-static char *message = "POA rules!!";
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "dk:f:m:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd':
- TAO_debug_level++;
- break;
- case 'k':
- iorfile = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'f':
- filename = get_opts.optarg;
- break;
- case 'm':
- message = get_opts.optarg;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- "[-k <iorfile>]"
- "[-f <filename>]"
- "[-m <message>]"
- "\n",
- argv [0]),
- -1);
- }
-
- if (iorfile == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Please specify the IOR for the servant"), -1);
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
- char* ior=0;
- // Initialize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Parse the command-line arguments to get the IOR
- parse_args (argc, argv);
-
- // parse args should catch this, but just in case...
- if (iorfile == 0)
- return 0;
-
- // Read the file, and get the IOR
- ACE_HANDLE input_file = ACE_OS::open (iorfile, 0);
- if (input_file == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_DEBUG,
- "Cannot open input file for reading IOR: %s\n",
- iorfile),
- -1);
- ACE_Read_Buffer ior_buffer (input_file);
- char *data = ior_buffer.read ();
- if (data == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior\n"),
- -1);
- ior = ACE_OS::strdup (data);
- ior_buffer.alloc ()-> free (data);
- ACE_OS::close (input_file);
-
- CORBA::Object_var object = orb->string_to_object (ior, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::string_to_object");
- return -1;
- }
-
- // Narrow the object reference to a File::System
- File::System_var file_system = File::System::_narrow (object.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("File::System::_narrow");
- return -1;
- }
-
- // Creat the file filename i.e "test"
- File::Descriptor_var fd = file_system->open (filename, O_CREAT | O_RDWR, env);
- if (env.exception () != 0)
- {
- env.print_exception ("File::System::open");
- return -1;
- }
-
- int message_length = ACE_OS::strlen (message) + 1;
- CORBA::Octet *buffer = File::Descriptor::DataBuffer::allocbuf (message_length);
- ACE_OS::strcpy ((char *) buffer, message);
- File::Descriptor::DataBuffer data_sent (message_length, message_length, buffer, 1);
-
- // write the message to the file
- fd->write (data_sent, env);
- if (env.exception () != 0)
- {
- env.print_exception ("File::Descriptor::write");
- return -1;
- }
-
- //seek to the beginning of the file
- fd->lseek (0, SEEK_SET, env);
- if (env.exception () != 0)
- {
- env.print_exception ("File::Descriptor::lseek");
- return -1;
- }
-
- // Read back the written message
- File::Descriptor::DataBuffer_var data_received = fd->read (message_length, env);
- if (env.exception () != 0)
- {
- env.print_exception ("File::Descriptor::read");
- return -1;
- }
-
- char *result = (char *) &data_received[0];
-
- // print the read message
- ACE_DEBUG((LM_DEBUG,"%s\n",
- result));
-
- // close the file
- fd->destroy (env);
- if (env.exception () != 0)
- {
- env.print_exception ("File::Descriptor::destroy");
- return -1;
- }
-
- return 0;
-}
diff --git a/TAO/examples/POA/Default_Servant/client.dsp b/TAO/examples/POA/Default_Servant/client.dsp
deleted file mode 100644
index 64b760e0600..00000000000
--- a/TAO/examples/POA/Default_Servant/client.dsp
+++ /dev/null
@@ -1,210 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA Default Servant Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA Default Servant Client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="POA Default Servant Client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA Default Servant Client - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA Default Servant Client - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA Default Servant Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA Default Servant Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "client__"
-# PROP BASE Intermediate_Dir "client__"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA Default Servant Client - Win32 Release"
-# Name "POA Default Servant Client - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ".cpp"
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ".h"
-# Begin Source File
-
-SOURCE=.\FileC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileS_T.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ".idl"
-# Begin Source File
-
-SOURCE=.\File.idl
-
-!IF "$(CFG)" == "POA Default Servant Client - Win32 Release"
-
-USERDEP__FILE_="..\..\..\tao_idl\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\File.idl
-InputName=File
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputPath)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA Default Servant Client - Win32 Debug"
-
-USERDEP__FILE_="..\..\..\tao_idl\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\File.idl
-InputName=File
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/Default_Servant/run_test.pl b/TAO/examples/POA/Default_Servant/run_test.pl
deleted file mode 100755
index 77416e8c4b5..00000000000
--- a/TAO/examples/POA/Default_Servant/run_test.pl
+++ /dev/null
@@ -1,21 +0,0 @@
-#$Id$
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-unshift @INC, '../../../../bin';
-require ACEutils;
-
-$iorfile = "server.ior";
-$SV = Process::Create ("server$Process::EXE_EXT", " -o $iorfile");
-
-ACE::waitforfile ($iorfile);
-
-$status = system ("client$Process::EXE_EXT -k $iorfile");
-
-$SV->Kill (); $SV->Wait ();
-
-unlink $iorfile;
-
-exit $status;
diff --git a/TAO/examples/POA/Default_Servant/server.cpp b/TAO/examples/POA/Default_Servant/server.cpp
deleted file mode 100644
index 856fe6a9d50..00000000000
--- a/TAO/examples/POA/Default_Servant/server.cpp
+++ /dev/null
@@ -1,235 +0,0 @@
-// $Id$
-
-//===================================================================
-// = LIBRARY
-// TAO/tests/POA/Default_Servant/server
-//
-// = FILENAME
-// server.cpp
-//
-// = DESCRIPTION
-// A server program for the File IDL module
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//====================================================================
-
-
-#include "ace/streams.h"
-#include "File_i.h"
-
-ACE_RCSID(Default_Servant, server, "$Id$")
-
-static char *ior_output_file = 0;
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "o:d");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'o':
- ior_output_file = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'd':
- TAO_debug_level++;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s "
- "[-oior_output_file]"
- "[-d]"
- "\n",
- argv [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- int result = parse_args (argc, argv);
- if (result != 0)
- return result;
-
- // Get the Root POA object reference
- CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA");
-
- // Narrow the object reference to a POA reference
- PortableServer::POA_var root_poa = PortableServer::POA::_narrow (obj.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- PortableServer::POAManager_var poa_manager = root_poa->the_POAManager (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::the_POAManager");
- return -1;
- }
-
- CORBA::PolicyList policies (5);
- policies.length (5);
-
- // ID Assignment Policy
- policies[0] =
- root_poa->create_id_assignment_policy (PortableServer::USER_ID, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_id_assignment_policy");
- return -1;
- }
-
- // Lifespan Policy
- policies[1] =
- root_poa->create_lifespan_policy (PortableServer::PERSISTENT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_lifespan_policy");
- return -1;
- }
-
- // Request Processing Policy
- policies[2] =
- root_poa->create_request_processing_policy (PortableServer::USE_DEFAULT_SERVANT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_request_processing_policy");
- return -1;
- }
-
- // Servant Retention Policy
- policies[3] =
- root_poa->create_servant_retention_policy (PortableServer::RETAIN, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_servant_retention_policy");
- return -1;
- }
-
- // Id Uniqueness Policy
- policies[4] =
- root_poa->create_id_uniqueness_policy (PortableServer::MULTIPLE_ID, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_id_uniqueness_policy");
- return -1;
- }
-
- ACE_CString name = "firstPOA";
- PortableServer::POA_var first_poa = root_poa->create_POA (name.c_str (),
- poa_manager.in (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- for (CORBA::ULong i = 0;
- i < policies.length () && env.exception () == 0;
- ++i)
- {
- CORBA::Policy_ptr policy = policies[i];
- policy->destroy (env);
- }
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Create a File System Implementation object in first_poa
- FileImpl::System file_system_impl (first_poa.in ());
-
- PortableServer::ObjectId_var file_system_oid =
- PortableServer::string_to_ObjectId ("FileSystem");
-
- first_poa->activate_object_with_id (file_system_oid.in (),
- &file_system_impl,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::activate_object_with_id");
- return -1;
- }
-
- CORBA::Object_var file_system =
- first_poa->id_to_reference (file_system_oid.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::id_to_reference");
- return -1;
- }
- // Get the IOR for the "FileSystem" object
- CORBA::String_var file_system_ior =
- orb->object_to_string (file_system.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,"%s\n",
- file_system_ior.in ()));
-
- // If the ior_output_file exists, output the ior to it
- if (ior_output_file != 0)
- {
- FILE *output_file= ACE_OS::fopen (ior_output_file, "w");
- if (output_file == 0)
- ACE_ERROR_RETURN ((LM_DEBUG, "Cannot open output file for writing IOR: %s",
- ior_output_file),
- -1);
- ACE_OS::fprintf (output_file, "%s", file_system_ior.in ());
- ACE_OS::fclose (output_file);
- }
-
- // set the state of the poa_manager to active i.e ready to process requests
- poa_manager->activate (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::activate");
- return -1;
- }
-
- // Run the ORB
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1);
-
- // Destroy the rootPOA and its children
- root_poa->destroy (1,
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
- return 0;
-}
-
-
diff --git a/TAO/examples/POA/Default_Servant/server.dsp b/TAO/examples/POA/Default_Servant/server.dsp
deleted file mode 100644
index 80a536a290e..00000000000
--- a/TAO/examples/POA/Default_Servant/server.dsp
+++ /dev/null
@@ -1,218 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA Default Servant Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA Default Servant Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="POA Default Servant Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA Default Servant Server - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA Default Servant Server - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA Default Servant Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 tao.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA Default Servant Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA Default Servant Server - Win32 Release"
-# Name "POA Default Servant Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ".cpp"
-# Begin Source File
-
-SOURCE=.\File_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ".h"
-# Begin Source File
-
-SOURCE=.\File_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FileS_T.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\File.idl
-
-!IF "$(CFG)" == "POA Default Servant Server - Win32 Release"
-
-USERDEP__FILE_="..\..\..\tao_idl\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\File.idl
-InputName=File
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputPath)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA Default Servant Server - Win32 Debug"
-
-USERDEP__FILE_="..\..\..\tao_idl\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\File.idl
-InputName=File
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/Default_Servant/svc.conf b/TAO/examples/POA/Default_Servant/svc.conf
deleted file mode 100644
index 43c6a486c92..00000000000
--- a/TAO/examples/POA/Default_Servant/svc.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"
diff --git a/TAO/examples/POA/Default_Servant/test b/TAO/examples/POA/Default_Servant/test
deleted file mode 100644
index 09ab97bfb35..00000000000
--- a/TAO/examples/POA/Default_Servant/test
+++ /dev/null
@@ -1 +0,0 @@
-POA rules!! \ No newline at end of file
diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsp b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsp
deleted file mode 100644
index 23b09a5d323..00000000000
--- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsp
+++ /dev/null
@@ -1,63 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Alt_Resource_Factory" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=Alt_Resource_Factory - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Alt_Resource_Factory.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Alt_Resource_Factory.mak"\
- CFG="Alt_Resource_Factory - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Alt_Resource_Factory - Win32 Debug" (based on\
- "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\.." /I "..\..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D Alt_Resource_Factory_HAS_DLL=1 /D "Alt_Resource_Factory_BUILD_DLL" /YX /FD /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"Alt_Resource_Factoryd.dll" /pdbtype:sept /libpath:"..\..\..\..\tao" /libpath:"..\..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-# Begin Target
-
-# Name "Alt_Resource_Factory - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\Resource_Factory.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsw b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsw
deleted file mode 100644
index 28c9298ddab..00000000000
--- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Alt_Resource_Factory"=.\Alt_Resource_Factory.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.h b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.h
deleted file mode 100644
index 3cc3721c274..00000000000
--- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Alt_Resource_Factory.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// $Id$
-
-// Definition for Win32 Export directives.
-// This file is generated automatically by
-// ${ACE_ROOT}/GenExportH.BAT
-// ------------------------------
-#if !defined (Alt_Resource_Factory_EXPORT_H)
-#define Alt_Resource_Factory_EXPORT_H
-
-#include "ace/OS.h"
-
-#if defined (Alt_Resource_Factory_HAS_DLL)
-# if (Alt_Resource_Factory_HAS_DLL == 1)
-# if defined (Alt_Resource_Factory_BUILD_DLL)
-# define Alt_Resource_Factory_Export ACE_Proper_Export_Flag
-# define Alt_Resource_Factory_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
-# else
-# define Alt_Resource_Factory_Export ACE_Proper_Import_Flag
-# define Alt_Resource_Factory_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
-# endif /* Alt_Resource_Factory_BUILD_DLL */
-# else
-# define Alt_Resource_Factory_Export
-# define Alt_Resource_Factory_SINGLETON_DECLARATION(T)
-# endif /* ! Alt_Resource_Factory_HAS_DLL == 1 */
-#else
-# define Alt_Resource_Factory_Export
-# define Alt_Resource_Factory_SINGLETON_DECLARATION(T)
-#endif /* Alt_Resource_Factory_HAS_DLL */
-
-#endif /* Alt_Resource_Factory_EXPORT_H */
-
-// End of auto generated file.
diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/README b/TAO/examples/POA/Explicit_Activation/Alt_Resources/README
deleted file mode 100644
index 9d8ca43abec..00000000000
--- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/README
+++ /dev/null
@@ -1,14 +0,0 @@
-This module shows how to modify the default TAO Resource Factory to do
-something user specific. In this example, the reactor() accessor is
-modified to provide the ORB with an instance of the WFMO_Reactor
-instead of the regular Select_Reactor.
-
-To use this altered resource factory in the Explicit_Activation
-example, please specify the -ORBsvcconf alternate.conf as a additional
-parameter to the server at start up.
-
-Note: Use of WFMO_Reactor is only for demonstration. In general,
-WFMO_Reactor will not work for TAO as it cannot handle nested call
-correctly. Also, since WFMO_Reactor is limited to Win32, this example
-is limited to Win32.
-
diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.cpp b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.cpp
deleted file mode 100644
index 227639a60d4..00000000000
--- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-// $Id$
-
-#include "Resource_Factory.h"
-
-My_Resource_Factory::My_Reactors::My_Reactors (void)
- : wfmo_reactor_ (),
- reactor_ (&wfmo_reactor_)
-{
-}
-
-ACE_Reactor *
-My_Resource_Factory::get_reactor (void)
-{
- ACE_DEBUG ((LM_DEBUG, "Using alternate reactor\n"));
-
- switch (this->resource_source_)
- {
- case TAO_GLOBAL:
- return &GLOBAL_REACTORS::instance ()->reactor_;
- case TAO_TSS:
- return &TSS_REACTORS::instance ()->reactor_;
- }
- return 0;
-}
-
-ACE_FACTORY_DEFINE (Alt_Resource_Factory, My_Resource_Factory)
diff --git a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.h b/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.h
deleted file mode 100644
index 2b20061d4db..00000000000
--- a/TAO/examples/POA/Explicit_Activation/Alt_Resources/Resource_Factory.h
+++ /dev/null
@@ -1,25 +0,0 @@
-// $Id$
-
-#include "tao/corba.h"
-#include "Alt_Resource_Factory.h"
-
-class Alt_Resource_Factory_Export My_Resource_Factory : public TAO_Resource_Factory
-{
-public:
- virtual ACE_Reactor *get_reactor (void);
- // Return an <ACE_Reactor> to be utilized.
-
-private:
- struct My_Reactors
- {
- My_Reactors (void);
- ACE_WFMO_Reactor wfmo_reactor_;
- ACE_Reactor reactor_;
- };
-
- typedef ACE_Singleton<My_Reactors, ACE_SYNCH_MUTEX> GLOBAL_REACTORS;
- typedef ACE_TSS_Singleton<My_Reactors, ACE_SYNCH_MUTEX> TSS_REACTORS;
-};
-
-ACE_FACTORY_DECLARE (Alt_Resource_Factory, My_Resource_Factory)
-
diff --git a/TAO/examples/POA/Explicit_Activation/Explicit_Activation.dsw b/TAO/examples/POA/Explicit_Activation/Explicit_Activation.dsw
deleted file mode 100644
index f121fae15c3..00000000000
--- a/TAO/examples/POA/Explicit_Activation/Explicit_Activation.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/Explicit_Activation/Makefile b/TAO/examples/POA/Explicit_Activation/Makefile
deleted file mode 100644
index e525d97f48b..00000000000
--- a/TAO/examples/POA/Explicit_Activation/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# $Id$
-#
-
-BIN = server
-
-LSRC = $(addsuffix .cpp,$(BIN))
-
-CPPFLAGS += -I$(TAO_ROOT) -I../Generic_Servant
-
-LDLIBS = -lserver -lTAO
-LDFLAGS += -L$(TAO_ROOT)/tao -L../Generic_Servant
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-BUILD = $(VBIN)
-
-INSTALL =
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-ifndef TAO_ROOT
-TAO_ROOT = $(ACE_ROOT)/TAO
-endif
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/Explicit_Activation/README b/TAO/examples/POA/Explicit_Activation/README
deleted file mode 100644
index fdf1a3bf367..00000000000
--- a/TAO/examples/POA/Explicit_Activation/README
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-
-This application demostrates explicit activation of Servant objects.
-
-The server program is available here. Use the Generic_Servant/client
-program to test this.
-
-________________________________________
-
-To test this example, type run_test.pl
-________________________________________
-
-Or
-________________________________________
-
-Run the server as follows:
-
-% ./server -f output
-
-This will produce three output files: output_1, output_2, and output_3
-
-Run the client as follows:
-
-% cd $TAO_ROOT/tests/POA/Generic_Servant
-% ./client -f ../Explicit_Activation/output_1
-% ./client -f ../Explicit_Activation/output_2
-% ./client -f ../Explicit_Activation/output_3
-________________________________________
-
-Or
-________________________________________
-
-Run the server as follows:
-
-% ./server -ORBobjrefstyle URL &
-
-Run the client as follows:
-
-% cd $TAO_ROOT/tests/POA/Generic_Servant
-% ./client -k <IOR>
-
-Comments :
-=========
- - As soon as, the server prints out the IOR, cut it and use it for
-running the client.
-________________________________________
-
-
diff --git a/TAO/examples/POA/Explicit_Activation/alternate.conf b/TAO/examples/POA/Explicit_Activation/alternate.conf
deleted file mode 100644
index 3871b912452..00000000000
--- a/TAO/examples/POA/Explicit_Activation/alternate.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# Refer to Alternate_Resource_Factory/README for details
-#
-dynamic Resource_Factory Service_Object * Alt_Resources/Alt_Resource_Factory:_make_My_Resource_Factory() "-ORBresources global"
-
diff --git a/TAO/examples/POA/Explicit_Activation/run_test.pl b/TAO/examples/POA/Explicit_Activation/run_test.pl
deleted file mode 100755
index a1a94af2239..00000000000
--- a/TAO/examples/POA/Explicit_Activation/run_test.pl
+++ /dev/null
@@ -1,69 +0,0 @@
-#$Id$
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-unshift @INC, '../../../../bin';
-require ACEutils;
-
-$iorfile = "ior";
-
-$oneway = "";
-$iterations = 100;
-
-# Parse the arguments
-for ($i = 0; $i <= $#ARGV; $i++)
-{
- SWITCH:
- {
- if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?")
- {
- print "run_test [-h] [-i iterations] [-o] [-f ior file]\n";
- print "\n";
- print "-h -- prints this information\n";
- print "-f -- ior file\n";
- print "-i iterations -- specifies iterations\n";
- print "-o -- call issued are oneways\n";
- exit;
- }
- if ($ARGV[$i] eq "-o")
- {
- $oneway = "-o";
- last SWITCH;
- }
- if ($ARGV[$i] eq "-i")
- {
- $iterations = $ARGV[$i + 1];
- $i++;
- last SWITCH;
- }
- if ($ARGV[$i] eq "-f")
- {
- $iorfile = $ARGV[$i + 1];
- $i++;
- last SWITCH;
- }
- print "run_test: Unknown Option: ".$ARGV[$i]."\n";
- }
-}
-
-$iorfile_1 = $iorfile."_1";
-$iorfile_2 = $iorfile."_2";
-$iorfile_3 = $iorfile."_3";
-
-$SV = Process::Create ("server$Process::EXE_EXT", "-f $iorfile -ORBobjrefstyle URL");
-
-ACE::waitforfile ($iorfile_1);
-ACE::waitforfile ($iorfile_2);
-ACE::waitforfile ($iorfile_3);
-
-$status = system ("../Generic_Servant/client$Process::EXE_EXT -ORBobjrefstyle URL $oneway -i $iterations -f $iorfile_1");
-$status = system ("../Generic_Servant/client$Process::EXE_EXT -ORBobjrefstyle URL $oneway -i $iterations -f $iorfile_2");
-$status = system ("../Generic_Servant/client$Process::EXE_EXT -ORBobjrefstyle URL $oneway -i $iterations -f $iorfile_3 -x");
-
-unlink $iorfile_1;
-unlink $iorfile_2;
-unlink $iorfile_3;
-
-exit $status;
diff --git a/TAO/examples/POA/Explicit_Activation/server.cpp b/TAO/examples/POA/Explicit_Activation/server.cpp
deleted file mode 100644
index 6b6db3ca649..00000000000
--- a/TAO/examples/POA/Explicit_Activation/server.cpp
+++ /dev/null
@@ -1,383 +0,0 @@
-// $Id$
-
-// ================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/Explicit_Activation
-//
-// = FILENAME
-// server.cpp
-//
-// = DESCRIPTION
-// In this example,
-// - A new POA ( firstPOA) is created, and the different functions
-// for the explicit activation of objects are demonstrated.
-// - The Foo application class objects (defined in
-// ./../Generic_Servant/MyFooServant) are used as sample objects.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-// ================================================================
-
-#include "ace/streams.h"
-#include "tao/Timeprobe.h"
-#include "MyFooServant.h"
-
-ACE_RCSID(Explicit_Activation, server, "$Id$")
-
-static char *ior_output_file = 0;
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "f:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'f':
- ior_output_file = get_opts.optarg;
- break;
-
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s "
- "[-f ior_output_file]"
- "\n",
- argv [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-static int
-write_iors_to_file (const char *first_ior,
- const char *second_ior,
- const char *third_ior)
-{
- if (ior_output_file == 0)
- // No filename was specified; simply return
- return 0;
-
- char ior_output_file_1[BUFSIZ];
- char ior_output_file_2[BUFSIZ];
- char ior_output_file_3[BUFSIZ];
-
- ACE_OS::sprintf (ior_output_file_1, "%s_1", ior_output_file);
- ACE_OS::sprintf (ior_output_file_2, "%s_2", ior_output_file);
- ACE_OS::sprintf (ior_output_file_3, "%s_3", ior_output_file);
-
- FILE *output_file_1 = ACE_OS::fopen (ior_output_file_1, "w");
- FILE *output_file_2 = ACE_OS::fopen (ior_output_file_2, "w");
- FILE *output_file_3 = ACE_OS::fopen (ior_output_file_3, "w");
-
- if (output_file_1 == 0 ||
- output_file_2 == 0 ||
- output_file_3 == 0)
- ACE_ERROR_RETURN ((LM_ERROR, "Cannot open output files for writing IORs: %s, %s %s\n",
- ior_output_file_1,
- ior_output_file_2,
- ior_output_file_3),
- -1);
-
- u_int result = 0;
-
- result = ACE_OS::fprintf (output_file_1,
- "%s",
- first_ior);
- if (result != ACE_OS::strlen (first_ior))
- ACE_ERROR_RETURN ((LM_ERROR,
- "ACE_OS::fprintf failed while writing %s to %s\n",
- first_ior,
- ior_output_file_1),
- -1);
-
- result = ACE_OS::fprintf (output_file_2,
- "%s",
- second_ior);
- if (result != ACE_OS::strlen (second_ior))
- ACE_ERROR_RETURN ((LM_ERROR,
- "ACE_OS::fprintf failed while writing %s to %s\n",
- second_ior,
- ior_output_file_2),
- -1);
-
- result = ACE_OS::fprintf (output_file_3,
- "%s",
- third_ior);
- if (result != ACE_OS::strlen (third_ior))
- ACE_ERROR_RETURN ((LM_ERROR,
- "ACE_OS::fprintf failed while writing %s to %s\n",
- third_ior,
- ior_output_file_3),
- -1);
-
- ACE_OS::fclose (output_file_1);
- ACE_OS::fclose (output_file_2);
- ACE_OS::fclose (output_file_3);
-
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB first.
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- int result = parse_args (argc, argv);
- if (result != 0)
- return result;
-
- // Obtain the RootPOA.
- CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA");
-
- // Get the POA_var object from Object_var.
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (obj.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- // Get the POAManager of the RootPOA.
- PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::the_POAManager");
- return -1;
- }
-
- // Policies for the firstPOA to be created.
- CORBA::PolicyList policies (2);
- policies.length (2);
-
- // Id Assignment Policy
- policies[0] =
- root_poa->create_id_assignment_policy (PortableServer::USER_ID, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_id_assignment_policy");
- return -1;
- }
-
- // Lifespan policy
- policies[1] =
- root_poa->create_lifespan_policy (PortableServer::PERSISTENT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_lifespan_policy");
- return -1;
- }
-
- // Create the firstPOA under the RootPOA.
- ACE_CString name = "firstPOA";
- PortableServer::POA_var first_poa =
- root_poa->create_POA (name.c_str (),
- poa_manager.in (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Create the secondPOA under the firstPOA.
- name = "secondPOA";
- PortableServer::POA_var second_poa =
- first_poa->create_POA (name.c_str (),
- poa_manager.in (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Creation of POAs is over. Destroy the Policy objects.
- for (CORBA::ULong i = 0;
- i < policies.length () && env.exception () == 0;
- ++i)
- {
- CORBA::Policy_ptr policy = policies[i];
- policy->destroy (env);
- }
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Create two Objects of Class MyFooServant (defined in
- // ./../GenericServant/MyFooServant.h) Create one object at RootPOA
- // and the other at firstPOA.
- MyFooServant first_foo_impl (orb.in (), root_poa.in (), 27);
- MyFooServant second_foo_impl (orb.in (), first_poa.in (), 28);
-
- // Do "activate_object" to activate the first_foo_impl object. It
- // returns ObjectId for that object. Operation Used :
- // ObjectId activate_object( in Servant p_servant)
- // raises (ServantAlreadyActive, WrongPolicy);
- PortableServer::ObjectId_var first_oid =
- root_poa->activate_object (&first_foo_impl, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::activate_object");
- return -1;
- }
-
- // Get Object Reference for the first_foo_impl object.
- Foo_var first_foo = first_foo_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("POA_Foo::_this");
- return -1;
- }
-
- // Get ObjectId for object secondFoo and use that ObjectId to
- // activate the second_foo_impl object.
- // Operation Used :
- // void activate_object_with_id( in ObjectId oid, in Servant p_servant)
- // raises (ObjectAlreadyActive, ServantAlreadyActive, WrongPolicy);
- PortableServer::ObjectId_var second_oid =
- PortableServer::string_to_ObjectId ("secondFoo");
-
- first_poa->activate_object_with_id (second_oid.in (),
- &second_foo_impl,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::activate_object_with_id");
- return -1;
- }
-
- // Get Object reference for second_foo_impl object.
- Foo_var second_foo = second_foo_impl._this (env);
- if (env.exception () != 0)
- {
- env.print_exception ("POA_Foo::_this");
- return -1;
- }
-
- // Get ObjectId for the string thirdPOA Create the object reference
- // for thirdPOA using that ObjectId. Operation Used :
- // Object create_reference_with_id (in ObjectId oid, in CORBA::RepositoryId intf );
- // This operation creates an object reference that encapsulates the
- // specified Object Id and interface repository Id values.
- /*
- PortableServer::ObjectId_var third_oid =
- PortableServer::string_to_ObjectId ("thirdFoo");
- */
-
- // This will test how the POA handles a user given ID
- PortableServer::ObjectId_var third_oid =
- PortableServer::string_to_ObjectId ("third Foo");
-
- third_oid[5] = (CORBA::Octet) '\0';
-
- CORBA::Object_var third_foo =
- second_poa->create_reference_with_id (third_oid.in (),
- "IDL:Foo:1.0", env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_reference_with_id");
- return -1;
- }
-
- // Stringyfy all the object references and print them out.
- CORBA::String_var first_ior =
- orb->object_to_string (first_foo.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- CORBA::String_var second_ior =
- orb->object_to_string (second_foo.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- CORBA::String_var third_ior =
- orb->object_to_string (third_foo.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- ACE_DEBUG ((LM_DEBUG,
- "%s\n%s\n%s\n",
- first_ior.in (),
- second_ior.in (),
- third_ior.in ()));
-
- int write_result = write_iors_to_file (first_ior.in (),
- second_ior.in (),
- third_ior.in ());
- if (write_result != 0)
- return write_result;
-
- // Activate thirdPOA using its ObjectID.
- MyFooServant third_foo_impl (orb.in (), second_poa.in (), 29);
- second_poa->activate_object_with_id (third_oid.in (),
- &third_foo_impl,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::activate_object_with_id");
- return -1;
- }
-
- poa_manager->activate (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::activate");
- return -1;
- }
-
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1);
-
- // Destroy RootPOA. ( Also destroys firstPOA)
- root_poa->destroy (1,
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
- ACE_TIMEPROBE_PRINT;
-
- return 0;
-}
diff --git a/TAO/examples/POA/Explicit_Activation/server.dsp b/TAO/examples/POA/Explicit_Activation/server.dsp
deleted file mode 100644
index 2991d34e701..00000000000
--- a/TAO/examples/POA/Explicit_Activation/server.dsp
+++ /dev/null
@@ -1,100 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA Explicit Activation Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA Explicit Activation Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak"\
- CFG="POA Explicit Activation Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA Explicit Activation Server - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA Explicit Activation Server - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA Explicit Activation Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 tao.lib ace.lib ..\Generic_Servant\Generic_Servant.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA Explicit Activation Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 ..\Generic_Servant\Generic_Servantd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA Explicit Activation Server - Win32 Release"
-# Name "POA Explicit Activation Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/FindPOA/FindPOA.cpp b/TAO/examples/POA/FindPOA/FindPOA.cpp
deleted file mode 100644
index d8ea74a2e36..00000000000
--- a/TAO/examples/POA/FindPOA/FindPOA.cpp
+++ /dev/null
@@ -1,179 +0,0 @@
-// $Id$
-
-//===========================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/FindPOA
-//
-// = FILENAME
-// FindPOA.cpp
-//
-// = DESCRIPTION
-// This Program tests the find_POA method of a POA.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//===========================================================================
-
-#include "ace/streams.h"
-#include "tao/corba.h"
-
-ACE_RCSID(FindPOA, FindPOA, "$Id$")
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB
-
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Get Object reference to RootPOA.
- CORBA::Object_var obj =
- orb->resolve_initial_references ("RootPOA");
-
- // Narrow Object reference to RootPOA to a POA reference.
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (obj.in(), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- // Get a TAO_Adapter_Activator reference
- TAO_Adapter_Activator activator_impl;
-
- PortableServer::AdapterActivator_var activator =
- activator_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("TAO_Adapter_Activator::_this");
- return -1;
- }
-
- // Register the TAO_Adapter_Activator reference to be the RootPOA's
- // Adapter Activator.
-
- root_poa->the_activator (activator.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::the_activator");
- return -1;
- }
-
- // Try to find a childPOA of RootPOA named firstPOA
- ACE_CString name = "firstPOA";
- PortableServer::POA_var first_poa =
- root_poa->find_POA (name.c_str (),
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::find_POA");
- return -1;
- }
-
- // Use the TAO_POA name_separator (which is '/') to find a childPOA
- // of firstPOA named secondPOA.
-
- name += TAO_POA::name_separator ();
- name += "secondPOA";
- PortableServer::POA_var second_poa =
- root_poa->find_POA (name.c_str (),
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::find_POA");
- return -1;
- }
-
- // Create a hierarchical string of POA names
- // eg. thirdPOA/forthPOA/fifthPOA thirdPOA being the root of the
- // hierarchy with forthPOA as its child and fifthPOA as its
- // grandchild.
-
- name = "thirdPOA";
- name += TAO_POA::name_separator ();
- name += "forthPOA";
- name += TAO_POA::name_separator ();
- name += "fifthPOA";
-
- // Try to find the fifth_poa by passing the hierarchy of POA names
- // resulting in the creation of third and forth POAs as well as the
- // fifth POA.
-
- PortableServer::POA_var fifth_poa =
- root_poa->find_POA (name.c_str (),
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::find_POA");
- return -1;
- }
-
- // Get the names of all the POAs
-
- CORBA::String_var root_poa_name =
- root_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- CORBA::String_var first_poa_name =
- first_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- CORBA::String_var second_poa_name =
- second_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- CORBA::String_var fifth_poa_name =
- fifth_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
-
- ACE_DEBUG((LM_DEBUG,"%s\n%s\n%s\n%s\n",
- root_poa_name.in (),
- first_poa_name.in (),
- second_poa_name.in (),
- fifth_poa_name.in ()));
-
- // This should destroy all its children
-
- root_poa->destroy (1,
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
- return 0;
-}
diff --git a/TAO/examples/POA/FindPOA/FindPOA.dsp b/TAO/examples/POA/FindPOA/FindPOA.dsp
deleted file mode 100644
index 2d27e958be4..00000000000
--- a/TAO/examples/POA/FindPOA/FindPOA.dsp
+++ /dev/null
@@ -1,99 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA FindPOA Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA FindPOA Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "FindPOA.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "FindPOA.mak" CFG="POA FindPOA Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA FindPOA Server - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA FindPOA Server - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA FindPOA Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 tao.lib aced.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA FindPOA Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA FindPOA Server - Win32 Release"
-# Name "POA FindPOA Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\FindPOA.cpp
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/FindPOA/FindPOA.dsw b/TAO/examples/POA/FindPOA/FindPOA.dsw
deleted file mode 100644
index be061581a49..00000000000
--- a/TAO/examples/POA/FindPOA/FindPOA.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "FindPOA"=.\FindPOA.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/FindPOA/Makefile b/TAO/examples/POA/FindPOA/Makefile
deleted file mode 100644
index ebdec7ce096..00000000000
--- a/TAO/examples/POA/FindPOA/Makefile
+++ /dev/null
@@ -1,271 +0,0 @@
-#
-# $Id$
-#
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-BIN = FindPOA
-
-LSRC = $(addsuffix .cpp,$(BIN))
-
-CPPFLAGS += -I$(TAO_ROOT)
-
-LDLIBS = -lTAO
-LDFLAGS += -L$(TAO_ROOT)/tao
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-BUILD = $(VBIN)
-
-INSTALL =
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/FindPOA.o .obj/FindPOA.so .shobj/FindPOA.o .shobj/FindPOA.so: FindPOA.cpp \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/FindPOA/README b/TAO/examples/POA/FindPOA/README
deleted file mode 100644
index e0bc53df588..00000000000
--- a/TAO/examples/POA/FindPOA/README
+++ /dev/null
@@ -1,52 +0,0 @@
-
-FindPOA test:
-============
-
-Executable: FindPOA
-
-
-Description:
-===========
-
-This is a program to test the findPOA() method of the POA. It makes
-use of TAO_Adapter_Activator.
-
-Adapter activators are associated with POAs. An adapter activator
-supplies a POA with the ability to create child POAs on demand, as a
-side-effect of receiving a request that names the child POA (or one of
-its children), or when find_POA() is called with an activate parameter
-value of TRUE. An application server that creates all its needed POAs
-at the beginning of execution does not need to use or provide an
-adapter activator; it is necessary only for the case in which POAs
-need to be created during request processing.
-
-TAO_Adapter_Activator takes a '/' (backslash) separated string of POA
-names and creates them in a hierarchy with the left most substring as
-the root of that hierarchy.
-
-The test program tests the "findPOA" method in RootPOA with a single
-POA named "firstPOA" and then with a POA namestring
-"firstPOA/secondPOA". In the second case the secondPOA is
-non-existent and is created.
-
-Finally the findPOA method in RootPOA is called with a string
-"thirdPOA/forthPOA/fifthPOA", resulting in the creation of
-thirdPOA,forthPOA and a fifthPOA and returns the fifthPOA.
-
-To check the findPOA method the names of the POA are queried and
-printed on the screen. POAs hold only the name relative to its
-parent. For eg. the name of fifthPOA is just "fifthPOA" and NOT
-"RootPOA/thirdPOA/forthPOA/fifthPOA".
-
-To Test:
-========
- 1. Just run the FindPOA program.
-
- 2. You should see the following as the output:
-
- <Empty string for RootPOA>
- firstPOA
- secondPOA
- fifthPOA
-
- 3. There might be other diagnostic messages.
diff --git a/TAO/examples/POA/Forwarding/Foo.idl b/TAO/examples/POA/Forwarding/Foo.idl
deleted file mode 100644
index 533c3e164ee..00000000000
--- a/TAO/examples/POA/Forwarding/Foo.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-// $Id$
-
-interface Foo
-{
- // = TITLE
- // Dummy object, doit just reports number,
- // do not expect any sense. They are constantly increasing
-
- long doit ();
-
- // Raised if it cannot be forwarded
- exception Cannot_Forward {};
-
- void forward ()
- raises (Cannot_Forward);
-
- void shutdown ();
-};
-
diff --git a/TAO/examples/POA/Forwarding/Forwarding.dsw b/TAO/examples/POA/Forwarding/Forwarding.dsw
deleted file mode 100644
index d17cf7c9604..00000000000
--- a/TAO/examples/POA/Forwarding/Forwarding.dsw
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/Forwarding/Makefile b/TAO/examples/POA/Forwarding/Makefile
deleted file mode 100644
index 82fc7050e4a..00000000000
--- a/TAO/examples/POA/Forwarding/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO
-
-TAO_IDLFLAGS=-I$(TAO_ROOT)/tao
-IDL_SRC = FooC.cpp FooS.cpp
-PROG_SRCS = $(IDL_SRC) server.cpp client.cpp \
- MyFooServant.cpp Servant_Locator.cpp
-
-LSRC = $(PROG_SRCS)
-
-SVR_OBJS = FooC.o FooS.o server.o MyFooServant.o Servant_Locator.o
-CLT_OBJS = FooC.o FooS.o client.o
-
-BIN = server client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-DCFLAGS = -g
-
-.PRECIOUS: FooC.h FooC.i FooC.cpp FooS.h FooS.i FooS.cpp
-
-server: $(addprefix $(VDIR),$(SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf FooC.* FooS.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/Forwarding/MyFooServant.cpp b/TAO/examples/POA/Forwarding/MyFooServant.cpp
deleted file mode 100644
index 9e84310d454..00000000000
--- a/TAO/examples/POA/Forwarding/MyFooServant.cpp
+++ /dev/null
@@ -1,142 +0,0 @@
-// $Id$
-
-//==========================================================================
-//
-//
-// = FILENAME
-// MyFooServant.cpp
-//
-// = DESCRIPTION
-// This is a simple foo servant implementation
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//==========================================================================
-
-#include "tao/corba.h"
-#include "MyFooServant.h"
-
-ACE_RCSID(Forwarding, MyFooServant, "$Id$")
-
-// Constructor
-MyFirstFooServant::MyFirstFooServant (CORBA::ORB_ptr orb_ptr,
- PortableServer::POA_ptr poa_ptr,
- CORBA::Long value,
- CORBA::Object_ptr forward_to_ptr)
- : orb_var_ (CORBA::ORB::_duplicate (orb_ptr)),
- poa_var_ (PortableServer::POA::_duplicate (poa_ptr)),
- value_ (value),
- forward_to_var_ (CORBA::Object::_duplicate (forward_to_ptr))
-{
- if (CORBA::is_nil (this->forward_to_var_.in ()))
- ACE_DEBUG ((LM_DEBUG,
- "POA approach: Forward_to is nil!\n"));
-}
-
-// Destructor
-MyFirstFooServant::~MyFirstFooServant (void)
-{
-}
-
-// Return the Default POA of this Servant
-PortableServer::POA_ptr
-MyFirstFooServant::_default_POA (CORBA::Environment &/*env*/)
-{
- return PortableServer::POA::_duplicate (this->poa_var_.in ());
-}
-
-// Return this->value
-CORBA::Long
-MyFirstFooServant::doit (CORBA::Environment &/*env*/)
-{
- return this->value_++;
-}
-
-void
-MyFirstFooServant::shutdown (CORBA::Environment &/*env*/)
-{
- this->orb_var_->shutdown();
-}
-
-
-void
-MyFirstFooServant::forward (CORBA::Environment &env)
-{
- ACE_DEBUG ((LM_DEBUG,
- "MyFirstFooServant::forward: being called\n"));
- if (!CORBA::is_nil (this->forward_to_var_.in ()))
- {
- PortableServer::ObjectId_var oid =
- this->poa_var_->servant_to_id (this, env);
-
- if (env.exception () != 0)
- return;
-
- PortableServer::Servant servant = this->poa_var_->_servant ();
- if (servant == 0)
- {
- CORBA::Exception *exception = new Foo::Cannot_Forward;
- env.exception (exception);
- return;
- }
-
- void *ptr = servant->_downcast ("IDL:PortableServer/POA:1.0");
- POA_PortableServer::POA *poa = (POA_PortableServer::POA *) ptr;
- TAO_POA *tao_poa = ACE_dynamic_cast (TAO_POA *, poa);
-
- tao_poa->forward_object (oid.in (),
- this->forward_to_var_.in (),
- env);
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG,
- "POA approach: Forward_to refenence is nil.\n"));
- CORBA::Exception *exception = new Foo::Cannot_Forward;
- env.exception (exception);
- return;
- }
-}
-
-// Second Foo
-
-// Constructor
-MySecondFooServant::MySecondFooServant (CORBA::ORB_ptr orb_ptr,
- MyFooServantLocator *locator_ptr,
- CORBA::Long value)
- : orb_var_ (CORBA::ORB::_duplicate (orb_ptr)),
- locator_ptr_ (locator_ptr),
- value_ (value)
-{
-}
-
-// Destructor
-MySecondFooServant::~MySecondFooServant (void)
-{
-}
-
-
-// Return this->value
-CORBA::Long
-MySecondFooServant::doit (CORBA::Environment &/*env*/)
-{
- return this->value_++;
-}
-
-void
-MySecondFooServant::forward (CORBA::Environment &env)
-{
- // forward the forwarding request to the Servant Locator :-) This is
- // kind of a loop back, but it is correct only the IDL interface can
- // be assumed !!
- this->locator_ptr_->forward (env);
-}
-
-
-void
-MySecondFooServant::shutdown (CORBA::Environment &/*env*/)
-{
- this->orb_var_->shutdown();
-}
-
diff --git a/TAO/examples/POA/Forwarding/MyFooServant.h b/TAO/examples/POA/Forwarding/MyFooServant.h
deleted file mode 100644
index 49bde57fe28..00000000000
--- a/TAO/examples/POA/Forwarding/MyFooServant.h
+++ /dev/null
@@ -1,84 +0,0 @@
-// $Id$
-//=============================================================================
-//
-//
-// = FILENAME
-// MyFooServant.h
-//
-// = DESCRIPTION
-// Defines MyFooServant class for the Foo interface
-//
-// = AUTHOR
-// Irfan Pyarali and Michael Kircher
-//
-//=============================================================================
-
-#if !defined (MYFOOSERVANT_H)
-#define MYFOOSERVANT_H
-
-#include "FooS.h"
-#include "Servant_Locator.h"
-
-class MyFirstFooServant : public POA_Foo
-{
- // = TITLE
- // @@ Michael, please comment me.
-public:
- // constructor - takes a POA and a value parameter
- MyFirstFooServant (CORBA::ORB_ptr orb_ptr,
- PortableServer::POA_ptr poa_ptr,
- CORBA::Long value,
- CORBA::Object_ptr forward_to_ptr);
-
- // Destructor
- virtual ~MyFirstFooServant (void);
-
- //Returns the Default POA of this Servant object
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
-
- // Simple doit method
- virtual CORBA::Long doit (CORBA::Environment &env);
-
- // Setup forwarding
- virtual void forward (CORBA::Environment &env);
-
- virtual void shutdown (CORBA::Environment &env);
-
-protected:
- // Default poa associated with this servant
- CORBA::ORB_var orb_var_;
- PortableServer::POA_var poa_var_;
- CORBA::Long value_;
- CORBA::Object_var forward_to_var_;
-};
-
-class MySecondFooServant : public POA_Foo
-{
- // = TITLE
- // @@ Michael, please comment me.
-public:
- // constructor - takes a POA and a value parameter
- MySecondFooServant (CORBA::ORB_ptr orb_ptr,
- MyFooServantLocator *locator,
- CORBA::Long value);
-
- // Destructor
- virtual ~MySecondFooServant (void);
-
- // Simple doit method
- virtual CORBA::Long doit (CORBA::Environment &env);
-
- // Setup forwarding
- virtual void forward (CORBA::Environment &env);
-
- virtual void shutdown (CORBA::Environment &env);
-
-protected:
- // Default poa associated with this servant
- CORBA::ORB_var orb_var_;
- MyFooServantLocator *locator_ptr_;
- CORBA::Long value_;
-};
-
-#endif /* MYFOOSERVANT_H */
-
diff --git a/TAO/examples/POA/Forwarding/README b/TAO/examples/POA/Forwarding/README
deleted file mode 100644
index aea0bfe129f..00000000000
--- a/TAO/examples/POA/Forwarding/README
+++ /dev/null
@@ -1,55 +0,0 @@
-$Id$
-
-This document describes the location forwarding example. For detailed
-explanation on TAO's location forwarding feature, see
-
-$TAO_ROOT/docs/forwarding.html
-
-The test sets up two servers, the first writes its servant's object
-reference (OR) to a file. The second server reads the OR, recognizes
-it as forwarding location, and writes its own to a file too. This OR
-is then read by the client, which then issues a number of requests.
-Where every third request is a forwarding request to the object.
-
-Here's an example for 5 requests:
-
-first call (request no 1)
-second call (request no 2)
-forwarding call (request no 3)
-thrid call (request no 4)
-fourth call (request no 5)
-(no six would be a forwarding call again)
-
-Two types of location forwardings are implemented: (1) the POA
-approach and (2) the servant locator approach. Both are mentioned in
-the above documentation about location forwarding.
-
-To run the test for the POA approach do the following:
-
-% server -o server2 -ORBport 10040 -ORBobjrefstyle url
-% server -f server2 -o server1 -ORBport 10041 -ORBobjrefstyle url
-% client -f server1 -i 5
-
-A similar invocation for the servant locator approach can be done as
-follows (basically just the switches are different):
-
-% server -p server2 -ORBport 10040 -ORBobjrefstyle url
-% server -g server2 -p server1 -ORBport 10041 -ORBobjrefstyle url
-% client -g server1 -i 5
-
-For additional features try using the first server with the POA
-apporach and the second with the servant locator approach:
-
-% server -o server3 -ORBport 10040 -ORBobjrefstyle url
-% server -g server3 -p server2 -ORBport 10041 -ORBobjrefstyle url
-% server -f server2 -o server1 -ORBport 10043 -ORBobjrefstyle url
-% client -f server1 -i 8
-
-The first two calls will be called on server1, then the location
-forwarding is called on this one and the next two calls are going to
-be called on the second one. Location forwarding is then called on
-the second one and the last two calls are then done on the thrid
-server.
-
-
-
diff --git a/TAO/examples/POA/Forwarding/Servant_Locator.cpp b/TAO/examples/POA/Forwarding/Servant_Locator.cpp
deleted file mode 100644
index 74db96f4f2f..00000000000
--- a/TAO/examples/POA/Forwarding/Servant_Locator.cpp
+++ /dev/null
@@ -1,117 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/Forwarding/Servant_Locator
-//
-// = FILENAME
-// Servant_Locator.cpp
-//
-// = DESCRIPTION
-// Implementation of MyFooServantLocator class , used with a POA
-// having a NON_RETAIN policy.
-//
-// = AUTHOR
-// Irfan Pyarali
-// Michael Kircher
-//
-// ============================================================================
-
-#include "Servant_Locator.h"
-#include "MyFooServant.h"
-
-ACE_RCSID(Forwarding, Servant_Locator, "$Id$")
-
-MyFooServantLocator::MyFooServantLocator (CORBA::ORB_ptr orb_ptr,
- CORBA::Object_ptr forward_to_ptr)
- : orb_var_ (CORBA::ORB::_duplicate (orb_ptr)),
- counter_ (0),
- servant_ptr_ (0),
- forward_to_var_ (CORBA::Object::_duplicate (forward_to_ptr)),
- forwarding_ (0) // by default do not forward
-{
-}
-
-MyFooServantLocator::~MyFooServantLocator ()
-{
- delete servant_ptr_;
-}
-
-
-PortableServer::Servant
-MyFooServantLocator::preinvoke (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr poa_ptr,
- const char *operation,
- PortableServer::ServantLocator::Cookie &cookie,
- CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (operation);
-
- if (this->forwarding_ == 0) // do not forward
- {
-
- // Convert ObjectID to String.
-
- CORBA::String_var s = PortableServer::ObjectId_to_string (oid);
-
- // If ObjectID string has a Foo Substring create and return a
- // MyFooServant.
-
- this->counter_++;
-
- if (ACE_OS::strstr (s.in (), "Foo") != 0)
- {
- if (this->servant_ptr_ == 0)
- {
- this->servant_ptr_ = new MySecondFooServant (orb_var_.in(),
- this,
- 127);
-
- // Return the servant as the cookie , used as a check when
- // postinvoke is called on this MyFooServantLocator.
- // cookie = servant;
- }
- // reuse the old servant
-
- return this->servant_ptr_;
- }
- else
- {
- CORBA::Exception *exception = new CORBA::OBJECT_NOT_EXIST (CORBA::COMPLETED_NO);
- env.exception (exception);
- return 0;
- }
- }
- else // now forward, in throwing the ForwardRequest Exception
- {
- // Throw forward exception
- env.exception (new PortableServer::ForwardRequest (this->forward_to_var_.in ()));
-
- ACE_DEBUG ((LM_DEBUG,"MyFooServantLocator::preinvoke: Threw the ForwardRequest exception.\n"));
- return 0;
- }
-}
-
-void
-MyFooServantLocator::postinvoke (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr poa,
- const char *operation,
- PortableServer::ServantLocator::Cookie cookie,
- PortableServer::Servant p_servant,
- CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (oid);
- ACE_UNUSED_ARG (poa);
- ACE_UNUSED_ARG (operation);
- ACE_UNUSED_ARG (cookie);
- ACE_UNUSED_ARG (p_servant);
- ACE_UNUSED_ARG (env);
-}
-
-void
-MyFooServantLocator::forward (CORBA::Environment &env)
-{
- this->forwarding_ = 1;
-}
-
diff --git a/TAO/examples/POA/Forwarding/Servant_Locator.h b/TAO/examples/POA/Forwarding/Servant_Locator.h
deleted file mode 100644
index 256e4176b84..00000000000
--- a/TAO/examples/POA/Forwarding/Servant_Locator.h
+++ /dev/null
@@ -1,74 +0,0 @@
-// $Id$
-
-//================================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/Forwarding/Servant_Locator
-//
-// = FILENAME
-// Servant_Locator.h
-//
-// = DESCRIPTION
-// Defines a MyFooServantLocator class , used with a POA having
-// a NON_RETAIN policy
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//==================================================================================
-
-#if !defined (MYFOOSERVANTLOCATOR_H)
-#define MYFOOSERVANTLOCATOR_H
-
-#include "tao/corba.h"
-
-class MyFooServantLocator : public POA_PortableServer::ServantLocator
-{
- // = TITLE
- // This class is used by a POA with USE_SERVANT_MANAGER and
- // NON_RETAIN policy.
-public:
- MyFooServantLocator (CORBA::ORB_ptr orb_ptr,
- CORBA::Object_ptr forward_to_ptr);
- // constructor
-
- ~MyFooServantLocator ();
-
- virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr adapter,
- const char *operation,
- PortableServer::ServantLocator::Cookie &the_cookie,
- CORBA::Environment &env);
- // This method is invoked by a POA whenever it receives a request
- // for MyFoo object that is not currently active.
-
- virtual void postinvoke (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr adapter,
- const char *operation,
- PortableServer::ServantLocator::Cookie the_cookie,
- PortableServer::Servant the_servant,
- CORBA::Environment &env);
- // This method is invoked whenever a MyFooServant completes a
- // request.
-
- void forward (CORBA::Environment &env);
-
-private:
- CORBA::ORB_var orb_var_;
-
- int counter_;
- // Counter for number of invocations of this.
-
- PortableServer::Servant servant_ptr_;
- // There really exists only one servant, which is returned all the
- // time.
-
- CORBA::Object_var forward_to_var_;
- // location to forward to
-
- u_int forwarding_;
- // flag to tell if to forward or not.
-};
-
-#endif /* MYFOOSERVANTLOCATOR_H */
-
diff --git a/TAO/examples/POA/Forwarding/client.cpp b/TAO/examples/POA/Forwarding/client.cpp
deleted file mode 100644
index 56c71aff99c..00000000000
--- a/TAO/examples/POA/Forwarding/client.cpp
+++ /dev/null
@@ -1,200 +0,0 @@
-// $Id$
-
-//==========================================================================
-//
-//
-// = FILENAME
-// client.cpp
-//
-// = DESCRIPTION
-//
-// This is a simple foo client implementation. Also looks out for
-// forwarding exceptions
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//==========================================================================
-
-#include "tao/corba.h"
-#include "ace/streams.h"
-#include "ace/Get_Opt.h"
-#include "ace/Read_Buffer.h"
-#include "FooC.h"
-
-ACE_RCSID(Forwarding, client, "$Id$")
-
-static char *server_IOR_ = 0;
-
-static int iterations = 6;
-
-static int
-read_ior (char *filename)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle_ = ACE_OS::open (filename,0);
-
- if (f_handle_ == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for reading: %p\n",
- filename),
- -1);
- ACE_Read_Buffer ior_buffer (f_handle_);
- server_IOR_ = ior_buffer.read ();
-
- if (server_IOR_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to allocate memory to read ior: %p\n"),
- -1);
- return 0;
-}
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "f:i:k:O:");
- int c;
- int result;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'f': // read the IOR from the file.
- result = read_ior (get_opts.optarg);
- if (result < 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior from %s : %p\n",
- get_opts.optarg),
- -1);
- break;
- case 'k':
- server_IOR_ = get_opts.optarg;
- break;
- case 'i':
- iterations = ::atoi (get_opts.optarg);
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- "-f server_IOR_file"
- "\n",
- argv [0]),
- -1);
- }
-
- if (server_IOR_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Please specify the IOR for the servant\n"), -1);
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-int do_calls (Foo_ptr foo_ptr)
-{
- CORBA::Environment env;
-
- CORBA::Long result = 0;
-
- for (int i = 1; i <= iterations; i++)
- {
- // About half way through
- if (i % 3 == 0)
- {
- foo_ptr->forward (env);
-
- // If exception
- if (env.exception () != 0)
- {
- env.print_exception ("Foo::forward");
- return -1;
- }
- }
- else
- {
- // Invoke the doit() method of the foo reference.
- result = foo_ptr->doit (env);
-
- // If exception
- if (env.exception () != 0)
- {
- env.print_exception ("calling doit");
- }
- else
- // Print the result of doit () method of the foo
- // reference.
- ACE_DEBUG ((LM_DEBUG,
- "doit() returned %d \n",
- result));
- }
- }
-
- // In case you want to shutdown your server
- // foo_ptr->shutdown (env);
- // If exception
- // if (env.exception () != 0)
- // {
- // env.print_exception ("calling shutdown");
- // }
- return 0;
-}
-
-
-int
-main (int argc, char **argv)
-{
- // @@ Michael, this function is too long. Can you please break it
- // up into multiple smaller functions.
- CORBA::Environment env;
-
- // Initialize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Initialize options based on command-line arguments.
- int parse_args_result = parse_args (argc, argv);
- if (parse_args_result != 0)
- return parse_args_result;
-
- // Get an object reference from the argument string.
- CORBA::Object_var object = orb->string_to_object (server_IOR_, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::string_to_object");
- return -1;
- }
-
- // Try to narrow the object reference to a Foo reference.
- Foo_var foo_var = Foo::_narrow (object.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("Foo::_narrow");
- return -1;
- }
-
- CORBA::String_var original_location =
- orb->object_to_string (foo_var.in (), env);
-
- if (env.exception () == 0)
- ACE_DEBUG ((LM_DEBUG,
- "original location = %s \n",
- original_location.in ()));
- else
- {
- env.print_exception ("ORB::object_to_string");
- return -1;
- }
-
- if (do_calls (foo_var.in()) == -1)
- return -1;
-
- return 0;
-}
-
diff --git a/TAO/examples/POA/Forwarding/client.dsp b/TAO/examples/POA/Forwarding/client.dsp
deleted file mode 100644
index 3aabb8fbfd7..00000000000
--- a/TAO/examples/POA/Forwarding/client.dsp
+++ /dev/null
@@ -1,210 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA Forwarding Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA Forwarding Client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="POA Forwarding Client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA Forwarding Client - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "POA Forwarding Client - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA Forwarding Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA Forwarding Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "client__"
-# PROP BASE Intermediate_Dir "client__"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_HAS_DLL=1 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA Forwarding Client - Win32 Release"
-# Name "POA Forwarding Client - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\FooC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS_T.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Foo.idl
-
-!IF "$(CFG)" == "POA Forwarding Client - Win32 Release"
-
-USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputPath)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA Forwarding Client - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/Forwarding/server.cpp b/TAO/examples/POA/Forwarding/server.cpp
deleted file mode 100644
index 02129f14a42..00000000000
--- a/TAO/examples/POA/Forwarding/server.cpp
+++ /dev/null
@@ -1,560 +0,0 @@
-// $Id$
-
-// ========================================================================
-// = LIBRARY
-// TAO/tests/POA/Forwarding
-//
-// = FILENAME
-// server.cpp
-//
-// = DESCRIPTION
-//
-// = AUTHOR
-// Irfan Pyarali and Michael Kircher
-// ========================================================================
-
-#include "tao/corba.h"
-#include "ace/Read_Buffer.h"
-#include "MyFooServant.h"
-
-ACE_RCSID(Forwarding, server, "$Id$")
-
-static char *first_foo_forward_to_IOR_ = 0;
-
-static char *second_foo_forward_to_IOR_ = 0;
-
-static FILE *first_foo_ior_output_file_;
-
-static FILE *second_foo_ior_output_file_;
-
-static MyFirstFooServant *myFirstFooServant_ptr;
-static MyFooServantLocator *myFooServantLocator_ptr;
-
-
-static int
-read_ior (char *filename,
- const u_int foo_number)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle_ = ACE_OS::open (filename,0);
-
- if (f_handle_ == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- filename),
- -1);
-
- ACE_Read_Buffer ior_buffer (f_handle_);
-
- if (foo_number == 1)
- {
- first_foo_forward_to_IOR_ = ior_buffer.read ();
-
- if (first_foo_forward_to_IOR_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to allocate memory to read ior: %p\n"),
- -1);
- }
- else if (foo_number == 2)
- {
- second_foo_forward_to_IOR_ = ior_buffer.read ();
-
- if (second_foo_forward_to_IOR_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to allocate memory to read ior: %p\n"),
- -1);
- }
-
- if (foo_number == 1)
- ACE_DEBUG ((LM_DEBUG,
- "POA approach: Read ior: %s\n",
- first_foo_forward_to_IOR_));
- else if (foo_number == 2)
- ACE_DEBUG ((LM_DEBUG,
- "Locator approach: Read ior: %s\n",
- second_foo_forward_to_IOR_));
- return 0;
-}
-
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "f:g:k:l:o:O:p:");
- int c;
- int result;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'f': // read the IOR from the file.
- result = read_ior (get_opts.optarg,1);
- if (result < 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior from %s : %p\n",
- get_opts.optarg),
- -1);
- break;
- case 'g': // read the IOR from the file.
- result = read_ior (get_opts.optarg,2);
- if (result < 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior from %s : %p\n",
- get_opts.optarg),
- -1);
- break;
- case 'k':
- first_foo_forward_to_IOR_ = get_opts.optarg;
- break;
- case 'l':
- second_foo_forward_to_IOR_ = get_opts.optarg;
- break;
- case 'o': // output the IOR to a file.
- first_foo_ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w");
- if (first_foo_ior_output_file_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- get_opts.optarg), -1);
- break;
- case 'p': // output the IOR to a file.
- second_foo_ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w");
- if (second_foo_ior_output_file_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- get_opts.optarg), -1);
- break;
- case 'O':
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "\nusage: %s \n"
- "-f forward_to_IOR_file (first foo)\n"
- "-g forward_to_IOR_file (second foo)\n"
- "-k forward_to_IOR (first foo)\n"
- "-l forward_to_IOR (second foo)\n"
- "-o file_for_IOR (first foo)\n"
- "-p file_for_IOR (second foo)\n"
- "\n",
- argv [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-static void
-get_forward_reference (char *IOR,
- CORBA::Object_var &forward_location_var,
- CORBA::ORB_ptr orb_ptr,
- CORBA::Environment &env)
-{
- if (IOR != 0)
- {
- forward_location_var = orb_ptr->string_to_object (IOR, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("ORB::string_to_object");
- return;
- }
-
- if (CORBA::is_nil (forward_location_var.in ()))
- ACE_DEBUG ((LM_DEBUG,
- "Error: Forward_to location is wrong\n"));
- }
-}
-
-
-// Documentation !!!! first_POA will contain an object which will
-// use the POA directly to do forwarding
-
-int setup_first_poa (PortableServer::POA_ptr root_poa_ptr,
- PortableServer::POAManager_ptr poa_manager_ptr,
- PortableServer::POA_var &first_poa_var)
-{
- CORBA::Environment env;
-
- // Policies for the childPOA to be created.
- CORBA::PolicyList policies (2);
- policies.length (2);
-
- // The next two policies are common to both
-
- // Id Assignment Policy
- policies[0] = root_poa_ptr->create_id_assignment_policy (PortableServer::USER_ID, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_id_assignment_policy");
- return -1;
- }
-
- // Lifespan policy
- policies[1] = root_poa_ptr->create_lifespan_policy (PortableServer::PERSISTENT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_lifespan_policy");
- return -1;
- }
-
-
- ACE_CString name = "firstPOA";
-
- // Create firstPOA as the child of RootPOA with the above policies
- // firstPOA will use SERVANT_ACTIVATOR because of RETAIN policy.
- first_poa_var = root_poa_ptr->create_POA (name.c_str (),
- poa_manager_ptr,
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- return 0;
-}
-
-
-// second_POA will contain an object which will use the
-// Servant_Locator to do forwarding
-
-int setup_second_poa (PortableServer::POA_ptr root_poa,
- PortableServer::POAManager_ptr poa_manager_ptr,
- PortableServer::POA_var &second_poa_var)
-{
- CORBA::Environment env;
-
- // Policies for the childPOA to be created.
- CORBA::PolicyList policies (4);
- policies.length (4);
-
- // The next two policies are common to both
-
- // Id Assignment Policy
- policies[0] = root_poa->create_id_assignment_policy (PortableServer::USER_ID, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_id_assignment_policy");
- return -1;
- }
-
- // Lifespan policy
- policies[1] = root_poa->create_lifespan_policy (PortableServer::PERSISTENT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_lifespan_policy");
- return -1;
- }
-
- // Tell the POA to use a servant manager
- policies[2] =
- root_poa->create_request_processing_policy (PortableServer::USE_SERVANT_MANAGER, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_request_processing_policy");
- return -1;
- }
-
- // Servant Retention Policy -> Use a locator
- policies[3] =
- root_poa->create_servant_retention_policy (PortableServer::NON_RETAIN, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_servant_retention_policy");
- return -1;
- }
-
- ACE_CString name = "secondPOA";
-
- // Create secondPOA as child of RootPOA with the above policies
- // secondPOA will use a SERVANT_LOCATOR because of NON_RETAIN
- // policy.
- second_poa_var = root_poa->create_POA (name.c_str (),
- poa_manager_ptr,
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Creation of childPOAs is over. Destroy the Policy objects.
- for (CORBA::ULong i = 0;
- i < policies.length () && env.exception () == 0;
- ++i)
- {
- CORBA::Policy_ptr policy = policies[i];
- policy->destroy (env);
- }
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
- return 0;
-}
-
-int create_first_servant (PortableServer::POA_ptr first_poa_ptr,
- CORBA::ORB_ptr orb_ptr)
-{
- CORBA::Environment env;
-
- // Get the forward_to reference to feed it into object
- // implementations
- CORBA::Object_var first_foo_forward_to_var;
-
- get_forward_reference (first_foo_forward_to_IOR_,
- first_foo_forward_to_var,
- orb_ptr,
- env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("get_forward_reference");
- return -1;
- }
-
- ACE_NEW_RETURN (myFirstFooServant_ptr,
- MyFirstFooServant (orb_ptr,
- first_poa_ptr,
- 27,
- first_foo_forward_to_var.in ()),
- -1);
-
- // Create ObjectId and use that ObjectId to activate the
- // first_foo_impl object.
- PortableServer::ObjectId_var first_foo_oid_var =
- PortableServer::string_to_ObjectId ("firstFoo");
-
- first_poa_ptr->activate_object_with_id (first_foo_oid_var.in (),
- myFirstFooServant_ptr,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::activate_object_with_id");
- return -1;
- }
-
- // Get Object reference for first_foo_impl object.
- Foo_var first_foo_var = myFirstFooServant_ptr->_this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("POA_Foo::_this");
- return -1;
- }
-
- // Stringyfy the object reference and print it out.
- CORBA::String_var first_foo_ior_var =
- orb_ptr->object_to_string (first_foo_var.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- ACE_DEBUG ((LM_DEBUG,
- "POA approach: Own IOR: %s\n",
- first_foo_ior_var.in ()));
-
- if (first_foo_ior_output_file_)
- {
- ACE_OS::fprintf (first_foo_ior_output_file_,
- "%s",
- first_foo_ior_var.in ());
- ACE_OS::fclose (first_foo_ior_output_file_);
-
- ACE_DEBUG ((LM_DEBUG, "POA approach: Wrote IOR to a file.\n"));
- }
- return 0;
-}
-
-
-int
-create_second_servant (PortableServer::POA_ptr second_poa_ptr,
- CORBA::ORB_ptr orb_ptr)
-{
- CORBA::Environment env;
-
- CORBA::Object_var second_foo_forward_to_var;
- get_forward_reference (second_foo_forward_to_IOR_,
- second_foo_forward_to_var,
- orb_ptr,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("get_forward_reference");
- return -1;
- }
-
- // instantiate the servant locator and set it for the second child
- // POA The locator gets to know where to forward to
-
- ACE_NEW_RETURN (myFooServantLocator_ptr,
- MyFooServantLocator (orb_ptr,
- second_foo_forward_to_var.in ()),
- -1);
- PortableServer::ServantLocator_var servant_locator_var =
- myFooServantLocator_ptr->_this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::_this");
- return -1;
- }
-
- // Set MyFooServantLocator object as the servant Manager of
- // secondPOA.
-
- second_poa_ptr->set_servant_manager (servant_locator_var.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::set_servant_manager");
- return -1;
- }
-
- // Create the second MyFooServant
- // ======
-
- // Try to create a reference with user created ID in second_poa
- // which uses MyFooServantLocator.
-
- PortableServer::ObjectId_var second_foo_oid_var =
- PortableServer::string_to_ObjectId ("secondFoo");
-
- CORBA::Object_var second_foo_var =
- second_poa_ptr->create_reference_with_id (second_foo_oid_var.in (),
- "IDL:Foo:1.0", env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_reference_with_id");
- return -1;
- }
-
- // Invoke object_to_string on the references created in firstPOA and
- // secondPOA.
-
- CORBA::String_var second_foo_ior_var =
- orb_ptr->object_to_string (second_foo_var.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- ACE_DEBUG ((LM_DEBUG,
- "Locator approach: Own IOR: %s\n",
- second_foo_ior_var.in ()));
-
-
- if (second_foo_ior_output_file_)
- {
- ACE_OS::fprintf (second_foo_ior_output_file_,
- "%s",
- second_foo_ior_var.in ());
- ACE_OS::fclose (second_foo_ior_output_file_);
-
- ACE_DEBUG ((LM_DEBUG, "Locator approach: Wrote IOR to a file.\n"));
- }
-
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- // @@ Michael, this function is WAY too long! Can you please break
- // it up into a number of subfunctions and put them into a class or
- // something?! It's impossible to tell what's going on here!
- int result = parse_args (argc, argv);
-
- if (result == -1)
- return -1;
-
- CORBA::Environment env;
-
- // Initialize the ORB first.
- CORBA::ORB_var orb_var = CORBA::ORB_init (argc, argv, 0, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Obtain the RootPOA.
- CORBA::Object_var obj_var = orb_var->resolve_initial_references ("RootPOA");
-
- // Get the POA_var object from Object_var.
- PortableServer::POA_var root_poa_var =
- PortableServer::POA::_narrow (obj_var.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- // Get the POAManager of the RootPOA.
- PortableServer::POAManager_var poa_manager_var =
- root_poa_var->the_POAManager (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::the_POAManager");
- return -1;
- }
-
- PortableServer::POA_var first_poa_var;
- PortableServer::POA_var second_poa_var;
-
- if (setup_first_poa (root_poa_var.in(), poa_manager_var.in(), first_poa_var) == -1)
- return -1;
- if (setup_second_poa (root_poa_var.in(), poa_manager_var.in(), second_poa_var) == -1)
- return -1;
-
- // Create the first MyFooServant
- // =====
- if (create_first_servant (first_poa_var.in(), orb_var.in()) == -1)
- return -1;
-
- if (create_second_servant (second_poa_var.in(), orb_var.in()) == -1)
- return -1;
-
- poa_manager_var->activate (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::activate");
- return -1;
- }
-
- if (orb_var->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "CORBA::ORB::run"),
- -1);
-
-
- // Destroy RootPOA. (Also destroys childPOA)
- root_poa_var->destroy (1,
- 1,
- env);
- delete myFirstFooServant_ptr;
- delete myFooServantLocator_ptr;
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
-
- return 0;
-}
diff --git a/TAO/examples/POA/Forwarding/server.dsp b/TAO/examples/POA/Forwarding/server.dsp
deleted file mode 100644
index 563e402b979..00000000000
--- a/TAO/examples/POA/Forwarding/server.dsp
+++ /dev/null
@@ -1,226 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA Forwarding Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA Forwarding Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="POA Forwarding Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA Forwarding Server - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "POA Forwarding Server - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA Forwarding Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 tao.lib ace.lib ..\Generic_Servant\Generic_Servant.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA Forwarding Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_HAS_DLL=1 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 ..\Generic_Servant\Generic_Servantd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA Forwarding Server - Win32 Release"
-# Name "POA Forwarding Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\FooC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\MyFooServant.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Servant_Locator.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\FooC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS_T.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\MyFooServant.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Servant_Locator.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Foo.idl
-
-!IF "$(CFG)" == "POA Forwarding Server - Win32 Release"
-
-USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputPath)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA Forwarding Server - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/Forwarding/svc.conf b/TAO/examples/POA/Forwarding/svc.conf
deleted file mode 100644
index 43c6a486c92..00000000000
--- a/TAO/examples/POA/Forwarding/svc.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"
diff --git a/TAO/examples/POA/Generic_Servant/Foo.idl b/TAO/examples/POA/Generic_Servant/Foo.idl
deleted file mode 100644
index 7010d9c2133..00000000000
--- a/TAO/examples/POA/Generic_Servant/Foo.idl
+++ /dev/null
@@ -1,23 +0,0 @@
-// $Id$
-// ================================================================
-//
-// = FILENAME
-// Foo.idl
-//
-// ================================================================
-
-// IDL
-
-interface Foo
-{
- long doit ();
- // A simple twoway operation, the idea is to verify that the server
- // can be located.
-
- oneway void simply_doit ();
- // A simple oneway operation, the idea is to measure any differences
- // to the previous one.
-
- void shutdown ();
- // Shutdown the server.
-};
diff --git a/TAO/examples/POA/Generic_Servant/Generic_Servant.dsw b/TAO/examples/POA/Generic_Servant/Generic_Servant.dsw
deleted file mode 100644
index 1a172dc6d07..00000000000
--- a/TAO/examples/POA/Generic_Servant/Generic_Servant.dsw
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/Generic_Servant/Makefile b/TAO/examples/POA/Generic_Servant/Makefile
deleted file mode 100644
index 3a5f0047385..00000000000
--- a/TAO/examples/POA/Generic_Servant/Makefile
+++ /dev/null
@@ -1,77 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-# On non-Windows environment, we should at least define
-# the export_include IDL flag.
-TAO_IDLFLAGS = -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h
-
-LDLIBS = -lTAO
-
-LIB = libserver.a
-
-IDL_SRC = FooC FooS
-
-BINFILES = $(IDL_SRC) client
-
-LIB_SRC = $(IDL_SRC) MyFooServant
-
-POA_CLT_SRCS = $(addsuffix .cpp,$(BINFILES))
-POA_CLT_OBJS = $(addprefix $(VDIR),$(addsuffix .o,$(BINFILES)))
-
-BIN = client
-
-BUILD = $(VOBJS) $(VLIB) $(BIN)
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-VBIN = $(BIN:%=%$(VAR))
-
-LSRC = $(addsuffix .cpp,$(LIB_SRC)) $(POA_CLT_SRCS)
-LOBJ = $(addsuffix .o,$(LIB_SRC))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-
-.PRECIOUS: FooC.h FooC.i FooC.cpp FooS.h FooS.i FooS.cpp
-
-#$(IDL_SRC): cubit.idl
-# $(TAO_ROOT)/TAO_IDL/tao_idl cubit.idl
-
-client: $(POA_CLT_OBJS)
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-#clean:
-# -/bin/rm -rf *.o $(BIN) obj.* core Templates.DB .make.state
-
-realclean: clean
- -/bin/rm -rf FooC.* FooS.* FooS_T.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.cpp b/TAO/examples/POA/Generic_Servant/MyFooServant.cpp
deleted file mode 100644
index b01a03271c0..00000000000
--- a/TAO/examples/POA/Generic_Servant/MyFooServant.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-// $Id$
-
-// ================================================================
-//
-//
-// = FILENAME
-// MyFooServant.cpp
-//
-// = DESCRIPTION
-// This is a simple foo servant implementation
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-// ================================================================
-
-#include "MyFooServant.h"
-
-ACE_RCSID(Generic_Servant, MyFooServant, "$Id$")
-
-// Constructor
-MyFooServant::MyFooServant (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa,
- CORBA::Long value)
- : orb_ (CORBA::ORB::_duplicate (orb)),
- poa_ (PortableServer::POA::_duplicate (poa)),
- value_ (value)
-{
-}
-
-// Destructor
-MyFooServant::~MyFooServant (void)
-{
-}
-
-// Return the Default POA of this Servant
-PortableServer::POA_ptr
-MyFooServant::_default_POA (CORBA::Environment &/*env*/)
-{
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}
-
-CORBA::Long
-MyFooServant::doit (CORBA::Environment &/*env*/)
-{
- return this->value_;
-}
-
-void
-MyFooServant::simply_doit (CORBA::Environment &/*env*/)
-{
-}
-
-void
-MyFooServant::shutdown (CORBA::Environment &env)
-{
- this->orb_->shutdown ();
-}
diff --git a/TAO/examples/POA/Generic_Servant/MyFooServant.h b/TAO/examples/POA/Generic_Servant/MyFooServant.h
deleted file mode 100644
index 6ab5e0b5ddf..00000000000
--- a/TAO/examples/POA/Generic_Servant/MyFooServant.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// $Id$
-//=============================================================================
-//
-//
-// = FILENAME
-// MyFooServant.h
-//
-// = DESCRIPTION
-// Defines MyFooServant class for the Foo interface
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//=============================================================================
-
-#if !defined (MYFOOSERVANT_H)
-#define MYFOOSERVANT_H
-
-#include "FooS.h"
-
-class GENERIC_SERVANT_Export MyFooServant : public POA_Foo
-{
-public:
- // constructor - takes a POA and a value parameter
- MyFooServant (CORBA::ORB_ptr orb,
- PortableServer::POA_ptr poa,
- CORBA::Long value);
-
- // Destructor
- virtual ~MyFooServant (void);
-
- // Returns the Default POA of this Servant object
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
-
- // Simple doit method
- virtual CORBA::Long doit (CORBA::Environment &env);
-
- // Even simpler doit method
- virtual void simply_doit (CORBA::Environment &env);
-
- // Shutdown the ORB
- virtual void shutdown (CORBA::Environment &env);
-
-protected:
- CORBA::ORB_var orb_;
- // Keep a pointer to the ORB so we can shut it down.
-
- PortableServer::POA_var poa_;
- // Implement a different _default_POA()
-
- CORBA::Long value_;
- // The current value.
-};
-
-#endif /* MYFOOSERVANT_H */
diff --git a/TAO/examples/POA/Generic_Servant/README b/TAO/examples/POA/Generic_Servant/README
deleted file mode 100644
index 05ee0f2a18e..00000000000
--- a/TAO/examples/POA/Generic_Servant/README
+++ /dev/null
@@ -1,24 +0,0 @@
-// $Id$
-
-Generic Servant:
-===============
-
-File Name
----------
-
-Foo.idl Simple Foo idl interface
-MyFooServant.h Servant definition for the Foo interface
-MyFooServant.cpp Servant implementation for the FOO interface
-client.cpp A simple Foo client
-
-Typing
-
-% Make
-
- creates an executable client and server library libserver.a.
-
-To run the client, type
-
-% client [-ORBport port] -k IOR
-
-where IOR can be got from the server output.
diff --git a/TAO/examples/POA/Generic_Servant/client.cpp b/TAO/examples/POA/Generic_Servant/client.cpp
deleted file mode 100644
index dc23c2d4442..00000000000
--- a/TAO/examples/POA/Generic_Servant/client.cpp
+++ /dev/null
@@ -1,241 +0,0 @@
-// $Id$
-
-// ================================================================
-//
-//
-// = FILENAME
-// client.cpp
-//
-// = DESCRIPTION
-// This is a simple foo client implementation.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-// ================================================================
-
-#include "ace/streams.h"
-#include "ace/Get_Opt.h"
-#include "ace/Profile_Timer.h"
-#include "tao/Timeprobe.h"
-#include "ace/Read_Buffer.h"
-#include "FooC.h"
-
-ACE_RCSID(Generic_Servant, client, "$Id$")
-
-static char *IOR = 0;
-static char *IOR_file = 0;
-static int iterations = 1;
-static int oneway = 0;
-static int shutdown_server = 0;
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "f:k:i:ox");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'k':
- IOR = get_opts.optarg;
- break;
-
- case 'f':
- IOR_file = ACE_OS::strdup (get_opts.optarg);
- break;
-
- case 'o':
- oneway = 1;
- break;
-
- case 'i':
- iterations = ::atoi (get_opts.optarg);
- break;
-
- case 'x':
- shutdown_server = 1;
- break;
-
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s "
- "-k IOR "
- "-f IOR file "
- "-o oneway "
- "\n",
- argv [0]),
- -1);
- }
-
- if (IOR == 0 && IOR_file == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Please specify the IOR or IOR_file for the servant\n"), -1);
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-void
-print_stats (ACE_Profile_Timer::ACE_Elapsed_Time &elapsed_time,
- int iterations)
-{
- if (iterations > 0)
- {
- elapsed_time.real_time *= ACE_ONE_SECOND_IN_MSECS;
- elapsed_time.user_time *= ACE_ONE_SECOND_IN_MSECS;
- elapsed_time.system_time *= ACE_ONE_SECOND_IN_MSECS;
-
- elapsed_time.real_time /= iterations;
- elapsed_time.user_time /= iterations;
- elapsed_time.system_time /= iterations;
-
- double tmp = 1000 / elapsed_time.real_time;
-
- ACE_DEBUG ((LM_DEBUG,
- "\titerations\t = %d, \n"
- "\treal_time\t = %0.06f ms, \n"
- "\tuser_time\t = %0.06f ms, \n"
- "\tsystem_time\t = %0.06f ms, \n"
- "\t%0.00f calls/second\n",
- iterations,
- elapsed_time.real_time < 0.0 ? 0.0 : elapsed_time.real_time,
- elapsed_time.user_time < 0.0 ? 0.0 : elapsed_time.user_time,
- elapsed_time.system_time < 0.0 ? 0.0 : elapsed_time.system_time,
- tmp < 0.0 ? 0.0 : tmp));
- }
- else
- ACE_ERROR ((LM_ERROR,
- "\tNo time stats printed. Zero iterations or error ocurred.\n"));
-}
-
-int
-read_IOR_from_file (void)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle = ACE_OS::open (IOR_file, 0);
-
- if (f_handle == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for reading\n",
- IOR_file),
- -1);
-
- ACE_Read_Buffer ior_buffer (f_handle);
- char *data = ior_buffer.read ();
-
- if (data == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior\n"),
- -1);
-
- IOR = ACE_OS::strdup (data);
- ior_buffer.alloc ()->free (data);
-
- ACE_OS::close (f_handle);
-
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Initialize options based on command-line arguments.
- int parse_args_result = parse_args (argc, argv);
- if (parse_args_result != 0)
- return parse_args_result;
-
- if (IOR == 0)
- {
- int result = read_IOR_from_file ();
- if (result != 0)
- ACE_ERROR_RETURN ((LM_ERROR, "Cannot read IOR from %s\n", IOR_file), -1);
- }
-
- // Get an object reference from the argument string.
- CORBA::Object_var object = orb->string_to_object (IOR, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::string_to_object");
- return -1;
- }
-
- // Try to narrow the object reference to a Foo reference.
- Foo_var foo = Foo::_narrow (object.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("Foo::_narrow");
- return -1;
- }
-
- CORBA::String_var ior =
- orb->object_to_string (foo.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- ACE_DEBUG ((LM_DEBUG,
- "\nConnecting to: %s\n\n",
- ior.in ()));
-
- ACE_Profile_Timer timer;
- ACE_Profile_Timer::ACE_Elapsed_Time elapsed_time;
-
- // We start an ACE_Profile_Timer here...
- timer.start ();
-
- CORBA::Long result = 0;
- int i = 0;
-
- for (i = 0; i < iterations && env.exception () == 0; i++)
- {
- if (oneway)
- // Invoke the doit() method of the foo reference.
- foo->simply_doit (env);
- else
- // Invoke the doit() method of the foo reference.
- result = foo->doit (env);
- }
-
- // stop the timer.
- timer.stop ();
- timer.elapsed_time (elapsed_time);
-
- // compute average time.
- print_stats (elapsed_time, i);
-
- if (shutdown_server && env.exception () == 0)
- foo->shutdown (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("Foo::doit");
- return 1;
- }
-
- // Print the result of doit () method of the foo reference.
- ACE_DEBUG ((LM_DEBUG, "The result of doit is %d\n", result));
-
- ACE_TIMEPROBE_PRINT;
-
- ACE_OS::free (IOR_file);
-
- return 0;
-}
diff --git a/TAO/examples/POA/Generic_Servant/client.dsp b/TAO/examples/POA/Generic_Servant/client.dsp
deleted file mode 100644
index 572b8d43af6..00000000000
--- a/TAO/examples/POA/Generic_Servant/client.dsp
+++ /dev/null
@@ -1,201 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA Generic Servant Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA Generic Servant Client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="POA Generic Servant Client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA Generic Servant Client - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "POA Generic Servant Client - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA Generic Servant Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA Generic Servant Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "client__"
-# PROP BASE Intermediate_Dir "client__"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D GENERIC_SERVANT_HAS_DLL=1 /D "GENERIC_SERVANT_BUILD_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA Generic Servant Client - Win32 Release"
-# Name "POA Generic Servant Client - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\FooC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS_T.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Foo.idl
-
-!IF "$(CFG)" == "POA Generic Servant Client - Win32 Release"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h $(InputName).idl
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA Generic Servant Client - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/Generic_Servant/generic_servant_export.h b/TAO/examples/POA/Generic_Servant/generic_servant_export.h
deleted file mode 100644
index 6c7059c79a2..00000000000
--- a/TAO/examples/POA/Generic_Servant/generic_servant_export.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// $Id$
-
-// Definition for Win32 Export directives.
-// This file is generated automatically by
-// ${TAO_ROOT}/TAO_IDL/GenExportH.BAT
-// ------------------------------
-#if !defined (GENERIC_SERVANT_EXPORT_H)
-#define GENERIC_SERVANT_EXPORT_H
-
-#include "ace/OS.h"
-
-#if defined (GENERIC_SERVANT_HAS_DLL)
-# if (GENERIC_SERVANT_HAS_DLL == 1)
-# if defined (GENERIC_SERVANT_BUILD_DLL)
-# define GENERIC_SERVANT_Export ACE_Proper_Export_Flag
-# define GENERIC_SERVANT_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
-# else
-# define GENERIC_SERVANT_Export ACE_Proper_Import_Flag
-# define GENERIC_SERVANT_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
-# endif /* GENERIC_SERVANT_BUILD_DLL */
-# else
-# define GENERIC_SERVANT_Export
-# define GENERIC_SERVANT_SINGLETON_DECLARATION(T)
-# endif /* ! GENERIC_SERVANT_HAS_DLL == 1 */
-#else
-# define GENERIC_SERVANT_Export
-# define GENERIC_SERVANT_SINGLETON_DECLARATION(T)
-#endif /* GENERIC_SERVANT_HAS_DLL */
-
-#endif /* GENERIC_SERVANT_EXPORT_H */
- // End of auto generated file.
diff --git a/TAO/examples/POA/Generic_Servant/server.dsp b/TAO/examples/POA/Generic_Servant/server.dsp
deleted file mode 100644
index 0e0116695d6..00000000000
--- a/TAO/examples/POA/Generic_Servant/server.dsp
+++ /dev/null
@@ -1,215 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA Generic Servant DLL" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=POA Generic Servant DLL - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="POA Generic Servant DLL - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA Generic Servant DLL - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "POA Generic Servant DLL - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA Generic Servant DLL - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "server__"
-# PROP BASE Intermediate_Dir "server__"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D GENERIC_SERVANT_HAS_DLL=1 /D "GENERIC_SERVANT_BUILD_DLL" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:windows /dll /machine:I386 /out:"..\..\..\..\bin\Generic_Servant.dll" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-# Begin Special Build Tool
-SOURCE="$(InputPath)"
-PostBuild_Desc=Copying DLL to ..\Explicit_Activation and ..\On_Demand_Activation
-PostBuild_Cmds=copy Generic_Servant.dll ..\Explicit_Activation copy Generic_Servant.dll ..\On_Demand_Activation
-# End Special Build Tool
-
-!ELSEIF "$(CFG)" == "POA Generic Servant DLL - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "server_0"
-# PROP BASE Intermediate_Dir "server_0"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D GENERIC_SERVANT_HAS_DLL=1 /D "GENERIC_SERVANT_BUILD_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"..\..\..\..\bin\Generic_Servantd.dll" /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /profile /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA Generic Servant DLL - Win32 Release"
-# Name "POA Generic Servant DLL - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\FooC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\MyFooServant.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ".h"
-# Begin Source File
-
-SOURCE=.\FooC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS_T.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\MyFooServant.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Foo.idl
-
-!IF "$(CFG)" == "POA Generic Servant DLL - Win32 Release"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h $(InputName).idl
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA Generic Servant DLL - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl -Wb,export_macro=GENERIC_SERVANT_Export -Wb,export_include=generic_servant_export.h $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/Makefile b/TAO/examples/POA/Makefile
deleted file mode 100644
index 42b631fb286..00000000000
--- a/TAO/examples/POA/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-# Makefile for the POA tests
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-DIRS = Default_Servant \
- FindPOA \
- Forwarding \
- Generic_Servant \
- Explicit_Activation \
- NewPOA \
- On_Demand_Activation \
- RootPOA \
- TIE \
- locking \
-
-# The following test hasn't been updated yet
-# Demux_Test
-
-#### Does not compile on UNIX: Forwarding \
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
-
diff --git a/TAO/examples/POA/NewPOA/Makefile b/TAO/examples/POA/NewPOA/Makefile
deleted file mode 100644
index 121c9264a66..00000000000
--- a/TAO/examples/POA/NewPOA/Makefile
+++ /dev/null
@@ -1,271 +0,0 @@
-#
-# $Id$
-#
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-BIN = NewPOA
-
-LSRC = $(addsuffix .cpp,$(BIN))
-
-CPPFLAGS += -I$(TAO_ROOT)
-
-LDLIBS = -lTAO
-LDFLAGS += -L$(TAO_ROOT)/tao
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-BUILD = $(VBIN)
-
-INSTALL =
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/NewPOA.o .obj/NewPOA.so .shobj/NewPOA.o .shobj/NewPOA.so: NewPOA.cpp \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/NewPOA/NewPOA.cpp b/TAO/examples/POA/NewPOA/NewPOA.cpp
deleted file mode 100644
index 75085e9f7cd..00000000000
--- a/TAO/examples/POA/NewPOA/NewPOA.cpp
+++ /dev/null
@@ -1,193 +0,0 @@
-// $Id$
-
-// ==========================================================================
-// = LIBRARY
-// TAO/tests/POA/NewPOA
-//
-// = FILENAME
-// NewPOA.cpp
-//
-// = DESCRIPTION
-// This program demonstrates creation of new POAs, as children of the root POA or the
-// existing POA.
-// There are five new POA created in this example.
-// The hierarchy of POAs looks like this.
-//
-// /-->first_poa-->first_poa/second_poa
-// RootPOA--
-// \-->third_poa-->third_poa/fourth_poa-->third_poa/fourth_poa/fifth_poa
-//
-// = AUTHOR
-// Irfan Pyarali
-// ========================================================================
-
-#include "ace/streams.h"
-#include "tao/corba.h"
-
-ACE_RCSID(NewPOA, NewPOA, "$Id$")
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // The first step Initialize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Obtain the object reference to the RootPOA.
- CORBA::Object_var obj =
- orb->resolve_initial_references ("RootPOA");
-
- // _narrow() the Object to get the POA object, i.e., the root_poa.
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (obj.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- // Policies for the new POAs
- CORBA::PolicyList policies (2);
- policies.length (2);
-
- // Threading policy
- policies[0] =
- root_poa->create_thread_policy (PortableServer::ORB_CTRL_MODEL, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_thread_policy");
- return -1;
- }
-
- // Lifespan policy
- policies[1] =
- root_poa->create_lifespan_policy (PortableServer::TRANSIENT, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_lifespan_policy");
- return -1;
- }
-
- // Creation of the firstPOA
- ACE_CString name = "firstPOA";
- PortableServer::POA_var first_poa =
- root_poa->create_POA (name.c_str (),
- PortableServer::POAManager::_nil (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Creation of the new POA, i.e. firstPOA/secondPOA
- name += TAO_POA::name_separator ();
- name += "secondPOA";
- PortableServer::POA_var second_poa =
- root_poa->create_POA (name.c_str (),
- PortableServer::POAManager::_nil (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Creating thirdPOA/fourthPOA/fifthPOA. The non-existing thirdPOA
- // and thirdPOA/fourthPOA are created automatically.
- name = "thirdPOA";
- name += TAO_POA::name_separator ();
- name += "forthPOA";
- name += TAO_POA::name_separator ();
- name += "fifthPOA";
-
- PortableServer::POA_var fifth_poa =
- root_poa->create_POA (name.c_str (),
- PortableServer::POAManager::_nil (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Creation of the new POAs over, so destroy the Policy_ptr's.
- for (CORBA::ULong i = 0;
- i < policies.length () && env.exception () == 0;
- ++i)
- {
- CORBA::Policy_ptr policy = policies[i];
- policy->destroy (env);
- }
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Get the names of all the POAs and print them out.
-
- CORBA::String_var root_poa_name =
- root_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- CORBA::String_var first_poa_name =
- first_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- CORBA::String_var second_poa_name =
- second_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- CORBA::String_var fifth_poa_name =
- fifth_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- ACE_DEBUG ((LM_DEBUG,
- "%s\n%s\n%s\n%s\n",
- root_poa_name.in (),
- first_poa_name.in (),
- second_poa_name.in (),
- fifth_poa_name.in ()));
-
- // This should destroy all its children
- root_poa->destroy (1,
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
- return 0;
-}
diff --git a/TAO/examples/POA/NewPOA/NewPOA.dsp b/TAO/examples/POA/NewPOA/NewPOA.dsp
deleted file mode 100644
index cf52605aa51..00000000000
--- a/TAO/examples/POA/NewPOA/NewPOA.dsp
+++ /dev/null
@@ -1,99 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA NewPOA" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA NewPOA - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "NewPOA.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "NewPOA.mak" CFG="POA NewPOA - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA NewPOA - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA NewPOA - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA NewPOA - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA NewPOA - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA NewPOA - Win32 Release"
-# Name "POA NewPOA - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\NewPOA.cpp
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/NewPOA/NewPOA.dsw b/TAO/examples/POA/NewPOA/NewPOA.dsw
deleted file mode 100644
index 479df568d1c..00000000000
--- a/TAO/examples/POA/NewPOA/NewPOA.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "NewPOA"=.\NewPOA.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/NewPOA/README b/TAO/examples/POA/NewPOA/README
deleted file mode 100644
index 347c22c8df2..00000000000
--- a/TAO/examples/POA/NewPOA/README
+++ /dev/null
@@ -1,15 +0,0 @@
-This application explains the usage scenario, where new POAs will have
-to be created.
-
-Run this example as follows.
-
-% NewPOA
-
-Comments :
-=========
-
- - Creates the POA hierarchy as given in the header of the NewPOA.cpp
- file.
-
- - Prints out names of all the POAs.
-
diff --git a/TAO/examples/POA/On_Demand_Activation/Makefile b/TAO/examples/POA/On_Demand_Activation/Makefile
deleted file mode 100644
index 1366d2c7205..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/Makefile
+++ /dev/null
@@ -1,276 +0,0 @@
-#
-# $Id$
-#
-
-BIN = server
-
-MYFILES = Servant_Activator Servant_Locator
-
-SRC = $(addsuffix .cpp,$(MYFILES)) $(addsuffix .cpp, $(BIN))
-OBJ = $(addsuffix .o,$(MYFILES))
-
-CPPFLAGS += -I$(TAO_ROOT) -I../Generic_Servant
-
-LDLIBS = -lserver -lTAO
-LDFLAGS += -L$(TAO_ROOT)/tao -L../Generic_Servant
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-BUILD = $(VBIN)
-
-INSTALL =
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-ifndef TAO_ROOT
-TAO_ROOT = $(ACE_ROOT)/TAO
-endif
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- Servant_Activator.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- Servant_Locator.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/On_Demand_Activation/On_Demand_Activation.dsw b/TAO/examples/POA/On_Demand_Activation/On_Demand_Activation.dsw
deleted file mode 100644
index f121fae15c3..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/On_Demand_Activation.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/On_Demand_Activation/README b/TAO/examples/POA/On_Demand_Activation/README
deleted file mode 100644
index b23a801ef6f..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/README
+++ /dev/null
@@ -1,99 +0,0 @@
-// $Id$
-
-On_Demand_Activation Tests:
-==========================
-
-Description:
-===========
-
-ServantManagers:
-===============
-
-Servant managers are associated with POAs. A servant manager supplies
-a POA with the ability to objects on demand when the POA receives a
-request targeted at an inactive object. A servant manager is
-registered with a POA as a callback object, to be invoked by the POA
-when necessary.An application server that activates all its needed
-objects at the beginning of execution does not need to use a servant
-manager; it is used only for the case in which an object must be
-activated during request processing.
-
-When the POA has the RETAIN policy it uses servant managers that are
-ServantActivators. When the POA has the NON_RETAIN policy it uses
-servant managers that are ServantLocators.
-
-server:
-======
-
- The test program server creates 2 POAs firstPOA and secondPOA.
-firstPOA is created with a RETAIN,USER_ID,USE_SERVANT_MANAGER policy
-and MyFooServantActivator is registered as its servant Manager.
-secondPOA is created with a NON_RETAIN,USER_ID,USE_SERVANT_MANAGER
-policy and MyFooServantLocator is registered as it servant Manager.
-
- It then creates an object reference from the string "firstFoo"
-in firstPOA and prints its IOR.Similarly it creates an object
-reference from the string "secondFoo" in secondPOA and prints its
-IOR. Finally it changes the state of the POA_Manager to 'active' and
-runs the ORB.
-
-USAGE:
-======
-
-You can use the run_test.pl perl script or follow these directions:
-
-%server [-ORBport port] [-ORBobjrefstyle URL] [-f IOR file]
-
-client:
-======
- The Foo client program is in the path
-
- TAO/tests/POA/Generic_Servant/client
- i.e ../Generic_Servant/client
-
-% client [-k IOR] [-f IOR file]
-
-where IOR is got from the server output to the screen or to the IOR file.
-
-To Test:
-=======
-
-1. Run the server
-
-Servant Activator:
-===================
-
-2. Get the IOR for "firstFOO" from the server output .
-
-3. Run client -k IOR
-
-4. You should get an output
-
- 27
-
-along with some diagnostic messages.
-
-Servant Locator:
-=================
-
-2. Get the IOR for "secondFoo" from the server output
-
-3. Run client -k IOR
-
-4. The first time a client is run you should get an output
-
- 2 (or 1)
-
-along with some diagnostic messages.
-
-5. Subsequent runs of the client program results in the output
- incremented by 2 (or 1).
-
-6. Thus, the second run of client should give you an output 4 (or 2).
-
-
-
-
-
-
-
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp
deleted file mode 100644
index 8a82cdaf4d2..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/On_Demand_Activation/Servant_Activator
-//
-// = FILENAME
-// Servant_Activator.cpp
-//
-// = DESCRIPTION
-// Implementation of MyFooServantActivator , which is used by a
-// POA with a RETAIN policy.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-// ============================================================================
-
-#include "Servant_Activator.h"
-#include "MyFooServant.h"
-
-ACE_RCSID(On_Demand_Activation, Servant_Activator, "$Id$")
-
-MyFooServantActivator::MyFooServantActivator (CORBA::ORB_ptr orb)
- : orb_ (CORBA::ORB::_duplicate (orb))
-{
-}
-
-PortableServer::Servant
-MyFooServantActivator::incarnate (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr poa,
- CORBA::Environment &env)
-{
- // Convert ObjectId to String.
-
- CORBA::String_var s = PortableServer::ObjectId_to_string (oid);
-
- // If ObjectId string has a Foo Substring, create and return a
- // MyFooServant.
-
- if (ACE_OS::strstr (s.in (), "Foo") != 0)
- return new MyFooServant (this->orb_.in (), poa, 27);
- else
- {
- CORBA::Exception *exception = new CORBA::OBJECT_NOT_EXIST (CORBA::COMPLETED_NO);
- env.exception (exception);
- return 0;
- }
-}
-
-
-void
-MyFooServantActivator::etherealize (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr poa,
- PortableServer::Servant servant,
- CORBA::Boolean cleanup_in_progress,
- CORBA::Boolean remaining_activations,
- CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (oid);
- ACE_UNUSED_ARG (poa);
- ACE_UNUSED_ARG (cleanup_in_progress);
- ACE_UNUSED_ARG (env);
-
- // If there are no remaining activations i.e ObjectIds associated
- // with MyFooServant delete it.
-
- if (remaining_activations == 0)
- delete servant;
-}
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h b/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h
deleted file mode 100644
index bdf0fdda78a..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/Servant_Activator.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// $Id$
-
-//=================================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/On_Demand_Activation/Servant_Activator
-//
-// = FILENAME
-// Servant_Activator.h
-//
-// = DESCRIPTION
-// Defines a MyFooServantActivator class.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//==================================================================================
-
-#include "tao/corba.h"
-
-class MyFooServantActivator : public POA_PortableServer::ServantActivator
-{
-public:
- MyFooServantActivator (CORBA::ORB_ptr orb);
-
- virtual PortableServer::Servant incarnate (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr poa,
- CORBA::Environment &env);
- // This method is invoked by a POA with USE_SERVANT_MANAGER and
- // RETAIN policies , whenever it receives a request for a MyFoo
- // object that is not currently active.
-
- virtual void etherealize (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr adapter,
- PortableServer::Servant servant,
- CORBA::Boolean cleanup_in_progress,
- CORBA::Boolean remaining_activations,
- CORBA::Environment &env);
- // This method is invoked whenever a MyFooServant for a MyFoo object
- // is deactivated.
-
-private:
- CORBA::ORB_var orb_;
- // A reference to the ORB.
-};
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp b/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp
deleted file mode 100644
index 52b21000087..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/On_Demand_Activation/Servant_Locator
-//
-// = FILENAME
-// Servant_Locator.cpp
-//
-// = DESCRIPTION
-// Implementation of MyFooServantLocator class , used with a POA
-// having a NON_RETAIN policy.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-// ============================================================================
-
-#include "Servant_Locator.h"
-#include "MyFooServant.h"
-
-ACE_RCSID(On_Demand_Activation, Servant_Locator, "$Id$")
-
-MyFooServantLocator::MyFooServantLocator (CORBA::ORB_ptr orb)
- : counter_ (0),
- orb_ (CORBA::ORB::_duplicate (orb))
-{
-}
-
-
-PortableServer::Servant
-MyFooServantLocator::preinvoke (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr poa,
- const char * /* operation */,
- PortableServer::ServantLocator::Cookie &cookie,
- CORBA::Environment &env)
-{
- // Convert ObjectID to String.
-
- CORBA::String_var s = PortableServer::ObjectId_to_string (oid);
- // If ObjectID string has a Foo Substring create and return a
- // MyFooServant.
-
- if (ACE_OS::strstr (s.in (), "Foo") != 0)
- {
- PortableServer::Servant servant =
- new MyFooServant (this->orb_.in (), poa, ++this->counter_);
-
- // Return the servant as the cookie , used as a check when
- // postinvoke is called on this MyFooServantLocator.
-
- cookie = servant;
- return servant;
- }
- else
- {
- CORBA::Exception *exception =
- new CORBA::OBJECT_NOT_EXIST (CORBA::COMPLETED_NO);
- env.exception (exception);
- return 0;
- }
-}
-
-void
-MyFooServantLocator::postinvoke (const PortableServer::ObjectId & /* oid */,
- PortableServer::POA_ptr /* poa */,
- const char * /* operation */,
- PortableServer::ServantLocator::Cookie cookie,
- PortableServer::Servant servant,
- CORBA::Environment &/* env */)
-{
- // Check the passed servant with the cookie.
-
- PortableServer::Servant my_servant = (PortableServer::Servant) cookie;
- ACE_ASSERT (servant == my_servant);
- delete servant;
-
- // To avoid warning about unused variable with ACE_NDEBUG.
- ACE_UNUSED_ARG (my_servant);
-}
diff --git a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h b/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h
deleted file mode 100644
index b65c72e5886..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/Servant_Locator.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// $Id$
-
-//================================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/On_Demand_Activation/Servant_Locator
-//
-// = FILENAME
-// Servant_Locator.h
-//
-// = DESCRIPTION
-// Defines a MyFooServantLocator class , used with a POA having
-// a NON_RETAIN policy
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//==================================================================================
-
-#include "tao/corba.h"
-
-class MyFooServantLocator : public POA_PortableServer::ServantLocator
-{
- // = TITLE
- // This class is used by a POA with USE_SERVANT_MANAGER and
- // NON_RETAIN policy.
-public:
- MyFooServantLocator (CORBA::ORB_ptr orb);
- // constructor
-
- virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr adapter,
- const char *operation,
- PortableServer::ServantLocator::Cookie &the_cookie,
- CORBA::Environment &env);
- // This method is invoked by a POA whenever it receives a request
- // for MyFoo object that is not currently active.
-
- virtual void postinvoke (const PortableServer::ObjectId &oid,
- PortableServer::POA_ptr adapter,
- const char *operation,
- PortableServer::ServantLocator::Cookie the_cookie,
- PortableServer::Servant the_servant,
- CORBA::Environment &env);
- // This method is invoked whenever a MyFooServant completes a
- // request.
-
-private:
- int counter_;
- // Counter for number of invocations of this.
-
- CORBA::ORB_var orb_;
-};
diff --git a/TAO/examples/POA/On_Demand_Activation/run_test.pl b/TAO/examples/POA/On_Demand_Activation/run_test.pl
deleted file mode 100755
index f8b431cb97a..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/run_test.pl
+++ /dev/null
@@ -1,65 +0,0 @@
-#$Id$
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-unshift @INC, '../../../../bin';
-require ACEutils;
-
-$iorfile = "ior";
-
-$oneway = "";
-$iterations = 100;
-
-# Parse the arguments
-for ($i = 0; $i <= $#ARGV; $i++)
-{
- SWITCH:
- {
- if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?")
- {
- print "run_test [-h] [-i iterations] [-o] [-f ior file]\n";
- print "\n";
- print "-h -- prints this information\n";
- print "-f -- ior file\n";
- print "-i iterations -- specifies iterations\n";
- print "-o -- call issued are oneways\n";
- exit;
- }
- if ($ARGV[$i] eq "-o")
- {
- $oneway = "-o";
- last SWITCH;
- }
- if ($ARGV[$i] eq "-i")
- {
- $iterations = $ARGV[$i + 1];
- $i++;
- last SWITCH;
- }
- if ($ARGV[$i] eq "-f")
- {
- $iorfile = $ARGV[$i + 1];
- $i++;
- last SWITCH;
- }
- print "run_test: Unknown Option: ".$ARGV[$i]."\n";
- }
-}
-
-$iorfile_1 = $iorfile."_1";
-$iorfile_2 = $iorfile."_2";
-
-$SV = Process::Create ("server$Process::EXE_EXT", "-f $iorfile");
-
-ACE::waitforfile ($iorfile_1);
-ACE::waitforfile ($iorfile_2);
-
-$status = system ("../Generic_Servant/client$Process::EXE_EXT $oneway -i $iterations -f $iorfile_1");
-$status = system ("../Generic_Servant/client$Process::EXE_EXT $oneway -i $iterations -f $iorfile_2 -x");
-
-unlink $iorfile_1;
-unlink $iorfile_2;
-
-exit $status;
diff --git a/TAO/examples/POA/On_Demand_Activation/server.cpp b/TAO/examples/POA/On_Demand_Activation/server.cpp
deleted file mode 100644
index 51c71fc9ec4..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/server.cpp
+++ /dev/null
@@ -1,374 +0,0 @@
-// $Id$
-
-//============================================================================
-//
-// =FILENAME
-// server.cpp
-//
-// =DESCRIPTION
-// Server to test the Servant Activator and Servant Locator for a POA.
-//
-// =AUTHOR
-// Irfan Pyarali
-//
-//=============================================================================
-
-#include "ace/streams.h"
-#include "Servant_Activator.h"
-#include "Servant_Locator.h"
-
-ACE_RCSID(On_Demand_Activation, server, "$Id$")
-
-static char *ior_output_file = 0;
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "f:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'f':
- ior_output_file = get_opts.optarg;
- break;
-
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s "
- "[-f ior_output_file]"
- "\n",
- argv [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-static int
-write_iors_to_file (const char *first_ior,
- const char *second_ior)
-{
- if (ior_output_file == 0)
- // No filename was specified; simply return
- return 0;
-
- char ior_output_file_1[BUFSIZ];
- char ior_output_file_2[BUFSIZ];
-
- ACE_OS::sprintf (ior_output_file_1, "%s_1", ior_output_file);
- ACE_OS::sprintf (ior_output_file_2, "%s_2", ior_output_file);
-
- FILE *output_file_1 = ACE_OS::fopen (ior_output_file_1, "w");
- FILE *output_file_2 = ACE_OS::fopen (ior_output_file_2, "w");
-
- if (output_file_1 == 0 ||
- output_file_2 == 0)
- ACE_ERROR_RETURN ((LM_ERROR, "Cannot open output files for writing IORs: %s, %s\n",
- ior_output_file_1,
- ior_output_file_2),
- -1);
-
- int result = 0;
-
- result = ACE_OS::fprintf (output_file_1,
- "%s",
- first_ior);
- if (result != ACE_OS::strlen (first_ior))
- ACE_ERROR_RETURN ((LM_ERROR,
- "ACE_OS::fprintf failed while writing %s to %s\n",
- first_ior,
- ior_output_file_1),
- -1);
-
- result = ACE_OS::fprintf (output_file_2,
- "%s",
- second_ior);
- if (result != ACE_OS::strlen (second_ior))
- ACE_ERROR_RETURN ((LM_ERROR,
- "ACE_OS::fprintf failed while writing %s to %s\n",
- second_ior,
- ior_output_file_2),
- -1);
-
- ACE_OS::fclose (output_file_1);
- ACE_OS::fclose (output_file_2);
-
- return 0;
-}
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB.
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- int result = parse_args (argc, argv);
- if (result != 0)
- return result;
-
- // Get an Object reference to RootPOA.
- CORBA::Object_var obj =
- orb->resolve_initial_references ("RootPOA");
-
- // Narrow the Object reference to a POA reference
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (obj.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- // Get the POAManager of RootPOA
-
- PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::the_POAManager");
- return -1;
- }
-
- CORBA::PolicyList policies (4);
- policies.length (4);
-
- // ID Assignment Policy
- policies[0] =
- root_poa->create_id_assignment_policy (PortableServer::USER_ID, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_id_assignment_policy");
- return -1;
- }
-
- // Lifespan Policy
- policies[1] =
- root_poa->create_lifespan_policy (PortableServer::PERSISTENT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_lifespan_policy");
- return -1;
- }
-
- // Request Processing Policy
- policies[2] =
- root_poa->create_request_processing_policy (PortableServer::USE_SERVANT_MANAGER, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_request_processing_policy");
- return -1;
- }
-
- PortableServer::POA_var first_poa;
- {
- // Servant Retention Policy
- policies[3] =
- root_poa->create_servant_retention_policy (PortableServer::RETAIN, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_servant_retention_policy");
- return -1;
- }
-
- ACE_CString name = "firstPOA";
-
- // Create firstPOA as the child of RootPOA with the above policies
- // firstPOA will use SERVANT_ACTIVATOR because of RETAIN policy.
- first_poa = root_poa->create_POA (name.c_str (),
- poa_manager.in (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
- }
-
- PortableServer::POA_var second_poa;
- {
- // Servant Retention Policy
- policies[3] =
- root_poa->create_servant_retention_policy (PortableServer::NON_RETAIN, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_servant_retention_policy");
- return -1;
- }
-
- ACE_CString name = "secondPOA";
-
- // Create secondPOA as child of RootPOA with the above policies
- // secondPOA will use a SERVANT_LOCATOR because of NON_RETAIN
- // policy.
- second_poa = root_poa->create_POA (name.c_str (),
- poa_manager.in (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
- }
-
- // Destroy the policy objects as they have been passed to
- // create_POA and no longer needed.
- for (CORBA::ULong i = 0;
- i < policies.length () && env.exception () == 0;
- ++i)
- {
- CORBA::Policy_ptr policy = policies[i];
- policy->destroy (env);
- }
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- MyFooServantActivator servant_activator_impl (orb.in ());
- PortableServer::ServantActivator_var servant_activator =
- servant_activator_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::_this");
- return -1;
- }
-
- // Set MyFooServantActivator object as the servant_manager of
- // firstPOA.
-
- first_poa->set_servant_manager (servant_activator.in (), env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::set_servant_manager");
- return -1;
- }
-
- // Create a reference with user created ID in firstPOA which uses
- // the MyFooServantActivator.
-
- PortableServer::ObjectId_var first_foo_oid =
- PortableServer::string_to_ObjectId ("firstFoo");
-
- CORBA::Object_var first_foo =
- first_poa->create_reference_with_id (first_foo_oid.in (), "IDL:Foo:1.0", env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_reference_with_id");
- return -1;
- }
-
- MyFooServantLocator servant_locator_impl (orb.in ());
- PortableServer::ServantLocator_var servant_locator =
- servant_locator_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::_this");
- return -1;
- }
-
- // Set MyFooServantLocator object as the servant Manager of
- // secondPOA.
-
- second_poa->set_servant_manager (servant_locator.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::set_servant_manager");
- return -1;
- }
-
- // Try to create a reference with user created ID in second_poa
- // which uses MyFooServantLocator.
-
- PortableServer::ObjectId_var second_foo_oid =
- PortableServer::string_to_ObjectId ("secondFoo");
-
- CORBA::Object_var second_foo =
- second_poa->create_reference_with_id (second_foo_oid.in (),
- "IDL:Foo:1.0", env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_reference_with_id");
- return -1;
- }
-
- // Invoke object_to_string on the references created in firstPOA and
- // secondPOA.
-
- CORBA::String_var first_foo_ior =
- orb->object_to_string (first_foo.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- CORBA::String_var second_foo_ior =
- orb->object_to_string (second_foo.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- // Print the ior's of first_foo and second_foo.
-
- ACE_DEBUG((LM_DEBUG,"%s\n%s\n",
- first_foo_ior.in (),
- second_foo_ior.in ()));
-
- int write_result = write_iors_to_file (first_foo_ior.in (),
- second_foo_ior.in ());
- if (write_result != 0)
- return write_result;
-
- // Set the poa_manager state to active, ready to process requests.
- poa_manager->activate (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::activate");
- return -1;
- }
-
- // Run the ORB.
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1);
-
- // Destroy the root_poa and also first_poa and second_poa
-
- root_poa->destroy (1,
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
- return 0;
-}
-
diff --git a/TAO/examples/POA/On_Demand_Activation/server.dsp b/TAO/examples/POA/On_Demand_Activation/server.dsp
deleted file mode 100644
index 943facf33b8..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/server.dsp
+++ /dev/null
@@ -1,119 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA On_Demand Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA On_Demand Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="POA On_Demand Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA On_Demand Server - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA On_Demand Server - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA On_Demand Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 tao.lib ace.lib ..\Generic_Servant\Generic_Servant.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA On_Demand Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /I "..\Generic_Servant\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 ..\Generic_Servant\Generic_Servantd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA On_Demand Server - Win32 Release"
-# Name "POA On_Demand Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Servant_Activator.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Servant_Locator.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Servant_Activator.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Servant_Locator.h
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/On_Demand_Activation/svc.conf b/TAO/examples/POA/On_Demand_Activation/svc.conf
deleted file mode 100644
index 43c6a486c92..00000000000
--- a/TAO/examples/POA/On_Demand_Activation/svc.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"
diff --git a/TAO/examples/POA/README b/TAO/examples/POA/README
deleted file mode 100644
index f7bbc2d70bc..00000000000
--- a/TAO/examples/POA/README
+++ /dev/null
@@ -1,58 +0,0 @@
-// $Id$
-
-The following TAO applications illustate various Portable Object
-Adapter (POA) interfaces and their usage scenarios.
-
- Individual README files in the respective directories explain
-these applications further.
-
- . RootPOA
-
- This example explains how to obtain the name of the
- RootPOA.
-
- . NewPOA
-
- This example explains the operations involved in
- creation of new POAs.
-
- . FindPOA
-
- This example explains registering an adapter activator
- for a POA and also the find_POA operation.
-
- . Generic_Servant
-
- A simple interface (Foo) is defined here and its
- implementations, server and client programs are
- available, which can be used for testing POA
- applications. Several servers for that interface are
- implemented using different POA policies; a common
- client for all the servers is also provided.
-
- . On_Demand_Activation
-
- Contains programs that test the POA's 2 types of
- activation of objects on demand, namely , Servant
- Activator approach and Servant Locator , which depend
- on the RETAIN/NON-RETAIN policy of a POA.
-
- . Default_Servant
-
- Contains a File IDL module and its implementation and
- a server,client to test the File Module interfaces.
- The System interface uses the USE_DEFAULT_MANAGER policy
- to create a POA and registers a single File Descriptor
- object as the default servant. The default servant serves
- requests for many Descriptor objects.
-
- . Explicit_Activation
-
- This application explains various operations involved
- in the explicit activation of objects; including the
- creation of objects without servants (the servant is
- created on demand). NOTE: Currently the example does
- not work. < It compiles; but at runtime, _narrow()
- raises an exception on the client. >
-
-
diff --git a/TAO/examples/POA/RootPOA/Makefile b/TAO/examples/POA/RootPOA/Makefile
deleted file mode 100644
index f294c8d4dcf..00000000000
--- a/TAO/examples/POA/RootPOA/Makefile
+++ /dev/null
@@ -1,270 +0,0 @@
-#
-# $Id$
-#
-
-BIN = RootPOA
-
-LSRC = $(addsuffix .cpp,$(BIN))
-
-CPPFLAGS += -I$(TAO_ROOT)
-
-LDLIBS = -lTAO
-LDFLAGS += -L$(TAO_ROOT)/tao
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-BUILD = $(VBIN)
-
-INSTALL =
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-ifndef TAO_ROOT
-TAO_ROOT = $(ACE_ROOT)/TAO
-endif
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/RootPOA.o .obj/RootPOA.so .shobj/RootPOA.o .shobj/RootPOA.so: RootPOA.cpp \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/RootPOA/README b/TAO/examples/POA/RootPOA/README
deleted file mode 100644
index c2f0c5749b4..00000000000
--- a/TAO/examples/POA/RootPOA/README
+++ /dev/null
@@ -1,11 +0,0 @@
-This program obtains the name of the Root POA.
-
-Run the application as follows.
-
-% RootPOA
-
-Comments:
-========
-
-- It prints out the name of the Root POA. Currently, the name of the
- RootPOA in TAO is an empty string.
diff --git a/TAO/examples/POA/RootPOA/RootPOA.cpp b/TAO/examples/POA/RootPOA/RootPOA.cpp
deleted file mode 100644
index 7a9e568c478..00000000000
--- a/TAO/examples/POA/RootPOA/RootPOA.cpp
+++ /dev/null
@@ -1,75 +0,0 @@
-// $Id$
-
-//========================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/RootPOA
-//
-//
-// = FILENAME
-// RootPOA.cpp
-//
-// = DESCRIPTION
-// This program gets the name of the Root POA and prints it out on
-// the standard output.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//=========================================================================
-
-#include "ace/streams.h"
-#include "tao/corba.h"
-
-ACE_RCSID(RootPOA, RootPOA, "$Id$")
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initilize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
-
- TAO_CHECK_ENV_PRINT_RETURN (env,
- "CORBA::ORB_init",
- -1);
-
-
- // Resolve the initial references for the name RootPOA thus getting
- // an object of type CORBA::Object.
- CORBA::Object_var obj =
- orb->resolve_initial_references ("RootPOA");
-
- // apply _narrow on the object of type CORBA::Object, to make it a
- // POA class Object.
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (obj.in (), env);
-
- TAO_CHECK_ENV_PRINT_RETURN (env,
- "PortableServer::POA::_narrow",
- -1);
-
- // Get the name of the root POA.
- CORBA::String_var poa_name =
- root_poa->the_name (env);
-
- TAO_CHECK_ENV_PRINT_RETURN (env,
- "PortableServer::POA::_narrow",
- -1);
-
- ACE_DEBUG ((LM_DEBUG,
- "The RootPOA is : %s\n",
- poa_name.in ()));
-
- // Destroy the POA object,also destroys the child POAs if any.
- root_poa->destroy (1,
- 1,
- env);
-
- TAO_CHECK_ENV_PRINT_RETURN (env,
- "PortableServer::POA::destroy",
- -1);
-
- return 0;
-}
diff --git a/TAO/examples/POA/RootPOA/RootPOA.dsp b/TAO/examples/POA/RootPOA/RootPOA.dsp
deleted file mode 100644
index ac41e5153e4..00000000000
--- a/TAO/examples/POA/RootPOA/RootPOA.dsp
+++ /dev/null
@@ -1,99 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA RootPOA" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA RootPOA - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "RootPOA.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "RootPOA.mak" CFG="POA RootPOA - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA RootPOA - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA RootPOA - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA RootPOA - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA RootPOA - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA RootPOA - Win32 Release"
-# Name "POA RootPOA - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\RootPOA.cpp
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/RootPOA/RootPOA.dsw b/TAO/examples/POA/RootPOA/RootPOA.dsw
deleted file mode 100644
index 124f92637d3..00000000000
--- a/TAO/examples/POA/RootPOA/RootPOA.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "RootPOA"=.\RootPOA.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/TIE/Foo.idl b/TAO/examples/POA/TIE/Foo.idl
deleted file mode 100644
index 2ac05a4fcd1..00000000000
--- a/TAO/examples/POA/TIE/Foo.idl
+++ /dev/null
@@ -1,30 +0,0 @@
-// $Id$
-//===============================================================================
-//
-// = FILENAME
-// Foo.idl
-//
-//==================================================================================
-
-// IDL
-
-interface A
-{
- long doit();
-};
-
-module Outer
-{
- interface B
- {
- long doit();
- };
-
- module Inner
- {
- interface C
- {
- long doit();
- };
- };
-};
diff --git a/TAO/examples/POA/TIE/Foo_i.cpp b/TAO/examples/POA/TIE/Foo_i.cpp
deleted file mode 100644
index 203ac3aa1a7..00000000000
--- a/TAO/examples/POA/TIE/Foo_i.cpp
+++ /dev/null
@@ -1,99 +0,0 @@
-// $Id$
-
-//===========================================================================
-//
-//
-// = FILENAME
-// Foo_i.cpp
-//
-// = DESCRIPTION
-// This is a simple foo servant implementation
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//===========================================================================
-
-#include "Foo_i.h"
-
-ACE_RCSID(TIE, Foo_i, "$Id$")
-
- // Constructor
- Tie_i::Tie_i (CORBA::Long value)
- : value_ (value)
-{
-}
-
-// Return this->value
-CORBA::Long
-Tie_i::doit (CORBA::Environment &/*env*/)
-{
- return this->value_;
-}
-
-// Constructor
-A_i::A_i (CORBA::Long value,
- PortableServer::POA_ptr poa)
- : value_ (value),
- poa_ (PortableServer::POA::_duplicate (poa))
-{
-}
-
-// Return this->value
-CORBA::Long
-A_i::doit (CORBA::Environment &/*env*/)
-{
- return this->value_;
-}
-
-// Return the Default POA of this Servant
-PortableServer::POA_ptr
-A_i::_default_POA (CORBA::Environment &/*env*/)
-{
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}
-
-// Constructor
-Outer_i::B_i::B_i (CORBA::Long value,
- PortableServer::POA_ptr poa)
- : value_ (value),
- poa_ (PortableServer::POA::_duplicate (poa))
-{
-}
-
-// Return this->value
-CORBA::Long
-Outer_i::B_i::doit (CORBA::Environment &/*env*/)
-{
- return this->value_;
-}
-
-// Return the Default POA of this Servant
-PortableServer::POA_ptr
-Outer_i::B_i::_default_POA (CORBA::Environment &/*env*/)
-{
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}
-
-// Constructor
-Outer_i::Inner_i::C_i::C_i (CORBA::Long value,
- PortableServer::POA_ptr poa)
- : value_ (value),
- poa_ (PortableServer::POA::_duplicate (poa))
-{
-}
-
-// Return this->value
-CORBA::Long
-Outer_i::Inner_i::C_i::doit (CORBA::Environment &/*env*/)
-{
- return this->value_;
-}
-
-// Return the Default POA of this Servant
-PortableServer::POA_ptr
-Outer_i::Inner_i::C_i::_default_POA (CORBA::Environment &/*env*/)
-{
- return PortableServer::POA::_duplicate (this->poa_.in ());
-}
-
diff --git a/TAO/examples/POA/TIE/Foo_i.h b/TAO/examples/POA/TIE/Foo_i.h
deleted file mode 100644
index 75f4731e1f2..00000000000
--- a/TAO/examples/POA/TIE/Foo_i.h
+++ /dev/null
@@ -1,108 +0,0 @@
-// $Id$
-//=============================================================================
-//
-//
-// = FILENAME
-// Foo_i.h
-//
-// = DESCRIPTION
-// Defines implementation classes for the interfaces
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//=============================================================================
-
-#if !defined (FOO_I_H)
-#define FOO_I_H
-
-#include "FooS.h"
-
-class Tie_i
-{
-public:
- // constructor - takes a POA and a value parameter
- Tie_i (CORBA::Long value);
-
- // Simple doit method
- virtual CORBA::Long doit (CORBA::Environment &env);
-
-protected:
-
- CORBA::Long value_;
-};
-
-class A_i : public POA_A
-{
-public:
- // constructor - takes a POA and a value parameter
- A_i (CORBA::Long value,
- PortableServer::POA_ptr poa);
-
- // Simple doit method
- virtual CORBA::Long doit (CORBA::Environment &env);
-
- // Returns the Default POA of this Servant object
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
-
-protected:
-
- CORBA::Long value_;
-
- PortableServer::POA_var poa_;
- // Default poa associated with this servant
-};
-
-class Outer_i
-{
-public:
-
- class B_i : public POA_Outer::B
- {
- public:
- // constructor - takes a POA and a value parameter
- B_i (CORBA::Long value,
- PortableServer::POA_ptr poa);
-
- // Simple doit method
- virtual CORBA::Long doit (CORBA::Environment &env);
-
- // Returns the Default POA of this Servant object
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
-
- protected:
-
- CORBA::Long value_;
-
- PortableServer::POA_var poa_;
- // Default poa associated with this servant
- };
-
- class Inner_i
- {
- public:
-
- class C_i : public POA_Outer::Inner::C
- {
- public:
- // constructor - takes a POA and a value parameter
- C_i (CORBA::Long value,
- PortableServer::POA_ptr poa);
-
- // Simple doit method
- virtual CORBA::Long doit (CORBA::Environment &env);
-
- // Returns the Default POA of this Servant object
- virtual PortableServer::POA_ptr _default_POA (CORBA::Environment &env);
-
- protected:
-
- CORBA::Long value_;
-
- PortableServer::POA_var poa_;
- // Default poa associated with this servant
- };
- };
-};
-
-#endif /* FOO_I_H */
diff --git a/TAO/examples/POA/TIE/Makefile b/TAO/examples/POA/TIE/Makefile
deleted file mode 100644
index 736a7adbed7..00000000000
--- a/TAO/examples/POA/TIE/Makefile
+++ /dev/null
@@ -1,71 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO
-
-IDL_SRC = FooC.cpp FooS.cpp
-PROG_SRCS = $(IDL_SRC) server.cpp client.cpp Foo_i.cpp
-
-LSRC = $(PROG_SRCS)
-
-FILE_SVR_OBJS = FooC.o FooS.o server.o Foo_i.o
-FILE_CLT_OBJS = FooC.o FooS.o client.o
-
-BIN = server client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-
-ifeq ($(ACE_HAS_GNUG_PRE_2_8),1)
-
- # Since older g++ cannot handle nested classes properly, this test
- # will not build on g++ prior to 2.8.0.
- all clean realclean:
- @echo POA/TIE is not built with older versions of g++
-
-else # ! ACE_HAS_GNUG_PRE_2_8
-
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-.PRECIOUS: FooC.h FooC.i FooC.cpp FooS.h FooS.i FooS.cpp
-
-server: $(addprefix $(VDIR),$(FILE_SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(FILE_CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf FooC.* FooS.*
-
-endif # ! ACE_HAS_GNUG_PRE_2_8
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/TIE/TIE.dsw b/TAO/examples/POA/TIE/TIE.dsw
deleted file mode 100644
index d17cf7c9604..00000000000
--- a/TAO/examples/POA/TIE/TIE.dsw
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/POA/TIE/client.cpp b/TAO/examples/POA/TIE/client.cpp
deleted file mode 100644
index ca780b649ac..00000000000
--- a/TAO/examples/POA/TIE/client.cpp
+++ /dev/null
@@ -1,229 +0,0 @@
-// $Id$
-
-//===========================================================================
-//
-//
-// = FILENAME
-// client.cpp
-//
-// = DESCRIPTION
-// This is a simple client implementation.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-//===========================================================================
-
-#include "ace/streams.h"
-#include "ace/Get_Opt.h"
-#include "ace/Profile_Timer.h"
-#include "FooC.h"
-
-ACE_RCSID(TIE, client, "$Id$")
-
- static char *IOR[7] = { 0, 0, 0, 0, 0, 0, 0 };
-static int iterations = 1;
-
-static int
-parse_args (int argc, char **argv)
-{
- ACE_Get_Opt get_opts (argc, argv, "a:b:c:d:e:f:i:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'a':
- IOR[1] = get_opts.optarg;
- break;
- case 'b':
- IOR[2] = get_opts.optarg;
- break;
- case 'c':
- IOR[3] = get_opts.optarg;
- break;
- case 'd':
- IOR[4] = get_opts.optarg;
- break;
- case 'e':
- IOR[5] = get_opts.optarg;
- break;
- case 'f':
- IOR[6] = get_opts.optarg;
- break;
- case 'i':
- iterations = ::atoi (get_opts.optarg);
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s "
- "-a IOR 1 "
- "-b IOR 2 "
- "-c IOR 3 "
- "-d IOR 4 "
- "-e IOR 5 "
- "-f IOR 6 "
- "\n",
- argv [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-void
-print_stats (ACE_Profile_Timer::ACE_Elapsed_Time &elapsed_time,
- int iterations)
-{
- if (iterations > 0)
- {
- elapsed_time.real_time *= ACE_ONE_SECOND_IN_MSECS;
- elapsed_time.user_time *= ACE_ONE_SECOND_IN_MSECS;
- elapsed_time.system_time *= ACE_ONE_SECOND_IN_MSECS;
-
- elapsed_time.real_time /= iterations;
- elapsed_time.user_time /= iterations;
- elapsed_time.system_time /= iterations;
-
- double tmp = 1000 / elapsed_time.real_time;
-
- ACE_DEBUG ((LM_DEBUG,
- "\treal_time\t = %0.06f ms, \n"
- "\tuser_time\t = %0.06f ms, \n"
- "\tsystem_time\t = %0.06f ms, \n"
- "\t%0.00f calls/second\n",
- elapsed_time.real_time < 0.0 ? 0.0 : elapsed_time.real_time,
- elapsed_time.user_time < 0.0 ? 0.0 : elapsed_time.user_time,
- elapsed_time.system_time < 0.0 ? 0.0 : elapsed_time.system_time,
- tmp < 0.0 ? 0.0 : tmp));
- }
- else
- ACE_ERROR ((LM_ERROR,
- "\tNo time stats printed. Zero iterations or error ocurred.\n"));
-}
-
-template <class T, class T_var>
-class Test
-{
-public:
- static void run (CORBA::ORB_ptr orb,
- char *IOR,
- CORBA::Environment &env)
- {
- if (IOR != 0)
- {
- // Get an object reference from the argument string.
- CORBA::Object_var object = orb->string_to_object (IOR, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::string_to_object");
- return;
- }
-
- // Try to narrow the object reference to a reference.
- T_var foo = T::_narrow (object.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("_narrow");
- return;
- }
-
- ACE_Profile_Timer timer;
- ACE_Profile_Timer::ACE_Elapsed_Time elapsed_time;
-
- // We start an ACE_Profile_Timer here...
- timer.start ();
-
- CORBA::Long result = 0;
- int i = 0;
- for (i = 0; i < iterations && env.exception () == 0; i++)
- {
- // Invoke the doit() method on the reference.
- result = foo->doit (env);
- }
-
- // stop the timer.
- timer.stop ();
- timer.elapsed_time (elapsed_time);
-
- // compute average time.
- print_stats (elapsed_time, i);
-
- if (env.exception () != 0)
- {
- env.print_exception ("doit");
- return;
- }
-
- // Print the result of doit () method on the reference.
- ACE_DEBUG ((LM_DEBUG,
- "%d\n",
- result));
- }
- }
-};
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Initialize options based on command-line arguments.
- int parse_args_result = parse_args (argc, argv);
- if (parse_args_result != 0)
- return parse_args_result;
-
- int i = 1;
-
- Test<A, A_var>::run (orb.in (),
- IOR[i++],
- env);
-
- Test<Outer::B, Outer::B_var>::run (orb.in (),
- IOR[i++],
- env);
-
- Test<Outer::Inner::C, Outer::Inner::C_var>::run (orb.in (),
- IOR[i++],
- env);
-
- Test<A, A_var>::run (orb.in (),
- IOR[i++],
- env);
-
- Test<Outer::B, Outer::B_var>::run (orb.in (),
- IOR[i++],
- env);
-
- Test<Outer::Inner::C, Outer::Inner::C_var>::run (orb.in (),
- IOR[i++],
- env);
-
- return 0;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-
-template class Test<A, A_var>;
-template class Test<Outer::B, Outer::B_var>;
-template class Test<Outer::Inner::C, Outer::Inner::C_var>;
-
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-
-#pragma instantiate Test<A, A_var>
-#pragma instantiate Test<Outer::B, Outer::B_var>
-#pragma instantiate Test<Outer::Inner::C, Outer::Inner::C_var>
-
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/examples/POA/TIE/client.dsp b/TAO/examples/POA/TIE/client.dsp
deleted file mode 100644
index 14e5728d15a..00000000000
--- a/TAO/examples/POA/TIE/client.dsp
+++ /dev/null
@@ -1,210 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA TIE Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA TIE Client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="POA TIE Client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA TIE Client - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "POA TIE Client - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA TIE Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA TIE Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "client__"
-# PROP BASE Intermediate_Dir "client__"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA TIE Client - Win32 Release"
-# Name "POA TIE Client - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\FooC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS_T.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Foo.idl
-
-!IF "$(CFG)" == "POA TIE Client - Win32 Release"
-
-USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputPath)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA TIE Client - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/TIE/server.cpp b/TAO/examples/POA/TIE/server.cpp
deleted file mode 100644
index 5df931b3beb..00000000000
--- a/TAO/examples/POA/TIE/server.cpp
+++ /dev/null
@@ -1,306 +0,0 @@
-// $Id$
-
-// =========================================================================
-// = LIBRARY
-// TAO/tests/POA/TIE
-//
-// = FILENAME
-// server.cpp
-//
-// = DESCRIPTION
-// In this example,
-//
-// = AUTHOR
-// Irfan Pyarali
-// =========================================================================
-
-#include "ace/streams.h"
-#include "Foo_i.h"
-
-ACE_RCSID(TIE, server, "$Id$")
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // Initialize the ORB first.
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Obtain the RootPOA.
- CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA");
-
- // Get the POA_var object from Object_var.
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (obj.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- // Get the POAManager of the RootPOA.
- PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::the_POAManager");
- return -1;
- }
-
- // Policies for the firstPOA to be created.
- CORBA::PolicyList policies (2);
- policies.length (2);
-
- // Lifespan policy
- policies[0] =
- root_poa->create_lifespan_policy (PortableServer::PERSISTENT, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_lifespan_policy");
- return -1;
- }
-
- // Implicit activation policy
- policies[1] =
- root_poa->create_implicit_activation_policy (PortableServer::IMPLICIT_ACTIVATION, env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_implicit_activation_policy");
- return -1;
- }
-
- // Create the firstPOA under the RootPOA.
- ACE_CString name = "firstPOA";
- PortableServer::POA_var first_poa =
- root_poa->create_POA (name.c_str (),
- poa_manager.in (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Creation of POAs is over. Destroy the Policy objects.
- for (CORBA::ULong i = 0;
- i < policies.length () && env.exception () == 0;
- ++i)
- {
- CORBA::Policy_ptr policy = policies[i];
- policy->destroy (env);
- }
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Create A_i
- A_i a_impl (27, first_poa.in ());
-
- // Create B_i
- Outer_i::B_i b_impl (28, first_poa.in ());
-
- // Create C_i
- Outer_i::Inner_i::C_i c_impl (29, first_poa.in ());
-
- // Create A tie
- Tie_i a_tie_i (30);
- POA_A_tie <Tie_i> a_tie_impl (a_tie_i, first_poa.in ());
-
-#if defined (ACE_HAS_USING_KEYWORD)
-
- // Create B tie
- Tie_i b_tie_i (31);
- POA_Outer::B_tie <Tie_i> b_tie_impl (b_tie_i, first_poa.in ());
-
- // Create C tie
- Tie_i c_tie_i (32);
- POA_Outer::Inner::C_tie <Tie_i> c_tie_impl (c_tie_i, first_poa.in ());
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- // Get Object Reference for the a_impl object.
- A_var a = a_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("POA_A::_this");
- return -1;
- }
-
- // Get Object Reference for the b_impl object.
- Outer::B_var b = b_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("POA_Outer::B::_this");
- return -1;
- }
-
- // Get Object Reference for the c_impl object.
- Outer::Inner::C_var c = c_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("POA_Outer::Inner::C::_this");
- return -1;
- }
-
- // Get Object Reference for the a_tie_impl object.
- A_var a_tie = a_tie_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("POA_A::_this");
- return -1;
- }
-
-#if defined (ACE_HAS_USING_KEYWORD)
-
- // Get Object Reference for the a_tie_impl object.
- Outer::B_var b_tie = b_tie_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("POA_Outer::B::_this");
- return -1;
- }
-
- // Get Object Reference for the c_tie_impl object.
- Outer::Inner::C_var c_tie = c_tie_impl._this (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("POA_Outer::Inner::C::_this");
- return -1;
- }
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- // Stringyfy all the object references and print them out.
- CORBA::String_var first_ior =
- orb->object_to_string (a.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- // Stringyfy all the object references and print them out.
- CORBA::String_var second_ior =
- orb->object_to_string (b.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- // Stringyfy all the object references and print them out.
- CORBA::String_var third_ior =
- orb->object_to_string (c.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- // Stringyfy all the object references and print them out.
- CORBA::String_var forth_ior =
- orb->object_to_string (a_tie.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
-#if defined (ACE_HAS_USING_KEYWORD)
-
- // Stringyfy all the object references and print them out.
- CORBA::String_var fifth_ior =
- orb->object_to_string (b_tie.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- // Stringyfy all the object references and print them out.
- CORBA::String_var sixth_ior =
- orb->object_to_string (c_tie.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- ACE_DEBUG ((LM_DEBUG,
- "%s\n%s\n%s\n%s\n",
- first_ior.in (),
- second_ior.in (),
- third_ior.in (),
- forth_ior.in ()));
-
-#if defined (ACE_HAS_USING_KEYWORD)
-
- ACE_DEBUG ((LM_DEBUG,
- "%s\n%s\n",
- fifth_ior.in (),
- sixth_ior.in ()));
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- poa_manager->activate (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::activate");
- return -1;
- }
-
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "CORBA::ORB::run"), -1);
-
- // Destroy RootPOA.
- root_poa->destroy (1,
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
- return 0;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class POA_A_tie<Tie_i>;
-#if defined (ACE_HAS_USING_KEYWORD)
-template class POA_Outer::B_tie <Tie_i>;
-template class POA_Outer::Inner::C_tie <Tie_i>;
-#endif /* ACE_HAS_USING_KEYWORD */
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate POA_A_tie<Tie_i>
-#if defined (ACE_HAS_USING_KEYWORD)
-#pragma instantiate POA_Outer::B_tie <Tie_i>
-#pragma instantiate POA_Outer::Inner::C_tie <Tie_i>
-#endif /* ACE_HAS_USING_KEYWORD */
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/examples/POA/TIE/server.dsp b/TAO/examples/POA/TIE/server.dsp
deleted file mode 100644
index 6657b7de50c..00000000000
--- a/TAO/examples/POA/TIE/server.dsp
+++ /dev/null
@@ -1,218 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA TIE Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA TIE Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="POA TIE Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA TIE Server - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "POA TIE Server - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA TIE Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GR /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 tao.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA TIE Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA TIE Server - Win32 Release"
-# Name "POA TIE Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Foo_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Foo_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\FooS_T.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Foo.idl
-
-!IF "$(CFG)" == "POA TIE Server - Win32 Release"
-
-USERDEP__FOO_I="..\..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputPath)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputPath)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "POA TIE Server - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__FOO_I="..\..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Foo.idl
-InputName=Foo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/locking/Makefile b/TAO/examples/POA/locking/Makefile
deleted file mode 100644
index 65cca97e93a..00000000000
--- a/TAO/examples/POA/locking/Makefile
+++ /dev/null
@@ -1,271 +0,0 @@
-#
-# $Id$
-#
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-BIN = locking
-
-LSRC = $(addsuffix .cpp,$(BIN))
-
-CPPFLAGS += -I$(TAO_ROOT)
-
-LDLIBS = -lTAO
-LDFLAGS += -L$(TAO_ROOT)/tao
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-BUILD = $(VBIN)
-
-INSTALL =
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/locking.o .obj/locking.so .shobj/locking.o .shobj/locking.so: locking.cpp \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/POA/locking/locking.cpp b/TAO/examples/POA/locking/locking.cpp
deleted file mode 100644
index 11bcee778ab..00000000000
--- a/TAO/examples/POA/locking/locking.cpp
+++ /dev/null
@@ -1,168 +0,0 @@
-// $Id$
-
-// ==================================================
-// = LIBRARY
-// TAO/tests/POA/NewPOA
-//
-// = FILENAME
-// NewPOA.cpp
-//
-// = DESCRIPTION
-//
-// This program demonstrates creation of new POAs using TAO
-// specific locking policies
-//
-// = AUTHOR
-// Irfan Pyarali
-// ==================================================
-
-#include "ace/streams.h"
-#include "tao/corba.h"
-
-ACE_RCSID(locking, locking, "$Id$")
-
-int
-main (int argc, char **argv)
-{
- CORBA::Environment env;
-
- // The first step -- Initialize the ORB.
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB_init");
- return -1;
- }
-
- // Obtain the object reference to the RootPOA.
- TAO_POA_Policies root_poa_policies;
- root_poa_policies.implicit_activation (PortableServer::IMPLICIT_ACTIVATION);
- root_poa_policies.lifespan (PortableServer::PERSISTENT);
- root_poa_policies.synchronization (PortableServer::NULL_LOCK);
-
- CORBA::Object_var obj = orb->resolve_root_poa ("RootPOA",
- 0,
- &root_poa_policies);
-
- // _narrow () the Object to get the POA object, i.e., the root_poa.
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (obj.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- // Policies for the new POAs
- CORBA::PolicyList policies (1);
- policies.length (1);
-
- // TAO specific threading policy
- policies[0] =
- root_poa->create_synchronization_policy (PortableServer::THREAD_LOCK,
- env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("create_synchronization_policy");
- return -1;
- }
-
- // Creation of the firstPOA
- ACE_CString name = "firstPOA";
- PortableServer::POA_var first_poa =
- root_poa->create_POA (name.c_str (),
- PortableServer::POAManager::_nil (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // TAO specific threading policy
- policies[0] =
- root_poa->create_synchronization_policy (PortableServer::DEFAULT_LOCK, env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("create_synchronization_policy");
- return -1;
- }
-
- // Creation of the new POA, i.e. firstPOA/secondPOA
- name += TAO_POA::name_separator ();
- name += "secondPOA";
- PortableServer::POA_var second_poa =
- root_poa->create_POA (name.c_str (),
- PortableServer::POAManager::_nil (),
- policies,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Creation of the new POAs over, so destroy the Policy_ptr's.
- for (CORBA::ULong i = 0;
- i < policies.length () && env.exception () == 0;
- ++i)
- {
- CORBA::Policy_ptr policy = policies[i];
- policy->destroy (env);
- }
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::create_POA");
- return -1;
- }
-
- // Get the names of all the POAs and print them out.
-
- CORBA::String_var root_poa_name =
- root_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- CORBA::String_var first_poa_name =
- first_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- CORBA::String_var second_poa_name =
- second_poa->the_name (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- ACE_DEBUG ((LM_DEBUG,
- "%s\n%s\n%s\n",
- root_poa_name.in (),
- first_poa_name.in (),
- second_poa_name.in ()));
-
- // This should destroy all its children
- root_poa->destroy (1,
- 1,
- env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::destroy");
- return -1;
- }
-
- return 0;
-}
diff --git a/TAO/examples/POA/locking/locking.dsp b/TAO/examples/POA/locking/locking.dsp
deleted file mode 100644
index c6beec47b6c..00000000000
--- a/TAO/examples/POA/locking/locking.dsp
+++ /dev/null
@@ -1,99 +0,0 @@
-# Microsoft Developer Studio Project File - Name="POA Locking" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=POA Locking - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "locking.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "locking.mak" CFG="POA Locking - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "POA Locking - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "POA Locking - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "POA Locking - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 tao.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "POA Locking - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\.." /I "..\..\..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "POA Locking - Win32 Release"
-# Name "POA Locking - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\locking.cpp
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/POA/locking/locking.dsw b/TAO/examples/POA/locking/locking.dsw
deleted file mode 100644
index d9129842929..00000000000
--- a/TAO/examples/POA/locking/locking.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "locking"=.\locking.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/Quoter/Factory_Finder.cpp b/TAO/examples/Quoter/Factory_Finder.cpp
deleted file mode 100644
index 9bb2b2133c0..00000000000
--- a/TAO/examples/Quoter/Factory_Finder.cpp
+++ /dev/null
@@ -1,228 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// FactoryFinder.cpp
-//
-// = DESCRIPTION
-// A Factory Finder for the Quoter example. This example conforms
-// to the CosLifeCycle Factory Finder notion.
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "tao/corba.h"
-#include "Factory_Finder.h"
-
-ACE_RCSID(Quoter, Factory_Finder, "$Id$")
-
-static const char usage [] = "[-? |\n[-O[RBport] ORB port number]]";
-
-Quoter_Factory_Finder_Server::Quoter_Factory_Finder_Server (void)
-{
-}
-
-Quoter_Factory_Finder_Server::~Quoter_Factory_Finder_Server (void)
-{
- TAO_TRY
- {
- // Unbind the Quoter Factory Finder.
- CosNaming::Name factory_Finder_Name (2);
- factory_Finder_Name.length (2);
- factory_Finder_Name[0].id = CORBA::string_dup ("IDL_Quoter");
- factory_Finder_Name[1].id = CORBA::string_dup ("Quoter_Factory_Finder");
- this->quoterNamingContext_var_->unbind (factory_Finder_Name,TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- }
- TAO_ENDTRY;
-}
-
-int
-Quoter_Factory_Finder_Server::init (int argc, char *argv[], CORBA::Environment& env)
-{
- if (this->orb_manager_.init (argc,
- argv,
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init"),
- -1);
-
- // Copy them, because parse_args expects them there.
- this->argc_ = argc;
- this->argv_ = argv;
-
- this->parse_args ();
-
-
- ACE_NEW_RETURN (this->quoter_Factory_Finder_i_ptr_,
- Quoter_Factory_Finder_i(),
- -1);
-
- // Activate the object.
- CORBA::String_var str =
- this->orb_manager_.activate (this->quoter_Factory_Finder_i_ptr_,
- env);
-
- // Failure while activating the Quoter Factory Finder object
- if (env.exception () != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init: Failure while activating the Quoter Factory Finder Impl.\n"),
- -1);
-
-
- ACE_DEBUG ((LM_DEBUG,
- "The IOR is: <%s>\n",
- str.in ()));
-
- // Register the Quoter Factory Finder with the Naming Service
- TAO_TRY
- {
- ACE_DEBUG ((LM_DEBUG,"Trying to get a reference to the Naming Service.\n"));
-
- // Get the Naming Service object reference.
- CORBA::Object_var namingObj_var =
- orb_manager_.orb()->resolve_initial_references ("NameService");
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (namingObj_var.in ()))
- ACE_ERROR ((LM_ERROR,
- " (%P|%t) Unable get the Naming Service.\n"));
-
- // Narrow the object reference to a Naming Context.
- CosNaming::NamingContext_var namingContext_var =
- CosNaming::NamingContext::_narrow (namingObj_var.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- ACE_DEBUG ((LM_DEBUG,"Have a proper reference to the Naming Service.\n"));
-
- // Get the IDL_Quoter naming context.
- CosNaming::Name quoterContextName (1); // max = 1
- quoterContextName.length (1);
- quoterContextName[0].id = CORBA::string_dup ("IDL_Quoter");
-
- CORBA::Object_var quoterNamingObj_var =
- namingContext_var->resolve (quoterContextName, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- quoterNamingContext_var_ =
- CosNaming::NamingContext::_narrow (quoterNamingObj_var.in (),
- TAO_TRY_ENV);
-
- ACE_DEBUG ((LM_DEBUG,
- "Have a proper reference to the Quoter Naming Context.\n"));
-
- // Bind the QuoterFactory Finder to the IDL_Quoter naming
- // context.
- CosNaming::Name quoter_Factory_Finder_Name_ (1);
- quoter_Factory_Finder_Name_.length (1);
- quoter_Factory_Finder_Name_[0].id = CORBA::string_dup ("Quoter_Factory_Finder");
-
- quoterNamingContext_var_->bind (quoter_Factory_Finder_Name_,
- this->quoter_Factory_Finder_i_ptr_->_this(TAO_TRY_ENV),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- ACE_DEBUG ((LM_DEBUG,
- "Bound the Quoter Factory Finder to the Quoter Naming Context.\n"));
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("SYS_EX");
- }
- TAO_ENDTRY;
-
-
- return 0;
-}
-
-int
-Quoter_Factory_Finder_Server::run (CORBA::Environment& env)
-{
- if (orb_manager_.orb()->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "run"),
- -1);
- return 0;
-}
-
-
-// Function get_options.
-
-u_int
-Quoter_Factory_Finder_Server::parse_args (void)
-{
- // We need the 'O' in get_opt () because we also want to have ORB
- // parameters, they all start with 'O'.
- ACE_Get_Opt get_opt (this->argc_, this->argv_, "O?");
- int opt;
-
- while ((opt = get_opt ()) != EOF)
- switch (opt)
- {
- case '?':
- ACE_DEBUG ((LM_DEBUG,
- "Usage: %s %s\n",
- this->argv_[0], usage));
- ACE_OS::exit (0);
- break;
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: unknown arg, -%c\n"
- "Usage: %s %s\n",
- this->argv_[0], char (opt),
- this->argv_[0],
- usage),
- 1);
- }
- return 0;
-}
-
-// function main
-
-int
-main (int argc, char *argv [])
-{
- Quoter_Factory_Finder_Server quoter_Factory_Finder_Server;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\tIDL_Quoter:Quoter_Factory_Finder \n \n"));
- TAO_TRY
- {
- if (quoter_Factory_Finder_Server.init (argc,argv,TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- quoter_Factory_Finder_Server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
- return 0;
-}
diff --git a/TAO/examples/Quoter/Factory_Finder.dsp b/TAO/examples/Quoter/Factory_Finder.dsp
deleted file mode 100644
index e8c3f237ce2..00000000000
--- a/TAO/examples/Quoter/Factory_Finder.dsp
+++ /dev/null
@@ -1,227 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Quoter Factory Finder" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Quoter Factory Finder - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Factory_Finder.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Factory_Finder.mak" CFG="Quoter Factory Finder - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Quoter Factory Finder - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Quoter Factory Finder - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Quoter Factory Finder - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs"
-
-!ELSEIF "$(CFG)" == "Quoter Factory Finder - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Quoter Factory Finder - Win32 Release"
-# Name "Quoter Factory Finder - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp"
-# Begin Source File
-
-SOURCE=.\Factory_Finder.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Factory_Finder_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h"
-# Begin Source File
-
-SOURCE=.\Factory_Finder.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Factory_Finder_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.h
-# End Source File
-# End Group
-# Begin Group "Inline Files"
-
-# PROP Default_Filter "i"
-# Begin Source File
-
-SOURCE=.\QuoterC.i
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.i
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Quoter.idl
-
-!IF "$(CFG)" == "Quoter Factory Finder - Win32 Release"
-
-USERDEP__QUOTE="..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Quoter.idl
-InputName=Quoter
-
-BuildCmds= \
- tao_idl $(InputName).idl -I../../orbsvcs/orbsvcs
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Quoter Factory Finder - Win32 Debug"
-
-USERDEP__QUOTE="..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Quoter.idl
-InputName=Quoter
-
-BuildCmds= \
- tao_idl $(InputName).idl -I../../orbsvcs/orbsvcs
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Quoter/Factory_Finder.h b/TAO/examples/Quoter/Factory_Finder.h
deleted file mode 100644
index 09cff9259f8..00000000000
--- a/TAO/examples/Quoter/Factory_Finder.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// FactoryFinder.h
-//
-// = DESCRIPTION
-// Server for the Quoter Factory Finder
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "ace/Get_Opt.h"
-#include "tao/TAO.h"
-#include "Factory_Finder_i.h"
-
-#if !defined (QUOTER_FACTORY_FINDER_H)
-#define QUOTER_FACTORY_FINDER_H
-
-class Quoter_Factory_Finder_Server
-{
- // = TILE
- // Server object for the Quoter Factory Finder
-
-public:
- Quoter_Factory_Finder_Server (void);
- // Default constructor
-
- ~Quoter_Factory_Finder_Server (void);
- // Destructor
-
- int init (int argc, char *argv[], CORBA::Environment& env);
- // Initialize the Quoter_Server state - parsing arguments and ...
-
- int run (CORBA::Environment& env);
- // Run the orb
-
- u_int parse_args (void);
- // parse the passed parameters
-
-private:
- TAO_ORB_Manager orb_manager_;
- // instance of the ORB Manager
-
- Quoter_Factory_Finder_i *quoter_Factory_Finder_i_ptr_;
- // instance of the Quoter Factory Finder
-
- CosNaming::NamingContext_var quoterNamingContext_var_;
- // reference to the Quoter naming context
-
- int argc_;
- // Number of commandline arguments.
-
- char **argv_;
- // commandline arguments.
-};
-
-#endif /* QUOTER_FACTORY_FINDER_H */
diff --git a/TAO/examples/Quoter/Factory_Finder_i.cpp b/TAO/examples/Quoter/Factory_Finder_i.cpp
deleted file mode 100644
index 4284f9074ff..00000000000
--- a/TAO/examples/Quoter/Factory_Finder_i.cpp
+++ /dev/null
@@ -1,120 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// FactoryFinder_i.cpp
-//
-// = DESCRIPTION
-// A Factory Finder for the Quoter example. This example conforms
-// to the CosLifeCycle Factory Finder notion.
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "ace/Get_Opt.h"
-#include "tao/corba.h"
-#include "Factory_Finder_i.h"
-#include "QuoterC.h"
-
-ACE_RCSID(Quoter, Factory_Finder_i, "$Id$")
-
-// Constructor
-Quoter_Factory_Finder_i::Quoter_Factory_Finder_i (void)
-{
-}
-
-// Destructor.
-Quoter_Factory_Finder_i::~Quoter_Factory_Finder_i (void)
-{
-}
-
-
-CosLifeCycle::Factories *
-Quoter_Factory_Finder_i::find_factories (const CosLifeCycle::Key &factory_key,
- CORBA::Environment &_env_there)
-{
- CORBA::Environment env_here;
-
- // Get a reference to the ORB.
- CORBA::ORB_ptr orb_ptr = TAO_ORB_Core_instance ()->orb ();
-
- // Get the Naming Service object reference.
- CORBA::Object_var namingObj_var =
- orb_ptr->resolve_initial_references ("NameService");
-
- if (CORBA::is_nil (namingObj_var.in ()))
- ACE_ERROR ((LM_ERROR,
- " (%P|%t) Unable get the Naming Service.\n"));
-
- // Narrow the object reference to a Naming Context.
- CosNaming::NamingContext_var namingContext_var =
- CosNaming::NamingContext::_narrow (namingObj_var.in (),
- env_here);
-
- // See if there is an exception, if yes then throw the NoFactory
- // exception.
- if (env_here.exception () != 0) // throw a NoFactory exception
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
-
- // Take the key supplied to search for a Quoter Factory
- CosNaming::Name factoryName = (CosNaming::Name) factory_key;
-
- // Try to get a reference to a Quoter Factory
- CORBA::Object_var quoterFactoryObject_var =
- namingContext_var->resolve (factoryName, env_here);
-
- // see if there is an exception, if yes then throw the NoFactory exception
- if (env_here.exception () != 0) // throw a NoFactory exception
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
- // were able to get a reference to Quoter Factory
-
- // Check if it is a valid Quoter Factory reference
- if (CORBA::is_nil (quoterFactoryObject_var.in()))
- { // throw a NoFactory exception
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
- else
- {
-
- // create a sequence of factories object
- CosLifeCycle::Factories *factories_ptr = new CosLifeCycle::Factories (1);
-
- // See if there is an exception, if yes then throw the NoFactory
- // exception.
- if (env_here.exception () != 0)
- {
- // Throw a NoFactory exception.
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
- // using the Naming Service only one reference is available
- factories_ptr->length (1);
-
- // Check if it is a valid Quoter Factory reference.
- if (CORBA::is_nil (quoterFactoryObject_var.in ())) // throw a NoFactory exception.
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
- // insert the object reference
- (*factories_ptr)[0] = CORBA::Object::_duplicate (quoterFactoryObject_var.ptr());
-
- ACE_DEBUG ((LM_DEBUG,
- "Have reference to a Quoter Factory.\n"));
- return factories_ptr;
- }
-}
diff --git a/TAO/examples/Quoter/Factory_Finder_i.h b/TAO/examples/Quoter/Factory_Finder_i.h
deleted file mode 100644
index 4ce73d28a98..00000000000
--- a/TAO/examples/Quoter/Factory_Finder_i.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// FactoryFinder_i.h
-//
-// = DESCRIPTION
-// Factory Finder Implementation for the Quoter example
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "QuoterS.h"
-
-#if !defined (QUOTER_FACTORY_FINDER_IMPL_H)
-#define QUOTER_FACTORY_FINDER_IMPL_H
-
-class Quoter_Factory_Finder_i : public POA_Stock::Quoter_Factory_Finder
-{
- // = TILE
- // A CosLifeCycle conforming Factory Finder for the Quoter
- // example. It uses the Naming Service to find a fitting factory.
-
-public:
- Quoter_Factory_Finder_i (void);
- ~Quoter_Factory_Finder_i (void);
-
- virtual CosLifeCycle::Factories * find_factories (const CosLifeCycle::Key &factory_key,
- CORBA::Environment &_tao_environment);
- // Returns a squence of Factories if factories matching the
- // factory_key were found. If no factory was found, then the
- // NoFactory exception, defined in CosLifeCycle, is raised.
-};
-
-#endif /* QUOTER_FACTORY_FINDER_IMPL_H */
diff --git a/TAO/examples/Quoter/Generic_Factory.cpp b/TAO/examples/Quoter/Generic_Factory.cpp
deleted file mode 100644
index a2badd69620..00000000000
--- a/TAO/examples/Quoter/Generic_Factory.cpp
+++ /dev/null
@@ -1,282 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// Generic_Factory.cpp
-//
-// = DESCRIPTION
-// The server for the GenericFactory for the quoter example.
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "tao/corba.h"
-#include "orbsvcs/LifeCycleServiceC.h"
-#include "Generic_Factory.h"
-
-ACE_RCSID(Quoter, Generic_Factory, "$Id$")
-
-static const char usage [] = "[-? |\n[-O[RBport] ORB port number]]";
-
-Quoter_Generic_Factory_Server::Quoter_Generic_Factory_Server (void)
-: use_LifeCycle_Service_ (0)
-{
-}
-
-Quoter_Generic_Factory_Server::~Quoter_Generic_Factory_Server (void)
-{
- TAO_TRY
- {
- // Unbind the Quoter Factory Finder.
- CosNaming::Name generic_Factory_Name (2);
- generic_Factory_Name.length (2);
- generic_Factory_Name[0].id = CORBA::string_dup ("IDL_Quoter");
- generic_Factory_Name[1].id = CORBA::string_dup ("Quoter_Generic_Factory");
- this->quoterNamingContext_var_->unbind (generic_Factory_Name,TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- }
- TAO_ENDTRY;
-}
-
-int
-Quoter_Generic_Factory_Server::init (int argc,
- char *argv[],
- CORBA::Environment& env)
-{
- if (this->orb_manager_.init (argc,
- argv,
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init"),
- -1);
-
- // Copy them, because parse_args expects them there.
- this->argc_ = argc;
- this->argv_ = argv;
-
- this->parse_args ();
-
-
- ACE_NEW_RETURN (this->quoter_Generic_Factory_i_ptr_,
- Quoter_Generic_Factory_i(),
- -1);
-
- // Activate the object.
- CORBA::String_var str =
- this->orb_manager_.activate (this->quoter_Generic_Factory_i_ptr_,
- env);
-
- // Failure while activating the Quoter Factory Finder object
- if (env.exception () != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init: Failure while activating the Quoter Generic Factory Impl.\n"),
- -1);
-
-
- ACE_DEBUG ((LM_DEBUG,
- "The IOR is: <%s>\n",
- str.in ()));
-
- // Register the Quoter GenericFactory with the Naming Service.
- TAO_TRY
- {
- ACE_DEBUG ((LM_DEBUG,
- "Trying to get a reference to the Naming Service.\n"));
-
- // Get the Naming Service object reference.
- CORBA::Object_var namingObj_var =
- orb_manager_.orb()->resolve_initial_references ("NameService");
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (namingObj_var.in ()))
- ACE_ERROR ((LM_ERROR,
- " (%P|%t) Unable get the Naming Service.\n"));
-
- // Narrow the object reference to a Naming Context.
- CosNaming::NamingContext_var namingContext_var =
- CosNaming::NamingContext::_narrow (namingObj_var.in (),
- TAO_TRY_ENV);
-
- if (CORBA::is_nil (namingContext_var.in ()))
- ACE_ERROR ((LM_ERROR,
- " (%P|%t) Unable get the Naming Service.\n"));
-
-
- TAO_CHECK_ENV;
- ACE_DEBUG ((LM_DEBUG,
- "Have a proper reference to the Naming Service.\n"));
-
- // Get the IDL_Quoter naming context.
- CosNaming::Name quoterContextName (1); // max = 1
- quoterContextName.length (1);
- quoterContextName[0].id = CORBA::string_dup ("IDL_Quoter");
-
- CORBA::Object_var quoterNamingObj_var =
- namingContext_var->resolve (quoterContextName,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- quoterNamingContext_var_ =
- CosNaming::NamingContext::_narrow (quoterNamingObj_var.in (),
- TAO_TRY_ENV);
-
- ACE_DEBUG ((LM_DEBUG,
- "Have a proper reference to the Quoter Naming Context.\n"));
-
- // Bind the Quoter GenericFactory to the IDL_Quoter naming
- // context.
- CosNaming::Name quoter_Generic_Factory_Name (1);
- quoter_Generic_Factory_Name.length (1);
- quoter_Generic_Factory_Name[0].id = CORBA::string_dup ("Quoter_Generic_Factory");
-
- quoterNamingContext_var_->bind (quoter_Generic_Factory_Name,
- this->quoter_Generic_Factory_i_ptr_->_this(TAO_TRY_ENV),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- ACE_DEBUG ((LM_DEBUG,
- "Bound the Quoter GenericFactory to the Quoter Naming Context.\n"));
-
- // now the Quoter GenericFactory is bound to the Naming Context
- // the Generic Factory should try to register itself to the closest
- // Life Cycle Service is order to be called.
-
- /* for now as long as the trading service is not ported to NT we skip this */
-
- if (this->use_LifeCycle_Service_)
- {
- // get the Quoter_Life_Cycle_Service
- CosNaming::Name life_Cycle_Service_Name (1);
- life_Cycle_Service_Name.length (1);
- life_Cycle_Service_Name[0].id = CORBA::string_dup ("Life_Cycle_Service");
-
- CORBA::Object_var life_Cycle_Service_Obj_var =
- namingContext_var->resolve (life_Cycle_Service_Name,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- LifeCycleService::Life_Cycle_Service_var life_Cycle_Service_var =
- LifeCycleService::Life_Cycle_Service::_narrow (life_Cycle_Service_Obj_var.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- ACE_DEBUG ((LM_DEBUG, "Have a proper reference to Life Cycle Service.\n"));
-
- CORBA::Object_var object_var = this->quoter_Generic_Factory_i_ptr_->_this(TAO_TRY_ENV);
-
- life_Cycle_Service_var->register_factory ("Quoter_Generic_Factory", // name
- "Bryan 503", // location
- "Generic Factory", // description
- object_var.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- ACE_DEBUG ((LM_DEBUG,
- "Registered the Quoter GenericFactory to the Life Cycle Service.\n"));
- }
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Quoter_Generic_Factory_Server::init: Exception");
- }
- TAO_ENDTRY;
-
-
- return 0;
-}
-
-int
-Quoter_Generic_Factory_Server::run (CORBA::Environment& env)
-{
- if (orb_manager_.orb()->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "run"),
- -1);
- return 0;
-}
-
-// Function get_options.
-
-u_int
-Quoter_Generic_Factory_Server::parse_args (void)
-{
- // We need the 'O' in get_opt () because we also want to have ORB
- // parameters, they all start with 'O'.
- ACE_Get_Opt get_opt (this->argc_, this->argv_, "Ol?");
- int opt;
-
- while ((opt = get_opt ()) != EOF)
- switch (opt)
- {
- case '?':
- ACE_DEBUG ((LM_DEBUG,
- "Usage: %s %s\n",
- this->argv_[0], usage));
- ACE_OS::exit (0);
- break;
- case 'l':
- this->use_LifeCycle_Service_ = 1;
- break;
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: unknown arg, -%c\n"
- "Usage: %s %s\n",
- this->argv_[0], char (opt),
- this->argv_[0],
- usage),
- 1);
- }
- return 0;
-}
-
-// function main
-
-int
-main (int argc, char *argv [])
-{
- Quoter_Generic_Factory_Server quoter_Generic_Factory_Server;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\tIDL_Quoter: Quoter_Generic_Factory_Server \n\n"));
- TAO_TRY
- {
- if (quoter_Generic_Factory_Server.init (argc,
- argv,
- TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- quoter_Generic_Factory_Server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
- return 0;
-}
diff --git a/TAO/examples/Quoter/Generic_Factory.dsp b/TAO/examples/Quoter/Generic_Factory.dsp
deleted file mode 100644
index 3a642604e7d..00000000000
--- a/TAO/examples/Quoter/Generic_Factory.dsp
+++ /dev/null
@@ -1,227 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Quoter Generic Factory" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Quoter Generic Factory - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Generic_Factory.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Generic_Factory.mak" CFG="Quoter Generic Factory - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Quoter Generic Factory - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Quoter Generic Factory - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Quoter Generic Factory - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs"
-
-!ELSEIF "$(CFG)" == "Quoter Generic Factory - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "QuoterGe"
-# PROP BASE Intermediate_Dir "QuoterGe"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Quoter Generic Factory - Win32 Release"
-# Name "Quoter Generic Factory - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Generic_Factory.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Generic_Factory_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Generic_Factory.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Generic_Factory_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.h
-# End Source File
-# End Group
-# Begin Group "Inline Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\QuoterC.i
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.i
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Quoter.idl
-
-!IF "$(CFG)" == "Quoter Generic Factory - Win32 Release"
-
-USERDEP__QUOTE="..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Quoter.idl
-InputName=Quoter
-
-BuildCmds= \
- tao_idl $(InputName).idl -I../../orbsvcs/orbsvcs
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Quoter Generic Factory - Win32 Debug"
-
-USERDEP__QUOTE="..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Quoter.idl
-InputName=Quoter
-
-BuildCmds= \
- tao_idl $(InputName).idl -I../../orbsvcs/orbsvcs
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Quoter/Generic_Factory.h b/TAO/examples/Quoter/Generic_Factory.h
deleted file mode 100644
index bee301b10b9..00000000000
--- a/TAO/examples/Quoter/Generic_Factory.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// Generic_Factory.h
-//
-// = DESCRIPTION
-// A generic factory, customized for the use with the Quoter example.
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "ace/Get_Opt.h"
-#include "tao/TAO.h"
-#include "Generic_Factory_i.h"
-
-#if !defined (GENERIC_FACTORY_H)
-#define GENERIC_FACTORY_H
-
-class Quoter_Generic_Factory_Server
-{
- // = TILE
- // Server object for the Quoter Generic Factory
-
-public:
- Quoter_Generic_Factory_Server (void);
- // Default constructor
-
- ~Quoter_Generic_Factory_Server (void);
- // Destructor
-
- int init (int argc,
- char *argv[],
- CORBA::Environment& env);
- // Initialize the Quoter_Server state - parsing arguments and ...
-
- int run (CORBA::Environment& env);
- // Run the orb.
-
- u_int parse_args (void);
- // Parse the passed parameters.
-
-private:
- TAO_ORB_Manager orb_manager_;
- // instance of the ORB Manager
-
- Quoter_Generic_Factory_i *quoter_Generic_Factory_i_ptr_;
- // Instance of the Quoter Generic Factory.
-
- CosNaming::NamingContext_var quoterNamingContext_var_;
- // Reference to the Quoter naming context.
-
- int argc_;
- // Number of commandline arguments.
-
- char **argv_;
- // commandline arguments.
-
- unsigned char use_LifeCycle_Service_;
-};
-
-#endif /* GENERIC_FACTORY_H */
diff --git a/TAO/examples/Quoter/Generic_Factory_i.cpp b/TAO/examples/Quoter/Generic_Factory_i.cpp
deleted file mode 100644
index 83b560c7e37..00000000000
--- a/TAO/examples/Quoter/Generic_Factory_i.cpp
+++ /dev/null
@@ -1,198 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// Generic_Factory_i.cpp
-//
-// = DESCRIPTION
-// The implementation of a LifeCycle Service GenericFactory for the
-// Quoter example.
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-// ============================================================================
-
-#include "ace/Get_Opt.h"
-#include "tao/corba.h"
-#include "Generic_Factory_i.h"
-#include "QuoterC.h"
-
-ACE_RCSID(Quoter, Generic_Factory_i, "$Id$")
-
-// Constructor
-Quoter_Generic_Factory_i::Quoter_Generic_Factory_i (void)
-{
-}
-
-// Destructor.
-Quoter_Generic_Factory_i::~Quoter_Generic_Factory_i (void)
-{
-}
-
-CORBA::Boolean
-Quoter_Generic_Factory_i::supports (const CosLifeCycle::Key &factory_key,
- CORBA::Environment &_env_there)
-{
- ACE_UNUSED_ARG (factory_key);
- ACE_UNUSED_ARG (_env_there);
-
- return 0;
-}
-
-
-
-CosNaming::NamingContext_ptr
-Quoter_Generic_Factory_i::get_naming_context (const CosLifeCycle::Key &factory_key,
- CORBA::Environment &env_here,
- CORBA::Environment &_env_there)
-{
- // Get a reference to the ORB.
- CORBA::ORB_ptr orb_ptr =
- TAO_ORB_Core_instance ()->orb ();
-
- // Get the Naming Service object reference.
- CORBA::Object_var namingObj_var =
- orb_ptr->resolve_initial_references ("NameService");
-
- if (CORBA::is_nil (namingObj_var.in ()))
- ACE_ERROR ((LM_ERROR,
- "(%P|%t) Unable get the Naming Service.\n"));
-
- // Narrow the object reference to a Naming Context.
- CosNaming::NamingContext_var namingContext_var =
- CosNaming::NamingContext::_narrow (namingObj_var.in (),
- env_here);
-
- // See if there is an exception, if yes then throw the NoFactory
- // exception.
- if (env_here.exception () != 0) // throw a NoFactory exception
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
- // Get the IDL_Quoter naming context.
- CosNaming::Name quoterContextName (1); // max = 1
- quoterContextName.length (1);
- quoterContextName[0].id = CORBA::string_dup ("IDL_Quoter");
-
- CORBA::Object_var quoterNamingObj_var =
- namingContext_var->resolve (quoterContextName, env_here);
-
- // See if there is an exception, if yes then throw the NoFactory
- // exception.
- if (env_here.exception () != 0) // throw a NoFactory exception
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
- CosNaming::NamingContext_var quoterNamingContext_var =
- CosNaming::NamingContext::_narrow (quoterNamingObj_var.in (),
- env_here);
- // See if there is an exception, if yes then throw the NoFactory
- // exception.
- if (env_here.exception () != 0) // throw a NoFactory exception
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
-
- return CosNaming::NamingContext::_duplicate (quoterNamingContext_var.in ());
-}
-
-
-
-CORBA::Object_ptr
-Quoter_Generic_Factory_i::create_object (const CosLifeCycle::Key &factory_key,
- const CosLifeCycle::Criteria &the_criteria,
- CORBA::Environment &_env_there)
-{
- ACE_UNUSED_ARG (the_criteria);
-
- CORBA::Environment env_here;
-
- CosNaming::NamingContext_var quoterNamingContext_var =
- this->get_naming_context (factory_key,
- env_here,
- _env_there);
-
- // ** now a proper reference to the quoter naming context is
- // available
-
- // Fill in the name of the Quoter Factory.
- // Take the key supplied to search for a Quoter Factory
- CosNaming::Name factory_Name = (CosNaming::Name) factory_key;
-
- // Try to get a reference to a Quoter Factory
- CORBA::Object_var quoterFactoryObject_var =
- quoterNamingContext_var->resolve (factory_Name, env_here);
-
- // See if there is an exception, if yes then throw the NoFactory
- // exception.
- if (env_here.exception () != 0) // throw a NoFactory exception
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
- // We were able to get a reference to Quoter Factory.
-
- // Check if it is a valid Quoter Factory reference
- if (CORBA::is_nil (quoterFactoryObject_var.in()))
- { // throw a NoFactory exception
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
- else
- {
- // Check if it is a valid Quoter Factory reference.
- if (CORBA::is_nil (quoterFactoryObject_var.in ())) // throw a NoFactory exception.
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
- Stock::Quoter_Factory_var factory_var =
- Stock::Quoter_Factory::_narrow (quoterFactoryObject_var.in (),
- env_here);
-
- // See if there is an exception, if yes then throw the NoFactory
- // exception.
- if (env_here.exception () != 0) // throw a NoFactory exception
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factory_key));
- return 0;
- }
-
- if (CORBA::is_nil (factory_var.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "invalid factory.\n"),
- 0);
-
- ACE_DEBUG ((LM_DEBUG,
- "Factory reference OK.\n"));
-
- // Now retrieve the Quoter obj ref corresponding to the key.
- Stock::Quoter_var quoter_var =
- factory_var->create_quoter ("test",
- _env_there);
- ACE_DEBUG ((LM_DEBUG,
- "Quoter Created\n"));
-
- if (CORBA::is_nil (quoter_var.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "null quoter objref returned by factory\n"),
- 0);
-
- ACE_DEBUG ((LM_DEBUG,
- "Return a object reference to a new object.\n"));
-
- CORBA::Object_ptr object_ptr =
- CORBA::Object::_duplicate ((CORBA::Object_ptr) quoter_var.ptr ());
-
- return object_ptr;
- }
-}
diff --git a/TAO/examples/Quoter/Generic_Factory_i.h b/TAO/examples/Quoter/Generic_Factory_i.h
deleted file mode 100644
index 100b1a6c22e..00000000000
--- a/TAO/examples/Quoter/Generic_Factory_i.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// Generic_Factory_i.h
-//
-// = DESCRIPTION
-// A LifeCycle Service Generic Factory for the Quoter example.
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "QuoterS.h"
-
-
-#if !defined (QUOTER_GENERIC_FACTORY_IMPL_H)
-#define QUOTER_GENERIC_FACTORY_IMPL_H
-
-class Quoter_Generic_Factory_i : public POA_Stock::Quoter_Generic_Factory
-{
- // = TILE
- // A CosLifeCycle conforming Generic Factory for the Quoter
- // example. It uses the Naming Service to find a fitting factory.
-
-public:
- Quoter_Generic_Factory_i (void);
- ~Quoter_Generic_Factory_i (void);
-
- CORBA::Boolean supports (const CosLifeCycle::Key &factory_key,
- CORBA::Environment &_env_there);
- // Returns true if the Generic Factory is able to forward a request
- // for creating an object described by the <factory_key>.
-
- CORBA::Object_ptr create_object (const CosLifeCycle::Key &factory_key,
- const CosLifeCycle::Criteria &the_criteria,
- CORBA::Environment &_env_there);
- // Returns an object reference to a newly created object, though the
- // Generic Factory itself cannot create objects, it will forward the
- // request to a more concrete Factory.
-
-private:
- CosNaming::NamingContext_ptr get_naming_context (const CosLifeCycle::Key &factory_key,
- CORBA::Environment &env_here,
- CORBA::Environment &_env_there);
- // a helper to get the proper naming context.
-
-};
-
-#endif /* QUOTER_GENERIC_FACTORY_IMPL_H */
diff --git a/TAO/examples/Quoter/Makefile b/TAO/examples/Quoter/Makefile
deleted file mode 100644
index f93b28904f7..00000000000
--- a/TAO/examples/Quoter/Makefile
+++ /dev/null
@@ -1,108 +0,0 @@
-# $Id$
-#
-# needed for the trading service stuff
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # TAO_ROOT
-
-TAO_IDLFLAGS=-I$(TAO_ROOT)/orbsvcs/orbsvcs
-
-BIN = client server Factory_Finder Generic_Factory
-
-
-# The following lines tell the souce code that the trading
-# service is available.
-
-ifdef trader
-
-CPPFLAGS += -DTRADER_AVAILABLE
-
-endif # trader
-
-
-IDL_SRC = \
- QuoterC.cpp QuoterS.cpp
-
-CLIENT_SRCS = \
- client.cpp
-
-SERVER_SRCS = \
- server.cpp Quoter_i.cpp
-
-FACTORY_FINDER_SRCS = \
- Factory_Finder.cpp Factory_Finder_i.cpp
-
-GENERIC_FACTORY_SRCS = \
- Generic_Factory.cpp Generic_Factory_i.cpp
-
-
-LSRC= \
- $(IDL_SRC) $(CLIENT_SRCS) $(SERVER_SRCS) \
- $(FACTORY_FINDER_SRCS) $(GENERIC_FACTORY_SRCS)
-
-COMMON_OBJS = QuoterC.o QuoterS.o
-CLIENT_OBJS = $(COMMON_OBJS) client.o
-SERVER_OBJS = $(COMMON_OBJS) server.o Quoter_i.o
-FACTORY_FINDER_OBJS = $(COMMON_OBJS) Factory_Finder.o Factory_Finder_i.o
-GENERIC_FACTORY_OBJS = $(COMMON_OBJS) Generic_Factory.o Generic_Factory_i.o
-
-ifdef trader
-
-LDLIBS = -lorbsvcs -lTAO
-
-else
-
-LDLIBS = -lorbsvcs -lTAO
-
-endif
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#### Local rules and variables...
-
-TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE
-LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao
-CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT)/orbsvcs/orbsvcs \
- -I$(TAO_ROOT) $(TSS_ORB_FLAG)
-
-realclean: clean
- -/bin/rm -rf QuoterC.* QuoterS.* QuoterS_T.*
-
-$(IDL_SRC): Quoter.idl
- $(TAO_ROOT)/TAO_IDL/tao_idl Quoter.idl -I$(TAO_ROOT)/orbsvcs/orbsvcs
-
-.PRECIOUS: $(IDL_SRC)
-
-client: $(addprefix $(VDIR),$(CLIENT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-server: $(addprefix $(VDIR),$(SERVER_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-Factory_Finder: $(addprefix $(VDIR),$(FACTORY_FINDER_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-Generic_Factory: $(addprefix $(VDIR),$(GENERIC_FACTORY_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Quoter/Quoter.dsw b/TAO/examples/Quoter/Quoter.dsw
deleted file mode 100644
index d76f398199f..00000000000
--- a/TAO/examples/Quoter/Quoter.dsw
+++ /dev/null
@@ -1,65 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Quoter Client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Quoter Factory Finder"=.\Factory_Finder.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Quoter Server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "QuoterGenericFactory"=.\Generic_Factory.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/Quoter/Quoter.idl b/TAO/examples/Quoter/Quoter.idl
deleted file mode 100644
index dcc1f460e89..00000000000
--- a/TAO/examples/Quoter/Quoter.idl
+++ /dev/null
@@ -1,133 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// quoter.idl
-//
-// = DESCRIPTION
-// Quoter example that illustrate the use of the global POA and
-// the CosLifeCycle service.
-//
-// = AUTHOR
-// Darrell Brunsch (brunsch@cs.wustl.edu)
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "CosLifeCycle.idl"
-
-module Stock
-{
- exception Invalid_Stock {};
- exception Invalid_Quoter {};
-
- interface Quoter : CosLifeCycle::LifeCycleObject
- {
- // = TITLE
- // Access Stock information.
-
- long get_quote (in string stock_name)
- raises (Invalid_Stock, Invalid_Quoter);
-
- // Returns the current stock value or throws and exception.
-
- // LifeCycleObject copy(in FactoryFinder there,
- // in Criteria the_criteria)
- // raises(NoFactory, NotCopyable, InvalidCriteria, CannotMeetCriteria);
- // copies this object to a location "there" using the "the_criteria"
-
- // void move(in FactoryFinder there,
- // in Criteria the_criteria)
- // raises(NoFactory, NotMovable, InvalidCriteria, CannotMeetCriteria);
- // moves this object to a location "there" using the "the_criteria"
-
- // void remove()
- // raises(NotRemovable);
- // removes/deletes this object
-
- };
-
- interface Quoter_Factory
- {
- // = TITLE
- // Creation of Quoter objects
-
- Quoter create_quoter (in string name)
- raises (Invalid_Quoter);
- // Returns a new Quoter selected by name e.g., "Dow Jones,"
- // "Reuters,", etc
- };
-
-
- interface Quoter_Factory_Finder : CosLifeCycle::FactoryFinder
- {
- // = TITLE
- // Wrapper for the CosLifeCycle FactoryFinder
- //
- // inherits:
- // Factories find_factories(in Key factory_key) raises(NoFactory);
- };
-
- interface Quoter_Generic_Factory : CosLifeCycle::GenericFactory
- {
- // = TITLE
- // Wrapper for the CosLifeCycle GenericFactory
- //
- // inherits:
- // boolean supports(in Key k);
- // Object create_object(in Key k, in Criteria the_criteria)
- // raises (NoFactory, InvalidCriteria, CannotMeetCriteria);
- };
-
- interface Quoter_Life_Cycle_Service : CosLifeCycle::GenericFactory
- {
- // = TITLE
- // Wrapper for the CosLifeCycle GenericFactory
- //
- // inherits:
- // boolean supports(in Key k);
- // Object create_object(in Key k, in Criteria the_criteria)
- // raises (NoFactory, InvalidCriteria, CannotMeetCriteria);
-
- void register_factory (in string name,
- in string location,
- in string description,
- in Object object);
- // provide an method for registering factories with their properties
- };
-
- interface Criteria_Evaluator
- {
- // = TITLE
- // Criteria Evaluator
- //
- // = DESCRIPTION
- // Interface description for an evaluator of CosLifeCycle
- // Criterias. It is mainly a wrapper, which should make
- // access easier
- //
- typedef sequence <CosLifeCycle::NameValuePair> SeqNamedValuePair;
-
- typedef CosLifeCycle::Criteria Criteria;
-
- exception NotAvailable { string reason; };
- // raised if the questioned configuration is not available
-
- SeqNamedValuePair getInitialization ();
- // get the initialization
-
- string getFilter ();
- // get a filter string
-
- SeqNamedValuePair getLogicalLocation ();
- // get the logical location
-
- string getPreferences ();
- // get the preferences, not implemented
-
- void setCriteria (in Criteria criteria);
- // set the Criteria which is searched for keywords
- };
-};
-
diff --git a/TAO/examples/Quoter/Quoter_i.cpp b/TAO/examples/Quoter/Quoter_i.cpp
deleted file mode 100644
index e3e5c488add..00000000000
--- a/TAO/examples/Quoter/Quoter_i.cpp
+++ /dev/null
@@ -1,348 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Quoter
-//
-// = FILENAME
-// Quoter_i.cpp
-//
-// = AUTHOR
-// Darrell Brunsch <brunsch@cs.wustl.edu>
-//
-// ============================================================================
-
-#include "tao/corba.h"
-#include "Quoter_i.h"
-
-ACE_RCSID(Quoter, Quoter_i, "$Id$")
-
-// Constructor. Create all the quoter factories.
-
-Quoter_Factory_i::Quoter_Factory_i (size_t num, PortableServer::POA_ptr poa_ptr)
- : my_quoters_ (0),
- quoter_num_ (num),
- next_quoter_ (0)
-
-{
- {
- CORBA::Environment env;
- ACE_NEW(this->my_quoters_, Quoter_i *[num]);
-
- for (size_t i = 0; i < num; i++)
- {
- ACE_NEW(this->my_quoters_[i], Quoter_i("x", // name
- 0, // don't use the LifeCycle_Service
- poa_ptr)); // a reference to the poa */
-
-
- poa_ptr->activate_object (this->my_quoters_[i], env);
- if (env.exception () != 0)
- {
- env.print_exception ("POA::activate");
- }
-
- // Stringify the object reference and print it out.
- CORBA::String_var quoter_ior =
- TAO_ORB_Core_instance()->orb()->object_to_string (this->my_quoters_[i]->_this(env), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- }
- }
- }
-
-}
-
-
-// Destructor
-
-Quoter_Factory_i::~Quoter_Factory_i (void)
-{
- for (size_t i = 0; i < this->quoter_num_; i++)
- delete this->my_quoters_[i];
- delete [] this->my_quoters_;
-}
-
-
-// Return the quoter by the id <name>.
-
-Stock::Quoter_ptr
-Quoter_Factory_i::create_quoter (const char *name,
- CORBA::Environment &env)
-{
- ACE_UNUSED_ARG (name);
-
- this->next_quoter_ = (this->next_quoter_ + 1) % this->quoter_num_;
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Quoter %d Created\n", this->next_quoter_));
-
- return my_quoters_[this->next_quoter_]->_this (env);
-}
-
-
-// Constructor
-
-Quoter_i::Quoter_i (const char *name,
- const unsigned char use_LifeCycle_Service,
- PortableServer::POA_ptr poa_ptr)
- : use_LifeCycle_Service_ (use_LifeCycle_Service),
- poa_var_ (PortableServer::POA::_duplicate (poa_ptr))
-{
- ACE_UNUSED_ARG (name);
-}
-
-
-// Destructor
-
-Quoter_i::~Quoter_i (void)
-{
-}
-
-
-// Returns the current quote for the stock <stock_name>.
-// For now, just return 42. It was a good day on Wall Street.
-
-CORBA::Long
-Quoter_i::get_quote (char const *stock_name,
- class CORBA_Environment &env)
-{
- ACE_UNUSED_ARG (stock_name);
- ACE_UNUSED_ARG (env);
-
- return 42;
-}
-
-
-// Make a copy of this object
-
-CosLifeCycle::LifeCycleObject_ptr
-Quoter_i::copy (CosLifeCycle::FactoryFinder_ptr there,
- const CosLifeCycle::Criteria &the_criteria,
- CORBA::Environment &_env_there)
-{
- TAO_TRY
- {
- // The name of the Generic Factory
- CosLifeCycle::Key factoryKey (2); // max = 2
-
- if (this->use_LifeCycle_Service_ == 1)
- {
- // use the LifeCycle Service
- factoryKey.length(1);
- factoryKey[0].id = CORBA::string_dup ("Life_Cycle_Service");
- }
- else
- {
- // use a Generic Factory
- factoryKey.length(2);
- factoryKey[0].id = CORBA::string_dup ("IDL_Quoter");
- factoryKey[1].id = CORBA::string_dup ("Quoter_Generic_Factory");
- }
-
- // Find an appropriate factory over there.
- CosLifeCycle::Factories_ptr factories_ptr =
- there->find_factories (factoryKey, _env_there);
-
- // Only a NoFactory exception might have occured, so if it
- // occured, then go immediately back.
- if (_env_there.exception() != 0)
- {
- // _env_there contains already the exception.
- ACE_ERROR ((LM_ERROR,
- "Quoter::copy: Exception occured while trying to find a factory.\n"));
-
- return CosLifeCycle::LifeCycleObject::_nil();
- }
-
- // Now it is known that there is at least one factory.
- Stock::Quoter_var quoter_var;
-
- for (u_int i = 0; i < factories_ptr->length (); i++)
- {
- // Get the first object reference to a factory.
- CORBA::Object_ptr generic_FactoryObj_ptr = (*factories_ptr)[i];
-
- // Narrow it to a Quoter Factory.
- CosLifeCycle::GenericFactory_var generic_Factory_var =
- CosLifeCycle::GenericFactory::_narrow (generic_FactoryObj_ptr,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (generic_Factory_var.in ()))
- {
- ACE_ERROR ((LM_ERROR,
- "Quoter::copy: Narrow failed. Generic Factory is not valid.\n"));
- return CosLifeCycle::LifeCycleObject::_nil();
- }
-
- CosLifeCycle::Key genericFactoryName (1); // max = 1
- genericFactoryName.length(1);
- genericFactoryName[0].id = CORBA::string_dup ("Quoter_Factory");
-
- CosLifeCycle::Criteria criteria(1);
- criteria.length (1);
- criteria[0].name = CORBA::string_dup ("filter");
- criteria[0].value <<= CORBA::string_dup ("name=='Quoter_Generic_Factory'");
-
- CORBA::Object_var quoterObject_var =
- generic_Factory_var->create_object (genericFactoryName,
- criteria,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- quoter_var = Stock::Quoter::_narrow (quoterObject_var.in(), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (quoter_var.in ()))
- {
- // If we had already our last chance, then give up.
- if (i == factories_ptr->length ())
- {
- _env_there.exception (new CosLifeCycle::NoFactory (factoryKey));
- ACE_ERROR ((LM_ERROR,
- "Quoter::copy: Last factory did not work. \n"
- "No more factories are available. I give up.\n"));
- return CosLifeCycle::LifeCycleObject::_nil();
- }
- else
- {
- ACE_ERROR ((LM_ERROR,
- "Quoter::copy: Factory did not create the Quoter properly.\n"));
- // Tell what's wrong and try the next factory.
- }
- }
- else
- // if succeeded in creating a new Quoter over there, then stop trying
- break;
- }
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Quoter copied\n"));
-
- CosLifeCycle::LifeCycleObject_ptr lifeCycleObject_ptr =
- CosLifeCycle::LifeCycleObject::_duplicate ((CosLifeCycle::LifeCycleObject_ptr) quoter_var.in());
- // Duplicate and eturn an object reference to the newly created Quoter.
- return lifeCycleObject_ptr;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("SYS_EX");
- // Report a NoFactory exception back to the caller
- _env_there.exception (new CosLifeCycle::NoFactory ());
- return CosLifeCycle::LifeCycleObject::_nil();
- }
- TAO_ENDTRY;
- return CosLifeCycle::LifeCycleObject::_nil();
-}
-
-
-// Move this object using <there> and <the_criteria>
-
-void
-Quoter_i::move (CosLifeCycle::FactoryFinder_ptr there,
- const CosLifeCycle::Criteria &the_criteria,
- CORBA::Environment &_env_there)
-{
- ACE_DEBUG ((LM_DEBUG,"Quoter_i::move: being called\n"));
-
- TAO_TRY
- {
- // We need to have a Factory Finder
- if (CORBA::is_nil (there))
- {
- ACE_ERROR ((LM_ERROR,
- "Quoter_i::move: No Factory Finder, don't know how to go on.\n"));
- _env_there.exception (new CosLifeCycle::NoFactory ());
- return;
- }
-
- // We need to have access to the POA
- if (CORBA::is_nil (this->poa_var_.in()))
- {
- ACE_ERROR ((LM_ERROR,
- "Quoter_i::move: No access to the POA. Cannot move.\n"));
- _env_there.exception (new CosLifeCycle::NotMovable ());
- return;
- }
-
- // Create a new Quoter over there
- CosLifeCycle::LifeCycleObject_var lifeCycleObject_var =
- this->copy (there, the_criteria, _env_there);
-
- if (_env_there.exception () != 0)
- {
- ACE_ERROR ((LM_ERROR,
- "Quoter_i::move: Exception while creating new Quoter.\n"));
- // The exception is already contained in the right environment
- return;
- }
-
- if (CORBA::is_nil (lifeCycleObject_var.in ()))
- {
- ACE_ERROR ((LM_ERROR,
- "Quoter_i::move: Created Quoter is not valid.\n"));
- _env_there.exception (new CosLifeCycle::NoFactory ());
- return;
- }
-
- // Set the POA, so that the requests will be forwarded to the new location
-
- // new location
- CORBA::Object_var forward_to_var = CORBA::Object::_duplicate ((CORBA::Object_ptr) lifeCycleObject_var.in());
-
- if (!CORBA::is_nil (forward_to_var.in ()))
- {
- PortableServer::ObjectId_var oid = this->poa_var_->servant_to_id (this, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- PortableServer::Servant servant = this->poa_var_->_servant ();
-
- if (servant == 0)
- {
- ACE_ERROR ((LM_ERROR,"Quoter_i::move: Could not find servant.\n"));
- _env_there.exception (new CosLifeCycle::NotMovable());
- return;
- }
-
- void *ptr = servant->_downcast ("IDL:PortableServer/POA:1.0");
- POA_PortableServer::POA *poa = (POA_PortableServer::POA *) ptr;
- TAO_POA *tao_poa = ACE_dynamic_cast (TAO_POA *, poa);
-
- tao_poa->forward_object (oid.in (),
- forward_to_var.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- else
- {
- ACE_ERROR ((LM_ERROR,"Quoter_i::move: forward_to refenence is nil.\n"));
- _env_there.exception (new CosLifeCycle::NotMovable());
- return;
- }
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("SYS_EX");
- return;
- }
- TAO_ENDTRY;
-}
-
-
-// Removes the object. Once we shut down the ORB we can call it a day.
-
-void
-Quoter_i::remove (CORBA::Environment &_tao_environment)
-{
- ACE_UNUSED_ARG (_tao_environment);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "I have been asked to shut down.\n"));
-
- TAO_ORB_Core_instance ()->orb ()->shutdown ();
-}
diff --git a/TAO/examples/Quoter/Quoter_i.h b/TAO/examples/Quoter/Quoter_i.h
deleted file mode 100644
index aa835cad233..00000000000
--- a/TAO/examples/Quoter/Quoter_i.h
+++ /dev/null
@@ -1,108 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Quoter
-//
-// = FILENAME
-// Quoter_i.h
-//
-// = AUTHOR
-// Darrell Brunsch
-//
-// ============================================================================
-
-#if !defined (QUOTER_IMPL_H)
-#define QUOTER_IMPL_H
-
-#include "QuoterS.h"
-
-// Forward declaration.
-class Quoter_i;
-
-// Typedefs.
-typedef Quoter_i *Quoter_i_ptr;
-typedef Quoter_i_ptr Quoter_i_ref;
-
-class Quoter_i: public POA_Stock::Quoter
-{
- // = TITLE
- // Quoter_i
- //
- // = DESCRIPTION
- // Actual Quoter Implementation class. Returns a quoter for a given stock
- // and provides an example for the lifecycle functionality.
-public:
- Quoter_i (const char *obj_name = "",
- const unsigned char use_LifeCycle_Service = 0,
- PortableServer::POA_ptr poa_ptr = 0);
- // Constructor (use_LifeCycle_Service is 1 if the LifeCycle_Service should be used
- // instead of the Quoter Generic_Factory
-
- ~Quoter_i (void);
- // Destructor
-
- virtual CORBA::Long get_quote (const char *stock_name,
- CORBA::Environment &env);
- // Returns the current quote for the stock <stock_name>
-
- // = Lifecycle methods
-
- virtual CosLifeCycle::LifeCycleObject_ptr copy (CosLifeCycle::FactoryFinder_ptr there,
- const CosLifeCycle::Criteria &the_criteria,
- CORBA::Environment &_tao_environment);
- // Make a copy of this object
-
- virtual void move (CosLifeCycle::FactoryFinder_ptr there,
- const CosLifeCycle::Criteria &the_criteria,
- CORBA::Environment &_tao_environment);
- // Move this object using <there>
-
- virtual void remove (CORBA::Environment &_tao_environment);
- // Removes the object.
-
-private:
- unsigned char use_LifeCycle_Service_;
- // This flag defines if a Generic Factory is used (0 by default) or
- // the more sophisticated LifeCycle Service (1)
-
- PortableServer::POA_var poa_var_;
- // Keep a reference to the POA for use by the move operation
-};
-
-// Forward declaration.
-class Quoter_Factory_i;
-
-typedef Quoter_Factory_i *Quoter_Factory_i_ptr;
-
-class Quoter_Factory_i: public POA_Stock::Quoter_Factory
-{
- // = TITLE
- // Quoter_Factory_i
- //
- // = DESCRIPTION
- // Factory object returning the quoter_impl objrefs.
-public:
- Quoter_Factory_i (size_t num, PortableServer::POA_ptr poa_ptr);
- // Constructor that takes in the number of quoters in the pool.
-
- ~Quoter_Factory_i (void);
- // Destructor.
-
- virtual Stock::Quoter_ptr create_quoter (const char *name,
- CORBA::Environment &env);
- // Return the quoter by the id <name>.
-
-private:
- Quoter_i **my_quoters_;
- // Array of quoters.
-
- size_t quoter_num_;
- // Number of quoters.
-
- size_t next_quoter_;
- // Which quoter to return next.
-};
-
-#endif /* QUOTER_IMPL_H */
diff --git a/TAO/examples/Quoter/README b/TAO/examples/Quoter/README
deleted file mode 100644
index c4206b99ec8..00000000000
--- a/TAO/examples/Quoter/README
+++ /dev/null
@@ -1,122 +0,0 @@
-// $Id$
-
-Here is a Stock Quoter example that features the use of the TAO IDL
-compiler, the different types of configuration settings (global vs
-tss, etc), and the Life Cycle Service.
-
-For your convenience, the run_test.btm has been provided. It is a
-batch file that runs under 4NT. Work is in progress for a regular
-batch file that performs the same action. We'll probably get it
-working on other platforms as soon as it is completed.
-
-----------------------------------------
-
-DOCUMENTATION FOR THE EXAMPLE
-=============================
-
-Context: The Quoter example serves several tests, the first is the test
- of several multithreading policies and the second is showing the
- use of the Life Cycle Service as it is defined in the
- CORBA Common Object Services specification.
-
-Life Cycle Service use-case:
-
-several processes exist: server,
- Factory_Finder,
- Generic_Factory,
- Life_Cycle_Service
- client
-
-several object exist: Quoter,
- Quoter_Factory,
- Quoter_Factory_Finder,
- Quoter_Generic_Factory,
- Quoter_Life_Cycle_Service
-
-server: The server process contains two kind of objects: Quoter and
- Quoter_Factory's. A Quoter is a very simple Object supporting
- only one method. The focus is not on a sophisticated object
- but on showing how policies work.
- The object Quoter_Factory serves as a factory for Quoters.
-
-Factory_Finder: The COS spec. introduces the concept of a Factory Finder
- which is capable to find proper factories. The Naming
- Service is used as lookup-mechanism. A reference to
- the Factory_Finder is passed as parameter of any copy
- or move request.
-
-Generic_Factory: This process supports the object Quoter_Generic_Factory (QGF).
- The QGF supports the GenericFactory interface introduced by
- the COS specification. It forwards create_object requests to
- more concrete factories, e.g. the Quoter_Factory. The
- concrete factories are found via the Naming Service.
-
-Life_Cycle_Service: This process is very similar to the Generic_Factory
- proocess. It also supports an Object, which conforms to
- the GenericFactory interface. The Quoter_Life_Cycle_Service
- conforms to the idea of a life cycle service as it is
- introduced by the COS specification. The Quoter_Life_Cycle_Service
- is neutral against the Quoter example. It is not dependent
- on it. Only interfaces defined by the CosLifeCycle.idl file
- are used. The implemenation uses the COS Trading Service
- manage registered Generic Factories, as the Quoter_Generic_Factory
- for example. A lookup on the Trading Service is performed
- when a create_object request is invoked on it.
-
-client: Creates one Quoter through using the Quoter_Factory_Finder. After that
- the copy method of Quoter is invoked to copy the Quoter to an other
- location, which is in this example the same location, but that does
- not matter so much. The concept is important in this example.
-
- The objects are invoked in the following order:
- client->Quoter->Quoter_Factory_Finder->Quoter_Life_Cycle_Service
- ->Quoter_Generic_Factory->Quoter_Factory
-
-
-
-!!!!Note:
-To make use of the move operation you need to use the -sm switch on
-the perl script. This activates in the server multiple objects, which is needed for
-moving.
-
-RUNNING THE EXAMPLE
-===================
-
-run_test
-
-Name Server
------------
-
-Found under TAO\Orbsvcs, this is run for connections from the
-server, client, and factory finder. Plans to move this into the
-server are under consideration.
-
-To run with the default settings, use
-
-run_tests /ns
-
-Quoter Server
--------------
-
-To run with the default settings, use
-
-run_tests /sv
-
-
-Quoter Client
--------------
-
-To run with the default settings, use
-
-run_tests /cl
-
-Quoter Factory Finder
----------------------
-
-To run with the default settings, use
-
-run_tests /ff
-
-Quoter example
--------------
-
diff --git a/TAO/examples/Quoter/client.conf b/TAO/examples/Quoter/client.conf
deleted file mode 100644
index 6eee002c688..00000000000
--- a/TAO/examples/Quoter/client.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources tss"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"
diff --git a/TAO/examples/Quoter/client.cpp b/TAO/examples/Quoter/client.cpp
deleted file mode 100644
index 052c81f9b94..00000000000
--- a/TAO/examples/Quoter/client.cpp
+++ /dev/null
@@ -1,415 +0,0 @@
-// $Id$
-
-#include "ace/Read_Buffer.h"
-#include "orbsvcs/CosNamingC.h"
-#include "client.h"
-
-ACE_RCSID(Quoter, client, "$Id$")
-
-Quoter_Task::Quoter_Task (int argc, char **argv)
- : argc_ (argc), argv_ (argv)
-{
- // Nothing
-}
-
-int
-Quoter_Task::svc (void)
-{
- if (this->quoter_client.init (this->argc_, this->argv_) == -1)
- return 1;
- else
- return this->quoter_client.run ();
-}
-
-// Constructor.
-Quoter_Client::Quoter_Client (void)
- : quoter_factory_key_ (0),
- quoter_key_ (ACE_OS::strdup ("key0")),
- shutdown_ (0),
- quoter_var_ (Stock::Quoter::_nil ()),
- useLifeCycleService_(0) // use the Generic Factory
-{
- // Nothing
-}
-
-// Parses the command line arguments and returns an error status.
-
-int
-Quoter_Client::parse_args (void)
-{
- ACE_Get_Opt get_opts (argc_, argv_, "n:dlx");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'n': // multiple threads
- // ignore it, it was handled already
- break;
- case 'd': // debug flag
- TAO_debug_level++;
- break;
- case 'l':
- this->useLifeCycleService_ = 1;
- break;
- case 'x':
- this->shutdown_ = 1;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-m]"
- " [-d]"
- " [-l] # use the lifecycle service instead of the generic factory"
- " [-x]"
- " [-s]"
- "\n",
- this->argv_ [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-int
-Quoter_Client::run (void)
-{
- CORBA::Long q = this->quoter_var_->get_quote ("ACE Hardware", this->env_);
- if (this->env_.exception () != 0)
- {
- this->env_.print_exception ("with get_quote.");
- this->env_.clear();
- return -1;
- }
- ACE_DEBUG ((LM_DEBUG, "ACE Hardware = %i\n", q));
-
- // Copy the Quoter
-
- CosLifeCycle::Criteria criteria;
- CORBA::Object_var quoterObj_var =
- this->quoter_var_->copy (factory_Finder_var_.in (),
- criteria,
- this->env_);
-
- if (this->env_.exception () != 0)
- {
- this->env_.print_exception ("with copy.");
- this->env_.clear();
- return -1;
- }
-
- if (CORBA::is_nil (quoterObj_var.in()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "Quoter_Client::run: Copied Object pointer is nil!"),
- -1);
-
- // Narrow it to the actual Quoter interface
-
- Stock::Quoter_var copied_quoter_var =
- Stock::Quoter::_narrow (quoterObj_var.in (),
- this->env_);
-
- if (this->env_.exception () != 0)
- {
- this->env_.print_exception ("with narrow.");
- this->env_.clear();
- return -1;
- }
- if (CORBA::is_nil (copied_quoter_var.in()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "Quoter_Client::run: Copied Quoter is nil!"),
- -1);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Copied object.\n"));
-
- q = 0;
- q = copied_quoter_var->get_quote ("ACE Hardware", this->env_);
- if (this->env_.exception () != 0)
- {
- this->env_.print_exception ("with get_quote on copied object.");
- this->env_.clear();
- return -1;
- }
-
- ACE_DEBUG ((LM_DEBUG, "Copied object: ACE Hardware = %i\n", q));
-
- // Move the Quoter
- this->quoter_var_->move (factory_Finder_var_.in (),
- criteria,
- this->env_);
- if (this->env_.exception () != 0)
- {
- this->env_.print_exception ("with move.");
- this->env_.clear();
- return -1;
- }
-
- // Caution, the object reference stays the same
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Moved object\n"));
-
- q = 0;
- q = this->quoter_var_->get_quote ("ACE Hardware", this->env_);
- if (this->env_.exception () != 0)
- {
- this->env_.print_exception ("with get_quote on moved object.");
- this->env_.clear();
- return -1;
- }
-
- ACE_DEBUG ((LM_DEBUG, "Moved object: ACE Hardware = %i\n", q));
- return 0;
-}
-
-Quoter_Client::~Quoter_Client (void)
-{
- // Free resources
- // Close the ior files
- if (this->quoter_factory_key_ != 0)
- ACE_OS::free (this->quoter_factory_key_);
- if (this->quoter_key_ != 0)
- ACE_OS::free (this->quoter_key_);
-}
-
-int
-Quoter_Client::init_naming_service (void)
-{
- TAO_TRY
- {
- // Resolve the Naming Service
- CORBA::Object_var naming_obj =
- orb_->resolve_initial_references ("NameService");
-
- if (CORBA::is_nil (naming_obj.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to resolve the Name Service.\n"),
- -1);
-
- CosNaming::NamingContext_var naming_context =
- CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Have a proper reference to the Naming Service.\n"));
-
-
- CosNaming::Name quoterFactoryFinderName (2);
- quoterFactoryFinderName.length (2);
- quoterFactoryFinderName[0].id = CORBA::string_dup ("IDL_Quoter");
- quoterFactoryFinderName[1].id = CORBA::string_dup ("Quoter_Factory_Finder");
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Trying to resolve the Quoter Factory Finder!\n"));
-
- CORBA::Object_var factory_obj =
- naming_context->resolve (quoterFactoryFinderName,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Resolved the Quoter Factory Finder!\n"));
-
- factory_Finder_var_ =
- Stock::Quoter_Factory_Finder::_narrow (factory_obj.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (factory_Finder_var_.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " could not resolve quoter factory in Naming service <%s>\n"),
- -1);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Have a proper reference to the Quoter Factory Finder.\n"));
-
- // The name of the Quoter Generic Factory
- CosLifeCycle::Key factoryName (2); // max = 2
-
- if (this->useLifeCycleService_ == 1)
- {
- // use the LifeCycle Service
- factoryName.length(1);
- factoryName[0].id = CORBA::string_dup ("Life_Cycle_Service");
- }
- else
- {
- // use a Generic Factory
- factoryName.length(2);
- factoryName[0].id = CORBA::string_dup ("IDL_Quoter");
- factoryName[1].id = CORBA::string_dup ("Quoter_Generic_Factory");
- }
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Trying to get a reference of a factory.\n"));
-
- // Find an appropriate factory over there.
- CosLifeCycle::Factories_ptr factories_ptr =
- factory_Finder_var_->find_factories (factoryName, TAO_TRY_ENV);
-
- if (factories_ptr == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Did not get a Generic Quoter Factory.\n"),
- -1);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Got a proper reference of a factory.\n"));
-
-
- // Get the first object reference to a factory.
- CORBA::Object_var quoter_FactoryObj_var;
-
- if (factories_ptr->length () >= 1)
- {
- // everything is ok, at least one factory is there
- quoter_FactoryObj_var = (*factories_ptr)[0];
- }
- else
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "No Factory received.\n"),
- -1);
- }
-
- // Narrow it to a Quoter Generic Factory
- generic_Factory_var_ = CosLifeCycle::GenericFactory::_narrow (quoter_FactoryObj_var.in (), TAO_TRY_ENV);
-
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (this->generic_Factory_var_.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "Factory received is not valid.\n"),
- -1);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Have a proper reference to the Quoter Factory.\n"));
- }
- TAO_CATCH (CosLifeCycle::NoFactory, excpt)
- {
- TAO_TRY_ENV.print_exception ("Quoter::init_naming_service: No Factory available!");
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Quoter::init_naming_service");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-int
-Quoter_Client::init (int argc, char **argv)
-{
- this->argc_ = argc;
- int i;
-
- // Make a copy of argv since ORB_init will change it.
- this->argv_ = new char *[argc];
-
- for (i = 0; i < argc; i++)
- this->argv_[i] = argv[i];
-
- TAO_TRY
- {
- // Retrieve the ORB.
- this->orb_ = CORBA::ORB_init (this->argc_,
- this->argv_,
- "internet",
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Parse command line and verify parameters.
- if (this->parse_args () == -1)
- return -1;
-
- // deprecated
- //if (this->use_naming_service_)
- //{
- int naming_result = this->init_naming_service ();
- if (naming_result == -1)
- return naming_result;
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Factory received OK\n"));
-
- // using the Quoter Generic Factory
- CosLifeCycle::Key genericFactoryName (1); // max = 1
- genericFactoryName.length(1);
- genericFactoryName[0].id = CORBA::string_dup ("Quoter_Factory");
- // The final factory
-
- CosLifeCycle::Criteria criteria(1);
- criteria.length (1);
- criteria[0].name = CORBA::string_dup ("filter");
- criteria[0].value <<= CORBA::string_dup ("name=='Quoter_Generic_Factory'");
- // used to find the last generic factory in the chain
-
- CORBA::Object_var quoterObject_var =
- this->generic_Factory_var_->create_object (genericFactoryName,
- criteria,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- this->quoter_var_ = Stock::Quoter::_narrow (quoterObject_var.in(), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG, "Quoter Created\n"));
-
- if (CORBA::is_nil (this->quoter_var_.in()))
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "null quoter objref returned by factory\n"),
- -1);
- }
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Quoter::init");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-
-// This function runs the test.
-
-int
-main (int argc, char **argv)
-{
- ACE_Thread_Manager thr_mgr;
-
- ACE_DEBUG ((LM_DEBUG,"\n\tQuoter: client\n\n"));
-
- int i;
- int threads = 1;
-
- for (i = 0; i < argc; i++)
- if (ACE_OS::strcmp (argv[i], "-n") == 0)
- threads = ACE_OS::atoi(argv[i + 1]);
-
- Quoter_Task **clients = new Quoter_Task*[threads];
-
- for (i = 0; i < threads; i++)
- clients[i] = new Quoter_Task (argc, argv);
-
-
- for (i = 0; i < threads; i++)
- clients[i]->activate (THR_BOUND | ACE_SCHED_FIFO, 1, 0, ACE_DEFAULT_THREAD_PRIORITY);
-
- int result = ACE_Thread_Manager::instance ()->wait ();
-
- for (i = 0; i < threads; i++)
- delete clients[i];
-
- delete [] clients;
-
- return result;
-}
-
diff --git a/TAO/examples/Quoter/client.dsp b/TAO/examples/Quoter/client.dsp
deleted file mode 100644
index 5e3dee9617c..00000000000
--- a/TAO/examples/Quoter/client.dsp
+++ /dev/null
@@ -1,219 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Quoter Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Quoter Client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="Quoter Client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Quoter Client - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Quoter Client - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Quoter Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs"
-
-!ELSEIF "$(CFG)" == "Quoter Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Quoter Client - Win32 Release"
-# Name "Quoter Client - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp"
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h"
-# Begin Source File
-
-SOURCE=.\client.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.h
-# End Source File
-# End Group
-# Begin Group "Inline Files"
-
-# PROP Default_Filter "i"
-# Begin Source File
-
-SOURCE=.\QuoterC.i
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.i
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Quoter.idl
-
-!IF "$(CFG)" == "Quoter Client - Win32 Release"
-
-USERDEP__QUOTE="..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Quoter.idl
-InputName=Quoter
-
-BuildCmds= \
- tao_idl $(InputName).idl -I../../orbsvcs/orbsvcs
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Quoter Client - Win32 Debug"
-
-USERDEP__QUOTE="..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Quoter.idl
-InputName=Quoter
-
-BuildCmds= \
- tao_idl $(InputName).idl -I../../orbsvcs/orbsvcs
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Quoter/client.h b/TAO/examples/Quoter/client.h
deleted file mode 100644
index 1e37d188b79..00000000000
--- a/TAO/examples/Quoter/client.h
+++ /dev/null
@@ -1,112 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Quoter
-//
-// = FILENAME
-// quoter_client.h
-//
-// = DESCRIPTION
-// @@ Write this
-//
-// = AUTHORS
-// Darrell Brunsch
-//
-// ============================================================================
-
-#if !defined (QUOTER_CLIENT_H)
-#define QUOTER_CLIENT_H
-
-#include "ace/Get_Opt.h"
-#include "ace/Task.h"
-#include "ace/Thread_Manager.h"
-#include "tao/corba.h"
-#include "QuoterC.h"
-#include "orbsvcs/CosLifeCycleC.h"
-
-class Quoter_Client
-{
- // = TITLE
- // @@ Write this
- //
- // = DESCRIPTION
- // @@ Write this
-public:
- // = Constructor and destructor.
- Quoter_Client (void);
- ~Quoter_Client (void);
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char **argv);
- // Initialize the client communication endpoint with server.
-
-private:
- int init_naming_service (void);
- // Function to initialize the naming service.
-
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- char *quoter_factory_key_;
- // Key of factory obj ref.
-
- char *quoter_key_;
- // Key of the obj ref to be retrieved via the factory.
-
- int shutdown_;
- // Flag to tell server to shutdown.
-
- Stock::Quoter_Factory_Finder_var factory_Finder_var_;
- // Pointer to a factory finder
-
- Stock::Quoter_Factory_var factory_var_;
- // Pointer to a factory
-
- CosLifeCycle::GenericFactory_var generic_Factory_var_;
- // Pointer to a generic factory
-
- CORBA::Environment env_;
- // Environment variable.
-
- Stock::Quoter_var quoter_var_;
- // Quoter obj ref.
-
- CORBA::ORB_var orb_;
- // Remember our orb.
-
- int useLifeCycleService_;
- // Flag to tell if the a Generic Factory is going to be used
- // or the LifeCycle Service (0 means Generic Factory, 1 means LCS)
-};
-
-class Quoter_Task : public ACE_Task<ACE_SYNCH>
-{
- // = TITLE
- // @@ Write this
- //
- // = DESCRIPTION
- // @@ Write this
-public:
- Quoter_Task (int argc, char **argv);
-
- virtual int svc (void);
-
-private:
- Quoter_Client quoter_client;
- int argc_;
- char **argv_;
-
-};
-
-#endif /* QUOTER_CLIENT_H */
diff --git a/TAO/examples/Quoter/run_test.pl b/TAO/examples/Quoter/run_test.pl
deleted file mode 100755
index 42d1be9df40..00000000000
--- a/TAO/examples/Quoter/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-# $Id$
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# This is a Perl script that runs the client and all the other servers that
-# are needed.
-
-unshift @INC, '../../../bin';
-require Process;
-#require Uniqueid;
-
-$nsiorfile = "theior";
-
-# number of threads to use for multithreaded clients or servers
-
-$num_threads = 4;
-
-# amount of delay between running the servers
-
-$sleeptime = 2;
-
-# variables for parameters
-
-#$nsport = 20000 + uniqueid ();
-$nsport = 0;
-$clport = 0;
-$lcport = 0;
-$svport = 0;
-$ffport = 0;
-$gfport = 0;
-
-# other variables
-
-$n = 1;
-$leave = 1;
-$ior = 0;
-$done = "";
-$debug = "";
-$cm = "";
-$sm = "";
-$other = "";
-$c_conf = "client.conf";
-$s_conf = "server.conf";
-
-sub read_nsior
-{
- open (FH, "<$nsiorfile");
-
- read (FH, $ior, 255);
-
- close (FH);
-}
-
-sub name_server
-{
- my $args = "$other -ORBport $nsport -ORBobjrefstyle url -o $nsiorfile";
- my $prog = "..$DIR_SEPARATOR..$DIR_SEPARATOR"."orbsvcs$DIR_SEPARATOR".
- "Naming_Service$DIR_SEPARATOR".
- "Naming_Service$Process::EXE_EXT";
-
- $NS = Process::Create ($prog, $args);
-}
-
-sub lifecycle_server
-{
- my $args = "$other -ORBport $lcport -ORBobjrefstyle url -ORBnameserviceior ".
- "$ior -ORBsvcconf svc.conf";
- my $prog = "..$DIR_SEPARATOR..$DIR_SEPARATOR"."orbsvcs$DIR_SEPARATOR".
- "LifeCycle_Service$DIR_SEPARATOR".
- "LifeCycle_Service$Process::EXE_EXT";
-
- $LC = Process::Create ($prog, $args);
-}
-
-sub server
-{
- my $args = "$other $debug $sm -ORBport $svport -ORBobjrefstyle url ".
- "-ORBnameserviceior $ior -ORBsvcconf $s_conf";
-
- $SV = Process::Create ("server$Process::EXE_EXT", $args);
-}
-
-sub factory_finder
-{
- my $args = "$other -ORBport $ffport -ORBobjrefstyle url -ORBnameserviceior ".
- "$ior -ORBsvcconf svc.conf";
-
- $FF = Process::Create ("Factory_Finder".$Process::EXE_EXT, $args);
-}
-
-sub generic_factory
-{
- my $args = "$other -l -ORBport $gfport -ORBobjrefstyle url -ORBnameserviceior ".
- "$ior -ORBsvcconf svc.conf";
-
- $GF = Process::Create ("Generic_Factory".$Process::EXE_EXT, $args);
-}
-
-sub client
-{
- my $exe = "client$Process::EXE_EXT $other -l $debug $cm -ORBobjrefstyle url ".
- "-ORBport $clport -ORBnameserviceior $ior -ORBsvcconf $c_conf";
-
- for ($j = 0; $j < $n; $j++)
- {
- system ($exe);
- }
-}
-
-# Parse the arguments
-
-for ($i = 0; $i <= $#ARGV; $i++)
-{
- SWITCH:
- {
- if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?")
- {
- print "run_test [-n num] [-leave] [-onewin] [-d] [-h] [-nt] [-cm] [-sm] [-ns|sv|ff|cl|gf]\n";
- print "\n";
- print "-n num -- runs the client num times\n";
- print "-leave -- leaves the servers running and their windows open\n";
- print "-onewin -- keeps all tests in one window on NT\n";
- print "-d -- runs each in debug mode\n";
- print "-h -- prints this information\n";
- print "-nt num -- number of threads in the client (twice for server)\n";
- print " make sure this is before any -cm or -sm\n";
- print "-cm -- use more than one thread in the client\n";
- print "-sm -- use more than one thread in the server\n";
- print "-ns -sv -ff -gf -cl -- runs only one of the executables\n";
- exit;
- }
- if ($ARGV[$i] eq "-n")
- {
- $n = $ARGV[$i + 1];
- $i++;
- last SWITCH;
- }
- if ($ARGV[$i] eq "-nt")
- {
- $num_threads = $ARGV[$i + 1];
- $i++;
- last SWITCH;
- }
- if ($ARGV[$i] eq "-d")
- {
- $debug = $debug." -d";
- last SWITCH;
- }
- if ($ARGV[$i] eq "-cm")
- {
- $cm = "-n ".$num_threads;
- last SWITCH;
- }
- if ($ARGV[$i] eq "-sm")
- {
- $sm = "-n ".($num_threads * 3);
- last SWITCH;
- }
- if ($ARGV[$i] eq "-leave")
- {
- $leave = 0;
- last SWITCH;
- }
- if ($ARGV[$i] eq "-ns")
- {
- name_server ();
- exit;
- }
- if ($ARGV[$i] eq "-sv")
- {
- read_nsior ();
- server ();
- exit;
- }
- if ($ARGV[$i] eq "-ff")
- {
- read_nsior ();
- factory_finder ();
- exit;
- }
- if ($ARGV[$i] eq "-gf")
- {
- read_nsior ();
- generic_factory ();
- exit;
- }
- if ($ARGV[$i] eq "-cl")
- {
- read_nsior ();
- client ();
- exit;
- }
- if ($ARGV[$i] eq "-customconf") #secret flag from testall.pl
- {
- #use a different set of *.conf files
- $c_conf = "c.conf";
- $s_conf = "s.conf";
- last SWITCH;
- }
- if ($ARGV[$i] eq "-onewin")
- {
- if ($^O eq "MSWin32")
- {
- $Process::newwindow = "no";
- }
- last SWITCH;
- }
-
- $other = $other." ".$ARGV[$i];
- }
-}
-
-name_server ();
-sleep $sleeptime;
-read_nsior ();
-
-lifecycle_server ();
-sleep $sleeptime;
-
-server ();
-sleep $sleeptime;
-
-factory_finder ();
-sleep $sleeptime;
-
-generic_factory ();
-sleep $sleeptime;
-
-client ();
-
-if ($leave)
-{
- $GF->Kill ();
- $FF->Kill ();
- $SV->Kill ();
- $LC->Kill ();
- $NS->Kill ();
-}
-
-
-unlink $nsiorfile;
diff --git a/TAO/examples/Quoter/server.conf b/TAO/examples/Quoter/server.conf
deleted file mode 100644
index 43c6a486c92..00000000000
--- a/TAO/examples/Quoter/server.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"
diff --git a/TAO/examples/Quoter/server.cpp b/TAO/examples/Quoter/server.cpp
deleted file mode 100644
index f92de0c4743..00000000000
--- a/TAO/examples/Quoter/server.cpp
+++ /dev/null
@@ -1,271 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = FILENAME
-// Quoter_Server.cpp
-//
-// = DESCRIPTION
-// The Server for the Quoter Factory
-//
-// = AUTHOR
-// Darrell Brunsch (brunsch@cs.wustl.edu)
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "server.h"
-
-ACE_RCSID(Quoter, server, "$Id$")
-
-Quoter_Server::Quoter_Server (void)
- : num_of_objs_ (1),
- quoter_Factory_i_ptr_ (0)
-{
-}
-
-int
-Quoter_Server::parse_args (void)
-{
- ACE_Get_Opt get_opts (argc_, argv_, "dn:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag.
- TAO_debug_level++;
- break;
- case 'n': // number of Quoter objects we export
- this->num_of_objs_ = ACE_OS::atoi (get_opts.optarg);
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-n] <num of Quoter objects>"
- "\n",
- argv_ [0]),
- 1);
- }
-
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-int
-Quoter_Server::init (int argc,
- char* argv[],
- CORBA::Environment& env)
-{
- if (this->orb_manager_.init (argc,
- argv,
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init"),
- -1);
-
- // Copy them, because parse_args expects them there.
- this->argc_ = argc;
- int i;
-
- // Make a copy of argv since ORB_init will change it.
- this->argv_ = new char *[argc];
-
- for (i = 0; i < argc; i++)
- this->argv_[i] = argv[i];
-
- this->parse_args ();
-
- // Obtain the RootPOA.
- CORBA::Object_var obj = this->orb_manager_.orb()->resolve_initial_references ("RootPOA");
-
- // Get the POA_var object from Object_var.
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (obj.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::_narrow");
- return -1;
- }
-
- // Get the POAManager of the RootPOA.
- PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POA::the_POAManager");
- return -1;
- }
-
- ACE_NEW_RETURN (quoter_Factory_i_ptr_,
- Quoter_Factory_i(this->num_of_objs_,
- root_poa.in()),
- 0);
-
- PortableServer::ObjectId_var quoter_Factory_oid =
- PortableServer::string_to_ObjectId ("Quoter_Factory");
-
- root_poa->activate_object_with_id (quoter_Factory_oid.in (),
- quoter_Factory_i_ptr_,
- env);
-
- // Get Object reference for first_foo_impl object.
- Stock::Quoter_Factory_var quoter_Factory_var = quoter_Factory_i_ptr_->_this (env);
- if (env.exception () != 0)
- {
- env.print_exception ("Quoter_Factory::_this");
- return -1;
- }
-
- // Stringyfy the object reference and print it out.
- CORBA::String_var quoter_Factory_ior =
- this->orb_manager_.orb()->object_to_string (quoter_Factory_var.in (), env);
-
- if (env.exception () != 0)
- {
- env.print_exception ("CORBA::ORB::object_to_string");
- return -1;
- }
-
- poa_manager->activate (env);
- if (env.exception () != 0)
- {
- env.print_exception ("PortableServer::POAManager::activate");
- return -1;
- }
-
-
- ACE_DEBUG ((LM_DEBUG,
- "The IOR is: <%s>\n",
- quoter_Factory_ior.in ()));
-
- return this->init_naming_service (env);
-}
-
-// Initialization of Naming Service and register IDL_Quoter Context
-// and Quoter_factory object.
-
-int
-Quoter_Server::init_naming_service (CORBA::Environment& env)
-{
- TAO_TRY
- {
- CORBA::ORB_ptr orb_ptr = TAO_ORB_Core_instance()->orb();
- TAO_CHECK_ENV;
-
- CORBA::Object_var naming_obj =
- orb_ptr->resolve_initial_references ("NameService");
-
- if (CORBA::is_nil (naming_obj.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to resolve the Name Service.\n"),
- -1);
-
- namingContext_var_ =
- CosNaming::NamingContext::_narrow (naming_obj.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
-
- CosNaming::Name quoterContextName (1);
- quoterContextName.length (1);
- quoterContextName[0].id = CORBA::string_dup ("IDL_Quoter");
- CosNaming::NamingContext_var quoterNameContext =
- namingContext_var_->bind_new_context (quoterContextName, env);
- TAO_CHECK_ENV_RETURN (env, -1);
-
- //Register the quoter_factory name with the IDL_quoter Naming
- //Context...
- CosNaming::Name quoterFactoryContextName (1);
- quoterFactoryContextName.length (1);
- quoterFactoryContextName[0].id = CORBA::string_dup ("Quoter_Factory");
- quoterNameContext->bind (quoterFactoryContextName,
- quoter_Factory_i_ptr_->_this(env),
- env);
- TAO_CHECK_ENV_RETURN (env, -1);
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Quoter::init_naming_service");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-int
-Quoter_Server::run (CORBA::Environment& env)
-{
- if (orb_manager_.orb()->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "run"),
- -1);
- return 0;
-}
-
-Quoter_Server::~Quoter_Server (void)
-{
- TAO_TRY
- {
- // Unbind quoter factory context and name.
- CosNaming::Name factory_name (2);
- factory_name.length (2);
- factory_name[0].id = CORBA::string_dup ("IDL_Quoter");
- factory_name[1].id = CORBA::string_dup ("Quoter_Factory");
- this->namingContext_var_->unbind (factory_name,TAO_TRY_ENV);
- TAO_CHECK_ENV;
- factory_name.length (1);
- this->namingContext_var_->unbind (factory_name,TAO_TRY_ENV);
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- }
- TAO_ENDTRY;
-}
-
-int
-main (int argc, char *argv[])
-{
- Quoter_Server quoter_server;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\tQuoter:SERVER \n \n"));
- TAO_TRY
- {
- if (quoter_server.init (argc, argv, TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- quoter_server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
- return 0;
-}
diff --git a/TAO/examples/Quoter/server.dsp b/TAO/examples/Quoter/server.dsp
deleted file mode 100644
index 222e15f2ac7..00000000000
--- a/TAO/examples/Quoter/server.dsp
+++ /dev/null
@@ -1,228 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Quoter Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Quoter Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="Quoter Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Quoter Server - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Quoter Server - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Quoter Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib tao.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs"
-
-!ELSEIF "$(CFG)" == "Quoter Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\\" /I "..\..\orbsvcs" /I "..\..\orbsvcs\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\ace" /libpath:"..\..\tao" /libpath:"..\..\orbsvcs\orbsvcs"
-# SUBTRACT LINK32 /nodefaultlib
-
-!ENDIF
-
-# Begin Target
-
-# Name "Quoter Server - Win32 Release"
-# Name "Quoter Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp"
-# Begin Source File
-
-SOURCE=.\Quoter_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h"
-# Begin Source File
-
-SOURCE=.\Quoter_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.h
-# End Source File
-# End Group
-# Begin Group "Inline Files"
-
-# PROP Default_Filter "i"
-# Begin Source File
-
-SOURCE=.\QuoterC.i
-# End Source File
-# Begin Source File
-
-SOURCE=.\QuoterS.i
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Quoter.idl
-
-!IF "$(CFG)" == "Quoter Server - Win32 Release"
-
-USERDEP__QUOTE="..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Quoter.idl
-InputName=Quoter
-
-BuildCmds= \
- tao_idl $(InputName).idl -I../../orbsvcs/orbsvcs
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Quoter Server - Win32 Debug"
-
-USERDEP__QUOTE="..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\Quoter.idl
-InputName=Quoter
-
-BuildCmds= \
- tao_idl $(InputName).idl -I../../orbsvcs/orbsvcs
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Quoter/server.h b/TAO/examples/Quoter/server.h
deleted file mode 100644
index 51af5cfa68a..00000000000
--- a/TAO/examples/Quoter/server.h
+++ /dev/null
@@ -1,83 +0,0 @@
-// $Id$
-// -*- C++ -*-
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Quoter
-//
-// = FILENAME
-// quoter_server.h
-//
-// = DESCRIPTION
-// Implements the Quoter_Server class which handles the initialization of
-// the quoter implementations.
-//
-// = AUTHORS
-// Darrell Brunsch (brunsch@cs.wustl.edu)
-//
-// ============================================================================
-
-#if !defined (QUOTER_SERVER_H)
-#define QUOTER_SERVER_H
-
-#include "ace/Get_Opt.h"
-#include "ace/Log_Msg.h"
-#include "orbsvcs/CosNamingC.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-#include "tao/TAO.h"
-#include "Quoter_i.h"
-#include "QuoterC.h"
-
-class Quoter_Server
-{
- // =TITLE
- // Defines a Quoter Server class that implements the functionality
- // of a server process as an object.
- //
- // =DESCRIPTION
- // The interface is quite simple. A server program has to call
- // init to initialize the quoter_server's state and then call run
- // to run the orb.
-public:
-
- Quoter_Server (void);
- // Default constructor
-
- ~Quoter_Server (void);
- // Destructor
-
- int init (int argc, char *argv[], CORBA::Environment& env);
- // Initialize the Quoter_Server state - parsing arguments and ...
-
- int run (CORBA::Environment& env);
- // Run the orb
-
-private:
- int parse_args (void);
- // Parses the commandline arguments.
-
- int init_naming_service (CORBA::Environment &env);
- // Initializes the name server and registers cubit factory with the
- // name server.
-
- int num_of_objs_;
- // Number of quoter objects we export.
-
- CosNaming::NamingContext_var namingContext_var_;
- // Naming Service context
-
- Quoter_Factory_i *quoter_Factory_i_ptr_;
- // Instantiate the Quoter Factory
-
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- int argc_;
- // Number of commandline arguments.
-
- char **argv_;
- // commandline arguments.
-};
-
-#endif /* QUOTER_SERVER_H */
diff --git a/TAO/examples/Quoter/svc.conf b/TAO/examples/Quoter/svc.conf
deleted file mode 100644
index 43c6a486c92..00000000000
--- a/TAO/examples/Quoter/svc.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"
diff --git a/TAO/examples/Quoter/testall.pl b/TAO/examples/Quoter/testall.pl
deleted file mode 100755
index 5f25258cae3..00000000000
--- a/TAO/examples/Quoter/testall.pl
+++ /dev/null
@@ -1,206 +0,0 @@
-# $Id$
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# This is a Perl script that runs the client and all the other servers that
-# are needed
-
-$n = 1;
-$leave = 0;
-$ior = 0;
-$done = "";
-$debug = "";
-$other = "";
-$runonce = 0;
-
-# configuration variables
-
-$resource = "global";
-$poalock = "thread";
-$poa = "global";
-$concurrency = "reactive";
-$mult = "no";
-$c_resource = "global";
-$c_mult = "no";
-
-for ($i = 0; $i <= $#ARGV; $i++)
-{
- SWITCH:
- {
- if ($ARGV[$i] eq "-h" || $ARGV[$i] eq "-?")
- {
- print "testall\n";
- print " -resource {global, tss}\n";
- print " -poalock {thread, null}\n";
- print " -poa {global, tss}\n";
- print " -concurrency {reactive, thread-per-connection}\n";
- print " -mult {yes, no}\n";
- print " -c_resource {global, tss}\n";
- print " -c_mult {yes, no}\n";
- exit;
- }
- if ($ARGV[$i] eq "-resource")
- {
- $runonce = 1;
- $resource = $ARGV[$i + 1];
- $i++;
- }
- if ($ARGV[$i] eq "-poalock")
- {
- $runonce = 1;
- $poalock = $ARGV[$i + 1];
- $i++;
- }
- if ($ARGV[$i] eq "-poa")
- {
- $runonce = 1;
- $poa = $ARGV[$i + 1];
- $i++;
- }
- if ($ARGV[$i] eq "-concurrency")
- {
- $runonce = 1;
- $concurrency = $ARGV[$i + 1];
- $i++;
- }
- if ($ARGV[$i] eq "-mult")
- {
- $runonce = 1;
- $mult = $ARGV[$i + 1];
- $i++;
- }
- if ($ARGV[$i] eq "-c_resource")
- {
- $runonce = 1;
- $c_resource = $ARGV[$i + 1];
- $i++;
- }
- if ($ARGV[$i] eq "-c_mult")
- {
- $runonce = 1;
- $c_mult = $ARGV[$i + 1];
- $i++;
- }
- }
-}
-
-if ($runonce > 0)
-{
- do_work ();
-}
-else
-{
- pick_resource ();
-}
-
-sub pick_resource
-{
- $resource = "global";
- pick_poalock ();
- $resource = "tss";
- pick_poalock ();
-}
-
-sub pick_poalock
-{
- $poalock = "thread";
- pick_poa ();
- $poalock = "null";
- pick_poa ();
-}
-
-sub pick_poa
-{
- $poa = "global";
- pick_concurrency ();
-
- if ($resource ne "global")
- {
- $poa = "tss";
- pick_concurrency ();
- }
-}
-
-sub pick_concurrency
-{
- $concurrency = "reactive";
- pick_mult_orbs ();
- $concurrency = "thread-per-connection";
- pick_mult_orbs ();
-}
-
-sub pick_mult_orbs
-{
- if ($resource ne "global")
- {
- $mult = "yes";
- pick_c_resource ();
- }
- $mult = "no";
- pick_c_resource ();
-}
-
-sub pick_c_resource
-{
- $c_resource = "global";
- pick_c_mult_orbs ();
- $c_resource = "tss";
- pick_c_mult_orbs ();
-}
-
-sub pick_c_mult_orbs
-{
- if ($c_resource ne "global")
- {
- $c_mult = "yes";
- do_work ();
- }
- $c_mult = "no";
- do_work ();
-}
-
-sub make_s_conf
-{
- open (FH, ">s.conf");
-
- select (FH);
-
- print "dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() \"-ORBresources ".$resource." -ORBpoa $poa\"\n";
- print "dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()\n";
- print "dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() \"-ORBconcurrency $concurrency -ORBpoalock ".$poalock." -ORBdemuxstrategy dynamic -ORBtablesize 128\"\n";
-
- select (STDOUT);
- close (FH);
-}
-
-sub make_c_conf
-{
- open (FH, ">c.conf");
-
- select (FH);
-
- print "dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() \"-ORBresources $c_resource\"\n";
- print "dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()\n";
- print "dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() \"-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128\"\n";
-
- select (STDOUT);
- close (FH);
-}
-
-
-sub do_work
-{
- make_s_conf ();
- make_c_conf ();
-
- print "-------------------------------------------\n";
- print "Server: $resource $poalock $poa $concurrency $mult\n";
- print "Client: $c_resource $c_mult\n";
-
- if ($mult eq "yes") { $mt = "-sm"; } else { $mt = ""; }
- if ($c_mult eq "yes") { $cmt = "-cm"; } else { $cmt = ""; }
-
- system ("perl run_test.pl $other $mt $cmt -onewin -customconf");
-}
-
diff --git a/TAO/examples/README b/TAO/examples/README
deleted file mode 100644
index 58f84522538..00000000000
--- a/TAO/examples/README
+++ /dev/null
@@ -1,22 +0,0 @@
-This directory contains a number of example applications that
-illustrate how to program with standard CORBA using TAO. The
-individual directories contain READMEs on how to run the following
-examples:
-
- . POA
-
- Contains various small examples of POA features based on
- the OMG POA specification.
-
- . Quoter
-
- Illustrates how to use the Global POA options with multiple
- threads. This example also shows how to use the Lifecycle
- service.
-
- . Simple
-
- Contains a number of very simple examples, which also
- illustrate how to write canonical Orbix/VisiBroker/OmniORB
- examples in TAO using standard CORBA features rather than
- proprietary ORB features.
diff --git a/TAO/examples/Simple/Makefile b/TAO/examples/Simple/Makefile
deleted file mode 100644
index 1ad77b57aff..00000000000
--- a/TAO/examples/Simple/Makefile
+++ /dev/null
@@ -1,26 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-DIRS = bank \
- chat \
- echo \
- grid \
- time
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
-
diff --git a/TAO/examples/Simple/README b/TAO/examples/Simple/README
deleted file mode 100644
index d753ece9ea5..00000000000
--- a/TAO/examples/Simple/README
+++ /dev/null
@@ -1,28 +0,0 @@
-$Id$
-
-This directory contains a number of very simple tests, which also
-illustrate how to write canonical Orbix/VisiBroker/OmniORB examples in
-TAO using standard CORBA features rather than proprietary ORB
-features. The individual directories contain READMEs on how to run
-the following tests:
-
- . bank
-
- This directory implements the canonical VisiBroker
- test.
-
- . chat
-
- This directory implements an ORBacus test.
-
- . echo
-
- This directory implements the canonical omniORB test.
-
- . grid
-
- This directory implements the canonical Orbix test.
-
- . time
-
- This directory implements a simple time/date test.
diff --git a/TAO/examples/Simple/bank/AccountManager_i.cpp b/TAO/examples/Simple/bank/AccountManager_i.cpp
deleted file mode 100644
index 6a28b463130..00000000000
--- a/TAO/examples/Simple/bank/AccountManager_i.cpp
+++ /dev/null
@@ -1,154 +0,0 @@
-// $Id$
-
-#include "AccountManager_i.h"
-#include "Account_i.h"
-
-ACE_RCSID(AccountManager, AccountManager_i, "$Id$")
-
-// Constructor
-
-AccountManager_i::AccountManager_i (void)
-{
- // no-op
-}
-
-// Destructor
-
-AccountManager_i::~AccountManager_i (void)
-{
- // no-op
-}
-
-// Set the ORB pointer
-
-void
-AccountManager_i::orb (CORBA::ORB_ptr o)
-{
- this->orb_ = CORBA::ORB::_duplicate (o);
-}
-
-void
-AccountManager_i::poa (PortableServer::POA_ptr poa)
-{
- this->poa_ = poa;
-}
-
-void
-AccountManager_i::set_orb_manager (TAO_ORB_Manager *orb_manager)
-{
- this->orb_manager_ = orb_manager;
-}
-
-// Open an account for the given name.
-
-Bank::Account_ptr
-AccountManager_i::open (const char *name,
- CORBA::Float initial_balance,
- CORBA::Environment &_env)
-{
- Account_i *result = 0;
-
- // If name is already in the map, <find> will assign <result> to the
- // appropriate value.
- TAO_TRY
- {
- if (hash_map_.find (name, result) != 0)
- {
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Opening a new Account for %s with balance %f\n",
- name,
- initial_balance));
-
- ACE_NEW_THROW_RETURN (result,
- Account_i (name,
- initial_balance),
- CORBA::NO_MEMORY (CORBA::COMPLETED_NO),
- Bank::Account::_nil ());
-
- // Enter the new Account in the hash map. If the <bind>
- // fails throw an UNKNOWN exception. <result> may be valid
- // but since it is not properly bound, it's behaviour may be
- // off, so delete it to be safe.
-
- if (hash_map_.bind (name, result) == -1)
- {
- delete result;
- TAO_THROW_RETURN (CORBA::UNKNOWN (CORBA::COMPLETED_NO),
- Bank::Account::_nil ());
- }
- }
- else
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nAccount already exists for %s\n",
- name));
- // Generate an IOR for the result object and register it with
- // the POA. In case the object already exists then the
- // previously generated IOR is returned.
-
- }
- TAO_CATCHANY
- {
- _env.print_exception("Exception in OPen");
- }
- TAO_ENDTRY;
-
- return result->_this ();
-}
-
-// Shutdown.
-
-void
-AccountManager_i::close (Bank::Account_ptr account,
- CORBA::Environment &TAO_TRY_ENV)
-{
- TAO_TRY
- {
- CORBA::String_var name =
- CORBA::string_dup (account->name (TAO_TRY_ENV));
-
- TAO_CHECK_ENV;
-
- if (hash_map_.unbind ((const char *) name) == -1)
- {
- if (TAO_debug_level > 0)
- ACE_DEBUG((LM_DEBUG,
- "Unable to close account\n"));
- }
- else if (TAO_debug_level > 0)
- ACE_DEBUG((LM_DEBUG,
- "Closing Account for %s\n",
- (char *) name));
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Unable to close Account\n");
- }
- TAO_ENDTRY;
-}
-
-void
-AccountManager_i::shutdown (CORBA::Environment &)
-{
- ACE_DEBUG ((LM_DEBUG,
- "%s\n",
- "AccountManager_i is shutting down"));
-
- // Instruct the ORB to shutdown.
- this->orb_->shutdown ();
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Hash_Map_Manager <ACE_CString,Account_i *,ACE_Null_Mutex>;
-template class ACE_Hash_Map_Iterator <ACE_CString,Account_i *,ACE_Null_Mutex>;
-template class ACE_Hash_Map_Entry<ACE_CString, Account_i *>;
-template class ACE_Hash_Map_Reverse_Iterator<ACE_CString, Account_i *, ACE_Null_Mutex>;
-template class ACE_Hash_Map_Iterator_Base<ACE_CString, Account_i *, ACE_Null_Mutex>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Hash_Map_Manager <ACE_CString,Account_i *,ACE_Null_Mutex>;
-#pragma instantiate ACE_Hash_Map_Iterator <ACE_CString,Account_i *,ACE_Null_Mutex>;
-#pragma instantiate ACE_Hash_Map_Entry<ACE_CString, Account_i *>;
-#pragma instantiate ACE_Hash_Map_Reverse_Iterator<ACE_CString, Account_i *, ACE_Null_Mutex>;
-#pragma instantiate ACE_Hash_Map_Iterator_Base<ACE_CString, Account_i *, ACE_Null_Mutex>;
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/examples/Simple/bank/AccountManager_i.h b/TAO/examples/Simple/bank/AccountManager_i.h
deleted file mode 100644
index 93e23917cb0..00000000000
--- a/TAO/examples/Simple/bank/AccountManager_i.h
+++ /dev/null
@@ -1,89 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/Bank
-//
-// = FILENAME
-// AccountManager_i.h
-//
-// = DESCRIPTION
-// This class implements the Bank::AccountManager IDL interface.
-//
-// = AUTHOR
-// Vishal Kachroo <vishal@cs.wustl.edu>
-//
-// ============================================================================
-
-#if !defined (ACCOUNTMANAGER_I_H)
-#define ACCOUNTMANAGER_I_H
-
-#include "ace/ACE.h"
-#include "ace/OS.h"
-#include "tao/TAO.h"
-#include "BankS.h"
-#include "Account_i.h"
-
-class AccountManager_i : public POA_Bank::AccountManager
-{
- // = TITLE
- // Account Manager object implementation.
- //
- // = DESCRIPTION
- // Implementation of a simple object that has two methods, one
- // that returns an Account Interface and the other that shuts
- // down the server.
-public:
- // = Initialization and termination methods.
- AccountManager_i (void);
- // Constructor.
-
- ~AccountManager_i (void);
- // Destructor.
-
- virtual Bank::Account_ptr open (const char *name,
- CORBA::Float initial_balance,
- CORBA::Environment &_env);
- // Return the Account interface with the given name from the server.
- // Put the initial balance specified in the new account.
-
- virtual void close (Bank::Account_ptr,
- CORBA::Environment &env);
- // Close the given account.
-
- virtual void shutdown (CORBA::Environment &env);
- // Shutdown the server.
-
- void orb (CORBA::ORB_ptr o);
- // Set the ORB pointer.
-
- void poa (PortableServer::POA_ptr poa);
- // Set the POA pointer.
-
- void set_orb_manager (TAO_ORB_Manager *orb_manager);
- // Set the ORB Manager.
-
- TAO_ORB_Manager *orb_manager_;
- // The ORB manager.
-
-private:
- CORBA::ORB_var orb_;
- // ORB pointer.
-
- PortableServer::POA_ptr poa_;
- // POA pointer.
-
- //TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- ACE_Hash_Map_Manager<ACE_CString,
- Account_i *,
- ACE_Null_Mutex> hash_map_;
- // Calls to <open> will create a new instance of <Account_i> and
- // bind into the hash map manager if <name> is unique, else it will
- // return a previously bound entry.
-};
-
-#endif /* ACCOUNTMANAGER_I_H */
diff --git a/TAO/examples/Simple/bank/Account_i.cpp b/TAO/examples/Simple/bank/Account_i.cpp
deleted file mode 100644
index b35ed2ad370..00000000000
--- a/TAO/examples/Simple/bank/Account_i.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-// $Id$
-
-#include "Account_i.h"
-
-ACE_RCSID(Bank, Account_i, "$Id$")
-
-// Constructor
-
-Account_i::Account_i (void)
-{
- // no-op
-}
-
-Account_i::Account_i (const char *name,
- CORBA::Float balance)
-
- : name_ (CORBA::string_dup (name)),
- balance_ (balance)
-{
-}
-
-// Destructor
-
-Account_i::~Account_i (void)
-{
- CORBA::string_free (name_);
-}
-
-// Set the ORB pointer.
-
-void
-Account_i::orb (CORBA::ORB_ptr o)
-{
- this->orb_ = CORBA::ORB::_duplicate (o);
-}
-
-// Return the current balance on the server.
-
-CORBA::Float
-Account_i::balance (CORBA::Environment &)
-{
- return balance_;
-}
-
-void
-Account_i::deposit (CORBA::Float deposit,
- CORBA::Environment &env)
-{
- balance_ += deposit;
-}
-
-void
-Account_i::withdraw (CORBA::Float withdrawl,
- CORBA::Environment &env)
-{
- if (balance_ >= withdrawl)
- balance_ -= withdrawl;
- else
- env.exception (new Bank::Account::Overdraft("Exception from server::Overdraft"));
-}
-
-char *
-Account_i::name (CORBA::Environment &env)
-{
- return CORBA::string_dup (name_);
-}
-
-void
-Account_i::name (const char *name,
- CORBA::Environment &env)
-{
- name_ = CORBA::string_dup (name);
-}
diff --git a/TAO/examples/Simple/bank/Account_i.h b/TAO/examples/Simple/bank/Account_i.h
deleted file mode 100644
index e6b6049c6a7..00000000000
--- a/TAO/examples/Simple/bank/Account_i.h
+++ /dev/null
@@ -1,77 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/Bank
-//
-// = FILENAME
-// Account_i.h
-//
-// = DESCRIPTION
-// This class implements the Bank IDL interface.
-//
-// = AUTHOR
-// Vishal Kachroo <vishal@cs.wustl.edu>
-//
-// ============================================================================
-
-#if !defined (ACCOUNT_I_H)
-#define ACCOUNT_I_H
-
-#include "BankS.h"
-
-class Account_i : public POA_Bank::Account
-{
- // = TITLE
- // Bank object implementation.
- //
- // = DESCRIPTION
- // Implementation of a simple object that has two methods, one
- // that return the current balance on the server and the other
- // that shuts down the server.
-public:
- // = Initialization and termination methods.
- Account_i (void);
- // Constructor.
-
- Account_i (const char *, CORBA::Float);
- // Constructor.
-
- ~Account_i (void);
- // Destructor.
-
- virtual CORBA::Float balance (CORBA::Environment &env);
- // Get the current balance in the account.
-
- virtual char *name (CORBA::Environment &env);
- // Get the name of the <Account> holder.
-
- virtual void name (const char *name,
- CORBA::Environment &env);
- // Set the name of the <Account> holder.
-
- virtual void deposit (CORBA::Float,
- CORBA::Environment &env);
- // Deposit money in the account.
-
- virtual void withdraw (CORBA::Float,
- CORBA::Environment &env);
- // Withdraw money in the account.
-
- void orb (CORBA::ORB_ptr o);
- // Set the ORB pointer.
-
-private:
- CORBA::ORB_var orb_;
- // ORB pointer.
-
- CORBA::Float balance_;
- // balance for this account
-
- CORBA::String_var name_;
- // Name of the <Account> holder.
-};
-
-#endif /* ACCOUNT_I_H */
diff --git a/TAO/examples/Simple/bank/Bank.idl b/TAO/examples/Simple/bank/Bank.idl
deleted file mode 100644
index 3cac2150a85..00000000000
--- a/TAO/examples/Simple/bank/Bank.idl
+++ /dev/null
@@ -1,59 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-module Bank
-{
- // = TITLE
- // This module has two interfaces. One represents a bank Account and
- // the other is a factory to create the Account Objects.
-
- interface Account
- {
- // = TITLE
- // This interface represents an account with operations to check
- // balance, deposit and withdraw.
-
- exception Overdraft
- {
- // = TITLE
- // This exception is raised if the client tries to
- // withdraw more money than the current balance.
-
- string reason;
- };
-
- readonly attribute float balance;
- // Attribute to obtain the current <balance>.
-
- void deposit (in float amount);
- // Add <amount> to this account.
-
- void withdraw (in float amount) raises (Overdraft);
- // Withdraw <amount from this account.
-
- attribute string name;
- // The <name> of this account.
- };
-
- interface AccountManager
- {
- // = TITLE
- // This interface is a factory for the <Account> objects. It has
- // operations to create <Account>s and to delete them.
-
- Account open (in string name,
- in float initial_balance);
- // Returns the <Account> associated with <name>. If this is the
- // first time <name> has been seen, the server will create the
- // account. Otherwise, the server will return back an object
- // reference to a previously created account.
-
- void close (in Account account);
- // Close down the account and release its resources if it's the
- // last reference to the <account>. Once this call is made it
- // is no longer valid to access the <account>.
-
- void shutdown ();
- // This operation shuts down the server.
- };
-};
diff --git a/TAO/examples/Simple/bank/Client_i.cpp b/TAO/examples/Simple/bank/Client_i.cpp
deleted file mode 100644
index 355017ff26a..00000000000
--- a/TAO/examples/Simple/bank/Client_i.cpp
+++ /dev/null
@@ -1,378 +0,0 @@
-// $Id$
-
-#include "ace/Get_Opt.h"
-#include "ace/Read_Buffer.h"
-#include "Client_i.h"
-
-ACE_RCSID(Bank, Client_i, "$Id$")
-
-// Constructor.
-
-Client_i::Client_i (void)
- : ior_ (0),
- loop_count_ (10),
- shutdown_ (0),
- server1_ (),
- server2_ ()
-{
-}
-
-// Reads the Server factory ior from a file
-
-int
-Client_i::read_ior (char *filename)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle = ACE_OS::open (filename, 0);
-
- if (f_handle == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- filename),
- -1);
-
- ACE_Read_Buffer ior_buffer (f_handle);
- char *data = ior_buffer.read ();
-
- if (data == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior: %p\n"),
- -1);
-
- this->ior_ = ACE_OS::strdup (data);
- ior_buffer.alloc ()->free (data);
-
- ACE_OS::close (f_handle);
-
- return 0;
-}
-
-// Parses the command line arguments and returns an error status.
-
-int
-Client_i::parse_args (void)
-{
- ACE_Get_Opt get_opts (argc_, argv_, "dn:b:y:z:f:xk:");
- int c;
- int result;
-
- while ((c = get_opts ()) != -1)
- // ACE_DEBUG((LM_DEBUG,"bal =1%c",c
- // ));
- switch (c)
- {
- case 'd': // debug flag
- TAO_debug_level++;
- break;
- case 'n': // loop count
- this->loop_count_ = (u_int) ACE_OS::atoi (get_opts.optarg);
- break;
- case 'b': // initial balance
- this->initial_balance_ = (float) ACE_OS::atoi (get_opts.optarg);
- ACE_DEBUG((LM_DEBUG,"bal = %f",
- initial_balance_));
- break;
- case 'y': // Name of one account holder.
- this->account_holder_name1_ = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'z': // Name of another account holder.
- this->account_holder_name2_ = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'k': // ior provide on command line
- this->ior_ = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'f': // read the IOR from the file.
- result = this->read_ior (get_opts.optarg);
- if (result < 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior from %s : %p\n",
- get_opts.optarg),
- -1);
- break;
- case 'x':
- this->shutdown_ = 1;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-b Initial Balance]"
- " [-y First Account Holder's Name]"
- " [-z Second Account Holder's Name]"
- " [-n loopcount]"
- " [-f ior-file]"
- " [-k ior]"
- " [-x]"
- "\n",
- this->argv_ [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-void
-Client_i::deposit (Bank::Account_ptr server,
- CORBA::Float deposit_amount,
- CORBA::Environment &env)
-{
- server->deposit (deposit_amount,
- this->env_);
-}
-
-void
-Client_i::withdraw (Bank::Account_ptr server,
- CORBA::Float withdrawl_amount)
-{
- TAO_TRY
- {
- server->withdraw (withdrawl_amount,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- Bank::Account::Overdraft_ptr except =
- Bank::Account::Overdraft::_narrow
- (TAO_TRY_ENV.exception ());
-
- ACE_DEBUG ((LM_DEBUG,
- "Exception : %s",
- (char *) except->reason));
- }
- TAO_ENDTRY;
-}
-
-Bank::Account_ptr
-Client_i::open (const char *name,
- CORBA::Float initial_balance,
- CORBA::Environment &env)
-{
- return this->accountmanager_server_->open (name,
- initial_balance,
- env);
-}
-
-void
-Client_i::close (Bank::Account_ptr account,
- CORBA::Environment &env)
-{
- this->accountmanager_server_->close (account,
- env);
-}
-
-
-// This method tests if opening an account with the same name returns
-// the same IOR.
-
-void
-Client_i::test_for_same_name (CORBA::Environment &env)
-{
- this->server1_ = this->open (this->account_holder_name1_,
- this->initial_balance_,
- this->env_);
- this->server2_ = this->open (this->account_holder_name1_,
- this->initial_balance_,
- this->env_);
- ACE_ASSERT (server1_->_is_equivalent ((CORBA::Object *) server2_.in ()) != 0);
-
- this->close (server1_.in (),
- this->env_);
- this->close (server2_.in (),
- this->env_);
-}
-
-// This method tests if opening an account with different names
-// returns a different IOR.
-void
-Client_i::test_for_different_name (CORBA::Environment &env)
-{
- this->server1_ = this->open (this->account_holder_name1_,
- this->initial_balance_,
- this->env_);
- this->server2_ = this->open (this->account_holder_name2_,
- this->initial_balance_,
- this->env_);
-
- ACE_ASSERT (server1_->_is_equivalent ((CORBA::Object *)server2_.in ()) == 0);
-
- this->close (server1_.in (),
- this->env_);
- this->close (server2_.in (),
- this->env_);
-}
-
-// This method tests the Overdraft exception.
-
-void
-Client_i::test_for_overdraft (CORBA::Environment &env)
-{
- this->server1_ = this->open (this->account_holder_name1_,
- this->initial_balance_,
- this->env_);
- this->deposit (server1_.in (),
- 100.00,
- this->env_);
- this->withdraw (server1_.in (),
- server1_->balance(this->env_) + 20);
- this->close (server1_.in (),
- this->env_);
-}
-
-
-CORBA::Float
-Client_i::check_accounts (void)
-{
- TAO_TRY
- {
- this->test_for_same_name (this->env_);
- TAO_CHECK_ENV;
- this->test_for_different_name (this->env_);
- TAO_CHECK_ENV;
- this->test_for_overdraft (this->env_);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- if (this->env_.exception () != 0)
- this->env_.print_exception ("From Client_i::check_accounts()");
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-// Execute client example code.
-
-int
-Client_i::run (void)
-{
- u_int i;
-
- this->check_accounts ();
-
- TAO_TRY
- {
- if (this->shutdown_)
- this->accountmanager_server_->shutdown (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- ACE_DEBUG ((LM_DEBUG,
- "Unable to shut down the server\n"));
- }
- TAO_ENDTRY;
-
-return 0;
-
-}
-
-Client_i::~Client_i (void)
-{
- ACE_OS::free (this->ior_);
-}
-
-int
-Client_i::obtain_initial_references (void)
-{
- TAO_TRY
- {
- // Initialize the naming services.
- if (my_name_client_.init (orb_.in ()) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize "
- "the TAO_Naming_Client. \n"),
- -1);
-
- CosNaming::Name account_manager_name (1);
- account_manager_name.length (1);
- account_manager_name[0].id =
- CORBA::string_dup ("AccountManager");
-
- CORBA::Object_var account_manager_obj =
- my_name_client_->resolve (account_manager_name,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- this->accountmanager_server_ =
- Bank::AccountManager::_narrow (account_manager_obj.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Bank::obtain_initial_references");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-// This method uses the IOR if specified on the command line or in a
-// file, else it uses the Naming Service
-
-int
-Client_i::init (int argc, char **argv)
-{
- this->argc_ = argc;
- this->argv_ = argv;
-
- TAO_TRY
- {
- // Retrieve the ORB.
- this->orb_ = CORBA::ORB_init (this->argc_,
- this->argv_,
- 0,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Parse command line and verify parameters.
- if (this->parse_args () == -1)
- return -1;
-
- if (this->ior_)
- {
- // An ior is specified for the client through a commandline
- // option or a file.
-
- CORBA::Object_var server_object =
- this->orb_->string_to_object (this->ior_,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (server_object.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "invalid ior <%s>\n",
- this->ior_),
- -1);
-
- this->accountmanager_server_ =
- Bank::AccountManager::_narrow (server_object.in (),
- TAO_TRY_ENV);
-
- ACE_DEBUG ((LM_DEBUG,
- "Using the IOR provided\n"));
- TAO_CHECK_ENV;
- }
- else
- { // No IOR specified. Use the Naming Service
- ACE_DEBUG((LM_DEBUG,
- "Using the Naming Service\n"));
-
- this->obtain_initial_references ();
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Client_i::init");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/bank/Client_i.h b/TAO/examples/Simple/bank/Client_i.h
deleted file mode 100644
index e06369f955f..00000000000
--- a/TAO/examples/Simple/bank/Client_i.h
+++ /dev/null
@@ -1,132 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Client_i.h
-//
-// = DESCRIPTION
-// This class implements a simple CORBA client that accesses a Bank
-// server.
-//
-// = AUTHORS
-// Vishal Kachroo <vishal@cs.wustl.edu>
-//
-// ============================================================================
-
-#include "BankC.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-
-class Client_i
-{
- // = TITLE
- // Simple Client implementation.
- //
- // = DESCRIPTION
- // Class wrapper for a client that gets the server IOR and then
- // makes several calls to the server before optionally shutting
- // it down.
-public:
- // = Initialization and termination methods.
- Client_i (void);
- // Constructor.
-
- ~Client_i (void);
- // Destructor.
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char *argv[]);
- // Initialize the client communication endpoint with server.
-
-private:
- int read_ior (char *filename);
- // Function to read the server IOR from a file.
-
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- CORBA::Float check_accounts (void);
- // Checks the various operations of the account.
-
- void deposit (Bank::Account_ptr server,
- CORBA::Float deposit_amount,
- CORBA::Environment &env);
- // Deposit in the account.
-
- void withdraw (Bank::Account_ptr server,
- CORBA::Float withdrawl_amount);
- // Withdraw from the account.
-
- Bank::Account_ptr open (const char *name,
- CORBA::Float initial_balance,
- CORBA::Environment &env);
- // Open a new account with the given name and initial balance.
-
-
- void close (Bank::Account_ptr account,
- CORBA::Environment &env);
- // Close a given Account.
-
- void test_for_different_name (CORBA::Environment &env);
- // Tests if accounts opened with different names return a different account reference.
-
- void test_for_same_name (CORBA::Environment &env);
- // Tests if accounts opened with the same name return the same object reference.
-
- void test_for_overdraft (CORBA::Environment &env);
- // Tests for the Overdraft Exception when the client tries to
- // withdraw more money than the current balance.
-
- int obtain_initial_references (void);
- // To initialize the naming service and get a ptr to server.
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- char *ior_;
- // IOR of the obj ref of the server.
-
- u_int loop_count_;
- // Number of times to invoke the <time> operation.
-
- int shutdown_;
- // Flag for server shutdown.
-
- CORBA::Environment env_;
- // Environment variable.
-
- Bank::Account_var server1_;
- // Account Server object ptr #1.
-
- Bank::Account_var server2_;
- // Account Serverobject ptr #2.
-
- Bank::AccountManager_var accountmanager_server_;
- // Account Manager server object ptr.
-
- TAO_Naming_Client my_name_client_;
- // An instance of the name client used for resolving the factory
- // objects.
-
- CORBA::ORB_var orb_;
- // Remember our orb.
-
- CORBA::Float initial_balance_;
- // Filled up by a command line argument.
-
- char *account_holder_name1_;
- // Name of the first Account Holder.
-
- char *account_holder_name2_;
- // Name of the second Account Holder.
-
-};
diff --git a/TAO/examples/Simple/bank/Makefile b/TAO/examples/Simple/bank/Makefile
deleted file mode 100644
index 5f26da4fd83..00000000000
--- a/TAO/examples/Simple/bank/Makefile
+++ /dev/null
@@ -1,1977 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif
-
-LDLIBS = -lorbsvcs -lTAO
-
-IDL_SRC = BankC.cpp BankS.cpp
-
-PROG_SRCS = \
- client.cpp \
- Client_i.cpp \
- server.cpp \
- Server_i.cpp \
- Account_i.cpp \
- AccountManager_i.cpp \
-
-SRC = $(IDL_SRC) $(PROG_SRCS)
-
-SIMPLE_CLT_OBJS = \
- BankC.o \
- BankS.o \
- Client_i.o \
- client.o
-SIMPLE_SVR_OBJS = \
- BankC.o \
- BankS.o \
- Account_i.o \
- AccountManager_i.o \
- Server_i.o \
- server.o
-
-BIN = server \
- client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-
-LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao -L$(TAO_ROOT)/orbsvcs/Naming_Service
-CPPFLAGS += -I$(TAO_ROOT)/orbsvcs
-
-.PRECIOUS: BankC.cpp BankC.i BankC.h
-.PRECIOUS: BankS.cpp BankS.i BankS.h
-.PRECIOUS: BankS_T.cpp BankS_T.i BankS_T.h
-
-server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf BankC.* BankS.* BankS_T.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/BankC.o .obj/BankC.so .shobj/BankC.o .shobj/BankC.so: BankC.cpp BankC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i BankC.i \
- BankS.h BankS_T.h BankS_T.i BankS_T.cpp BankS.i
-.obj/BankS.o .obj/BankS.so .shobj/BankS.o .shobj/BankS.so: BankS.cpp BankS.h BankC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i BankC.i \
- BankS_T.h BankS_T.i BankS_T.cpp BankS.i
-.obj/client.o .obj/client.so .shobj/client.o .shobj/client.so: client.cpp Client_i.h BankC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i BankC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.i \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h
-.obj/Client_i.o .obj/Client_i.so .shobj/Client_i.o .shobj/Client_i.so: Client_i.cpp Client_i.h BankC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i BankC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.i \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h \
- $(ACE_ROOT)/ace/Read_Buffer.h \
- $(ACE_ROOT)/ace/Read_Buffer.i
-.obj/server.o .obj/server.so .shobj/server.o .shobj/server.so: server.cpp Server_i.h \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(TAO_ROOT)/tao/TAO.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.i \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h \
- Account_i.h BankS.h BankC.h BankC.i BankS_T.h BankS_T.i BankS_T.cpp \
- BankS.i AccountManager_i.h
-.obj/Server_i.o .obj/Server_i.so .shobj/Server_i.o .shobj/Server_i.so: Server_i.cpp Server_i.h \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(TAO_ROOT)/tao/TAO.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.i \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h \
- Account_i.h BankS.h BankC.h BankC.i BankS_T.h BankS_T.i BankS_T.cpp \
- BankS.i AccountManager_i.h
-.obj/Account_i.o .obj/Account_i.so .shobj/Account_i.o .shobj/Account_i.so: Account_i.cpp Account_i.h BankS.h BankC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i BankC.i \
- BankS_T.h BankS_T.i BankS_T.cpp BankS.i
-.obj/AccountManager_i.o .obj/AccountManager_i.so .shobj/AccountManager_i.o .shobj/AccountManager_i.so: AccountManager_i.cpp AccountManager_i.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i BankS.h BankC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i BankC.i \
- BankS_T.h BankS_T.i BankS_T.cpp BankS.i Account_i.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Simple/bank/README b/TAO/examples/Simple/bank/README
deleted file mode 100644
index 8df6a587d9e..00000000000
--- a/TAO/examples/Simple/bank/README
+++ /dev/null
@@ -1,48 +0,0 @@
-$Id$
-
-This is a simple CORBA example that has a module Bank with two
-interfaces Account and AccountManager. The Account interface has a
-method to return the balance in that account. The AccountManager
-interface has a method to create a new Account and return the IOR of
-this to the client. The two interfaces also have methods to shutdown
-the server.
-
-server:
--------
-
-server [-d]
-
-Options:
--------
--d Debug flag (It is additive more -d flags will give debugging).
-
-When the server is started, you should see as the first line of output
-something that looks like
- iiop:1.0//danzon.cs.wustl.edu:10015/P35ad159600081a38/child_poa/server
- (-ORBobjrefstyle url)
-or
- IOR:000000000000001649444c3a43756269745...
- (-ORBobjrefstyle ior)
-
-Using -d turns on debugging messages. This option is additive, i.e.,
-the more -d options provided, the more debugging you can get. At the
-moment, only 2 levels of debugging are implemented, and more than 2 -d
-options are ignored.
-
-client:
--------
-
-client [-d] [-x] [-n iterations] [-b initial_balance] [-o Name_of_account_holder]
- [-f IOR_file_name ] [-k IOR]
-
-Options:
--------
--d Debug flag
--x Tells the server to shutdown at the end of the test.
--n no. of iterations
--b initial balance
--o Name of the Account Holder
--k Read IOR from the command line
--f Read IOR from the specified file
-
-
diff --git a/TAO/examples/Simple/bank/Server_i.cpp b/TAO/examples/Simple/bank/Server_i.cpp
deleted file mode 100644
index 03b976d5aef..00000000000
--- a/TAO/examples/Simple/bank/Server_i.cpp
+++ /dev/null
@@ -1,183 +0,0 @@
-// $Id$
-
-#include "ace/Get_Opt.h"
-#include "Server_i.h"
-
-ACE_RCSID(Bank, Server_i, "$Id$")
-
-// Constructor.
-
-Server_i::Server_i (void)
- : ior_output_file_ (0)
-{
- // no-op.
-}
-
-// Destructor.
-
-Server_i::~Server_i (void)
-{
- // no-op.
-}
-
-// Parse the command-line arguments and set options.
-
-int
-Server_i::parse_args (void)
-{
- ACE_Get_Opt get_opts (this->argc_, this->argv_, "do:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag.
- TAO_debug_level++;
- break;
- case 'o': // output the IOR to a file.
- this->ior_output_file_ =
- ACE_OS::fopen (get_opts.optarg, "w");
-
- if (this->ior_output_file_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- get_opts.optarg), -1);
- break;
- case '?': // display help for use of the server.
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-o] <ior_output_file>"
- "\n",
- argv_ [0]),
- 1);
- break;
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-// Initialisation of Naming Service and registering the AccountManager Object
-
-int
-Server_i::init_naming_service (CORBA::Environment& env)
-{
- CORBA::ORB_var orb = this->orb_manager_.orb ();
- this->orb_manager_.init_child_poa (this->argc_,
- this->argv_,
- "my_child_poa",
- env);
- PortableServer::POA_ptr child_poa
- = this->orb_manager_.child_poa ();
-
- int result = this->my_name_server_.init (orb.in (),
- child_poa);
- if (result == -1)
- {
- ACE_DEBUG ((LM_DEBUG,
- "Result=%d",
- result));
- return result;
- }
-
- // Generate an IOR for the AccountManager Object and register it
- // with POA.
-
- CORBA::String_var str =
- this->orb_manager_.activate_under_child_poa ("AccountManager",
- this->account_manager_impl_,
- env);
-
- // @@ Converting the stringified IOR to an IOR.
-
- Bank::AccountManager_var account_manager =
- Bank::AccountManager::_narrow (orb->string_to_object (str,env));
-
- // Pass the Account Manager an ORB reference to use.
- account_manager_impl_->orb (orb.in ());
-
- // Pass the Account Manager a POA reference to use.
- account_manager_impl_->poa (child_poa);
-
- account_manager_impl_->set_orb_manager (&orb_manager_);
-
- // Convert an Account Manager reference to a string.
- CORBA::String_var objref =
- orb->object_to_string (account_manager.in (),
- env);
- TAO_CHECK_ENV_RETURN (env, -1);
-
- // Print the Account Manager IOR on the console.
- ACE_DEBUG ((LM_DEBUG,
- "The IOR is: <%s>\n",
- (const char *) objref));
-
- // Print the Account Manager IOR to a file.
- if (this->ior_output_file_)
- {
- ACE_OS::fprintf (this->ior_output_file_,
- "%s",
- account_manager.in ());
- ACE_OS::fclose (this->ior_output_file_);
- }
-
- // Bind the Account Manager with the Naming Service.
- CosNaming::Name account_manager_name (1);
- account_manager_name.length (1);
- account_manager_name[0].id = CORBA::string_dup ("AccountManager");
- this->my_name_server_->bind (account_manager_name,
- account_manager.in (),
- env);
- TAO_CHECK_ENV_RETURN (env, -1);
- return 0;
-}
-
-// Initialize the server.
-
-int
-Server_i::init (int argc,
- char *argv[],
- CORBA::Environment &env)
-{
- this->argc_ = argc;
- this->argv_ = argv;
-
- // Call the init of <TAO_ORB_Manager> to initialize the ORB and
- // create a child POA under the root POA.
- if (this->orb_manager_.init_child_poa (argc,
- argv,
- "child_poa",
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init_child_poa"),
- -1);
- TAO_CHECK_ENV_RETURN (env, -1);
-
- int result = this->parse_args ();
-
- if (result != 0)
- return result;
-
- // Now create the implementation for the Account Manager.
- ACE_NEW_RETURN (this->account_manager_impl_,
- AccountManager_i,
- -1);
-
- // Register the above implementation with the Naming Service.
- this->init_naming_service (env);
- return 0;
-}
-
-int
-Server_i::run (CORBA::Environment &env)
-{
- // Run the main event loop for the ORB.
- if (this->orb_manager_.run (env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Server_i::run"),
- -1);
- return 0;
-}
diff --git a/TAO/examples/Simple/bank/Server_i.h b/TAO/examples/Simple/bank/Server_i.h
deleted file mode 100644
index 3a86681c27b..00000000000
--- a/TAO/examples/Simple/bank/Server_i.h
+++ /dev/null
@@ -1,86 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Server_i.h
-//
-// = DESCRIPTION
-// A CORBA server that initializes the AccountManager server
-// implementation and the ORB.
-//
-// = AUTHORS
-// Vishal Kachroo <vishal@cs.wustl.edu>
-//
-// ============================================================================
-
-#if !defined (SERVER_I_H)
-#define SERVER_I_H
-
-#include "ace/Get_Opt.h"
-#include "ace/Log_Msg.h"
-#include "tao/TAO.h"
-#include "orbsvcs/CosNamingC.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-#include "Account_i.h"
-#include "AccountManager_i.h"
-
-class Server_i
-{
- // = TITLE
- // CORBA Server implementation.
-public:
- // = Initialization and termination methods.
- Server_i (void);
- // Constructor.
-
- ~Server_i (void);
- // Destructor.
-
- int init (int argc,
- char *argv[],
- CORBA::Environment &env);
- // Initialize the Server state - parsing arguments and waiting.
-
- int run (CORBA::Environment &env);
- // Run the orb.
-
-private:
- Account_i servant_;
- // Servant for the Account interface.
-
- int parse_args (void);
- // Parses the commandline arguments.
-
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- FILE *ior_output_file_;
- // File where the IOR of the server object is stored.
-
- int init_naming_service (CORBA::Environment &env);
- // Initialises the name server and registers the <AccountManager>
- // objects with it.
-
- TAO_Naming_Server my_name_server_;
- // An instance of the name server used for registering the
- // <AccountManager> objects.
-
- AccountManager_i *account_manager_impl_;
- // Implementation of the <AccountManager> object.
-
- CosNaming::NamingContext_var naming_context_;
- // Naming context for the Naming Service.
-
- int argc_;
- // Number of command line arguments.
-
- char **argv_;
- // The command line arguments.
-};
-
-#endif /* SERVER_I_H */
diff --git a/TAO/examples/Simple/bank/client.cpp b/TAO/examples/Simple/bank/client.cpp
deleted file mode 100644
index 3686f8a8654..00000000000
--- a/TAO/examples/Simple/bank/client.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// $Id$
-
-#include "Client_i.h"
-
-ACE_RCSID(Time, client, "$Id$")
-
-// This function runs the Bank client test.
-
-int
-main (int argc, char *argv[])
-{
- Client_i client;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\tBank client\n\n"));
-
- if (client.init (argc, argv) == -1)
- return -1;
- else
- return client.run ();
-}
diff --git a/TAO/examples/Simple/bank/run_test.pl b/TAO/examples/Simple/bank/run_test.pl
deleted file mode 100755
index e567d989d86..00000000000
--- a/TAO/examples/Simple/bank/run_test.pl
+++ /dev/null
@@ -1,23 +0,0 @@
-#$Id $
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-use lib "../../../../bin";
-require ACEutils;
-require Process;
-
-
-$SV = Process::Create ("server$Process::EXE_EXT", " ");
-
-sleep(10);
-$status = system ("client$Process::EXE_EXT -x -b 100 -y Vishal -z Kachroo");
-#sleep($ACE::sleeptime);
-
-$SV->Kill (); $SV->Wait ();
-
-exit $status;
-
-
-
diff --git a/TAO/examples/Simple/bank/server.cpp b/TAO/examples/Simple/bank/server.cpp
deleted file mode 100644
index e18704205a3..00000000000
--- a/TAO/examples/Simple/bank/server.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// $Id$
-
-#include "Server_i.h"
-
-ACE_RCSID(Time, server, "$Id$")
-
-// This is the main driver program for the Bank server.
-
-int
-main (int argc, char *argv[])
-{
- Server_i server;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\tBank server\n\n"));
-
- TAO_TRY
- {
- if (server.init (argc, argv, TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/chat/Broadcaster.idl b/TAO/examples/Simple/chat/Broadcaster.idl
deleted file mode 100644
index fe1d52325e3..00000000000
--- a/TAO/examples/Simple/chat/Broadcaster.idl
+++ /dev/null
@@ -1,34 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-#include "Receiver.idl"
-
-interface Broadcaster
-{
- // = TITLE
- // This interface is to be implemented by the simple chat server.
- // It broadcasts messages received from one registered client to
- // all its registered clients.
-
- exception CannotAdd
- {
- string reason_;
- };
-
- exception CannotRemove
- {
- string reason_;
- };
-
- void add (in Receiver receiver, in string nickname)
- raises (CannotAdd);
- // Registers a Receiver with the chat server. A registered client
- // must call un_register before it goes away.
-
- void remove (in Receiver receiver)
- raises (CannotRemove);
- // Unregisters a Receiver.
-
- void say (in Receiver receiver, in string text);
- // Say something to all registered clients.
-};
diff --git a/TAO/examples/Simple/chat/Broadcaster_i.cpp b/TAO/examples/Simple/chat/Broadcaster_i.cpp
deleted file mode 100644
index 3590b3d891c..00000000000
--- a/TAO/examples/Simple/chat/Broadcaster_i.cpp
+++ /dev/null
@@ -1,174 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Broadcaster_i.cpp
-//
-// = DESCRIPTION
-// Implementation of the Broadcaster_i class. This class is the servant
-// object for the chat server.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#include "Broadcaster_i.h"
-
-int
-Broadcaster_i::Receiver_Data::operator == (const Broadcaster_i::Receiver_Data &receiver_data) const
-{
- // The <_is_equivalent> function checks if the _var and _ptr objects
- // are the same. NOTE: this call might not behave well on other
- // ORBs since <_is_equivalent> isn't guaranteed to differentiate
- // object references.
- return this->receiver_->_is_equivalent (receiver_data.receiver_.in ())
- && this->nickname_ == receiver_data.nickname_;
-}
-
-Broadcaster_i::Broadcaster_i (void)
-{
- // No-op
-}
-
-Broadcaster_i::~Broadcaster_i (void)
-{
- // No-op
-}
-
-void
-Broadcaster_i::add (Receiver_ptr receiver,
- const char *nickname,
- CORBA::Environment &TAO_TRY_ENV)
-{
- Broadcaster_i::Receiver_Data receiver_data;
-
- // Store the client information.
- receiver_data.receiver_ = Receiver::_duplicate (receiver);
- receiver_data.nickname_ = nickname;
-
- // Insert the Receiver reference to the set
- if (receiver_set_.insert (receiver_data) == -1)
- TAO_TRY_ENV.exception (new Broadcaster::CannotAdd
- ("failed to add to the receiver set\n"));
-
- // Tell everyone which person just joined the chat.
- ACE_CString broadcast_string =
- ACE_CString ("**** ")
- + ACE_CString (nickname)
- + ACE_CString (" has joined the chat ****\n");
-
- this->broadcast (broadcast_string.fast_rep (),
- TAO_TRY_ENV);
-}
-
-void
-Broadcaster_i::remove (Receiver_ptr receiver,
- CORBA::Environment &TAO_TRY_ENV)
-{
- Broadcaster_i::Receiver_Data receiver_data_to_remove;
-
- // Go through the list of <Receiver_Data> to find which registered client
- // wants to be removed.
- for (RECEIVER_SET_ITERATOR iter = this->receiver_set_.begin ();
- iter != this->receiver_set_.end ();
- iter++)
- {
- // The <_is_equivalent> function checks if the _var and _ptr objects
- // are the same. NOTE: this call might not behave well on other
- // ORBs since <_is_equivalent> isn't guaranteed to differentiate
- // object references.
- if ((*iter).receiver_.in ()->_is_equivalent (receiver) == 1)
- {
- receiver_data_to_remove = *iter;
- break;
- }
- }
-
- // Remove the reference from our list.
- if (this->receiver_set_.remove (receiver_data_to_remove) == -1)
- TAO_TRY_ENV.exception(new Broadcaster::CannotRemove
- ("failed to remove from receiver set\n"));
-
- // Tell everyone, which person left the chat.
- ACE_CString broadcast_string = "**** "
- + receiver_data_to_remove.nickname_
- + " left the chat"
- + " ****\n";
-
- this->broadcast (broadcast_string.fast_rep (),
- TAO_TRY_ENV);
-}
-
-void
-Broadcaster_i::say (Receiver_ptr receiver,
- const char *text,
- CORBA::Environment &TAO_TRY_ENV)
-{
- TAO_TRY
- {
- ACE_CString sender_nickname ("Sender Unknown");
-
- // Find the nickname for this receiver.
-
- for (RECEIVER_SET_ITERATOR iter = this->receiver_set_.begin ();
- iter != this->receiver_set_.end ();
- iter++)
- {
- // The <_is_equivalent> function checks if the _var and
- // _ptr objects are the same. NOTE: this call might not
- // behave well on other ORBs since <_is_equivalent> isn't
- // guaranteed to differentiate object references.
- if ((*iter).receiver_.in ()->_is_equivalent (receiver) == 1)
- sender_nickname = (*iter).nickname_;
- }
-
- // Broadcast the message to all registered clients
- ACE_CString broadcast_string ("[" + sender_nickname + "] " + text);
-
- this->broadcast (broadcast_string.fast_rep (),
- TAO_TRY_ENV);
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Broadcaster_i::say\t\n");
- }
- TAO_ENDTRY;
-}
-
-void
-Broadcaster_i::broadcast (const char *text,
- CORBA::Environment &TAO_TRY_ENV)
-{
- // Broadcast the message to all registered clients.
-
- for (RECEIVER_SET_ITERATOR iter = this->receiver_set_.begin ();
- iter != this->receiver_set_.end ();
- iter++)
- {
- TAO_TRY
- {
- (*iter).receiver_->message (text,
- TAO_TRY_ENV);
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Failed to send a message\n");
- }
- TAO_ENDTRY;
- }
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Unbounded_Set<Broadcaster_i::Receiver_Data>;
-template class ACE_Unbounded_Set_Iterator<Broadcaster_i::Receiver_Data>;
-template class ACE_Node<Broadcaster_i::Receiver_Data>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Unbounded_Set<Broadcaster_i::Receiver_Data>
-#pragma instantiate ACE_Unbounded_Set_Iterator<Broadcaster_i::Receiver_Data>
-#pragma instantiate ACE_Node<Broadcaster_i::Receiver_Data>
-#endif /* ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA */
diff --git a/TAO/examples/Simple/chat/Broadcaster_i.h b/TAO/examples/Simple/chat/Broadcaster_i.h
deleted file mode 100644
index 87e54162477..00000000000
--- a/TAO/examples/Simple/chat/Broadcaster_i.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ===========================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Broadcaster_i.h
-//
-// = DESCRIPTION
-// Defines the implementation header for the Broadcaster interface.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#if !defined (BROADCASTER_I_H)
-#define BROADCASTER_I_H
-
-#include "BroadcasterS.h"
-#include "ReceiverC.h"
-#include "tao/TAO.h"
-#include "ace/Containers.h"
-#include "ace/SString.h"
-
-class Broadcaster_i : public POA_Broadcaster
-{
- // = TITLE
- // The implementation of the Broadcaster class, which is the
- // servant object for the chat server.
-public:
- // = Initialization and termination methods.
- Broadcaster_i (void);
- // Constructor.
-
- ~Broadcaster_i (void);
- // Destructor.
-
- virtual void add (Receiver_ptr receiver,
- const char *nickname,
- CORBA::Environment &TAO_TRY_ENV);
- // Saves receiver references in a list.
-
- virtual void remove (Receiver_ptr receiver,
- CORBA::Environment &TAO_TRY_ENV);
- // Removes receiver references from the list.
-
- virtual void say (Receiver_ptr receiver,
- const char *text,
- CORBA::Environment &TAO_TRY_ENV);
- // Called by Broadcaster clients to send messages.
-
-public:
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- void broadcast (const char* text,
- CORBA::Environment &TAO_TRY_ENV);
- // Broadcasts the text to all registered clients.
-
- class Receiver_Data
- {
- // = TITLE
- // Per-client info.
- //
- // = DESCRIPTION
- // Saves the Receiver_var and user nickname.
- public:
- int operator == (const Receiver_Data &receiver_data) const;
- // The == op required by the ACE_Unbounded set.
-
- Receiver_var receiver_;
- // Stores the receiver reference.
-
- ACE_CString nickname_;
- // Stores the client nickname.
- };
-
- typedef ACE_Unbounded_Set<Receiver_Data>
- RECEIVER_SET;
- typedef ACE_Unbounded_Set_Iterator<Receiver_Data>
- RECEIVER_SET_ITERATOR;
-
- RECEIVER_SET receiver_set_;
- // Set of registered clients.
-};
-
-#endif /* BROADCASTER_I_H */
diff --git a/TAO/examples/Simple/chat/Client_i.cpp b/TAO/examples/Simple/chat/Client_i.cpp
deleted file mode 100644
index 41ea16d76bd..00000000000
--- a/TAO/examples/Simple/chat/Client_i.cpp
+++ /dev/null
@@ -1,249 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Client_i.cpp
-//
-// = DESCRIPTION
-// Implementation of the Client_i class.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#include "Client_i.h"
-#include "ace/Read_Buffer.h"
-#include "tao/ORB.h"
-#include "ace/Get_Opt.h"
-
-Client_i::Client_i ()
- : ior_file_name_ ("chat.ior"),
- nickname_ ("noname")
-{
-}
-
-Client_i::~Client_i (void)
-{
- // Make sure to cleanup the STDIN handler.
- if (ACE_Event_Handler::remove_stdin_handler
- (TAO_ORB_Core_instance ()->reactor (),
- TAO_ORB_Core_instance ()->thr_mgr ()) == -1)
- ACE_ERROR ((LM_ERROR,
- "%p\n",
- "remove_stdin_handler"));
-}
-
-int
-Client_i::parse_args (int argc, char *argv[])
-{
- ACE_Get_Opt get_opts (argc, argv, "n:f:");
- int specified_options = 0; // Flag to check if the user specified any options.
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'n': // get the users nickname
- this->nickname_ = get_opts.optarg;
- specified_options = 1;
- break;
-
- case 'f': // get the file name to write to
- this->ior_file_name_ = get_opts.optarg;
- specified_options = 1;
- break;
-
- default: // display help for use of the serve
- case '?': // display help for use of the server.
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-n] <your_nick_name>"
- " [-f] <ior_input_file>"
- "\n",
- argv [0]),
- -1);
- break;
- }
- if (specified_options == 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nusing defaults. nickname = %s, filename = %s\n",
- this->nickname_,
- this->ior_file_name_));
- return 0;
-}
-
-int
-Client_i::init (int argc, char *argv[])
-{
- // Check if the command line arguments are ok.
- if (this->parse_args (argc, argv) == -1)
- return -1;
-
- CORBA::Environment TAO_TRY_ENV;
-
- TAO_TRY
- {
- // Retrieve the ORB.
- this->orb_ = CORBA::ORB_init (argc,
- argv,
- 0,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // set the orb in the receiver_i_ object.
- this->receiver_i_.orb (this->orb_.in ());
-
- // read the ior from file
- if (this->read_ior (this->ior_file_name_) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "could not read the ior from the file: <%s>\n",
- this->ior_file_name_),
- -1);
-
- CORBA::Object_var server_object =
- this->orb_->string_to_object (this->ior_,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (server_object.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "invalid ior <%s>\n",
- this->ior_),
- -1);
-
- this->server_ = Broadcaster::_narrow (server_object.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("client_i::init\n");
- return -1;
- }
- TAO_ENDTRY;
-
- // Register our <Input_Handler> to handle STDIN events, which will
- // trigger the <handle_input> method to process these events.
-
- if (ACE_Event_Handler::register_stdin_handler
- (this,
- TAO_ORB_Core_instance ()->reactor (),
- TAO_ORB_Core_instance ()->thr_mgr ()) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "register_stdin_handler"),
- -1);
- return 0;
-}
-
-int
-Client_i::run (void)
-{
- ACE_DEBUG ((LM_DEBUG,
- "\n============= Simple Chat =================\n"
- "========== type 'quit' to exit ===========\n"));
-
- CORBA::Environment TAO_TRY_ENV;
-
- TAO_TRY
- {
- this->receiver_var_ =
- this->receiver_i_._this (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Register ourselves with the server.
- server_->add (this->receiver_var_.in (),
- this->nickname_,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Run the ORB.
- this->orb_->run ();
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Client_i::run ()");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-int
-Client_i::handle_input (ACE_HANDLE)
-{
- char buf[BUFSIZ];
-
- if (ACE_OS::fgets (buf, BUFSIZ, stdin) == 0)
- return 0;
-
- CORBA::Environment TAO_TRY_ENV;
-
- TAO_TRY
- {
- // Check if the user wants to quit.
- if (ACE_OS::strncmp (buf,
- QUIT_STRING,
- ACE_OS::strlen (QUIT_STRING)) == 0)
- {
- // Remove ourselves from the server.
- this->server_->remove (this->receiver_var_.in ());
- this->receiver_i_.shutdown (TAO_TRY_ENV);
- return 0;
- }
-
- // Call the server function <say> to pass the string typed by
- // the server.
- this->server_->say (this->receiver_var_.in (),
- buf,
- TAO_TRY_ENV);
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Input_Handler::init");
- return -1;
- }
- TAO_ENDTRY;
- return 0;
-}
-
-int
-Client_i::read_ior (const char *filename)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle = ACE_OS::open (filename, 0);
-
- if (f_handle == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- filename,
- "invalid handle"),
- -1);
-
- ACE_Read_Buffer ior_buffer (f_handle);
- char *data = ior_buffer.read ();
-
- if (data == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior: %p\n"),
- -1);
-
- this->ior_ = ACE_OS::strdup (data);
- ior_buffer.alloc ()->free (data);
-
- ACE_OS::close (f_handle);
-
- if (this->ior_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "failed to read ior from file\n",
- ""),
- -1);
- return 0;
-}
diff --git a/TAO/examples/Simple/chat/Makefile b/TAO/examples/Simple/chat/Makefile
deleted file mode 100644
index 17f5a752c60..00000000000
--- a/TAO/examples/Simple/chat/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-# $Id$
-#
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO
-
-IDL_SRC = ReceiverC.cpp ReceiverS.cpp BroadcasterC.cpp BroadcasterS.cpp
-
-PROG_SRCS = \
- Receiver_i.cpp \
- Broadcaster_i.cpp \
- client.cpp \
- server.cpp
-
-
-SRC = $(IDL_SRC) $(PROG_SRCS)
-
-SIMPLE_CLT_OBJS = \
- ReceiverS.o \
- ReceiverC.o \
- BroadcasterC.o \
- BroadcasterS.o \
- Receiver_i.o \
- Client_i.o \
- client.o
-
-SIMPLE_SVR_OBJS = \
- ReceiverS.o \
- ReceiverC.o \
- BroadcasterC.o \
- BroadcasterS.o \
- Broadcaster_i.o \
- Server_i.o \
- server.o
-
-BIN = server \
- client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-LDFLAGS += -L$(TAO_ROOT)/tao
-CPPFLAGS +=
-
-.PRECIOUS: ReceiverC.cpp ReceiverC.i ReceiverC.h
-.PRECIOUS: ReceiverS.cpp ReceiverS.i ReceiverS.h
-.PRECIOUS: ReceiverS_T.cpp ReceiverS_T.i ReceiverS_T.h
-.PRECIOUS: BroadcasterC.cpp BroadcasterC.i BroadcasterC.h
-.PRECIOUS: BroadcasterS.cpp BroadcasterS.i BroadcasterS.h
-.PRECIOUS: BroadcasterS_T.cpp BroadcasterS_T.i BroadcasterS_T.h
-
-server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf ReceiverC.* ReceiverS.* ReceiverS_T.* BroadcasterC.* BroadcasterS.* BroadcasterS_T.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Simple/chat/README b/TAO/examples/Simple/chat/README
deleted file mode 100644
index 84ef848716b..00000000000
--- a/TAO/examples/Simple/chat/README
+++ /dev/null
@@ -1,34 +0,0 @@
-$Id
-
-This is a simple chat application that uses the TAO CORBA ORB.
-It consists of a client and server programs.
-
-The server broadcasts messages from one client to all the clients registered with it.
-
-The client(s) register with a running server. It has a very simple user interface that accepts strings from the user and sends it across to the server.
-The client code also demonstrates the use of the ACE_Event_Handler class
-to accept user input events.
-
-server:
--------
-
-server [-o <ior_output_file>]
-
-Options:
--------
--o Outputs the server ior to the file specified.
-
-On successfull initialization, the server displays a message that it is running and waits for clients to register with it.
-
-client:
--------
-
-client [-n <your_nick_name> -f <ior_input_file>]
-
-Options:
--------
--n The nickname that the chat user wants to use.
--f Reads the server ior from the file
-
-The nickname specified by the user is displayed by the chat server to all the clients.
-To quit the chat, type "quit".
diff --git a/TAO/examples/Simple/chat/Receiver.idl b/TAO/examples/Simple/chat/Receiver.idl
deleted file mode 100644
index 90ea6570071..00000000000
--- a/TAO/examples/Simple/chat/Receiver.idl
+++ /dev/null
@@ -1,15 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-interface Receiver
-{
- // = TITLE
- // The Receiver interface is implemented by the simple chat
- // clients.The interface functions are called by the chat server.
-
- void message (in string msg);
- // Displays the message in the client application.
-
- oneway void shutdown ();
- // Called by the chat server before it goes away.
-};
diff --git a/TAO/examples/Simple/chat/Receiver_i.cpp b/TAO/examples/Simple/chat/Receiver_i.cpp
deleted file mode 100644
index baebf861cc1..00000000000
--- a/TAO/examples/Simple/chat/Receiver_i.cpp
+++ /dev/null
@@ -1,50 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Receiver_i.cpp
-//
-// = DESCRIPTION
-// Implements the Receiver_i class, which is used by the chat client.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#include "Receiver_i.h"
-
-Receiver_i::Receiver_i (void)
- : orb_ (0)
-{
-}
-
-Receiver_i::~Receiver_i (void)
-{
-}
-
-void
-Receiver_i::message (const char *msg,
- CORBA::Environment &)
-{
- ACE_DEBUG ((LM_DEBUG,
- ": %s\n",
- msg));
-}
-
-void
-Receiver_i::shutdown (CORBA::Environment &)
-{
- // Instruct the ORB to shutdown.
- this->orb_->shutdown ();
-}
-
-void
-Receiver_i::orb (CORBA::ORB_ptr o)
-{
- this->orb_ = CORBA::ORB::_duplicate (o);
-}
diff --git a/TAO/examples/Simple/chat/Receiver_i.h b/TAO/examples/Simple/chat/Receiver_i.h
deleted file mode 100644
index b0db0d1618e..00000000000
--- a/TAO/examples/Simple/chat/Receiver_i.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ===========================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Receiver_i.h
-//
-// = DESCRIPTION
-// Defines the implementation header for the Receiver interface.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#if !defined (RECEIVER_I_H)
-#define RECEIVER_I_H
-
-#include "ReceiverS.h"
-
-class Receiver_i : public POA_Receiver
-{
- // = TITLE
- // Receiver object implementation
- //
- // = DESCRIPTION
- // This class has methods that are called by the chat server.
-public:
- // = Initialization and termination methods.
- Receiver_i (void);
- // Constructor.
-
- ~Receiver_i (void);
- // Destructor.
-
- virtual void message (const char *msg,
- CORBA::Environment &TAO_TRY_ENV);
- // Receives a message string.
-
- virtual void shutdown (CORBA::Environment &TAO_TRY_ENV);
- // Called when the chat server is going away. The client
- // implementation should shutdown the chat client in response to
- // this.
-
- void orb (CORBA::ORB_ptr o);
- // Set the ORB pointer.
-
-private:
- CORBA::ORB_var orb_;
- // ORB pointer.
-};
-
-#endif /* RECEIVER_I_H */
diff --git a/TAO/examples/Simple/chat/Server.h b/TAO/examples/Simple/chat/Server.h
deleted file mode 100644
index 4d47a8bf73d..00000000000
--- a/TAO/examples/Simple/chat/Server.h
+++ /dev/null
@@ -1,18 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Server.h
-//
-// = DESCRIPTION
-// Definition of the Server class for the chat.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
diff --git a/TAO/examples/Simple/chat/Server_i.cpp b/TAO/examples/Simple/chat/Server_i.cpp
deleted file mode 100644
index b5e4baa2a71..00000000000
--- a/TAO/examples/Simple/chat/Server_i.cpp
+++ /dev/null
@@ -1,118 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Server_i.cpp
-//
-// = DESCRIPTION
-// Implementation of the Chat Server_i class.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#include "Server_i.h"
-#include "ace/Get_Opt.h"
-
-Server_i::Server_i ()
- : ior_file_name_ ("chat.ior")
-{
- // No Op.
-}
-
-Server_i::~Server_i (void)
-{
- // NO Op.
-}
-
-int
-Server_i::parse_args (int argc, char *argv[])
-{
- ACE_Get_Opt get_opts (argc, argv, "o:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'o': // get the file name to write to
- this->ior_file_name_ = get_opts.optarg;
- break;
-
- case '?': // display help for use of the server.
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-o] <ior_output_file>"
- "\n",
- argv [0]),
- -1);
- }
-
- return 0;
-}
-
-int
-Server_i::init (int argc,
- char *argv[],
- CORBA::Environment &env)
-{
- // Parse the command line options.
- if (this-> parse_args(argc, argv) == -1)
- return -1;
-
- if (this->orb_manager_.init (argc,
- argv,
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "orb manager init failed\n"),
- -1);
- TAO_CHECK_ENV_RETURN (env,
- -1);
- CORBA::ORB_var orb = this->orb_manager_.orb ();
-
- // Activate the servant.
- CORBA::String_var str =
- this->orb_manager_.activate (&this->broadcaster_i_,
- env);
- // Write the IOR to a file.
- this->write_IOR (str.in ());
- return 0;
-}
-
-int
-Server_i::run (CORBA::Environment &env)
-{
- ACE_DEBUG ((LM_DEBUG,
- "Running chat server...\n"));
-
- // Run the main event loop for the ORB.
- if (this->orb_manager_.run (env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Server_i::run"),
- -1);
- return 0;
-}
-
-int
-Server_i::write_IOR(const char* ior)
-{
- FILE* ior_output_file_ =
- ACE_OS::fopen (this->ior_file_name_, "w");
-
- if (ior_output_file_)
- {
- ACE_OS::fprintf (ior_output_file_,
- "%s",
- ior);
- ACE_OS::fclose (ior_output_file_);
- }
-
- return 0;
-}
diff --git a/TAO/examples/Simple/chat/Server_i.h b/TAO/examples/Simple/chat/Server_i.h
deleted file mode 100644
index 2622ee027c9..00000000000
--- a/TAO/examples/Simple/chat/Server_i.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// Server_i.h
-//
-// = DESCRIPTION
-// Definition of the Chat Server_i class.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#if !defined (SERVER_I_H)
-#define SERVER_I_H
-
-#include "Broadcaster_i.h"
-#include "tao/TAO.h"
-
-class Server_i
-{
- // = TITLE
- // The class defines the server for the chat. It sets up the Orb
- // manager and registers the Broadcaster servant object.
-
-public:
- // = Initialization and termination methods.
- Server_i (void);
- // Constructor.
-
- ~Server_i (void);
- // Destructor.
-
- int init (int argc,
- char *argv[],
- CORBA::Environment &env);
- // Initialize the server.
-
- int run (CORBA::Environment &env);
- // Run the ORB.
-
-private:
- int parse_args (int argc, char *argv[]);
- // Parses the command line arguments.
-
- int write_IOR (const char *ior);
- // Writes the server ior to a file, for the clients to pick up
- // later.
-
- char *ior_file_name_;
- // The file name to save the ior to.
-
- TAO_ORB_Manager orb_manager_;
- // The tao orb manager object.
-
- Broadcaster_i broadcaster_i_;
- // The servant object registered with the orb.
-};
-
-#endif /* SERVER_I_H */
diff --git a/TAO/examples/Simple/chat/client.cpp b/TAO/examples/Simple/chat/client.cpp
deleted file mode 100644
index c56c59759e8..00000000000
--- a/TAO/examples/Simple/chat/client.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// client.cpp
-//
-// = DESCRIPTION
-// The Chat client program entry point.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#include "Client_i.h"
-
-int
-main (int argc, char *argv[])
-{
- TAO_TRY
- {
- Client_i client_i;
-
- if (client_i.init (argc, argv) == -1
- || client_i.run () == -1)
- return -1;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("client::main\t\n");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/chat/server.cpp b/TAO/examples/Simple/chat/server.cpp
deleted file mode 100644
index 5e14c80ba69..00000000000
--- a/TAO/examples/Simple/chat/server.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-// $Id$
-
-// ===========================================================
-//
-//
-// = LIBRARY
-// TAO/tests/Simple/chat
-//
-// = FILENAME
-// server.cpp
-//
-// = DESCRIPTION
-// Entry point for the chat server.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ===========================================================
-
-#include "Server_i.h"
-
-int
-main (int argc, char *argv[])
-{
- CORBA::Environment TAO_TRY_ENV;
-
- TAO_TRY
- {
- Server_i server_i;
-
- if (server_i.init (argc, argv, TAO_TRY_ENV) != 0
- || server_i.run (TAO_TRY_ENV) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "\n error in init or run.\n"),
- 1);
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("server::main\t\n");
- return 1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/echo/Client_i.cpp b/TAO/examples/Simple/echo/Client_i.cpp
deleted file mode 100644
index 1114bef4b5d..00000000000
--- a/TAO/examples/Simple/echo/Client_i.cpp
+++ /dev/null
@@ -1,262 +0,0 @@
-// $Id$
-
-#include "Client_i.h"
-#include "ace/Get_Opt.h"
-#include "ace/Read_Buffer.h"
-
-ACE_RCSID(Echo, Client_i, "$Id$")
-
-// Constructor.
-
-Client_i::Client_i (void)
- : ior_ (0),
- loop_count_ (10),
- shutdown_ (0),
- server_ (),
- use_naming_service_ (1)
-{
-}
-
-// Reads the Server factory IOR from a file.
-
-int
-Client_i::read_ior (char *filename)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle = ACE_OS::open (filename, 0);
-
- if (f_handle == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- filename),
- -1);
-
- ACE_Read_Buffer ior_buffer (f_handle);
- char *data = ior_buffer.read ();
-
- if (data == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior: %p\n"),
- -1);
-
- this->ior_ = ACE_OS::strdup (data);
- ior_buffer.alloc ()->free (data);
-
- ACE_OS::close (f_handle);
-
- return 0;
-}
-
-// Parses the command line arguments and returns an error status.
-
-int
-Client_i::parse_args (void)
-{
- ACE_Get_Opt get_opts (argc_, argv_, "dn:f:xk:xs");
-
- int c;
- int result;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag
- TAO_debug_level++; //****
- break;
-
- case 'n': // loop count
- this->loop_count_ = (u_int) ACE_OS::atoi (get_opts.optarg);
- break;
-
- case 'k': // ior provide on command line
- this->ior_ = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'f': // read the IOR from the file.
- result = this->read_ior (get_opts.optarg);
- if (result < 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior from %s : %p\n",
- get_opts.optarg),
- -1);
- break;
-
- case 's': // don't use the naming service
- this->use_naming_service_ = 0;
- break;
-
- case 'x':
- this->shutdown_ = 1;
- break;
-
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-n loopcount]"
- " [-f ior-file]"
- " [-k ior]"
- " [-x]"
- " [-s]"
- "\n",
- this->argv_ [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-//Display the message on the screen
-
-void
-Client_i::echo (const char *message)
-{
- // @@ Please make sure to test that exception handling is working.
- TAO_TRY
- {
- // Make the RMI.
- CORBA::String_var s = this->server_->echo (message,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- ACE_DEBUG ((LM_DEBUG,
- "%s\n",
- s.in ()));
- }
- TAO_CATCHANY
- {
- ACE_DEBUG ((LM_DEBUG,
- "Exception raised!\n"));
- }
- TAO_ENDTRY;
-}
-
-// Execute client example code.
-
-int
-Client_i::run (void)
-{
-
- for (;;)
- {
- char buf[BUFSIZ];
-
- // Get the input message which has to be displayed.
- ACE_DEBUG ((LM_DEBUG,
- "ECHO? "));
-
- if (ACE_OS::fgets (buf, sizeof buf, stdin) == 0)
- break;
-
- // Make a call to the method which will display the input
- // string.
- this->echo (buf);
- }
-
- // End of the job, so tata! ;)
-
- if (this->shutdown_)
- this->server_->shutdown (this->env_);
-
- return 0;
-}
-
-Client_i::~Client_i (void)
-{
- ACE_OS::free (this->ior_);
-}
-
-int
-Client_i::via_naming_service(void)
-{
- TAO_TRY
- {
- // Initialization of the naming service.
- if (naming_services_client_.init (orb_.in ()) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize "
- "the TAO_Naming_Client. \n"),
- -1);
- CosNaming::Name echo_ref_name (1);
- echo_ref_name.length (1);
- echo_ref_name[0].id = CORBA::string_dup ("Echo");
-
- CORBA::Object_var echo_obj =
- this->naming_services_client_->resolve (echo_ref_name,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // The CORBA::Object_var object is downcast to Echo_var using
- // the <_narrow> method.
- this->server_ =
- Echo::_narrow (echo_obj.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Echo::via_naming_service\n");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-// Init function.
-int
-Client_i::init (int argc, char **argv)
-{
- this->argc_ = argc;
- this->argv_ = argv;
-
- TAO_TRY
- {
- // Retrieve the ORB.
- this->orb_ = CORBA::ORB_init (this->argc_,
- this->argv_,
- 0,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Parse command line and verify parameters.
- if (this->parse_args () == -1)
- return -1;
-
- TAO_debug_level = 1; //****
-
- if (this->use_naming_service_)
- return via_naming_service ();
-
- if (this->ior_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: no ior specified\n",
- this->argv_[0]),
- -1);
-
- CORBA::Object_var server_object =
- this->orb_->string_to_object (this->ior_,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (server_object.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "invalid ior <%s>\n",
- this->ior_),
- -1);
-
- // The downcasting from CORBA::Object_var to Echo_var is done
- // using the <_narrow> method.
- this->server_ = Echo::_narrow (server_object.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Client_i::init");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/echo/Client_i.h b/TAO/examples/Simple/echo/Client_i.h
deleted file mode 100644
index 1b569f23ace..00000000000
--- a/TAO/examples/Simple/echo/Client_i.h
+++ /dev/null
@@ -1,95 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Client_i.h
-//
-// = DESCRIPTION
-// This class implements a simple CORBA client that access a Echo
-// server.
-//
-// = AUTHORS
-// Kirthika Parameswaran <kirthika@cs.wustl.edu>
-//
-// ============================================================================
-
-#include "EchoC.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-#include "orbsvcs/CosNamingC.h"
-
-#include <string.h>
-
-class Client_i
-{
- // = TITLE
- // Echo client implementation.
- //
- // = DESCRIPTION
- // Class wrapper for a client that gets the server IOR and then
- // makes several calls to the server before optionally shutting
- // it down.
-public:
- // = Initialization and termination methods.
- Client_i (void);
- // Constructor.
-
- ~Client_i (void);
- // Destructor.
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char *argv[]);
- // Initialize the client communication endpoint with server.
-
-private:
- int read_ior (char *filename);
- // Function to read the server IOR from a file.
-
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- int via_naming_service(void);
- // This method initialises the naming service
- // and registers the object with the POA.
-
- void echo (const char *message);
- // Displays the message on the screen.
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- char *ior_;
- // IOR of the obj ref of the server.
-
- u_int loop_count_;
- // Number of times to invoke the <echo> operation.
-
- int shutdown_;
- // Flag for server shutdown.
-
- CORBA::Environment env_;
- // Environment variable.
-
- TAO_Naming_Client naming_services_client_;
- // An instance of the name client used for resolving the factory
- // objects.
-
- int use_naming_service_;
- // This variable denotes whether the naming service
- // is used or not.
-
- Echo_var server_;
- // Server object reference.
-
- CORBA::ORB_var orb_;
- // Remember our orb.
-};
diff --git a/TAO/examples/Simple/echo/Echo.dsw b/TAO/examples/Simple/echo/Echo.dsw
deleted file mode 100644
index bfc02bb6419..00000000000
--- a/TAO/examples/Simple/echo/Echo.dsw
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 5.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Simple Echo Client"=".\Simple Echo Client.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Simple Echo Server"=".\Simple Echo Server.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/Simple/echo/Echo.idl b/TAO/examples/Simple/echo/Echo.idl
deleted file mode 100644
index c0c5211a427..00000000000
--- a/TAO/examples/Simple/echo/Echo.idl
+++ /dev/null
@@ -1,20 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-#if !defined (_ECHO_IDL)
-#define _ECHO_IDL
-
-interface Echo
-{
- // = TITLE
- // Defines an interface that encapsulates operations that
- // return the mesg string to be displayed and shuts down the server.
-
- string echo (in string mesg);
- // This operation returns the message and displays it on the screen.
-
- oneway void shutdown ();
- // This operation will shutdown the server.
-};
-
-#endif /* _ECHO_IDL */
diff --git a/TAO/examples/Simple/echo/Echo_i.cpp b/TAO/examples/Simple/echo/Echo_i.cpp
deleted file mode 100644
index b8b72e423d2..00000000000
--- a/TAO/examples/Simple/echo/Echo_i.cpp
+++ /dev/null
@@ -1,83 +0,0 @@
-// $Id$
-
-#include "Echo_i.h"
-
-ACE_RCSID(Echo, Echo_i, "$Id$")
-
-// Constructor.
-
-Echo_i::Echo_i (void)
-{
-}
-
-// Destructor.
-
-Echo_i::~Echo_i (void)
-{
-}
-
-// Set the ORB pointer.
-
-void Echo_i::orb (CORBA::ORB_ptr o)
-{
- this->orb_ = CORBA::ORB::_duplicate (o);
-}
-
-// Return the mesg string from the server
-
-char *
-Echo_i::echo (const char *mesg,
- CORBA::Environment &env)
-{
- // @@ Once you're done with getting your program to compile and run,
- // I want you to use Purify on your program to find out where the
- // memory management problems are.
-
- // @@ Please read the ACE-guidelines.html and follow the programming
- // style.
-
- if (mesg == 0)
- return 0;
- // The pointer mesg was NULL, return.
-
- // @@ If you raise an exception for whatever reason, you need to
- // return 0.
-
- CORBA::String_var str = CORBA::string_dup (mesg);
-
- // if CORBA::string_dup() returns a 0 pointer, an exception is
- // raised.
-
- if (str.in() == 0)
- env.exception (new CORBA::NO_MEMORY (CORBA::COMPLETED_NO));
-
- // @@ Make sure that you test out an version of this test where you
- // intentionally raise an exception to make sure that your client
- // handles it properly.
-
- // @@ You need to take a look at how to handle memory failures,
- // i.e., when CORBA::string_dup() returns a 0 pointer. In this
- // case, you'll need to transform this into an exception and raise
- // the exception. I recommend that you check out
- // $TAO_ROOT/orbsvcs/orbsvcs/Log/Logger_i.cpp and see how it is
- // handled there.
-
- // Got thru! now, make a deep copy of the mesg string and send it
- // back to the client.
-
- return str._retn ();
- // The _retn is used as it allows the conversion of
- // CORBA::String_var to char* without causing any compiler errors.
-}
-
-// Shutdown the server application.
-
-void Echo_i::shutdown (CORBA::Environment &)
-{
- ACE_DEBUG ((LM_DEBUG,
- "\n%s\n",
- "The echo server is shutting down"));
-
- // Instruct the ORB to shutdown.
- this->orb_->shutdown ();
-}
diff --git a/TAO/examples/Simple/echo/Echo_i.h b/TAO/examples/Simple/echo/Echo_i.h
deleted file mode 100644
index c8214fefde9..00000000000
--- a/TAO/examples/Simple/echo/Echo_i.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/echo
-//
-// = FILENAME
-// Echo_i.h
-//
-// = DESCRIPTION
-// This class implements the Echo IDL interface.
-//
-// = AUTHOR
-// Kirthika Parameswaran <kirthika@cs.wustl.edu>
-//
-// ============================================================================
-
-#if !defined (ECHO_I_H)
-#define ECHO_I_H
-
-#include "EchoS.h"
-
-class Echo_i : public POA_Echo
-{
- // = TITLE
- // Echo Object Implementation
- //
- // = DESCRIPTION
- // The object implementation performs teh following functions:
- // -- To return the string which needs to be displayed
- // from the server.
- // -- shuts down the server
-public:
- // = Initialization and termination methods.
- Echo_i (void);
- // Constructor.
-
- ~Echo_i (void);
- // Destructor.
-
- virtual char *echo (const char *mesg,
- CORBA::Environment &env);
- // Return the mesg string back from the server.
-
- virtual void shutdown (CORBA::Environment &env);
- // Shutdown the server.
-
- void orb (CORBA::ORB_ptr o);
- // Set the ORB pointer.
-
-private:
- CORBA::ORB_var orb_;
- // ORB pointer.
-};
-
-#endif /* ECHO_I_H */
diff --git a/TAO/examples/Simple/echo/Makefile b/TAO/examples/Simple/echo/Makefile
deleted file mode 100644
index 3b373c01092..00000000000
--- a/TAO/examples/Simple/echo/Makefile
+++ /dev/null
@@ -1,83 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO -lorbsvcs
-
-IDL_SRC = EchoC.cpp EchoS.cpp
-
-PROG_SRCS = \
- client.cpp \
- Client_i.cpp \
- server.cpp \
- Server_i.cpp \
- Echo_i.cpp \
-
-SRC = $(IDL_SRC) $(PROG_SRCS)
-
-SIMPLE_CLT_OBJS = \
- EchoC.o \
- EchoS.o \
- Client_i.o \
- client.o
-SIMPLE_SVR_OBJS = \
- EchoC.o \
- EchoS.o \
- Echo_i.o \
- Server_i.o \
- server.o
-
-BIN = server \
- client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-LDFLAGS += -L$(TAO_ROOT)/tao -L$(ACE_ROOT)/ace
-CPPFLAGS += -I$(TAO_ROOT)/orbsvcs
-
-.PRECIOUS: EchoC.cpp EchoC.i EchoC.h
-.PRECIOUS: EchoS.cpp EchoS.i EchoS.h
-.PRECIOUS: EchoS_T.cpp EchoS_T.i EchoS_T.h
-
-server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf EchoC.* EchoS.* EchoS_T.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Simple/echo/README b/TAO/examples/Simple/echo/README
deleted file mode 100644
index b4cd5a8d92f..00000000000
--- a/TAO/examples/Simple/echo/README
+++ /dev/null
@@ -1,53 +0,0 @@
-$Id$
-
-This is a simple CORBA example that has an object (Echo) with only two
-methods, one that returns the message to be displayed and another that
-shuts down the server.
-
-server:
--------
-
-server [-d] [-o <ior_output_file>]
-
-Options:
--------
--d Debug flag (It is additive more -d flags will give debugging).
--o Outputs the server ior to the file
-
-When the server is started, you should see as the first line of output
-something that looks like
-
- iiop:1.0//danzon.cs.wustl.edu:10015/P35ad159600081a38/child_poa/server
- (-ORBobjrefstyle url)
-or
- IOR:000000000000001649444c3a43756269745...
- (-ORBobjrefstyle ior)
-
-Using -d turns on debugging messages. This option is additive, i.e.,
-the more -d options provided, the more debugging you can get. At the
-moment, only 2 levels of debugging are implemented, and more than 2 -d
-options are ignored.
-
-client:
--------
-
-client [-d] [-x] [-f <Server_ior_file>] [-n iterations] [-k ior]
-
-Options:
--------
--d Debug flag
--x Tells the server to shutdown at the end of the test.
--f Reads the server ior from the file
--n no. of iterations
--k IOR
-
-You can either cut and paste the IOR from the server to the client
-(with the -k option), or have the client read the IOR from a file
-using the -f option. (This file is produced using the -o option of the
-server.)
-
-run_test.pl:
-------------
-
-This perl script runs the server and client and shuts down the server
-when it is done.
diff --git a/TAO/examples/Simple/echo/Server_i.cpp b/TAO/examples/Simple/echo/Server_i.cpp
deleted file mode 100644
index 35d93bcd9af..00000000000
--- a/TAO/examples/Simple/echo/Server_i.cpp
+++ /dev/null
@@ -1,174 +0,0 @@
-#include "Server_i.h"
-#include "ace/Get_Opt.h"
-
-ACE_RCSID(Echo, Server_i, "$Id$")
-
-// Constructor.
-
-Server_i::Server_i (void)
- : ior_output_file_ (0),
- argc_ (0),
- argv_ (0),
- using_naming_service_ (1)
-{
- // no-op.
-}
-
-// Destructor.
-
-Server_i::~Server_i (void)
-{
- // no-op.
-}
-
-// The naming service is initialized and the naming context as well as
-// the object name is bound to the naming server.
-
-int
-Server_i::init_naming_service (CORBA::Environment& env)
-{
- TAO_TRY
- {
- CORBA::ORB_var orb = this->orb_manager_.orb ();
-
- PortableServer::POA_var child_poa
- = this->orb_manager_.child_poa ();
-
- TAO_debug_level = 1;
- int return_val =
- this->naming_server_.init (orb.in (),
- child_poa.in ());
- if (return_val == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Failed to initialize TAO_Naming_Server\n"),
- -1);
-
- // Register the object implementation with the POA.
- Echo_var echo_obj = this->servant_._this (env);
- TAO_CHECK_ENV;
-
- // Name the object.
- CosNaming::Name echo_obj_name (1);
- echo_obj_name.length (1);
- echo_obj_name[0].id = CORBA::string_dup ("Echo");
-
- TAO_CHECK_ENV;
-
- // Now, attach the object name to the context.
- this->naming_server_->bind (echo_obj_name,
- echo_obj.in (),
- env);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- // TAO_TRY_ENV.print_execption ("Server_i::init_naming_service\n");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-// Parse the command-line arguments and set options.
-int
-Server_i::parse_args (void)
-{
- ACE_Get_Opt get_opts (this->argc_, this->argv_, "do: ");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag.
- TAO_debug_level++; ///*****
- break;
- case 'o': // output the IOR toi a file.
- this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w");
- if (this->ior_output_file_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- get_opts.optarg),
- -1);
- break;
- case 's': // don't use the naming service
- this->using_naming_service_ = 0;
- break;
- case '?': // display help for use of the server.
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-o] <ior_output_file>"
- " [-s]"
- "\n",
- argv_ [0]),
- 1);
- }
- // Indicates successful parsing of command line.
- return 0;
-}
-
-// Initialize the server.
-
-int
-Server_i::init (int argc,
- char *argv[],
- CORBA::Environment &TAO_TRY_ENV)
-{
- // Call the init of <TAO_ORB_Manager> to initialize the ORB and
- // create the child poa under the root POA.
- if (this->orb_manager_.init_child_poa (argc,
- argv,
- "child_poa",
- TAO_TRY_ENV) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init_child_poa"),
- -1);
- TAO_CHECK_ENV_RETURN (TAO_TRY_ENV, -1);
-
- this->argc_ = argc;
- this->argv_ = argv;
-
- int retval = this->parse_args ();
-
- if (retval != 0)
- return retval;
-
- CORBA::ORB_var orb = this->orb_manager_.orb ();
-
- // Stash our ORB pointer for later reference.
- this->servant_.orb (orb.in ());
-
- // Activate the servant in the POA.
- CORBA::String_var str =
- this->orb_manager_.activate_under_child_poa ("echo",
- &this->servant_,
- TAO_TRY_ENV);
- ACE_DEBUG ((LM_DEBUG,
- "The IOR is: <%s>\n",
- str.in ()));
- if (this->ior_output_file_)
- {
- ACE_OS::fprintf (this->ior_output_file_,
- "%s",
- str.in ());
- ACE_OS::fclose (this->ior_output_file_);
- }
-
- if (this->using_naming_service_)
- return this->init_naming_service (TAO_TRY_ENV);
- return 0;
-}
-
-int
-Server_i::run (CORBA::Environment &TAO_TRY_ENV)
-{
- // Run the main event loop for the ORB.
- if (this->orb_manager_.run (TAO_TRY_ENV) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Server_i::run"),
- -1);
- return 0;
-}
diff --git a/TAO/examples/Simple/echo/Server_i.h b/TAO/examples/Simple/echo/Server_i.h
deleted file mode 100644
index 381acdf1cdd..00000000000
--- a/TAO/examples/Simple/echo/Server_i.h
+++ /dev/null
@@ -1,82 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Server_i.h
-//
-// = DESCRIPTION
-// A CORBA server that initializes the echo server implementation
-// and the ORB.
-//
-// = AUTHORS
-// Kirthika Parameswaran <kirthika@cs.wustl.edu>
-//
-// ============================================================================
-
-#if !defined (SERVER_I_H)
-#define SERVER_I_H
-
-#include "Echo_i.h"
-#include "EchoS.h"
-#include "tao/TAO.h"
-#include "orbsvcs/CosNamingS.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-
-class Server_i
-{
- // = TITLE
- // CORBA Server implementation.
-public:
- // = Initialization and termination methods.
- Server_i (void);
- // Constructor.
-
- ~Server_i (void);
- // Destructor.
-
- int init (int argc, char *argv[], CORBA::Environment &env);
- // Initialize the Server state - parsing arguments and waiting.
-
- int run (CORBA::Environment &env);
- // Run the orb.
-
-private:
- int parse_args (void);
- // Parses the commandline arguments.
-
- int init_naming_service (CORBA::Environment &env);
- // Initialises the name server and registers the Echo server object
- // name with the name server.
-
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- Echo_i servant_;
- // Servant for the Echo interface.
-
- FILE *ior_output_file_;
- // File where the IOR of the server object is stored.
-
- int argc_;
- // Number of command line arguments.
-
- char **argv_;
- // The command line arguments.
-
- CosNaming::NamingContext_var naming_context_;
- // Naming context for the naming service.
-
- TAO_Naming_Server naming_server_;
- // An instance of the name server, wherein the naming context
- // containg the factory of objects will be registered.
-
- int using_naming_service_;
- // This specifies whether the naming service is to be used.
-};
-
-#endif /* ECHO_IMPL_H */
diff --git a/TAO/examples/Simple/echo/client.cpp b/TAO/examples/Simple/echo/client.cpp
deleted file mode 100644
index b9623e4a678..00000000000
--- a/TAO/examples/Simple/echo/client.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// $Id$
-
-#include "Client_i.h"
-
-ACE_RCSID(Echo, client, "$Id$")
-
-// This function runs the echo test.
-
-int
-main (int argc, char **argv)
-{
- Client_i client;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\techo client\n\n"));
-
- if (client.init (argc, argv) == -1)
- return -1;
- else
- return client.run ();
-}
diff --git a/TAO/examples/Simple/echo/client.dsp b/TAO/examples/Simple/echo/client.dsp
deleted file mode 100644
index 84e4b1c9ec9..00000000000
--- a/TAO/examples/Simple/echo/client.dsp
+++ /dev/null
@@ -1,181 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Simple Echo Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Simple Echo Client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Simple Echo Client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Simple Echo Client.mak"\
- CFG="Simple Echo Client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Simple Echo Client - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "Simple Echo Client - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Simple Echo Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /out:"Release/client.exe" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "Simple Echo Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /out:"client.exe" /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "Simple Echo Client - Win32 Release"
-# Name "Simple Echo Client - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Client_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Client_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoS_T.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Echo.idl
-USERDEP__ECHO_="..\..\..\..\bin\tao_idl.exe"
-
-!IF "$(CFG)" == "Simple Echo Client - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Echo Client - Win32 Debug"
-
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Echo.idl
-InputName=Echo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simple/echo/run_test.pl b/TAO/examples/Simple/echo/run_test.pl
deleted file mode 100755
index 890434e8aed..00000000000
--- a/TAO/examples/Simple/echo/run_test.pl
+++ /dev/null
@@ -1,18 +0,0 @@
-#$Id$
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-use lib "../../../../bin";
-require ACEutils;
-require Process;
-
-
-$SV = Process::Create ("server$Process::EXE_EXT", " ");
-sleep ($ACE::sleeptime);
-$status = system ("client$Process::EXE_EXT -x");
-
-$SV->Kill (); $SV->Wait ();
-
-exit $status;
diff --git a/TAO/examples/Simple/echo/server.cpp b/TAO/examples/Simple/echo/server.cpp
deleted file mode 100644
index 55f95757468..00000000000
--- a/TAO/examples/Simple/echo/server.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-// $Id$
-
-#include "Server_i.h"
-
-ACE_RCSID(Echo, server, "$Id$")
-
-// This is the main driver program for the echo server.
-
-int
-main (int argc, char *argv[])
-{
- Server_i server;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\techo server\n\n"));
- TAO_TRY
- {
- if (server.init (argc, argv, TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/echo/server.dsp b/TAO/examples/Simple/echo/server.dsp
deleted file mode 100644
index 81e13ea388f..00000000000
--- a/TAO/examples/Simple/echo/server.dsp
+++ /dev/null
@@ -1,189 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Simple Echo Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Simple Echo Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Simple Echo Server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Simple Echo Server.mak"\
- CFG="Simple Echo Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Simple Echo Server - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "Simple Echo Server - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Simple Echo Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /out:"Release/server.exe" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs"
-# SUBTRACT LINK32 /pdb:none
-
-!ELSEIF "$(CFG)" == "Simple Echo Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\orbsvcs\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /out:"server.exe" /pdbtype:sept /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace" /libpath:"..\..\..\orbsvcs\orbsvcs"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "Simple Echo Server - Win32 Release"
-# Name "Simple Echo Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Echo_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Server_i.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Echo_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoC.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoS.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\EchoS_T.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Server_i.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\Echo.idl
-USERDEP__ECHO_="..\..\..\..\bin\tao_idl.exe"
-
-!IF "$(CFG)" == "Simple Echo Server - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Echo Server - Win32 Debug"
-
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Echo.idl
-InputName=Echo
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simple/grid/Client_i.cpp b/TAO/examples/Simple/grid/Client_i.cpp
deleted file mode 100644
index a6d969c3d79..00000000000
--- a/TAO/examples/Simple/grid/Client_i.cpp
+++ /dev/null
@@ -1,242 +0,0 @@
-// -*- C++ -*-
-// $Id$
-#include "Client_i.h"
-#include "ace/Get_Opt.h"
-#include "ace/Read_Buffer.h"
-
-// Constructor.
-Client_i::Client_i (void)
- : ior_ (0),
- shutdown_ (0),
- server_ (),
- height_ (0),
- width_ (0),
- grid_ (0),
- setx_ (0),
- sety_ (0),
- setvalue_ (0)
-{
- // no-op
-}
-
-// Reads the Server factory ior from a file
-
-int
-Client_i::read_ior (char *filename)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle = ACE_OS::open (filename, 0);
-
- if (f_handle == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) Unable to open %s for writing: %p\n",
- filename),
- -1);
-
- ACE_Read_Buffer ior_buffer (f_handle);
- char *data = ior_buffer.read ();
-
- if (data == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) Unable to read ior: %p\n"),
- -1);
-
- this->ior_ = ACE_OS::strdup (data);
- ior_buffer.alloc ()->free (data);
-
- ACE_OS::close (f_handle);
-
- return 0;
-}
-
-// Parses the command line arguments and returns an error status.
-
-int
-Client_i::parse_args (void)
-{
- // Gets the command line options
- // The string enclosed in " " essentially tells us
- // what to expect from the command line options.
- ACE_Get_Opt get_opts (argc_, argv_, "df:sk:w:h:x:y:v:");
- int c = 0;
- int result = 0;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag
- TAO_debug_level++;
- break;
- case 'k': // ior provide on command line
- this->ior_ = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'f': // read the IOR from the file.
- result = this->read_ior (get_opts.optarg);
- if (result < 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) Unable to read ior from %s : %p\n",
- get_opts.optarg),
- -1);
- break;
- case 'h': // Height of the grid.
- height_ = (u_int) ACE_OS::atoi (get_opts.optarg);
- break;
- case 'w': // Width of the grid.
- width_ = (u_int) ACE_OS::atoi (get_opts.optarg);
- break;
- case 'x': // A x value of the grid where a value needs
- // to be stored.
- setx_ = (u_int) ACE_OS::atoi (get_opts.optarg);
- break;
- case 'y': // A y value of the grid where a value needs
- // to be stored.
- sety_ = (u_int) ACE_OS::atoi (get_opts.optarg);
- break;
- case 'v': // A value that needs to be stored a grid[x][y].
- setvalue_ = (u_int) ACE_OS::atoi (get_opts.optarg);
- break;
- case 's': // Shutdown server.
- this->shutdown_ = 1;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-f ior-file]"
- " [-w width]"
- " [-h height]"
- " [-k ior]"
- " [-s]"
- " [-x cell location]"
- " [-y cell location]"
- " [-v value ]"
- "\n",
- this->argv_ [0]),
- -1);
- }
- if (setx_ == 0 )
- setx_ = Grid::DEFAULT_LOCATION;
- if (sety_ == 0 )
- sety_ = Grid::DEFAULT_LOCATION;
- if (setvalue_ == 0 )
- setvalue_ = Grid::DEFAULT_VALUE;
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-// Get the Grid on the server
-
-void
-Client_i::test_grid (void)
-{
- // Make the RMI.
- TAO_TRY
- {
- this->grid_ = this->server_->make_grid (width_,
- height_,
- this->env_);
- TAO_CHECK_ENV;
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Made the grid succesfully\n"));
- // Set a value for a grid.
- this->grid_->set (setx_,
- sety_,
- setvalue_,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Setting a value for the grid\n"));
-
- // Get the value of the grid
- CORBA::Long ret_val = this->grid_->get (setx_,
- sety_,
- TAO_TRY_ENV);
- ACE_ASSERT (ret_val == setvalue_);
- TAO_CHECK_ENV;
- }
- TAO_CATCH (CORBA::UserException, range_ex)
- {
- ACE_UNUSED_ARG (range_ex);
- TAO_TRY_ENV.print_exception (" From set and get grid ");
- }
- TAO_CATCH (CORBA::SystemException, memex)
- {
- ACE_UNUSED_ARG (memex);
- TAO_TRY_ENV.print_exception (" Cannot make grid as Memory exhausted");
- }
- TAO_ENDTRY;
-}
-
-// Execute client example code.
-
-int
-Client_i::run (void)
-{
- // Make the grid.
- this->test_grid ();
-
- // Destroy the grid.
- this->grid_->destroy ();
-
- // Shutdown the server
- if (this->shutdown_)
- this->server_->shutdown (this->env_);
-
- return 0;
-}
-
-Client_i::~Client_i (void)
-{
- ACE_OS::free (this->ior_);
-}
-
-int
-Client_i::init (int argc, char **argv)
-{
- this->argc_ = argc;
- this->argv_ = argv;
-
- TAO_TRY
- {
- // Retrieve the ORB.
- this->orb_ = CORBA::ORB_init (this->argc_,
- this->argv_,
- 0,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Parse command line and verify parameters.
- if (this->parse_args () == -1)
- return -1;
-
- if (this->ior_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) %s: no ior specified\n",
- this->argv_[0]),
- -1);
-
- CORBA::Object_var server_object =
- this->orb_->string_to_object (this->ior_,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (server_object.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) invalid ior <%s>\n",
- this->ior_),
- -1);
- this->server_ = Grid_Factory::_narrow (server_object.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Client_i::init");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/grid/Client_i.h b/TAO/examples/Simple/grid/Client_i.h
deleted file mode 100644
index 4455c6c73b1..00000000000
--- a/TAO/examples/Simple/grid/Client_i.h
+++ /dev/null
@@ -1,93 +0,0 @@
-// -*- C++ -*-
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Client_i.h
-//
-// = DESCRIPTION
-// This class implements a simple CORBA client that access a Grid
-// server.
-//
-// = AUTHORS
-//
-// ============================================================================
-
-# include "GridC.h"
-
-class Client_i
-{
- // = TITLE
- // Simple Client implementation.
- //
- // = DESCRIPTION
- // Class wrapper for a client that gets the server IOR and then
- // makes several calls to the server before optionally shutting
- // it down.
-
-public:
- // = Initialization and termination methods.
- Client_i (void);
- // Constructor.
-
- ~Client_i (void);
- // Destructor.
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char *argv[]);
- // Initialize the client communication endpoint with server.
-
- void test_grid (void);
- // Make the grid.
-
-private:
- int read_ior (char *filename);
- // Function to read the server IOR from a file.
-
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- char *ior_;
- // IOR of the obj ref of the server.
-
- int shutdown_;
- // Flag for server shutdown.
-
- CORBA::Environment env_;
- // Environment variable.
-
- Grid_Factory_var server_;
- // Server object ptr.
-
- Grid_ptr grid_;
- // Pointer to the grid
-
- CORBA::Short height_;
- // Height of the grid.
-
- CORBA::Short width_;
- // Width of the grid.
-
- CORBA::Short setx_;
- // Cell identifier in which a value meeds to be stored.
-
- CORBA::Short sety_;
- // Cell identifier in which a value meeds to be stored.
-
- CORBA::Long setvalue_;
- // The value that needs to be stored in the cell.
-
- CORBA::ORB_var orb_;
- // Remember our orb.
-};
diff --git a/TAO/examples/Simple/grid/Grid.dsw b/TAO/examples/Simple/grid/Grid.dsw
deleted file mode 100644
index 9e4d88b6e73..00000000000
--- a/TAO/examples/Simple/grid/Grid.dsw
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Grid Client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Grid Server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/Simple/grid/Grid.idl b/TAO/examples/Simple/grid/Grid.idl
deleted file mode 100644
index 72c360a98e4..00000000000
--- a/TAO/examples/Simple/grid/Grid.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-interface Grid
-{
- // = TITLE
- // Create a <Grid> of type <name>
-
- attribute short height;
- // Height of the grid.
-
- attribute short width;
- // Width of the grid.
-
- exception RANGE_ERROR
- {
- // = TITLE
- // The range of parameter values do not fall in the expected
- // range.
- };
-
- // = Default LOCATIONS and VALUE for set and get values
- // from the grid.
- const short DEFAULT_LOCATION = 1;
- const short DEFAULT_VALUE = 100;
-
- void set (in short n, in short m, in long value)
- raises (RANGE_ERROR);
- // Set the element [n,m] of the grid, to value.
-
- long get (in short n, in short m)
- raises (RANGE_ERROR);
- // Return element [n,m] of the grid.
-
- void destroy ();
- // Destroy the grid.
-};
-
-interface Grid_Factory
-{
- // = TITLE
- // Create a <Grid_Factory>
-
- // = Default height and width for a <Grid>.
- const short DEFAULT_HEIGHT = 10;
- const short DEFAULT_WIDTH = 10;
-
- Grid make_grid (in short height, in short width);
- // Returns a new <Grid> instance.
-
- void shutdown ();
- // Shutdown the application.
-};
diff --git a/TAO/examples/Simple/grid/Grid_i.cpp b/TAO/examples/Simple/grid/Grid_i.cpp
deleted file mode 100644
index 938c4bb85af..00000000000
--- a/TAO/examples/Simple/grid/Grid_i.cpp
+++ /dev/null
@@ -1,184 +0,0 @@
-// -*- C++ -*-
-// $Id$
-#include "Grid_i.h"
-#include "tao/corba.h"
-
-// Default constructor.
-Grid_i::Grid_i (void)
- : width_ (0),
- height_ (0),
- array_ (0)
-{
- //no-op
-}
-
-// Constructor.
-Grid_i::Grid_i (CORBA::Short x,
- CORBA::Short y,
- CORBA::Environment &_env)
- : width_ (x),
- height_ (y)
-{
- ACE_NEW_THROW (array_,
- CORBA::Long *[y],
- CORBA::NO_MEMORY (CORBA::COMPLETED_NO));
-
- // Allocate memory for the matrix.
-
- for (int ctr = 0; ctr < y; ctr++)
- ACE_NEW_THROW (array_[ctr],
- CORBA::Long[x],
- CORBA::NO_MEMORY (CORBA::COMPLETED_NO));
-}
-
-// Default destructor.
-
-Grid_i::~Grid_i (void)
-{
- // no-op.
-}
-
-// Set a value in the grid.
-
-void
-Grid_i::set (CORBA::Short x,
- CORBA::Short y,
- CORBA::Long value,
- CORBA::Environment &_env)
-{
- if (x < 0
- || y < 0
- || x >= width_
- || y >= height_)
- {
- TAO_THROW (Grid::RANGE_ERROR);
- }
- else
- array_[x][y] = value;
-}
-
-// Get a value from the grid.
-
-CORBA::Long
-Grid_i::get (CORBA::Short x,
- CORBA::Short y,
- CORBA::Environment &_env)
-{
- if (x < 0
- || y < 0
- || x >= width_
- || y >= height_)
- {
- TAO_THROW_RETURN (Grid::RANGE_ERROR, 0);
- }
- else
- return array_[x][y];
-}
-
-// Access methods.
-
-CORBA::Short
-Grid_i::width (CORBA::Environment &_env)
-{
- return this->width_;
-}
-
-CORBA::Short
-Grid_i::height (CORBA::Environment &_env)
-{
- return this->height_;
-}
-
-void
-Grid_i::width (CORBA::Short x,
- CORBA::Environment &_env)
-{
- this->width_ = x;
-}
-
-void
-Grid_i::height (CORBA::Short y,
- CORBA::Environment &_env)
-{
- this->height_ = y;
-}
-
-// Destroy the grid
-
-void
-Grid_i::destroy (CORBA::Environment &_env)
-{
- // Delete the array.
- for (int i = 0; i < height_; i++)
- delete [] array_[i];
-
- delete [] array_;
-
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) %s\n",
- "Grid has been destroyed"));
-}
-
-// Set the ORB pointer.
-
-void
-Grid_Factory_i::orb (CORBA::ORB_ptr o)
-{
- this->orb_ = CORBA::ORB::_duplicate (o);
-}
-
-// Shutdown.
-
-void
-Grid_Factory_i::shutdown (CORBA::Environment &)
-{
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) %s\n",
- "Grid Factory is shutting down"));
-
- // Instruct the ORB to shutdown.
- this->orb_->shutdown ();
-}
-
-// Constructor
-Grid_Factory_i::Grid_Factory_i (void)
-{
- // no-op
-}
-
-// Destructor
-Grid_Factory_i::~Grid_Factory_i (void)
-{
- // no-op
-}
-
-// Make a <Grid>.
-
-Grid_ptr
-Grid_Factory_i::make_grid (CORBA::Short width,
- CORBA::Short height,
- CORBA::Environment &_env)
-{
- Grid_i *grid_ptr = 0;
-
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Making a new Grid\n"));
-
- // Set a default value for width.
- if (width <= 0)
- width = Grid_Factory::DEFAULT_WIDTH;
-
- // Set a default value for height.
- if (height <= 0)
- height = Grid_Factory::DEFAULT_HEIGHT;
-
- // This attempts to create a new Grid_i and throws an exception and
- // returns a null value if it fails
- ACE_NEW_THROW_RETURN (grid_ptr,
- Grid_i (width, height, _env),
- CORBA::NO_MEMORY (CORBA::COMPLETED_NO),
- Grid::_nil ());
-
- // Register the Grid pointer.
- return grid_ptr->_this (_env);
-}
diff --git a/TAO/examples/Simple/grid/Grid_i.h b/TAO/examples/Simple/grid/Grid_i.h
deleted file mode 100644
index cd0c34c26a5..00000000000
--- a/TAO/examples/Simple/grid/Grid_i.h
+++ /dev/null
@@ -1,112 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/grid
-//
-// = FILENAME
-// Grid_i.h
-//
-// = DESCRIPTION
-// This class implements the Grid IDL interface.
-//
-// = AUTHOR
-//
-// ============================================================================
-
-#if !defined (GRID_I_H)
-#define GRID_I_H
-
-#include "GridS.h"
-
-class Grid_i: public POA_Grid
-{
- // = TITLE
- // Grid object implementation.
- //
- // = DESCRIPTION
- // Grid object implementation
-public:
- // = Initialization and termination methods.
-
- Grid_i (void);
- // Constructor
-
- Grid_i (CORBA::Short,
- CORBA::Short,
- CORBA_Environment &);
- // Constructor.
-
- ~Grid_i (void);
- // Destructor
-
- virtual CORBA::Short width (CORBA_Environment &);
- // Returns the width of the grid
-
- virtual CORBA::Short height (CORBA_Environment &);
- // Returns the height of the grid
-
- virtual void width (CORBA::Short,
- CORBA_Environment &);
- // Sets the width of the grid.
-
- virtual void height (CORBA::Short,
- CORBA_Environment &);
- // Sets the height of the grid.
-
- virtual void set (CORBA::Short,
- CORBA::Short,
- CORBA::Long,
- CORBA::Environment &);
- // Sets the grid value.
-
- virtual CORBA::Long get (CORBA::Short,
- CORBA::Short,
- CORBA::Environment &);
- // Gets the grid value.
-
- virtual void destroy (CORBA::Environment &);
- // Destroy the grid.
-
-private:
- CORBA::Short width_;
- // Width of the grid.
-
- CORBA::Short height_;
- // Height of the grid.
-
- CORBA::Long **array_;
- // Pointer to the matrix. This is organized as an "array of arrays."
-};
-
-class Grid_Factory_i : public POA_Grid_Factory
-{
- // =TITLE
- // Create a <Grid>.
-public:
- // = Initialization and termination methods.
- Grid_Factory_i (void);
- // Constructor.
-
- ~Grid_Factory_i (void);
- // Destructor.
-
- virtual Grid_ptr make_grid (CORBA::Short,
- CORBA::Short,
- CORBA::Environment &_env);
- // This function creates and returns a <Grid>.
-
- virtual void shutdown (CORBA::Environment &env);
- // Shutdown the server.
-
- void orb (CORBA::ORB_ptr o);
- // Set the ORB pointer.
-
-private:
- CORBA::ORB_var orb_;
- // ORB pointer.
-};
-
-#endif /* GRID_I_H */
diff --git a/TAO/examples/Simple/grid/Makefile b/TAO/examples/Simple/grid/Makefile
deleted file mode 100644
index 528911f75e0..00000000000
--- a/TAO/examples/Simple/grid/Makefile
+++ /dev/null
@@ -1,83 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO
-
-IDL_SRC = GridC.cpp GridS.cpp
-
-PROG_SRCS = \
- client.cpp \
- Client_i.cpp \
- server.cpp \
- Server_i.cpp \
- Grid_i.cpp \
-
-SRC = $(IDL_SRC) $(PROG_SRCS)
-
-SIMPLE_CLT_OBJS = \
- GridC.o \
- GridS.o \
- Client_i.o \
- client.o
-SIMPLE_SVR_OBJS = \
- GridC.o \
- GridS.o \
- Grid_i.o \
- Server_i.o \
- server.o
-
-BIN = server \
- client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-LDFLAGS += -L$(TAO_ROOT)/tao
-CPPFLAGS +=
-
-.PRECIOUS: GridC.cpp GridC.i GridC.h
-.PRECIOUS: GridS.cpp GridS.i GridS.h
-.PRECIOUS: GridS_T.cpp GridS_T.i GridS_T.h
-
-server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf GridC.* GridS.* GridS_T.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Simple/grid/Server_i.cpp b/TAO/examples/Simple/grid/Server_i.cpp
deleted file mode 100644
index ac3d114e60a..00000000000
--- a/TAO/examples/Simple/grid/Server_i.cpp
+++ /dev/null
@@ -1,114 +0,0 @@
-// -*- C++ -*-
-// $Id$
-#include "Server_i.h"
-#include "ace/Get_Opt.h"
-
-// Constructor.
-
-Server_i::Server_i (void)
- : ior_output_file_ (0)
-{
-}
-
-// Destructor.
-Server_i::~Server_i (void)
-{
-}
-
-// Parse the command-line arguments and set options.
-
-int
-Server_i::parse_args (void)
-{
- ACE_Get_Opt get_opts (this->argc_, this->argv_, "do:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag.
- TAO_debug_level++;
- break;
- case 'o': // output the IOR to a file.
- this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w");
- if (this->ior_output_file_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) Unable to open %s for writing: %p\n",
- get_opts.optarg), -1);
- break;
- case '?': // display help for use of the server.
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-o] <ior_output_file>"
- "\n",
- argv_ [0]),
- 1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-// Initialize the server.
-
-int
-Server_i::init (int argc, char *argv[], CORBA::Environment &env)
-{
- // Call the init of <TAO_ORB_Manager> to initialize the ORB and
- // create a child POA under the root POA.
- if (this->orb_manager_.init_child_poa (argc,
- argv,
- "child_poa",
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) %p\n",
- "init_child_poa"),
- -1);
- TAO_CHECK_ENV_RETURN (env, -1);
-
- this->argc_ = argc;
- this->argv_ = argv;
-
- int retval = this->parse_args ();
-
- if (retval != 0)
- return retval;
-
- CORBA::ORB_var orb = this->orb_manager_.orb ();
-
- // Stash our ORB pointer for later reference.
- this->servant_.orb (orb.in ());
-
- // Activate the servant in its own child POA.
- CORBA::String_var str =
- this->orb_manager_.activate_under_child_poa ("grid",
- &this->servant_,
- env);
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) The IOR is: <%s>\n",
- str.in ()));
-
- if (this->ior_output_file_)
- {
- ACE_OS::fprintf (this->ior_output_file_,
- "%s",
- str.in ());
- ACE_OS::fclose (this->ior_output_file_);
- }
-
- return 0;
-}
-
-int
-Server_i::run (CORBA::Environment &env)
-{
- // Run the main event loop for the ORB.
- if (this->orb_manager_.run (env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%P|%t) Server_i::run"),
- -1);
- return 0;
-}
-
diff --git a/TAO/examples/Simple/grid/Server_i.h b/TAO/examples/Simple/grid/Server_i.h
deleted file mode 100644
index 1cb5f88a2be..00000000000
--- a/TAO/examples/Simple/grid/Server_i.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// -*- C++ -*-
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Server_i.h
-//
-// = DESCRIPTION
-// A CORBA server that initializes the grid server implementation
-// and the ORB.
-//
-// = AUTHORS
-//
-// ============================================================================
-
-#if !defined (SERVER_I_H)
-#define SERVER_I_H
-
-#include "Grid_i.h"
-#include "tao/TAO.h"
-
-class Server_i
-{
- // = TITLE
- // CORBA Server implementation.
-public:
- // = Initialization and termination methods.
- Server_i (void);
- // Constructor.
-
- ~Server_i (void);
- // Destructor.
-
- int init (int argc, char *argv[], CORBA::Environment &env);
- // Initialize the Server state - parsing arguments and waiting.
-
- int run (CORBA::Environment &env);
- // Run the orb.
-
-private:
- Grid_Factory_i servant_;
- // Servant for the Grid interface.
-
- int parse_args (void);
- // Parses the commandline arguments.
-
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- FILE *ior_output_file_;
- // File where the IOR of the server object is stored.
-
- int argc_;
- // Number of command line arguments.
-
- char **argv_;
- // The command line arguments.
-};
-
-#endif /* SERVER_I_H */
diff --git a/TAO/examples/Simple/grid/client.cpp b/TAO/examples/Simple/grid/client.cpp
deleted file mode 100644
index e7fb37beba2..00000000000
--- a/TAO/examples/Simple/grid/client.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-// -*- C++ -*-
-// $Id$
-#include "Client_i.h"
-
-// This function runs the grid test.
-
-int
-main (int argc, char **argv)
-{
- Client_i client;
-
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Grid client\n"));
-
- if (client.init (argc, argv) == -1)
- return -1;
- else
- return client.run ();
-}
-
diff --git a/TAO/examples/Simple/grid/client.dsp b/TAO/examples/Simple/grid/client.dsp
deleted file mode 100644
index 074695c225a..00000000000
--- a/TAO/examples/Simple/grid/client.dsp
+++ /dev/null
@@ -1,201 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Simple Grid Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Simple Grid Client - Win32 Release
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="Simple Grid Client - Win32 Release"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Simple Grid Client - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Simple Grid Client - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Simple Grid Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir ".\client\Release"
-# PROP BASE Intermediate_Dir ".\client\Release"
-# PROP BASE Target_Dir ".\client"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\client"
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Grid Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir ".\client\Debug"
-# PROP BASE Intermediate_Dir ".\client\Debug"
-# PROP BASE Target_Dir ".\client"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ".\Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\client"
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Simple Grid Client - Win32 Release"
-# Name "Simple Grid Client - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Client_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\GridC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\GridS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
-# Begin Source File
-
-SOURCE=.\Client_i.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ".idl"
-# Begin Source File
-
-SOURCE=.\Grid.idl
-
-!IF "$(CFG)" == "Simple Grid Client - Win32 Release"
-
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Grid.idl
-InputName=Grid
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Grid Client - Win32 Debug"
-
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Grid.idl
-InputName=Grid
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simple/grid/run_test.pl b/TAO/examples/Simple/grid/run_test.pl
deleted file mode 100755
index fb32f7fe96c..00000000000
--- a/TAO/examples/Simple/grid/run_test.pl
+++ /dev/null
@@ -1,23 +0,0 @@
-#$Id$
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-use lib "../../../../bin";
-require ACEutils;
-require Process;
-
-$iorfile = "grid.ior";
-
-$SV = Process::Create ("server$Process::EXE_EXT", "-o $iorfile ");
-
-ACE::waitforfile ($iorfile);
-
-$status = system ("client$Process::EXE_EXT -f $iorfile -s -w 12 -h 12 -x 2 -y 2 -v 2345");
-
-$SV->Kill (); $SV->Wait ();
-
-unlink $iorfile;
-
-exit $status;
diff --git a/TAO/examples/Simple/grid/server.cpp b/TAO/examples/Simple/grid/server.cpp
deleted file mode 100644
index 542a1222105..00000000000
--- a/TAO/examples/Simple/grid/server.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// -*- C++ -*-
-// $Id$
-#include "Server_i.h"
-
-// This is the main driver program for the grid server.
-
-int
-main (int argc, char *argv[])
-{
- Server_i server;
-
- ACE_DEBUG ((LM_DEBUG,
- "(%P|%t) Grid server\n"));
-
- TAO_TRY
- {
- if (server.init (argc, argv, TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/grid/server.dsp b/TAO/examples/Simple/grid/server.dsp
deleted file mode 100644
index 1daaefd440d..00000000000
--- a/TAO/examples/Simple/grid/server.dsp
+++ /dev/null
@@ -1,205 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Simple Grid Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Simple Grid Server - Win32 Alpha Release
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="Simple Grid Server - Win32 Alpha Release"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Simple Grid Server - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Simple Grid Server - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Simple Grid Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir ".\server\Release"
-# PROP BASE Intermediate_Dir ".\server\Release"
-# PROP BASE Target_Dir ".\server"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\server"
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Grid Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir ".\server\Debug"
-# PROP BASE Intermediate_Dir ".\server\Debug"
-# PROP BASE Target_Dir ".\server"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ".\Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\server"
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Simple Grid Server - Win32 Release"
-# Name "Simple Grid Server - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
-# Begin Source File
-
-SOURCE=.\Grid_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\GridC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\GridS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Server_i.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
-# Begin Source File
-
-SOURCE=.\Server_i.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ".idl"
-# Begin Source File
-
-SOURCE=.\Grid.idl
-
-!IF "$(CFG)" == "Simple Grid Server - Win32 Release"
-
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Grid.idl
-InputName=Grid
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Grid Server - Win32 Debug"
-
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Grid.idl
-InputName=Grid
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simple/time/Client_i.cpp b/TAO/examples/Simple/time/Client_i.cpp
deleted file mode 100644
index 13a2faa4134..00000000000
--- a/TAO/examples/Simple/time/Client_i.cpp
+++ /dev/null
@@ -1,198 +0,0 @@
-// $Id$
-
-#include "Client_i.h"
-#include "ace/Get_Opt.h"
-#include "ace/Read_Buffer.h"
-
-ACE_RCSID(Time, Client_i, "$Id$")
-
-// Constructor.
-Client_i::Client_i (void)
- : ior_ (0),
- loop_count_ (10),
- shutdown_ (0),
- server_ ()
-{
-}
-
-// Reads the Server factory ior from a file
-
-int
-Client_i::read_ior (char *filename)
-{
- // Open the file for reading.
- ACE_HANDLE f_handle = ACE_OS::open (filename, 0);
-
- if (f_handle == ACE_INVALID_HANDLE)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- filename),
- -1);
-
- ACE_Read_Buffer ior_buffer (f_handle);
- char *data = ior_buffer.read ();
-
- if (data == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior: %p\n"),
- -1);
-
- this->ior_ = ACE_OS::strdup (data);
- ior_buffer.alloc ()->free (data);
-
- ACE_OS::close (f_handle);
-
- return 0;
-}
-
-// Parses the command line arguments and returns an error status.
-
-int
-Client_i::parse_args (void)
-{
- ACE_Get_Opt get_opts (argc_, argv_, "dn:f:xk:");
- int c;
- int result;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag
- TAO_debug_level++;
- break;
- case 'n': // loop count
- this->loop_count_ = (u_int) ACE_OS::atoi (get_opts.optarg);
- break;
- case 'k': // ior provide on command line
- this->ior_ = ACE_OS::strdup (get_opts.optarg);
- break;
- case 'f': // read the IOR from the file.
- result = this->read_ior (get_opts.optarg);
- if (result < 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to read ior from %s : %p\n",
- get_opts.optarg),
- -1);
- break;
- case 'x':
- this->shutdown_ = 1;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-n loopcount]"
- " [-f ior-file]"
- " [-k ior]"
- " [-x]"
- "\n",
- this->argv_ [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-// Compute the time on a server.
-
-void
-Client_i::time (void)
-{
- TAO_TRY
- {
- // Make the RMI.
- CORBA::Long timedate = this->server_->time (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Print out Value
- char *ascii_timedate =
- ACE_OS::ctime (ACE_reinterpret_cast (time_t *,
- &timedate));
-
- ACE_DEBUG ((LM_DEBUG,
- "string time is %s\n",
- ascii_timedate));
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Client_i::time");
- return;
- }
- TAO_ENDTRY;
-}
-
-// Execute client example code.
-
-int
-Client_i::run (void)
-{
- for (u_int i = 0; i < this->loop_count_; i++)
- {
- this->time ();
- ACE_OS::sleep (1);
- }
-
- if (this->shutdown_)
- this->server_->shutdown (this->env_);
-
- return 0;
-}
-
-Client_i::~Client_i (void)
-{
- ACE_OS::free (this->ior_);
-}
-
-int
-Client_i::init (int argc, char **argv)
-{
- this->argc_ = argc;
- this->argv_ = argv;
-
- TAO_TRY
- {
- // Retrieve the ORB.
- this->orb_ = CORBA::ORB_init (this->argc_,
- this->argv_,
- 0,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Parse command line and verify parameters.
- if (this->parse_args () == -1)
- return -1;
-
- if (this->ior_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: no ior specified\n",
- this->argv_[0]),
- -1);
-
-
- CORBA::Object_var server_object =
- this->orb_->string_to_object (this->ior_,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (server_object.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "invalid ior <%s>\n",
- this->ior_),
- -1);
-
- this->server_ = Time::_narrow (server_object.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Client_i::init");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/time/Client_i.h b/TAO/examples/Simple/time/Client_i.h
deleted file mode 100644
index ab4a3d5893d..00000000000
--- a/TAO/examples/Simple/time/Client_i.h
+++ /dev/null
@@ -1,79 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Client_i.h
-//
-// = DESCRIPTION
-// This class implements a simple CORBA client that access a Time
-// server.
-//
-// = AUTHORS
-// Darrell Brunsch <brunsch@cs.wustl.edu>
-//
-// ============================================================================
-
-#include "TimeC.h"
-
-class Client_i
-{
- // = TITLE
- // Simple Client implementation.
- //
- // = DESCRIPTION
- // Class wrapper for a client that gets the server IOR and then
- // makes several calls to the server before optionally shutting
- // it down.
-public:
- // = Initialization and termination methods.
- Client_i (void);
- // Constructor.
-
- ~Client_i (void);
- // Destructor.
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char *argv[]);
- // Initialize the client communication endpoint with server.
-
-private:
- int read_ior (char *filename);
- // Function to read the server IOR from a file.
-
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- void time (void);
- // Return the current time of day on another machine.
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- char *ior_;
- // IOR of the obj ref of the server.
-
- u_int loop_count_;
- // Number of times to invoke the <time> operation.
-
- int shutdown_;
- // Flag for server shutdown.
-
- CORBA::Environment env_;
- // Environment variable.
-
- Time_var server_;
- // Server object ptr.
-
- CORBA::ORB_var orb_;
- // Remember our orb.
-};
diff --git a/TAO/examples/Simple/time/Makefile b/TAO/examples/Simple/time/Makefile
deleted file mode 100644
index 08028965392..00000000000
--- a/TAO/examples/Simple/time/Makefile
+++ /dev/null
@@ -1,83 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO
-
-IDL_SRC = TimeC.cpp TimeS.cpp
-
-PROG_SRCS = \
- client.cpp \
- Client_i.cpp \
- server.cpp \
- Server_i.cpp \
- Time_i.cpp \
-
-SIMPLE_CLT_OBJS = \
- TimeC.o \
- TimeS.o \
- Client_i.o \
- client.o
-SIMPLE_SVR_OBJS = \
- TimeC.o \
- TimeS.o \
- Time_i.o \
- Server_i.o \
- server.o
-
-SRC = $(sort $(SIMPLE_CLT_OBJS:.o=.cpp) $(SIMPLE_SVR_OBJS:.o=.cpp))
-
-BIN = server \
- client
-BUILD = $(BIN)
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-LDFLAGS += -L$(TAO_ROOT)/tao
-CPPFLAGS +=
-
-.PRECIOUS: TimeC.cpp TimeC.i TimeC.h
-.PRECIOUS: TimeS.cpp TimeS.i TimeS.h
-.PRECIOUS: TimeS_T.cpp TimeS_T.i TimeS_T.h
-
-server: $(addprefix $(VDIR),$(SIMPLE_SVR_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-client: $(addprefix $(VDIR),$(SIMPLE_CLT_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-realclean: clean
- -/bin/rm -rf TimeC.* TimeS.* TimeS_T.*
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Simple/time/README b/TAO/examples/Simple/time/README
deleted file mode 100644
index ded1ecd4fbc..00000000000
--- a/TAO/examples/Simple/time/README
+++ /dev/null
@@ -1,54 +0,0 @@
-$Id$
-
-This is a simple CORBA example that has an object (Time) with only two
-methods, one that returns the current time of day on a server and
-another that shuts down the server.
-
-server:
--------
-
-server [-d] [-o <ior_output_file>]
-
-Options:
--------
--d Debug flag (It is additive more -d flags will give debugging).
--o Outputs the server ior to the file
-
-
-When the server is started, you should see as the first line of output
-something that looks like
- iiop:1.0//danzon.cs.wustl.edu:10015/P35ad159600081a38/child_poa/server
- (-ORBobjrefstyle url)
-or
- IOR:000000000000001649444c3a43756269745...
- (-ORBobjrefstyle ior)
-
-Using -d turns on debugging messages. This option is additive, i.e.,
-the more -d options provided, the more debugging you can get. At the
-moment, only 2 levels of debugging are implemented, and more than 2 -d
-options are ignored.
-
-client:
--------
-
-client [-d] [-x] [-f <Server_ior_file>] [-n iterations] [-k ior]
-
-Options:
--------
--d Debug flag
--x Tells the server to shutdown at the end of the test.
--f Reads the server ior from the file
--n no. of iterations
--k IOR
-
-You can either cut and paste the IOR from the server to the client
-(with the -k option), or have the client read the IOR from a file
-using the -f option. (This file is produced using the -o option of the
-server.)
-
-run_test.pl:
-------------
-
-This is a perl script which runs the server and client, and shuts down
-the server when it is done.
-
diff --git a/TAO/examples/Simple/time/Server_i.cpp b/TAO/examples/Simple/time/Server_i.cpp
deleted file mode 100644
index ec8c8bf5ab4..00000000000
--- a/TAO/examples/Simple/time/Server_i.cpp
+++ /dev/null
@@ -1,120 +0,0 @@
-// $Id$
-
-#include "Server_i.h"
-#include "ace/Get_Opt.h"
-
-ACE_RCSID(Time, Server_i, "$Id$")
-
-// Constructor.
-
-Server_i::Server_i (void)
- : ior_output_file_ (0)
-{
- // no-op.
-}
-
-// Destructor.
-
-Server_i::~Server_i (void)
-{
- // no-op.
-}
-
-// Parse the command-line arguments and set options.
-
-int
-Server_i::parse_args (void)
-{
- ACE_Get_Opt get_opts (this->argc_, this->argv_, "do:");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag.
- TAO_debug_level++;
- break;
- case 'o': // output the IOR to a file.
- this->ior_output_file_ = ACE_OS::fopen (get_opts.optarg, "w");
- if (this->ior_output_file_ == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Unable to open %s for writing: %p\n",
- get_opts.optarg), -1);
- break;
- case '?': // display help for use of the server.
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-o] <ior_output_file>"
- "\n",
- argv_ [0]),
- 1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-// Initialize the server.
-
-int
-Server_i::init (int argc, char *argv[], CORBA::Environment &env)
-{
- // Call the init of <TAO_ORB_Manager> to initialize the ORB and
- // create a child POA under the root POA.
- if (this->orb_manager_.init_child_poa (argc,
- argv,
- "child_poa",
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init_child_poa"),
- -1);
- TAO_CHECK_ENV_RETURN (env, -1);
-
- this->argc_ = argc;
- this->argv_ = argv;
-
- int retval = this->parse_args ();
-
- if (retval != 0)
- return retval;
-
- CORBA::ORB_var orb = this->orb_manager_.orb ();
-
- // Stash our ORB pointer for later reference.
- this->servant_.orb (orb.in ());
-
- // Activate the servant in its own child POA.
- CORBA::String_var str =
- this->orb_manager_.activate_under_child_poa ("time",
- &this->servant_,
- env);
- ACE_DEBUG ((LM_DEBUG,
- "The IOR is: <%s>\n",
- str.in ()));
-
- if (this->ior_output_file_)
- {
- ACE_OS::fprintf (this->ior_output_file_,
- "%s",
- str.in ());
- ACE_OS::fclose (this->ior_output_file_);
- }
-
- return 0;
-}
-
-int
-Server_i::run (CORBA::Environment &env)
-{
- // Run the main event loop for the ORB.
- if (this->orb_manager_.run (env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Server_i::run"),
- -1);
-
- return 0;
-}
-
diff --git a/TAO/examples/Simple/time/Server_i.h b/TAO/examples/Simple/time/Server_i.h
deleted file mode 100644
index 3f3a1814c3a..00000000000
--- a/TAO/examples/Simple/time/Server_i.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple
-//
-// = FILENAME
-// Server_i.h
-//
-// = DESCRIPTION
-// A CORBA server that initializes the time server implementation
-// and the ORB.
-//
-// = AUTHORS
-// Darrell Brunsch <brunsch@cs.wustl.edu>
-//
-// ============================================================================
-
-#if !defined (SERVER_I_H)
-#define SERVER_I_H
-
-#include "Time_i.h"
-#include "tao/TAO.h"
-
-class Server_i
-{
- // = TITLE
- // CORBA Server implementation.
-public:
- // = Initialization and termination methods.
- Server_i (void);
- // Constructor.
-
- ~Server_i (void);
- // Destructor.
-
- int init (int argc, char *argv[], CORBA::Environment &env);
- // Initialize the Server state - parsing arguments and waiting.
-
- int run (CORBA::Environment &env);
- // Run the orb.
-
-private:
- Time_i servant_;
- // Servant for the Time interface.
-
- int parse_args (void);
- // Parses the commandline arguments.
-
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- FILE *ior_output_file_;
- // File where the IOR of the server object is stored.
-
- int argc_;
- // Number of command line arguments.
-
- char **argv_;
- // The command line arguments.
-};
-
-#endif /* TIME_IMPL_H */
diff --git a/TAO/examples/Simple/time/Time.dsw b/TAO/examples/Simple/time/Time.dsw
deleted file mode 100644
index 3e0a0486fc6..00000000000
--- a/TAO/examples/Simple/time/Time.dsw
+++ /dev/null
@@ -1,65 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Simple Client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Simple Client Static"=.\client_static.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Simple Server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Simple Server Static"=.\server_static.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/Simple/time/Time.idl b/TAO/examples/Simple/time/Time.idl
deleted file mode 100644
index ffbdc5cc49c..00000000000
--- a/TAO/examples/Simple/time/Time.idl
+++ /dev/null
@@ -1,15 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-interface Time
-{
- // = TITLE
- // Defines an interface that encapsulates operations that
- // return the current time of day and shuts down the server.
-
- long time ();
- // Returns the current time of day on another machine.
-
- oneway void shutdown ();
- // Shutdown the application.
-};
diff --git a/TAO/examples/Simple/time/Time_i.cpp b/TAO/examples/Simple/time/Time_i.cpp
deleted file mode 100644
index de65edd63cd..00000000000
--- a/TAO/examples/Simple/time/Time_i.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-
-#include "Time_i.h"
-
-ACE_RCSID(Time, Time_i, "$Id$")
-
-// Constructor
-
-Time_i::Time_i (void)
-{
- // no-op
-}
-
-// Destructor
-
-Time_i::~Time_i (void)
-{
- // no-op
-}
-
-// Set the ORB pointer.
-
-void
-Time_i::orb (CORBA::ORB_ptr o)
-{
- this->orb_ = CORBA::ORB::_duplicate (o);
-}
-
-// Return the current date/time on the server.
-
-CORBA::Long
-Time_i::time (CORBA::Environment &)
-{
- return CORBA::Long (ACE_OS::time (0));
-}
-
-// Shutdown.
-
-void Time_i::shutdown (CORBA::Environment &)
-{
- ACE_DEBUG ((LM_DEBUG,
- "%s\n",
- "Time_i is shutting down"));
-
- // Instruct the ORB to shutdown.
- this->orb_->shutdown ();
-}
-
diff --git a/TAO/examples/Simple/time/Time_i.h b/TAO/examples/Simple/time/Time_i.h
deleted file mode 100644
index a4d17a315dd..00000000000
--- a/TAO/examples/Simple/time/Time_i.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/Simple/time
-//
-// = FILENAME
-// Time_i.h
-//
-// = DESCRIPTION
-// This class implements the Time IDL interface.
-//
-// = AUTHOR
-// Darrell Brunsch <brunsch@cs.wustl.edu>
-//
-// ============================================================================
-
-#if !defined (TIME_I_H)
-#define TIME_I_H
-
-#include "TimeS.h"
-
-class Time_i: public POA_Time
-{
- // = TITLE
- // Time Object Implementation
- //
- // = DESCRIPTION
- // Implementation of a simple object that has two methods, one that
- // return the current time/date on the server and the other that
- // shuts down the server.
-public:
- // = Initialization and termination methods.
- Time_i (void);
- // Constructor
-
- ~Time_i (void);
- // Destructor
-
- virtual CORBA::Long time (CORBA::Environment &env);
- // Return the current time/date on the server.
-
- virtual void shutdown (CORBA::Environment &env);
- // Shutdown the server.
-
- void orb (CORBA::ORB_ptr o);
- // Set the ORB pointer.
-
-private:
- CORBA::ORB_var orb_;
- // ORB pointer.
-};
-
-#endif /* TIME_I_H */
diff --git a/TAO/examples/Simple/time/client.cpp b/TAO/examples/Simple/time/client.cpp
deleted file mode 100644
index 1df50b4733d..00000000000
--- a/TAO/examples/Simple/time/client.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-// $Id$
-
-#include "Client_i.h"
-
-ACE_RCSID(Time, client, "$Id$")
-
-// This function runs the time and date test.
-
-int
-main (int argc, char **argv)
-{
- Client_i client;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\ttime and date client\n\n"));
-
- if (client.init (argc, argv) == -1)
- return -1;
- else
- return client.run ();
-}
-
diff --git a/TAO/examples/Simple/time/client.dsp b/TAO/examples/Simple/time/client.dsp
deleted file mode 100644
index 5a19d25c333..00000000000
--- a/TAO/examples/Simple/time/client.dsp
+++ /dev/null
@@ -1,1127 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Simple Time Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603
-
-CFG=Simple Time Client - Win32 Alpha Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="Simple Time Client - Win32 Alpha Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Simple Time Client - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Simple Time Client - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE "Simple Time Client - Win32 Alpha Debug" (based on "Win32 (ALPHA) Console Application")
-!MESSAGE "Simple Time Client - Win32 Alpha Release" (based on "Win32 (ALPHA) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-
-!IF "$(CFG)" == "Simple Time Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir ".\client\Release"
-# PROP BASE Intermediate_Dir ".\client\Release"
-# PROP BASE Target_Dir ".\client"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\client"
-CPP=cl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT CPP /YX
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir ".\client\Debug"
-# PROP BASE Intermediate_Dir ".\client\Debug"
-# PROP BASE Target_Dir ".\client"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ".\Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\client"
-CPP=cl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT CPP /YX
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "client\Alpha Debug"
-# PROP BASE Intermediate_Dir "client\Alpha Debug"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "client"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "client"
-CPP=cl.exe
-# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\..\\ /I "..\..\..\..\\ /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT BASE CPP /YX
-# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\..\\ /I "..\..\..\..\\ /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /MDd /c
-# SUBTRACT CPP /YX
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 aced.lib TAOd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# ADD LINK32 aced.lib TAOd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "client\Alpha Release"
-# PROP BASE Intermediate_Dir "client\Alpha Release"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "client"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "client"
-CPP=cl.exe
-# ADD BASE CPP /nologo /Gt0 /W3 /GX /O2 /I "..\..\..\\ /I "..\..\..\..\\ /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT BASE CPP /YX
-# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I "..\..\..\\ /I "..\..\..\..\\ /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 ace.lib TAO.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# ADD LINK32 ace.lib TAO.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Simple Time Client - Win32 Release"
-# Name "Simple Time Client - Win32 Debug"
-# Name "Simple Time Client - Win32 Alpha Debug"
-# Name "Simple Time Client - Win32 Alpha Release"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
-# Begin Source File
-
-SOURCE=.\client.cpp
-
-!IF "$(CFG)" == "Simple Time Client - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug"
-
-DEP_CPP_CLIEN=\
- "..\..\..\..\ace\Acceptor.cpp"\
- "..\..\..\..\ace\Acceptor.h"\
- "..\..\..\..\ace\Acceptor.i"\
- "..\..\..\..\ace\ACE.h"\
- "..\..\..\..\ace\ACE.i"\
- "..\..\..\..\ace\Addr.h"\
- "..\..\..\..\ace\Addr.i"\
- "..\..\..\..\ace\Atomic_Op.i"\
- "..\..\..\..\ace\Auto_Ptr.cpp"\
- "..\..\..\..\ace\Auto_Ptr.h"\
- "..\..\..\..\ace\Auto_Ptr.i"\
- "..\..\..\..\ace\Basic_Types.h"\
- "..\..\..\..\ace\Basic_Types.i"\
- "..\..\..\..\ace\config-win32-borland.h"\
- "..\..\..\..\ace\config-win32-common.h"\
- "..\..\..\..\ace\config-win32.h"\
- "..\..\..\..\ace\config-WinCE.h"\
- "..\..\..\..\ace\config.h"\
- "..\..\..\..\ace\Connector.cpp"\
- "..\..\..\..\ace\Connector.h"\
- "..\..\..\..\ace\Connector.i"\
- "..\..\..\..\ace\Containers.cpp"\
- "..\..\..\..\ace\Containers.h"\
- "..\..\..\..\ace\Containers.i"\
- "..\..\..\..\ace\Dynamic.h"\
- "..\..\..\..\ace\Dynamic.i"\
- "..\..\..\..\ace\Dynamic_Service.cpp"\
- "..\..\..\..\ace\Dynamic_Service.h"\
- "..\..\..\..\ace\Event_Handler.h"\
- "..\..\..\..\ace\Event_Handler.i"\
- "..\..\..\..\ace\Free_List.cpp"\
- "..\..\..\..\ace\Free_List.h"\
- "..\..\..\..\ace\Free_List.i"\
- "..\..\..\..\ace\Get_Opt.h"\
- "..\..\..\..\ace\Get_Opt.i"\
- "..\..\..\..\ace\Handle_Set.h"\
- "..\..\..\..\ace\Handle_Set.i"\
- "..\..\..\..\ace\Hash_Map_Manager.cpp"\
- "..\..\..\..\ace\Hash_Map_Manager.h"\
- "..\..\..\..\ace\inc_user_config.h"\
- "..\..\..\..\ace\INET_Addr.h"\
- "..\..\..\..\ace\INET_Addr.i"\
- "..\..\..\..\ace\IO_Cntl_Msg.h"\
- "..\..\..\..\ace\iosfwd.h"\
- "..\..\..\..\ace\IPC_SAP.h"\
- "..\..\..\..\ace\IPC_SAP.i"\
- "..\..\..\..\ace\Log_Msg.h"\
- "..\..\..\..\ace\Log_Priority.h"\
- "..\..\..\..\ace\Log_Record.h"\
- "..\..\..\..\ace\Log_Record.i"\
- "..\..\..\..\ace\Malloc.h"\
- "..\..\..\..\ace\Malloc.i"\
- "..\..\..\..\ace\Malloc_Base.h"\
- "..\..\..\..\ace\Malloc_T.cpp"\
- "..\..\..\..\ace\Malloc_T.h"\
- "..\..\..\..\ace\Malloc_T.i"\
- "..\..\..\..\ace\Managed_Object.cpp"\
- "..\..\..\..\ace\Managed_Object.h"\
- "..\..\..\..\ace\Managed_Object.i"\
- "..\..\..\..\ace\Map_Manager.cpp"\
- "..\..\..\..\ace\Map_Manager.h"\
- "..\..\..\..\ace\Map_Manager.i"\
- "..\..\..\..\ace\Mem_Map.h"\
- "..\..\..\..\ace\Mem_Map.i"\
- "..\..\..\..\ace\Memory_Pool.h"\
- "..\..\..\..\ace\Memory_Pool.i"\
- "..\..\..\..\ace\Message_Block.h"\
- "..\..\..\..\ace\Message_Block.i"\
- "..\..\..\..\ace\Message_Queue.h"\
- "..\..\..\..\ace\Message_Queue.i"\
- "..\..\..\..\ace\Message_Queue_T.cpp"\
- "..\..\..\..\ace\Message_Queue_T.h"\
- "..\..\..\..\ace\Message_Queue_T.i"\
- "..\..\..\..\ace\Module.cpp"\
- "..\..\..\..\ace\Module.h"\
- "..\..\..\..\ace\Module.i"\
- "..\..\..\..\ace\Object_Manager.h"\
- "..\..\..\..\ace\Object_Manager.i"\
- "..\..\..\..\ace\OS.h"\
- "..\..\..\..\ace\OS.i"\
- "..\..\..\..\ace\Reactor.h"\
- "..\..\..\..\ace\Reactor.i"\
- "..\..\..\..\ace\Reactor_Impl.h"\
- "..\..\..\..\ace\Service_Config.h"\
- "..\..\..\..\ace\Service_Config.i"\
- "..\..\..\..\ace\Service_Object.h"\
- "..\..\..\..\ace\Service_Object.i"\
- "..\..\..\..\ace\Service_Repository.h"\
- "..\..\..\..\ace\Service_Repository.i"\
- "..\..\..\..\ace\Service_Types.h"\
- "..\..\..\..\ace\Service_Types.i"\
- "..\..\..\..\ace\Shared_Object.h"\
- "..\..\..\..\ace\Shared_Object.i"\
- "..\..\..\..\ace\Signal.h"\
- "..\..\..\..\ace\Signal.i"\
- "..\..\..\..\ace\Singleton.cpp"\
- "..\..\..\..\ace\Singleton.h"\
- "..\..\..\..\ace\Singleton.i"\
- "..\..\..\..\ace\SOCK.h"\
- "..\..\..\..\ace\SOCK.i"\
- "..\..\..\..\ace\SOCK_Acceptor.h"\
- "..\..\..\..\ace\SOCK_Acceptor.i"\
- "..\..\..\..\ace\SOCK_Connector.h"\
- "..\..\..\..\ace\SOCK_Connector.i"\
- "..\..\..\..\ace\SOCK_IO.h"\
- "..\..\..\..\ace\SOCK_IO.i"\
- "..\..\..\..\ace\SOCK_Stream.h"\
- "..\..\..\..\ace\SOCK_Stream.i"\
- "..\..\..\..\ace\SString.h"\
- "..\..\..\..\ace\SString.i"\
- "..\..\..\..\ace\Strategies.h"\
- "..\..\..\..\ace\Strategies.i"\
- "..\..\..\..\ace\Strategies_T.cpp"\
- "..\..\..\..\ace\Strategies_T.h"\
- "..\..\..\..\ace\Strategies_T.i"\
- "..\..\..\..\ace\Stream_Modules.cpp"\
- "..\..\..\..\ace\Stream_Modules.h"\
- "..\..\..\..\ace\Stream_Modules.i"\
- "..\..\..\..\ace\streams.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.i"\
- "..\..\..\..\ace\SV_Semaphore_Simple.h"\
- "..\..\..\..\ace\SV_Semaphore_Simple.i"\
- "..\..\..\..\ace\Svc_Conf_Tokens.h"\
- "..\..\..\..\ace\Svc_Handler.cpp"\
- "..\..\..\..\ace\Svc_Handler.h"\
- "..\..\..\..\ace\Svc_Handler.i"\
- "..\..\..\..\ace\Synch.h"\
- "..\..\..\..\ace\Synch.i"\
- "..\..\..\..\ace\Synch_Options.h"\
- "..\..\..\..\ace\Synch_Options.i"\
- "..\..\..\..\ace\Synch_T.cpp"\
- "..\..\..\..\ace\Synch_T.h"\
- "..\..\..\..\ace\Synch_T.i"\
- "..\..\..\..\ace\Task.h"\
- "..\..\..\..\ace\Task.i"\
- "..\..\..\..\ace\Task_T.cpp"\
- "..\..\..\..\ace\Task_T.h"\
- "..\..\..\..\ace\Task_T.i"\
- "..\..\..\..\ace\Thread.h"\
- "..\..\..\..\ace\Thread.i"\
- "..\..\..\..\ace\Thread_Manager.h"\
- "..\..\..\..\ace\Thread_Manager.i"\
- "..\..\..\..\ace\Time_Value.h"\
- "..\..\..\..\ace\Timer_Queue.h"\
- "..\..\..\..\ace\Timer_Queue_T.cpp"\
- "..\..\..\..\ace\Timer_Queue_T.h"\
- "..\..\..\..\ace\Timer_Queue_T.i"\
- "..\..\..\..\ace\Trace.h"\
- "..\..\..\..\ace\WFMO_Reactor.h"\
- "..\..\..\..\ace\WFMO_Reactor.i"\
- "..\..\..\..\ace\ws2tcpip.h"\
- "..\..\..\tao\Align.h"\
- "..\..\..\tao\Any.h"\
- "..\..\..\tao\Any.i"\
- "..\..\..\tao\CDR.h"\
- "..\..\..\tao\CDR.i"\
- "..\..\..\tao\Client_Strategy_Factory.h"\
- "..\..\..\tao\Connect.h"\
- "..\..\..\tao\Connect.i"\
- "..\..\..\tao\corba.h"\
- "..\..\..\tao\CurrentC.h"\
- "..\..\..\tao\CurrentC.i"\
- "..\..\..\tao\debug.h"\
- "..\..\..\tao\default_client.h"\
- "..\..\..\tao\default_client.i"\
- "..\..\..\tao\default_server.h"\
- "..\..\..\tao\default_server.i"\
- "..\..\..\tao\Environment.h"\
- "..\..\..\tao\Environment.i"\
- "..\..\..\tao\Exception.h"\
- "..\..\..\tao\Exception.i"\
- "..\..\..\tao\GIOP.h"\
- "..\..\..\tao\GIOP.i"\
- "..\..\..\tao\IIOP_Interpreter.h"\
- "..\..\..\tao\IIOP_Object.h"\
- "..\..\..\tao\IIOP_Object.i"\
- "..\..\..\tao\IIOP_ORB.h"\
- "..\..\..\tao\IIOP_ORB.i"\
- "..\..\..\tao\Invocation.h"\
- "..\..\..\tao\Invocation.i"\
- "..\..\..\tao\Marshal.h"\
- "..\..\..\tao\Marshal.i"\
- "..\..\..\tao\NVList.h"\
- "..\..\..\tao\NVList.i"\
- "..\..\..\tao\Object.h"\
- "..\..\..\tao\Object.i"\
- "..\..\..\tao\Object_KeyC.h"\
- "..\..\..\tao\Object_KeyC.i"\
- "..\..\..\tao\Object_Table.h"\
- "..\..\..\tao\Operation_Table.h"\
- "..\..\..\tao\ORB.h"\
- "..\..\..\tao\ORB.i"\
- "..\..\..\tao\ORB_Core.h"\
- "..\..\..\tao\ORB_Core.i"\
- "..\..\..\tao\ORB_Strategies_T.cpp"\
- "..\..\..\tao\ORB_Strategies_T.h"\
- "..\..\..\tao\ORB_Strategies_T.i"\
- "..\..\..\tao\orbconf.h"\
- "..\..\..\tao\params.h"\
- "..\..\..\tao\params.i"\
- "..\..\..\tao\POA.h"\
- "..\..\..\tao\POA.i"\
- "..\..\..\tao\POA_CORBA.h"\
- "..\..\..\tao\poa_macros.h"\
- "..\..\..\tao\POAC.h"\
- "..\..\..\tao\POAC.i"\
- "..\..\..\tao\POAS.h"\
- "..\..\..\tao\POAS.i"\
- "..\..\..\tao\PolicyC.h"\
- "..\..\..\tao\PolicyC.i"\
- "..\..\..\tao\Principal.h"\
- "..\..\..\tao\Principal.i"\
- "..\..\..\tao\Request.h"\
- "..\..\..\tao\Request.i"\
- "..\..\..\tao\Sequence.h"\
- "..\..\..\tao\Sequence.i"\
- "..\..\..\tao\Sequence_T.cpp"\
- "..\..\..\tao\Sequence_T.h"\
- "..\..\..\tao\Sequence_T.i"\
- "..\..\..\tao\Servant_Base.h"\
- "..\..\..\tao\Server_Request.h"\
- "..\..\..\tao\Server_Request.i"\
- "..\..\..\tao\Server_Strategy_Factory.h"\
- "..\..\..\tao\singletons.h"\
- "..\..\..\tao\Stub.h"\
- "..\..\..\tao\Stub.i"\
- "..\..\..\tao\Typecode.h"\
- "..\..\..\tao\Typecode.i"\
- "..\..\..\tao\Union.h"\
- "..\..\..\tao\varout.cpp"\
- "..\..\..\tao\varout.h"\
- "..\..\..\tao\varout.i"\
-
-NODEP_CPP_CLIEN=\
- "..\..\..\..\ace\sys_conf.h"\
- ".\Client_impl.h"\
- ".\TimeC.h"\
-
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\Client_i.cpp
-
-!IF "$(CFG)" == "Simple Time Client - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\TimeC.cpp
-
-!IF "$(CFG)" == "Simple Time Client - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug"
-
-DEP_CPP_TIMEC=\
- "..\..\..\..\ace\Acceptor.cpp"\
- "..\..\..\..\ace\Acceptor.h"\
- "..\..\..\..\ace\Acceptor.i"\
- "..\..\..\..\ace\ACE.h"\
- "..\..\..\..\ace\ACE.i"\
- "..\..\..\..\ace\Addr.h"\
- "..\..\..\..\ace\Addr.i"\
- "..\..\..\..\ace\Atomic_Op.i"\
- "..\..\..\..\ace\Auto_Ptr.cpp"\
- "..\..\..\..\ace\Auto_Ptr.h"\
- "..\..\..\..\ace\Auto_Ptr.i"\
- "..\..\..\..\ace\Basic_Types.h"\
- "..\..\..\..\ace\Basic_Types.i"\
- "..\..\..\..\ace\config-win32-borland.h"\
- "..\..\..\..\ace\config-win32-common.h"\
- "..\..\..\..\ace\config-win32.h"\
- "..\..\..\..\ace\config-WinCE.h"\
- "..\..\..\..\ace\config.h"\
- "..\..\..\..\ace\Connector.cpp"\
- "..\..\..\..\ace\Connector.h"\
- "..\..\..\..\ace\Connector.i"\
- "..\..\..\..\ace\Containers.cpp"\
- "..\..\..\..\ace\Containers.h"\
- "..\..\..\..\ace\Containers.i"\
- "..\..\..\..\ace\Dynamic.h"\
- "..\..\..\..\ace\Dynamic.i"\
- "..\..\..\..\ace\Dynamic_Service.cpp"\
- "..\..\..\..\ace\Dynamic_Service.h"\
- "..\..\..\..\ace\Event_Handler.h"\
- "..\..\..\..\ace\Event_Handler.i"\
- "..\..\..\..\ace\Free_List.cpp"\
- "..\..\..\..\ace\Free_List.h"\
- "..\..\..\..\ace\Free_List.i"\
- "..\..\..\..\ace\Get_Opt.h"\
- "..\..\..\..\ace\Get_Opt.i"\
- "..\..\..\..\ace\Handle_Set.h"\
- "..\..\..\..\ace\Handle_Set.i"\
- "..\..\..\..\ace\Hash_Map_Manager.cpp"\
- "..\..\..\..\ace\Hash_Map_Manager.h"\
- "..\..\..\..\ace\inc_user_config.h"\
- "..\..\..\..\ace\INET_Addr.h"\
- "..\..\..\..\ace\INET_Addr.i"\
- "..\..\..\..\ace\IO_Cntl_Msg.h"\
- "..\..\..\..\ace\iosfwd.h"\
- "..\..\..\..\ace\IPC_SAP.h"\
- "..\..\..\..\ace\IPC_SAP.i"\
- "..\..\..\..\ace\Log_Msg.h"\
- "..\..\..\..\ace\Log_Priority.h"\
- "..\..\..\..\ace\Log_Record.h"\
- "..\..\..\..\ace\Log_Record.i"\
- "..\..\..\..\ace\Malloc.h"\
- "..\..\..\..\ace\Malloc.i"\
- "..\..\..\..\ace\Malloc_Base.h"\
- "..\..\..\..\ace\Malloc_T.cpp"\
- "..\..\..\..\ace\Malloc_T.h"\
- "..\..\..\..\ace\Malloc_T.i"\
- "..\..\..\..\ace\Managed_Object.cpp"\
- "..\..\..\..\ace\Managed_Object.h"\
- "..\..\..\..\ace\Managed_Object.i"\
- "..\..\..\..\ace\Map_Manager.cpp"\
- "..\..\..\..\ace\Map_Manager.h"\
- "..\..\..\..\ace\Map_Manager.i"\
- "..\..\..\..\ace\Mem_Map.h"\
- "..\..\..\..\ace\Mem_Map.i"\
- "..\..\..\..\ace\Memory_Pool.h"\
- "..\..\..\..\ace\Memory_Pool.i"\
- "..\..\..\..\ace\Message_Block.h"\
- "..\..\..\..\ace\Message_Block.i"\
- "..\..\..\..\ace\Message_Queue.h"\
- "..\..\..\..\ace\Message_Queue.i"\
- "..\..\..\..\ace\Message_Queue_T.cpp"\
- "..\..\..\..\ace\Message_Queue_T.h"\
- "..\..\..\..\ace\Message_Queue_T.i"\
- "..\..\..\..\ace\Module.cpp"\
- "..\..\..\..\ace\Module.h"\
- "..\..\..\..\ace\Module.i"\
- "..\..\..\..\ace\Object_Manager.h"\
- "..\..\..\..\ace\Object_Manager.i"\
- "..\..\..\..\ace\OS.h"\
- "..\..\..\..\ace\OS.i"\
- "..\..\..\..\ace\Reactor.h"\
- "..\..\..\..\ace\Reactor.i"\
- "..\..\..\..\ace\Reactor_Impl.h"\
- "..\..\..\..\ace\Service_Config.h"\
- "..\..\..\..\ace\Service_Config.i"\
- "..\..\..\..\ace\Service_Object.h"\
- "..\..\..\..\ace\Service_Object.i"\
- "..\..\..\..\ace\Service_Repository.h"\
- "..\..\..\..\ace\Service_Repository.i"\
- "..\..\..\..\ace\Service_Types.h"\
- "..\..\..\..\ace\Service_Types.i"\
- "..\..\..\..\ace\Shared_Object.h"\
- "..\..\..\..\ace\Shared_Object.i"\
- "..\..\..\..\ace\Signal.h"\
- "..\..\..\..\ace\Signal.i"\
- "..\..\..\..\ace\Singleton.cpp"\
- "..\..\..\..\ace\Singleton.h"\
- "..\..\..\..\ace\Singleton.i"\
- "..\..\..\..\ace\SOCK.h"\
- "..\..\..\..\ace\SOCK.i"\
- "..\..\..\..\ace\SOCK_Acceptor.h"\
- "..\..\..\..\ace\SOCK_Acceptor.i"\
- "..\..\..\..\ace\SOCK_Connector.h"\
- "..\..\..\..\ace\SOCK_Connector.i"\
- "..\..\..\..\ace\SOCK_IO.h"\
- "..\..\..\..\ace\SOCK_IO.i"\
- "..\..\..\..\ace\SOCK_Stream.h"\
- "..\..\..\..\ace\SOCK_Stream.i"\
- "..\..\..\..\ace\SString.h"\
- "..\..\..\..\ace\SString.i"\
- "..\..\..\..\ace\Strategies.h"\
- "..\..\..\..\ace\Strategies.i"\
- "..\..\..\..\ace\Strategies_T.cpp"\
- "..\..\..\..\ace\Strategies_T.h"\
- "..\..\..\..\ace\Strategies_T.i"\
- "..\..\..\..\ace\Stream_Modules.cpp"\
- "..\..\..\..\ace\Stream_Modules.h"\
- "..\..\..\..\ace\Stream_Modules.i"\
- "..\..\..\..\ace\streams.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.i"\
- "..\..\..\..\ace\SV_Semaphore_Simple.h"\
- "..\..\..\..\ace\SV_Semaphore_Simple.i"\
- "..\..\..\..\ace\Svc_Conf_Tokens.h"\
- "..\..\..\..\ace\Svc_Handler.cpp"\
- "..\..\..\..\ace\Svc_Handler.h"\
- "..\..\..\..\ace\Svc_Handler.i"\
- "..\..\..\..\ace\Synch.h"\
- "..\..\..\..\ace\Synch.i"\
- "..\..\..\..\ace\Synch_Options.h"\
- "..\..\..\..\ace\Synch_Options.i"\
- "..\..\..\..\ace\Synch_T.cpp"\
- "..\..\..\..\ace\Synch_T.h"\
- "..\..\..\..\ace\Synch_T.i"\
- "..\..\..\..\ace\Task.h"\
- "..\..\..\..\ace\Task.i"\
- "..\..\..\..\ace\Task_T.cpp"\
- "..\..\..\..\ace\Task_T.h"\
- "..\..\..\..\ace\Task_T.i"\
- "..\..\..\..\ace\Thread.h"\
- "..\..\..\..\ace\Thread.i"\
- "..\..\..\..\ace\Thread_Manager.h"\
- "..\..\..\..\ace\Thread_Manager.i"\
- "..\..\..\..\ace\Time_Value.h"\
- "..\..\..\..\ace\Timer_Queue.h"\
- "..\..\..\..\ace\Timer_Queue_T.cpp"\
- "..\..\..\..\ace\Timer_Queue_T.h"\
- "..\..\..\..\ace\Timer_Queue_T.i"\
- "..\..\..\..\ace\Trace.h"\
- "..\..\..\..\ace\WFMO_Reactor.h"\
- "..\..\..\..\ace\WFMO_Reactor.i"\
- "..\..\..\..\ace\ws2tcpip.h"\
- "..\..\..\tao\Align.h"\
- "..\..\..\tao\Any.h"\
- "..\..\..\tao\Any.i"\
- "..\..\..\tao\CDR.h"\
- "..\..\..\tao\CDR.i"\
- "..\..\..\tao\Client_Strategy_Factory.h"\
- "..\..\..\tao\Connect.h"\
- "..\..\..\tao\Connect.i"\
- "..\..\..\tao\corba.h"\
- "..\..\..\tao\CurrentC.h"\
- "..\..\..\tao\CurrentC.i"\
- "..\..\..\tao\debug.h"\
- "..\..\..\tao\default_client.h"\
- "..\..\..\tao\default_client.i"\
- "..\..\..\tao\default_server.h"\
- "..\..\..\tao\default_server.i"\
- "..\..\..\tao\Environment.h"\
- "..\..\..\tao\Environment.i"\
- "..\..\..\tao\Exception.h"\
- "..\..\..\tao\Exception.i"\
- "..\..\..\tao\GIOP.h"\
- "..\..\..\tao\GIOP.i"\
- "..\..\..\tao\IIOP_Interpreter.h"\
- "..\..\..\tao\IIOP_Object.h"\
- "..\..\..\tao\IIOP_Object.i"\
- "..\..\..\tao\IIOP_ORB.h"\
- "..\..\..\tao\IIOP_ORB.i"\
- "..\..\..\tao\Invocation.h"\
- "..\..\..\tao\Invocation.i"\
- "..\..\..\tao\Marshal.h"\
- "..\..\..\tao\Marshal.i"\
- "..\..\..\tao\NVList.h"\
- "..\..\..\tao\NVList.i"\
- "..\..\..\tao\Object.h"\
- "..\..\..\tao\Object.i"\
- "..\..\..\tao\Object_KeyC.h"\
- "..\..\..\tao\Object_KeyC.i"\
- "..\..\..\tao\Object_Table.h"\
- "..\..\..\tao\Operation_Table.h"\
- "..\..\..\tao\ORB.h"\
- "..\..\..\tao\ORB.i"\
- "..\..\..\tao\ORB_Core.h"\
- "..\..\..\tao\ORB_Core.i"\
- "..\..\..\tao\ORB_Strategies_T.cpp"\
- "..\..\..\tao\ORB_Strategies_T.h"\
- "..\..\..\tao\ORB_Strategies_T.i"\
- "..\..\..\tao\orbconf.h"\
- "..\..\..\tao\params.h"\
- "..\..\..\tao\params.i"\
- "..\..\..\tao\POA.h"\
- "..\..\..\tao\POA.i"\
- "..\..\..\tao\POA_CORBA.h"\
- "..\..\..\tao\poa_macros.h"\
- "..\..\..\tao\POAC.h"\
- "..\..\..\tao\POAC.i"\
- "..\..\..\tao\POAS.h"\
- "..\..\..\tao\POAS.i"\
- "..\..\..\tao\PolicyC.h"\
- "..\..\..\tao\PolicyC.i"\
- "..\..\..\tao\Principal.h"\
- "..\..\..\tao\Principal.i"\
- "..\..\..\tao\Request.h"\
- "..\..\..\tao\Request.i"\
- "..\..\..\tao\Sequence.h"\
- "..\..\..\tao\Sequence.i"\
- "..\..\..\tao\Sequence_T.cpp"\
- "..\..\..\tao\Sequence_T.h"\
- "..\..\..\tao\Sequence_T.i"\
- "..\..\..\tao\Servant_Base.h"\
- "..\..\..\tao\Server_Request.h"\
- "..\..\..\tao\Server_Request.i"\
- "..\..\..\tao\Server_Strategy_Factory.h"\
- "..\..\..\tao\singletons.h"\
- "..\..\..\tao\Stub.h"\
- "..\..\..\tao\Stub.i"\
- "..\..\..\tao\Typecode.h"\
- "..\..\..\tao\Typecode.i"\
- "..\..\..\tao\Union.h"\
- "..\..\..\tao\varout.cpp"\
- "..\..\..\tao\varout.h"\
- "..\..\..\tao\varout.i"\
-
-NODEP_CPP_TIMEC=\
- "..\..\..\..\ace\sys_conf.h"\
- ".\TimeC.h"\
- ".\TimeC.i"\
- ".\TimeS.h"\
- ".\TimeS.i"\
- ".\TimeS_T.cpp"\
- ".\TimeS_T.h"\
- ".\TimeS_T.i"\
-
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\TimeS.cpp
-
-!IF "$(CFG)" == "Simple Time Client - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug"
-
-DEP_CPP_TIMES=\
- "..\..\..\..\ace\Acceptor.cpp"\
- "..\..\..\..\ace\Acceptor.h"\
- "..\..\..\..\ace\Acceptor.i"\
- "..\..\..\..\ace\ACE.h"\
- "..\..\..\..\ace\ACE.i"\
- "..\..\..\..\ace\Addr.h"\
- "..\..\..\..\ace\Addr.i"\
- "..\..\..\..\ace\Atomic_Op.i"\
- "..\..\..\..\ace\Auto_Ptr.cpp"\
- "..\..\..\..\ace\Auto_Ptr.h"\
- "..\..\..\..\ace\Auto_Ptr.i"\
- "..\..\..\..\ace\Basic_Types.h"\
- "..\..\..\..\ace\Basic_Types.i"\
- "..\..\..\..\ace\config-win32-borland.h"\
- "..\..\..\..\ace\config-win32-common.h"\
- "..\..\..\..\ace\config-win32.h"\
- "..\..\..\..\ace\config-WinCE.h"\
- "..\..\..\..\ace\config.h"\
- "..\..\..\..\ace\Connector.cpp"\
- "..\..\..\..\ace\Connector.h"\
- "..\..\..\..\ace\Connector.i"\
- "..\..\..\..\ace\Containers.cpp"\
- "..\..\..\..\ace\Containers.h"\
- "..\..\..\..\ace\Containers.i"\
- "..\..\..\..\ace\Dynamic.h"\
- "..\..\..\..\ace\Dynamic.i"\
- "..\..\..\..\ace\Dynamic_Service.cpp"\
- "..\..\..\..\ace\Dynamic_Service.h"\
- "..\..\..\..\ace\Event_Handler.h"\
- "..\..\..\..\ace\Event_Handler.i"\
- "..\..\..\..\ace\Free_List.cpp"\
- "..\..\..\..\ace\Free_List.h"\
- "..\..\..\..\ace\Free_List.i"\
- "..\..\..\..\ace\Get_Opt.h"\
- "..\..\..\..\ace\Get_Opt.i"\
- "..\..\..\..\ace\Handle_Set.h"\
- "..\..\..\..\ace\Handle_Set.i"\
- "..\..\..\..\ace\Hash_Map_Manager.cpp"\
- "..\..\..\..\ace\Hash_Map_Manager.h"\
- "..\..\..\..\ace\inc_user_config.h"\
- "..\..\..\..\ace\INET_Addr.h"\
- "..\..\..\..\ace\INET_Addr.i"\
- "..\..\..\..\ace\IO_Cntl_Msg.h"\
- "..\..\..\..\ace\iosfwd.h"\
- "..\..\..\..\ace\IPC_SAP.h"\
- "..\..\..\..\ace\IPC_SAP.i"\
- "..\..\..\..\ace\Log_Msg.h"\
- "..\..\..\..\ace\Log_Priority.h"\
- "..\..\..\..\ace\Log_Record.h"\
- "..\..\..\..\ace\Log_Record.i"\
- "..\..\..\..\ace\Malloc.h"\
- "..\..\..\..\ace\Malloc.i"\
- "..\..\..\..\ace\Malloc_Base.h"\
- "..\..\..\..\ace\Malloc_T.cpp"\
- "..\..\..\..\ace\Malloc_T.h"\
- "..\..\..\..\ace\Malloc_T.i"\
- "..\..\..\..\ace\Managed_Object.cpp"\
- "..\..\..\..\ace\Managed_Object.h"\
- "..\..\..\..\ace\Managed_Object.i"\
- "..\..\..\..\ace\Map_Manager.cpp"\
- "..\..\..\..\ace\Map_Manager.h"\
- "..\..\..\..\ace\Map_Manager.i"\
- "..\..\..\..\ace\Mem_Map.h"\
- "..\..\..\..\ace\Mem_Map.i"\
- "..\..\..\..\ace\Memory_Pool.h"\
- "..\..\..\..\ace\Memory_Pool.i"\
- "..\..\..\..\ace\Message_Block.h"\
- "..\..\..\..\ace\Message_Block.i"\
- "..\..\..\..\ace\Message_Queue.h"\
- "..\..\..\..\ace\Message_Queue.i"\
- "..\..\..\..\ace\Message_Queue_T.cpp"\
- "..\..\..\..\ace\Message_Queue_T.h"\
- "..\..\..\..\ace\Message_Queue_T.i"\
- "..\..\..\..\ace\Module.cpp"\
- "..\..\..\..\ace\Module.h"\
- "..\..\..\..\ace\Module.i"\
- "..\..\..\..\ace\Object_Manager.h"\
- "..\..\..\..\ace\Object_Manager.i"\
- "..\..\..\..\ace\OS.h"\
- "..\..\..\..\ace\OS.i"\
- "..\..\..\..\ace\Reactor.h"\
- "..\..\..\..\ace\Reactor.i"\
- "..\..\..\..\ace\Reactor_Impl.h"\
- "..\..\..\..\ace\Service_Config.h"\
- "..\..\..\..\ace\Service_Config.i"\
- "..\..\..\..\ace\Service_Object.h"\
- "..\..\..\..\ace\Service_Object.i"\
- "..\..\..\..\ace\Service_Repository.h"\
- "..\..\..\..\ace\Service_Repository.i"\
- "..\..\..\..\ace\Service_Types.h"\
- "..\..\..\..\ace\Service_Types.i"\
- "..\..\..\..\ace\Shared_Object.h"\
- "..\..\..\..\ace\Shared_Object.i"\
- "..\..\..\..\ace\Signal.h"\
- "..\..\..\..\ace\Signal.i"\
- "..\..\..\..\ace\Singleton.cpp"\
- "..\..\..\..\ace\Singleton.h"\
- "..\..\..\..\ace\Singleton.i"\
- "..\..\..\..\ace\SOCK.h"\
- "..\..\..\..\ace\SOCK.i"\
- "..\..\..\..\ace\SOCK_Acceptor.h"\
- "..\..\..\..\ace\SOCK_Acceptor.i"\
- "..\..\..\..\ace\SOCK_Connector.h"\
- "..\..\..\..\ace\SOCK_Connector.i"\
- "..\..\..\..\ace\SOCK_IO.h"\
- "..\..\..\..\ace\SOCK_IO.i"\
- "..\..\..\..\ace\SOCK_Stream.h"\
- "..\..\..\..\ace\SOCK_Stream.i"\
- "..\..\..\..\ace\SString.h"\
- "..\..\..\..\ace\SString.i"\
- "..\..\..\..\ace\Strategies.h"\
- "..\..\..\..\ace\Strategies.i"\
- "..\..\..\..\ace\Strategies_T.cpp"\
- "..\..\..\..\ace\Strategies_T.h"\
- "..\..\..\..\ace\Strategies_T.i"\
- "..\..\..\..\ace\Stream_Modules.cpp"\
- "..\..\..\..\ace\Stream_Modules.h"\
- "..\..\..\..\ace\Stream_Modules.i"\
- "..\..\..\..\ace\streams.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.i"\
- "..\..\..\..\ace\SV_Semaphore_Simple.h"\
- "..\..\..\..\ace\SV_Semaphore_Simple.i"\
- "..\..\..\..\ace\Svc_Conf_Tokens.h"\
- "..\..\..\..\ace\Svc_Handler.cpp"\
- "..\..\..\..\ace\Svc_Handler.h"\
- "..\..\..\..\ace\Svc_Handler.i"\
- "..\..\..\..\ace\Synch.h"\
- "..\..\..\..\ace\Synch.i"\
- "..\..\..\..\ace\Synch_Options.h"\
- "..\..\..\..\ace\Synch_Options.i"\
- "..\..\..\..\ace\Synch_T.cpp"\
- "..\..\..\..\ace\Synch_T.h"\
- "..\..\..\..\ace\Synch_T.i"\
- "..\..\..\..\ace\Task.h"\
- "..\..\..\..\ace\Task.i"\
- "..\..\..\..\ace\Task_T.cpp"\
- "..\..\..\..\ace\Task_T.h"\
- "..\..\..\..\ace\Task_T.i"\
- "..\..\..\..\ace\Thread.h"\
- "..\..\..\..\ace\Thread.i"\
- "..\..\..\..\ace\Thread_Manager.h"\
- "..\..\..\..\ace\Thread_Manager.i"\
- "..\..\..\..\ace\Time_Value.h"\
- "..\..\..\..\ace\Timer_Queue.h"\
- "..\..\..\..\ace\Timer_Queue_T.cpp"\
- "..\..\..\..\ace\Timer_Queue_T.h"\
- "..\..\..\..\ace\Timer_Queue_T.i"\
- "..\..\..\..\ace\Trace.h"\
- "..\..\..\..\ace\WFMO_Reactor.h"\
- "..\..\..\..\ace\WFMO_Reactor.i"\
- "..\..\..\..\ace\ws2tcpip.h"\
- "..\..\..\tao\Align.h"\
- "..\..\..\tao\Any.h"\
- "..\..\..\tao\Any.i"\
- "..\..\..\tao\CDR.h"\
- "..\..\..\tao\CDR.i"\
- "..\..\..\tao\Client_Strategy_Factory.h"\
- "..\..\..\tao\Connect.h"\
- "..\..\..\tao\Connect.i"\
- "..\..\..\tao\corba.h"\
- "..\..\..\tao\CurrentC.h"\
- "..\..\..\tao\CurrentC.i"\
- "..\..\..\tao\debug.h"\
- "..\..\..\tao\default_client.h"\
- "..\..\..\tao\default_client.i"\
- "..\..\..\tao\default_server.h"\
- "..\..\..\tao\default_server.i"\
- "..\..\..\tao\Environment.h"\
- "..\..\..\tao\Environment.i"\
- "..\..\..\tao\Exception.h"\
- "..\..\..\tao\Exception.i"\
- "..\..\..\tao\GIOP.h"\
- "..\..\..\tao\GIOP.i"\
- "..\..\..\tao\IIOP_Interpreter.h"\
- "..\..\..\tao\IIOP_Object.h"\
- "..\..\..\tao\IIOP_Object.i"\
- "..\..\..\tao\IIOP_ORB.h"\
- "..\..\..\tao\IIOP_ORB.i"\
- "..\..\..\tao\Invocation.h"\
- "..\..\..\tao\Invocation.i"\
- "..\..\..\tao\Marshal.h"\
- "..\..\..\tao\Marshal.i"\
- "..\..\..\tao\NVList.h"\
- "..\..\..\tao\NVList.i"\
- "..\..\..\tao\Object.h"\
- "..\..\..\tao\Object.i"\
- "..\..\..\tao\Object_KeyC.h"\
- "..\..\..\tao\Object_KeyC.i"\
- "..\..\..\tao\Object_Table.h"\
- "..\..\..\tao\Operation_Table.h"\
- "..\..\..\tao\ORB.h"\
- "..\..\..\tao\ORB.i"\
- "..\..\..\tao\ORB_Core.h"\
- "..\..\..\tao\ORB_Core.i"\
- "..\..\..\tao\ORB_Strategies_T.cpp"\
- "..\..\..\tao\ORB_Strategies_T.h"\
- "..\..\..\tao\ORB_Strategies_T.i"\
- "..\..\..\tao\orbconf.h"\
- "..\..\..\tao\params.h"\
- "..\..\..\tao\params.i"\
- "..\..\..\tao\POA.h"\
- "..\..\..\tao\POA.i"\
- "..\..\..\tao\POA_CORBA.h"\
- "..\..\..\tao\poa_macros.h"\
- "..\..\..\tao\POAC.h"\
- "..\..\..\tao\POAC.i"\
- "..\..\..\tao\POAS.h"\
- "..\..\..\tao\POAS.i"\
- "..\..\..\tao\PolicyC.h"\
- "..\..\..\tao\PolicyC.i"\
- "..\..\..\tao\Principal.h"\
- "..\..\..\tao\Principal.i"\
- "..\..\..\tao\Request.h"\
- "..\..\..\tao\Request.i"\
- "..\..\..\tao\Sequence.h"\
- "..\..\..\tao\Sequence.i"\
- "..\..\..\tao\Sequence_T.cpp"\
- "..\..\..\tao\Sequence_T.h"\
- "..\..\..\tao\Sequence_T.i"\
- "..\..\..\tao\Servant_Base.h"\
- "..\..\..\tao\Server_Request.h"\
- "..\..\..\tao\Server_Request.i"\
- "..\..\..\tao\Server_Strategy_Factory.h"\
- "..\..\..\tao\singletons.h"\
- "..\..\..\tao\Stub.h"\
- "..\..\..\tao\Stub.i"\
- "..\..\..\tao\Typecode.h"\
- "..\..\..\tao\Typecode.i"\
- "..\..\..\tao\Union.h"\
- "..\..\..\tao\varout.cpp"\
- "..\..\..\tao\varout.h"\
- "..\..\..\tao\varout.i"\
-
-NODEP_CPP_TIMES=\
- "..\..\..\..\ace\sys_conf.h"\
- ".\TimeC.h"\
- ".\TimeC.i"\
- ".\TimeS.h"\
- ".\TimeS.i"\
- ".\TimeS_T.cpp"\
- ".\TimeS_T.h"\
- ".\TimeS_T.i"\
-
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
-# Begin Source File
-
-SOURCE=.\Client_i.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ".idl"
-# Begin Source File
-
-SOURCE=.\Time.idl
-
-!IF "$(CFG)" == "Simple Time Client - Win32 Release"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Debug"
-
-# PROP BASE Ignore_Default_Tool 1
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\tao_idl\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Time Client - Win32 Alpha Release"
-
-# PROP BASE Ignore_Default_Tool 1
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\tao_idl\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simple/time/client_static.dsp b/TAO/examples/Simple/time/client_static.dsp
deleted file mode 100644
index 943f98f5918..00000000000
--- a/TAO/examples/Simple/time/client_static.dsp
+++ /dev/null
@@ -1,211 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Simple Time Client Static" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Simple Time Client Static - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client_static.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client_static.mak"\
- CFG="Simple Time Client Static - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Simple Time Client Static - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "Simple Time Client Static - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Simple Time Client Static - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "client\Static Debug"
-# PROP BASE Intermediate_Dir "client\Static Debug"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "client"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug\Static"
-# PROP Intermediate_Dir "Debug\Static"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "client"
-# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT BASE CPP /YX
-# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D TAO_HAS_DLL=0 /D __ACE_INLINE__=0 /D ACE_HAS_DLL=0 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace"
-# ADD LINK32 acesd.lib TAOsd.lib advapi32.lib user32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Time Client Static - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "client\Static Release"
-# PROP BASE Intermediate_Dir "client\Static Release"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "client"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release\Static"
-# PROP Intermediate_Dir "Release\Static"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "client"
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT BASE CPP /YX
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D ACE_HAS_DLL=0 /D TAO_HAS_DLL=0 /D __ACE_INLINE__=0 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace"
-# ADD LINK32 aces.lib TAOs.lib advapi32.lib user32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Simple Time Client Static - Win32 Debug"
-# Name "Simple Time Client Static - Win32 Release"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Client_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\TimeC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\TimeS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
-# Begin Source File
-
-SOURCE=.\Client_i.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ".idl"
-# Begin Source File
-
-SOURCE=.\Time.idl
-
-!IF "$(CFG)" == "Simple Time Client Static - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\tao_idl\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Time Client Static - Win32 Release"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\tao_idl\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simple/time/run_test.pl b/TAO/examples/Simple/time/run_test.pl
deleted file mode 100755
index f8e172df475..00000000000
--- a/TAO/examples/Simple/time/run_test.pl
+++ /dev/null
@@ -1,23 +0,0 @@
-#$Id$
-# -*- perl -*-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-unshift @INC, '../../../../bin';
-require ACEutils;
-require Process;
-
-$iorfile = "time.ior";
-
-$SV = Process::Create ("server$Process::EXE_EXT", "-o $iorfile ");
-
-ACE::waitforfile ($iorfile);
-
-$status = system ("client$Process::EXE_EXT -f $iorfile -x");
-
-$SV->Kill (); $SV->Wait ();
-
-unlink $iorfile;
-
-exit $status;
diff --git a/TAO/examples/Simple/time/server.cpp b/TAO/examples/Simple/time/server.cpp
deleted file mode 100644
index 6a8d6ea6d63..00000000000
--- a/TAO/examples/Simple/time/server.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// $Id$
-
-#include "Server_i.h"
-
-ACE_RCSID(Time, server, "$Id$")
-
-// This is the main driver program for the time and date server.
-
-int
-main (int argc, char *argv[])
-{
- Server_i server;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\ttime and date server\n\n"));
-
- TAO_TRY
- {
- if (server.init (argc, argv, TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simple/time/server.dsp b/TAO/examples/Simple/time/server.dsp
deleted file mode 100644
index 1837e2ba829..00000000000
--- a/TAO/examples/Simple/time/server.dsp
+++ /dev/null
@@ -1,1151 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Simple Time Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603
-
-CFG=Simple Time Server - Win32 Alpha Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="Simple Time Server - Win32 Alpha Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Simple Time Server - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "Simple Time Server - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE "Simple Time Server - Win32 Alpha Debug" (based on "Win32 (ALPHA) Console Application")
-!MESSAGE "Simple Time Server - Win32 Alpha Release" (based on "Win32 (ALPHA) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-
-!IF "$(CFG)" == "Simple Time Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir ".\server\Release"
-# PROP BASE Intermediate_Dir ".\server\Release"
-# PROP BASE Target_Dir ".\server"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\server"
-CPP=cl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT CPP /YX
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir ".\server\Debug"
-# PROP BASE Intermediate_Dir ".\server\Debug"
-# PROP BASE Target_Dir ".\server"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ".\Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\server"
-CPP=cl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT CPP /YX
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "server\Alpha Debug"
-# PROP BASE Intermediate_Dir "server\Alpha Debug"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "server"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "server"
-CPP=cl.exe
-# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\..\\ /I "..\..\..\..\\ /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT BASE CPP /YX
-# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\..\\ /I "..\..\..\..\\ /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /MDd /c
-# SUBTRACT CPP /YX
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 aced.lib TAOd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# ADD LINK32 aced.lib TAOd.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "server\Alpha Release"
-# PROP BASE Intermediate_Dir "server\Alpha Release"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "server"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "server"
-CPP=cl.exe
-# ADD BASE CPP /nologo /Gt0 /W3 /GX /O2 /I "..\..\..\\ /I "..\..\..\..\\ /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT BASE CPP /YX
-# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I "..\..\..\\ /I "..\..\..\..\\ /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c
-# SUBTRACT CPP /YX
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 ace.lib TAO.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-# ADD LINK32 ace.lib TAO.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Simple Time Server - Win32 Release"
-# Name "Simple Time Server - Win32 Debug"
-# Name "Simple Time Server - Win32 Alpha Debug"
-# Name "Simple Time Server - Win32 Alpha Release"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
-# Begin Source File
-
-SOURCE=.\server.cpp
-
-!IF "$(CFG)" == "Simple Time Server - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug"
-
-DEP_CPP_SERVE=\
- "..\..\..\..\ace\Acceptor.cpp"\
- "..\..\..\..\ace\Acceptor.h"\
- "..\..\..\..\ace\Acceptor.i"\
- "..\..\..\..\ace\ACE.h"\
- "..\..\..\..\ace\ACE.i"\
- "..\..\..\..\ace\Addr.h"\
- "..\..\..\..\ace\Addr.i"\
- "..\..\..\..\ace\Atomic_Op.i"\
- "..\..\..\..\ace\Auto_Ptr.cpp"\
- "..\..\..\..\ace\Auto_Ptr.h"\
- "..\..\..\..\ace\Auto_Ptr.i"\
- "..\..\..\..\ace\Basic_Types.h"\
- "..\..\..\..\ace\Basic_Types.i"\
- "..\..\..\..\ace\config-win32-borland.h"\
- "..\..\..\..\ace\config-win32-common.h"\
- "..\..\..\..\ace\config-win32.h"\
- "..\..\..\..\ace\config-WinCE.h"\
- "..\..\..\..\ace\config.h"\
- "..\..\..\..\ace\Connector.cpp"\
- "..\..\..\..\ace\Connector.h"\
- "..\..\..\..\ace\Connector.i"\
- "..\..\..\..\ace\Containers.cpp"\
- "..\..\..\..\ace\Containers.h"\
- "..\..\..\..\ace\Containers.i"\
- "..\..\..\..\ace\Dynamic.h"\
- "..\..\..\..\ace\Dynamic.i"\
- "..\..\..\..\ace\Dynamic_Service.cpp"\
- "..\..\..\..\ace\Dynamic_Service.h"\
- "..\..\..\..\ace\Event_Handler.h"\
- "..\..\..\..\ace\Event_Handler.i"\
- "..\..\..\..\ace\Free_List.cpp"\
- "..\..\..\..\ace\Free_List.h"\
- "..\..\..\..\ace\Free_List.i"\
- "..\..\..\..\ace\Get_Opt.h"\
- "..\..\..\..\ace\Get_Opt.i"\
- "..\..\..\..\ace\Handle_Set.h"\
- "..\..\..\..\ace\Handle_Set.i"\
- "..\..\..\..\ace\Hash_Map_Manager.cpp"\
- "..\..\..\..\ace\Hash_Map_Manager.h"\
- "..\..\..\..\ace\inc_user_config.h"\
- "..\..\..\..\ace\INET_Addr.h"\
- "..\..\..\..\ace\INET_Addr.i"\
- "..\..\..\..\ace\IO_Cntl_Msg.h"\
- "..\..\..\..\ace\iosfwd.h"\
- "..\..\..\..\ace\IPC_SAP.h"\
- "..\..\..\..\ace\IPC_SAP.i"\
- "..\..\..\..\ace\Log_Msg.h"\
- "..\..\..\..\ace\Log_Priority.h"\
- "..\..\..\..\ace\Log_Record.h"\
- "..\..\..\..\ace\Log_Record.i"\
- "..\..\..\..\ace\Malloc.h"\
- "..\..\..\..\ace\Malloc.i"\
- "..\..\..\..\ace\Malloc_Base.h"\
- "..\..\..\..\ace\Malloc_T.cpp"\
- "..\..\..\..\ace\Malloc_T.h"\
- "..\..\..\..\ace\Malloc_T.i"\
- "..\..\..\..\ace\Managed_Object.cpp"\
- "..\..\..\..\ace\Managed_Object.h"\
- "..\..\..\..\ace\Managed_Object.i"\
- "..\..\..\..\ace\Map_Manager.cpp"\
- "..\..\..\..\ace\Map_Manager.h"\
- "..\..\..\..\ace\Map_Manager.i"\
- "..\..\..\..\ace\Mem_Map.h"\
- "..\..\..\..\ace\Mem_Map.i"\
- "..\..\..\..\ace\Memory_Pool.h"\
- "..\..\..\..\ace\Memory_Pool.i"\
- "..\..\..\..\ace\Message_Block.h"\
- "..\..\..\..\ace\Message_Block.i"\
- "..\..\..\..\ace\Message_Queue.h"\
- "..\..\..\..\ace\Message_Queue.i"\
- "..\..\..\..\ace\Message_Queue_T.cpp"\
- "..\..\..\..\ace\Message_Queue_T.h"\
- "..\..\..\..\ace\Message_Queue_T.i"\
- "..\..\..\..\ace\Module.cpp"\
- "..\..\..\..\ace\Module.h"\
- "..\..\..\..\ace\Module.i"\
- "..\..\..\..\ace\Object_Manager.h"\
- "..\..\..\..\ace\Object_Manager.i"\
- "..\..\..\..\ace\OS.h"\
- "..\..\..\..\ace\OS.i"\
- "..\..\..\..\ace\Reactor.h"\
- "..\..\..\..\ace\Reactor.i"\
- "..\..\..\..\ace\Reactor_Impl.h"\
- "..\..\..\..\ace\Service_Config.h"\
- "..\..\..\..\ace\Service_Config.i"\
- "..\..\..\..\ace\Service_Object.h"\
- "..\..\..\..\ace\Service_Object.i"\
- "..\..\..\..\ace\Service_Repository.h"\
- "..\..\..\..\ace\Service_Repository.i"\
- "..\..\..\..\ace\Service_Types.h"\
- "..\..\..\..\ace\Service_Types.i"\
- "..\..\..\..\ace\Shared_Object.h"\
- "..\..\..\..\ace\Shared_Object.i"\
- "..\..\..\..\ace\Signal.h"\
- "..\..\..\..\ace\Signal.i"\
- "..\..\..\..\ace\Singleton.cpp"\
- "..\..\..\..\ace\Singleton.h"\
- "..\..\..\..\ace\Singleton.i"\
- "..\..\..\..\ace\SOCK.h"\
- "..\..\..\..\ace\SOCK.i"\
- "..\..\..\..\ace\SOCK_Acceptor.h"\
- "..\..\..\..\ace\SOCK_Acceptor.i"\
- "..\..\..\..\ace\SOCK_Connector.h"\
- "..\..\..\..\ace\SOCK_Connector.i"\
- "..\..\..\..\ace\SOCK_IO.h"\
- "..\..\..\..\ace\SOCK_IO.i"\
- "..\..\..\..\ace\SOCK_Stream.h"\
- "..\..\..\..\ace\SOCK_Stream.i"\
- "..\..\..\..\ace\SString.h"\
- "..\..\..\..\ace\SString.i"\
- "..\..\..\..\ace\Strategies.h"\
- "..\..\..\..\ace\Strategies.i"\
- "..\..\..\..\ace\Strategies_T.cpp"\
- "..\..\..\..\ace\Strategies_T.h"\
- "..\..\..\..\ace\Strategies_T.i"\
- "..\..\..\..\ace\Stream_Modules.cpp"\
- "..\..\..\..\ace\Stream_Modules.h"\
- "..\..\..\..\ace\Stream_Modules.i"\
- "..\..\..\..\ace\streams.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.i"\
- "..\..\..\..\ace\SV_Semaphore_Simple.h"\
- "..\..\..\..\ace\SV_Semaphore_Simple.i"\
- "..\..\..\..\ace\Svc_Conf_Tokens.h"\
- "..\..\..\..\ace\Svc_Handler.cpp"\
- "..\..\..\..\ace\Svc_Handler.h"\
- "..\..\..\..\ace\Svc_Handler.i"\
- "..\..\..\..\ace\Synch.h"\
- "..\..\..\..\ace\Synch.i"\
- "..\..\..\..\ace\Synch_Options.h"\
- "..\..\..\..\ace\Synch_Options.i"\
- "..\..\..\..\ace\Synch_T.cpp"\
- "..\..\..\..\ace\Synch_T.h"\
- "..\..\..\..\ace\Synch_T.i"\
- "..\..\..\..\ace\Task.h"\
- "..\..\..\..\ace\Task.i"\
- "..\..\..\..\ace\Task_T.cpp"\
- "..\..\..\..\ace\Task_T.h"\
- "..\..\..\..\ace\Task_T.i"\
- "..\..\..\..\ace\Thread.h"\
- "..\..\..\..\ace\Thread.i"\
- "..\..\..\..\ace\Thread_Manager.h"\
- "..\..\..\..\ace\Thread_Manager.i"\
- "..\..\..\..\ace\Time_Value.h"\
- "..\..\..\..\ace\Timer_Queue.h"\
- "..\..\..\..\ace\Timer_Queue_T.cpp"\
- "..\..\..\..\ace\Timer_Queue_T.h"\
- "..\..\..\..\ace\Timer_Queue_T.i"\
- "..\..\..\..\ace\Trace.h"\
- "..\..\..\..\ace\WFMO_Reactor.h"\
- "..\..\..\..\ace\WFMO_Reactor.i"\
- "..\..\..\..\ace\ws2tcpip.h"\
- "..\..\..\tao\Align.h"\
- "..\..\..\tao\Any.h"\
- "..\..\..\tao\Any.i"\
- "..\..\..\tao\CDR.h"\
- "..\..\..\tao\CDR.i"\
- "..\..\..\tao\Client_Strategy_Factory.h"\
- "..\..\..\tao\Connect.h"\
- "..\..\..\tao\Connect.i"\
- "..\..\..\tao\corba.h"\
- "..\..\..\tao\CurrentC.h"\
- "..\..\..\tao\CurrentC.i"\
- "..\..\..\tao\debug.h"\
- "..\..\..\tao\default_client.h"\
- "..\..\..\tao\default_client.i"\
- "..\..\..\tao\default_server.h"\
- "..\..\..\tao\default_server.i"\
- "..\..\..\tao\Environment.h"\
- "..\..\..\tao\Environment.i"\
- "..\..\..\tao\Exception.h"\
- "..\..\..\tao\Exception.i"\
- "..\..\..\tao\GIOP.h"\
- "..\..\..\tao\GIOP.i"\
- "..\..\..\tao\IIOP_Interpreter.h"\
- "..\..\..\tao\IIOP_Object.h"\
- "..\..\..\tao\IIOP_Object.i"\
- "..\..\..\tao\IIOP_ORB.h"\
- "..\..\..\tao\IIOP_ORB.i"\
- "..\..\..\tao\Invocation.h"\
- "..\..\..\tao\Invocation.i"\
- "..\..\..\tao\Marshal.h"\
- "..\..\..\tao\Marshal.i"\
- "..\..\..\tao\NVList.h"\
- "..\..\..\tao\NVList.i"\
- "..\..\..\tao\Object.h"\
- "..\..\..\tao\Object.i"\
- "..\..\..\tao\Object_KeyC.h"\
- "..\..\..\tao\Object_KeyC.i"\
- "..\..\..\tao\Object_Table.h"\
- "..\..\..\tao\Operation_Table.h"\
- "..\..\..\tao\ORB.h"\
- "..\..\..\tao\ORB.i"\
- "..\..\..\tao\ORB_Core.h"\
- "..\..\..\tao\ORB_Core.i"\
- "..\..\..\tao\ORB_Strategies_T.cpp"\
- "..\..\..\tao\ORB_Strategies_T.h"\
- "..\..\..\tao\ORB_Strategies_T.i"\
- "..\..\..\tao\orbconf.h"\
- "..\..\..\tao\params.h"\
- "..\..\..\tao\params.i"\
- "..\..\..\tao\POA.h"\
- "..\..\..\tao\POA.i"\
- "..\..\..\tao\POA_CORBA.h"\
- "..\..\..\tao\poa_macros.h"\
- "..\..\..\tao\POAC.h"\
- "..\..\..\tao\POAC.i"\
- "..\..\..\tao\POAS.h"\
- "..\..\..\tao\POAS.i"\
- "..\..\..\tao\PolicyC.h"\
- "..\..\..\tao\PolicyC.i"\
- "..\..\..\tao\Principal.h"\
- "..\..\..\tao\Principal.i"\
- "..\..\..\tao\Request.h"\
- "..\..\..\tao\Request.i"\
- "..\..\..\tao\Sequence.h"\
- "..\..\..\tao\Sequence.i"\
- "..\..\..\tao\Sequence_T.cpp"\
- "..\..\..\tao\Sequence_T.h"\
- "..\..\..\tao\Sequence_T.i"\
- "..\..\..\tao\Servant_Base.h"\
- "..\..\..\tao\Server_Request.h"\
- "..\..\..\tao\Server_Request.i"\
- "..\..\..\tao\Server_Strategy_Factory.h"\
- "..\..\..\tao\singletons.h"\
- "..\..\..\tao\Stub.h"\
- "..\..\..\tao\Stub.i"\
- "..\..\..\tao\TAO.h"\
- "..\..\..\tao\Typecode.h"\
- "..\..\..\tao\Typecode.i"\
- "..\..\..\tao\Union.h"\
- "..\..\..\tao\varout.cpp"\
- "..\..\..\tao\varout.h"\
- "..\..\..\tao\varout.i"\
-
-NODEP_CPP_SERVE=\
- "..\..\..\..\ace\sys_conf.h"\
- ".\Server_impl.h"\
- ".\Time_impl.h"\
- ".\TimeC.h"\
- ".\TimeC.i"\
- ".\TimeS.h"\
- ".\TimeS.i"\
- ".\TimeS_T.cpp"\
- ".\TimeS_T.h"\
- ".\TimeS_T.i"\
-
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\Server_i.cpp
-
-!IF "$(CFG)" == "Simple Time Server - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\Time_i.cpp
-
-!IF "$(CFG)" == "Simple Time Server - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\TimeC.cpp
-
-!IF "$(CFG)" == "Simple Time Server - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug"
-
-DEP_CPP_TIMEC=\
- "..\..\..\..\ace\Acceptor.cpp"\
- "..\..\..\..\ace\Acceptor.h"\
- "..\..\..\..\ace\Acceptor.i"\
- "..\..\..\..\ace\ACE.h"\
- "..\..\..\..\ace\ACE.i"\
- "..\..\..\..\ace\Addr.h"\
- "..\..\..\..\ace\Addr.i"\
- "..\..\..\..\ace\Atomic_Op.i"\
- "..\..\..\..\ace\Auto_Ptr.cpp"\
- "..\..\..\..\ace\Auto_Ptr.h"\
- "..\..\..\..\ace\Auto_Ptr.i"\
- "..\..\..\..\ace\Basic_Types.h"\
- "..\..\..\..\ace\Basic_Types.i"\
- "..\..\..\..\ace\config-win32-borland.h"\
- "..\..\..\..\ace\config-win32-common.h"\
- "..\..\..\..\ace\config-win32.h"\
- "..\..\..\..\ace\config-WinCE.h"\
- "..\..\..\..\ace\config.h"\
- "..\..\..\..\ace\Connector.cpp"\
- "..\..\..\..\ace\Connector.h"\
- "..\..\..\..\ace\Connector.i"\
- "..\..\..\..\ace\Containers.cpp"\
- "..\..\..\..\ace\Containers.h"\
- "..\..\..\..\ace\Containers.i"\
- "..\..\..\..\ace\Dynamic.h"\
- "..\..\..\..\ace\Dynamic.i"\
- "..\..\..\..\ace\Dynamic_Service.cpp"\
- "..\..\..\..\ace\Dynamic_Service.h"\
- "..\..\..\..\ace\Event_Handler.h"\
- "..\..\..\..\ace\Event_Handler.i"\
- "..\..\..\..\ace\Free_List.cpp"\
- "..\..\..\..\ace\Free_List.h"\
- "..\..\..\..\ace\Free_List.i"\
- "..\..\..\..\ace\Get_Opt.h"\
- "..\..\..\..\ace\Get_Opt.i"\
- "..\..\..\..\ace\Handle_Set.h"\
- "..\..\..\..\ace\Handle_Set.i"\
- "..\..\..\..\ace\Hash_Map_Manager.cpp"\
- "..\..\..\..\ace\Hash_Map_Manager.h"\
- "..\..\..\..\ace\inc_user_config.h"\
- "..\..\..\..\ace\INET_Addr.h"\
- "..\..\..\..\ace\INET_Addr.i"\
- "..\..\..\..\ace\IO_Cntl_Msg.h"\
- "..\..\..\..\ace\iosfwd.h"\
- "..\..\..\..\ace\IPC_SAP.h"\
- "..\..\..\..\ace\IPC_SAP.i"\
- "..\..\..\..\ace\Log_Msg.h"\
- "..\..\..\..\ace\Log_Priority.h"\
- "..\..\..\..\ace\Log_Record.h"\
- "..\..\..\..\ace\Log_Record.i"\
- "..\..\..\..\ace\Malloc.h"\
- "..\..\..\..\ace\Malloc.i"\
- "..\..\..\..\ace\Malloc_Base.h"\
- "..\..\..\..\ace\Malloc_T.cpp"\
- "..\..\..\..\ace\Malloc_T.h"\
- "..\..\..\..\ace\Malloc_T.i"\
- "..\..\..\..\ace\Managed_Object.cpp"\
- "..\..\..\..\ace\Managed_Object.h"\
- "..\..\..\..\ace\Managed_Object.i"\
- "..\..\..\..\ace\Map_Manager.cpp"\
- "..\..\..\..\ace\Map_Manager.h"\
- "..\..\..\..\ace\Map_Manager.i"\
- "..\..\..\..\ace\Mem_Map.h"\
- "..\..\..\..\ace\Mem_Map.i"\
- "..\..\..\..\ace\Memory_Pool.h"\
- "..\..\..\..\ace\Memory_Pool.i"\
- "..\..\..\..\ace\Message_Block.h"\
- "..\..\..\..\ace\Message_Block.i"\
- "..\..\..\..\ace\Message_Queue.h"\
- "..\..\..\..\ace\Message_Queue.i"\
- "..\..\..\..\ace\Message_Queue_T.cpp"\
- "..\..\..\..\ace\Message_Queue_T.h"\
- "..\..\..\..\ace\Message_Queue_T.i"\
- "..\..\..\..\ace\Module.cpp"\
- "..\..\..\..\ace\Module.h"\
- "..\..\..\..\ace\Module.i"\
- "..\..\..\..\ace\Object_Manager.h"\
- "..\..\..\..\ace\Object_Manager.i"\
- "..\..\..\..\ace\OS.h"\
- "..\..\..\..\ace\OS.i"\
- "..\..\..\..\ace\Reactor.h"\
- "..\..\..\..\ace\Reactor.i"\
- "..\..\..\..\ace\Reactor_Impl.h"\
- "..\..\..\..\ace\Service_Config.h"\
- "..\..\..\..\ace\Service_Config.i"\
- "..\..\..\..\ace\Service_Object.h"\
- "..\..\..\..\ace\Service_Object.i"\
- "..\..\..\..\ace\Service_Repository.h"\
- "..\..\..\..\ace\Service_Repository.i"\
- "..\..\..\..\ace\Service_Types.h"\
- "..\..\..\..\ace\Service_Types.i"\
- "..\..\..\..\ace\Shared_Object.h"\
- "..\..\..\..\ace\Shared_Object.i"\
- "..\..\..\..\ace\Signal.h"\
- "..\..\..\..\ace\Signal.i"\
- "..\..\..\..\ace\Singleton.cpp"\
- "..\..\..\..\ace\Singleton.h"\
- "..\..\..\..\ace\Singleton.i"\
- "..\..\..\..\ace\SOCK.h"\
- "..\..\..\..\ace\SOCK.i"\
- "..\..\..\..\ace\SOCK_Acceptor.h"\
- "..\..\..\..\ace\SOCK_Acceptor.i"\
- "..\..\..\..\ace\SOCK_Connector.h"\
- "..\..\..\..\ace\SOCK_Connector.i"\
- "..\..\..\..\ace\SOCK_IO.h"\
- "..\..\..\..\ace\SOCK_IO.i"\
- "..\..\..\..\ace\SOCK_Stream.h"\
- "..\..\..\..\ace\SOCK_Stream.i"\
- "..\..\..\..\ace\SString.h"\
- "..\..\..\..\ace\SString.i"\
- "..\..\..\..\ace\Strategies.h"\
- "..\..\..\..\ace\Strategies.i"\
- "..\..\..\..\ace\Strategies_T.cpp"\
- "..\..\..\..\ace\Strategies_T.h"\
- "..\..\..\..\ace\Strategies_T.i"\
- "..\..\..\..\ace\Stream_Modules.cpp"\
- "..\..\..\..\ace\Stream_Modules.h"\
- "..\..\..\..\ace\Stream_Modules.i"\
- "..\..\..\..\ace\streams.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.i"\
- "..\..\..\..\ace\SV_Semaphore_Simple.h"\
- "..\..\..\..\ace\SV_Semaphore_Simple.i"\
- "..\..\..\..\ace\Svc_Conf_Tokens.h"\
- "..\..\..\..\ace\Svc_Handler.cpp"\
- "..\..\..\..\ace\Svc_Handler.h"\
- "..\..\..\..\ace\Svc_Handler.i"\
- "..\..\..\..\ace\Synch.h"\
- "..\..\..\..\ace\Synch.i"\
- "..\..\..\..\ace\Synch_Options.h"\
- "..\..\..\..\ace\Synch_Options.i"\
- "..\..\..\..\ace\Synch_T.cpp"\
- "..\..\..\..\ace\Synch_T.h"\
- "..\..\..\..\ace\Synch_T.i"\
- "..\..\..\..\ace\Task.h"\
- "..\..\..\..\ace\Task.i"\
- "..\..\..\..\ace\Task_T.cpp"\
- "..\..\..\..\ace\Task_T.h"\
- "..\..\..\..\ace\Task_T.i"\
- "..\..\..\..\ace\Thread.h"\
- "..\..\..\..\ace\Thread.i"\
- "..\..\..\..\ace\Thread_Manager.h"\
- "..\..\..\..\ace\Thread_Manager.i"\
- "..\..\..\..\ace\Time_Value.h"\
- "..\..\..\..\ace\Timer_Queue.h"\
- "..\..\..\..\ace\Timer_Queue_T.cpp"\
- "..\..\..\..\ace\Timer_Queue_T.h"\
- "..\..\..\..\ace\Timer_Queue_T.i"\
- "..\..\..\..\ace\Trace.h"\
- "..\..\..\..\ace\WFMO_Reactor.h"\
- "..\..\..\..\ace\WFMO_Reactor.i"\
- "..\..\..\..\ace\ws2tcpip.h"\
- "..\..\..\tao\Align.h"\
- "..\..\..\tao\Any.h"\
- "..\..\..\tao\Any.i"\
- "..\..\..\tao\CDR.h"\
- "..\..\..\tao\CDR.i"\
- "..\..\..\tao\Client_Strategy_Factory.h"\
- "..\..\..\tao\Connect.h"\
- "..\..\..\tao\Connect.i"\
- "..\..\..\tao\corba.h"\
- "..\..\..\tao\CurrentC.h"\
- "..\..\..\tao\CurrentC.i"\
- "..\..\..\tao\debug.h"\
- "..\..\..\tao\default_client.h"\
- "..\..\..\tao\default_client.i"\
- "..\..\..\tao\default_server.h"\
- "..\..\..\tao\default_server.i"\
- "..\..\..\tao\Environment.h"\
- "..\..\..\tao\Environment.i"\
- "..\..\..\tao\Exception.h"\
- "..\..\..\tao\Exception.i"\
- "..\..\..\tao\GIOP.h"\
- "..\..\..\tao\GIOP.i"\
- "..\..\..\tao\IIOP_Interpreter.h"\
- "..\..\..\tao\IIOP_Object.h"\
- "..\..\..\tao\IIOP_Object.i"\
- "..\..\..\tao\IIOP_ORB.h"\
- "..\..\..\tao\IIOP_ORB.i"\
- "..\..\..\tao\Invocation.h"\
- "..\..\..\tao\Invocation.i"\
- "..\..\..\tao\Marshal.h"\
- "..\..\..\tao\Marshal.i"\
- "..\..\..\tao\NVList.h"\
- "..\..\..\tao\NVList.i"\
- "..\..\..\tao\Object.h"\
- "..\..\..\tao\Object.i"\
- "..\..\..\tao\Object_KeyC.h"\
- "..\..\..\tao\Object_KeyC.i"\
- "..\..\..\tao\Object_Table.h"\
- "..\..\..\tao\Operation_Table.h"\
- "..\..\..\tao\ORB.h"\
- "..\..\..\tao\ORB.i"\
- "..\..\..\tao\ORB_Core.h"\
- "..\..\..\tao\ORB_Core.i"\
- "..\..\..\tao\ORB_Strategies_T.cpp"\
- "..\..\..\tao\ORB_Strategies_T.h"\
- "..\..\..\tao\ORB_Strategies_T.i"\
- "..\..\..\tao\orbconf.h"\
- "..\..\..\tao\params.h"\
- "..\..\..\tao\params.i"\
- "..\..\..\tao\POA.h"\
- "..\..\..\tao\POA.i"\
- "..\..\..\tao\POA_CORBA.h"\
- "..\..\..\tao\poa_macros.h"\
- "..\..\..\tao\POAC.h"\
- "..\..\..\tao\POAC.i"\
- "..\..\..\tao\POAS.h"\
- "..\..\..\tao\POAS.i"\
- "..\..\..\tao\PolicyC.h"\
- "..\..\..\tao\PolicyC.i"\
- "..\..\..\tao\Principal.h"\
- "..\..\..\tao\Principal.i"\
- "..\..\..\tao\Request.h"\
- "..\..\..\tao\Request.i"\
- "..\..\..\tao\Sequence.h"\
- "..\..\..\tao\Sequence.i"\
- "..\..\..\tao\Sequence_T.cpp"\
- "..\..\..\tao\Sequence_T.h"\
- "..\..\..\tao\Sequence_T.i"\
- "..\..\..\tao\Servant_Base.h"\
- "..\..\..\tao\Server_Request.h"\
- "..\..\..\tao\Server_Request.i"\
- "..\..\..\tao\Server_Strategy_Factory.h"\
- "..\..\..\tao\singletons.h"\
- "..\..\..\tao\Stub.h"\
- "..\..\..\tao\Stub.i"\
- "..\..\..\tao\Typecode.h"\
- "..\..\..\tao\Typecode.i"\
- "..\..\..\tao\Union.h"\
- "..\..\..\tao\varout.cpp"\
- "..\..\..\tao\varout.h"\
- "..\..\..\tao\varout.i"\
-
-NODEP_CPP_TIMEC=\
- "..\..\..\..\ace\sys_conf.h"\
- ".\TimeC.h"\
- ".\TimeC.i"\
- ".\TimeS.h"\
- ".\TimeS.i"\
- ".\TimeS_T.cpp"\
- ".\TimeS_T.h"\
- ".\TimeS_T.i"\
-
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\TimeS.cpp
-
-!IF "$(CFG)" == "Simple Time Server - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug"
-
-DEP_CPP_TIMES=\
- "..\..\..\..\ace\Acceptor.cpp"\
- "..\..\..\..\ace\Acceptor.h"\
- "..\..\..\..\ace\Acceptor.i"\
- "..\..\..\..\ace\ACE.h"\
- "..\..\..\..\ace\ACE.i"\
- "..\..\..\..\ace\Addr.h"\
- "..\..\..\..\ace\Addr.i"\
- "..\..\..\..\ace\Atomic_Op.i"\
- "..\..\..\..\ace\Auto_Ptr.cpp"\
- "..\..\..\..\ace\Auto_Ptr.h"\
- "..\..\..\..\ace\Auto_Ptr.i"\
- "..\..\..\..\ace\Basic_Types.h"\
- "..\..\..\..\ace\Basic_Types.i"\
- "..\..\..\..\ace\config-win32-borland.h"\
- "..\..\..\..\ace\config-win32-common.h"\
- "..\..\..\..\ace\config-win32.h"\
- "..\..\..\..\ace\config-WinCE.h"\
- "..\..\..\..\ace\config.h"\
- "..\..\..\..\ace\Connector.cpp"\
- "..\..\..\..\ace\Connector.h"\
- "..\..\..\..\ace\Connector.i"\
- "..\..\..\..\ace\Containers.cpp"\
- "..\..\..\..\ace\Containers.h"\
- "..\..\..\..\ace\Containers.i"\
- "..\..\..\..\ace\Dynamic.h"\
- "..\..\..\..\ace\Dynamic.i"\
- "..\..\..\..\ace\Dynamic_Service.cpp"\
- "..\..\..\..\ace\Dynamic_Service.h"\
- "..\..\..\..\ace\Event_Handler.h"\
- "..\..\..\..\ace\Event_Handler.i"\
- "..\..\..\..\ace\Free_List.cpp"\
- "..\..\..\..\ace\Free_List.h"\
- "..\..\..\..\ace\Free_List.i"\
- "..\..\..\..\ace\Get_Opt.h"\
- "..\..\..\..\ace\Get_Opt.i"\
- "..\..\..\..\ace\Handle_Set.h"\
- "..\..\..\..\ace\Handle_Set.i"\
- "..\..\..\..\ace\Hash_Map_Manager.cpp"\
- "..\..\..\..\ace\Hash_Map_Manager.h"\
- "..\..\..\..\ace\inc_user_config.h"\
- "..\..\..\..\ace\INET_Addr.h"\
- "..\..\..\..\ace\INET_Addr.i"\
- "..\..\..\..\ace\IO_Cntl_Msg.h"\
- "..\..\..\..\ace\iosfwd.h"\
- "..\..\..\..\ace\IPC_SAP.h"\
- "..\..\..\..\ace\IPC_SAP.i"\
- "..\..\..\..\ace\Log_Msg.h"\
- "..\..\..\..\ace\Log_Priority.h"\
- "..\..\..\..\ace\Log_Record.h"\
- "..\..\..\..\ace\Log_Record.i"\
- "..\..\..\..\ace\Malloc.h"\
- "..\..\..\..\ace\Malloc.i"\
- "..\..\..\..\ace\Malloc_Base.h"\
- "..\..\..\..\ace\Malloc_T.cpp"\
- "..\..\..\..\ace\Malloc_T.h"\
- "..\..\..\..\ace\Malloc_T.i"\
- "..\..\..\..\ace\Managed_Object.cpp"\
- "..\..\..\..\ace\Managed_Object.h"\
- "..\..\..\..\ace\Managed_Object.i"\
- "..\..\..\..\ace\Map_Manager.cpp"\
- "..\..\..\..\ace\Map_Manager.h"\
- "..\..\..\..\ace\Map_Manager.i"\
- "..\..\..\..\ace\Mem_Map.h"\
- "..\..\..\..\ace\Mem_Map.i"\
- "..\..\..\..\ace\Memory_Pool.h"\
- "..\..\..\..\ace\Memory_Pool.i"\
- "..\..\..\..\ace\Message_Block.h"\
- "..\..\..\..\ace\Message_Block.i"\
- "..\..\..\..\ace\Message_Queue.h"\
- "..\..\..\..\ace\Message_Queue.i"\
- "..\..\..\..\ace\Message_Queue_T.cpp"\
- "..\..\..\..\ace\Message_Queue_T.h"\
- "..\..\..\..\ace\Message_Queue_T.i"\
- "..\..\..\..\ace\Module.cpp"\
- "..\..\..\..\ace\Module.h"\
- "..\..\..\..\ace\Module.i"\
- "..\..\..\..\ace\Object_Manager.h"\
- "..\..\..\..\ace\Object_Manager.i"\
- "..\..\..\..\ace\OS.h"\
- "..\..\..\..\ace\OS.i"\
- "..\..\..\..\ace\Reactor.h"\
- "..\..\..\..\ace\Reactor.i"\
- "..\..\..\..\ace\Reactor_Impl.h"\
- "..\..\..\..\ace\Service_Config.h"\
- "..\..\..\..\ace\Service_Config.i"\
- "..\..\..\..\ace\Service_Object.h"\
- "..\..\..\..\ace\Service_Object.i"\
- "..\..\..\..\ace\Service_Repository.h"\
- "..\..\..\..\ace\Service_Repository.i"\
- "..\..\..\..\ace\Service_Types.h"\
- "..\..\..\..\ace\Service_Types.i"\
- "..\..\..\..\ace\Shared_Object.h"\
- "..\..\..\..\ace\Shared_Object.i"\
- "..\..\..\..\ace\Signal.h"\
- "..\..\..\..\ace\Signal.i"\
- "..\..\..\..\ace\Singleton.cpp"\
- "..\..\..\..\ace\Singleton.h"\
- "..\..\..\..\ace\Singleton.i"\
- "..\..\..\..\ace\SOCK.h"\
- "..\..\..\..\ace\SOCK.i"\
- "..\..\..\..\ace\SOCK_Acceptor.h"\
- "..\..\..\..\ace\SOCK_Acceptor.i"\
- "..\..\..\..\ace\SOCK_Connector.h"\
- "..\..\..\..\ace\SOCK_Connector.i"\
- "..\..\..\..\ace\SOCK_IO.h"\
- "..\..\..\..\ace\SOCK_IO.i"\
- "..\..\..\..\ace\SOCK_Stream.h"\
- "..\..\..\..\ace\SOCK_Stream.i"\
- "..\..\..\..\ace\SString.h"\
- "..\..\..\..\ace\SString.i"\
- "..\..\..\..\ace\Strategies.h"\
- "..\..\..\..\ace\Strategies.i"\
- "..\..\..\..\ace\Strategies_T.cpp"\
- "..\..\..\..\ace\Strategies_T.h"\
- "..\..\..\..\ace\Strategies_T.i"\
- "..\..\..\..\ace\Stream_Modules.cpp"\
- "..\..\..\..\ace\Stream_Modules.h"\
- "..\..\..\..\ace\Stream_Modules.i"\
- "..\..\..\..\ace\streams.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.h"\
- "..\..\..\..\ace\SV_Semaphore_Complex.i"\
- "..\..\..\..\ace\SV_Semaphore_Simple.h"\
- "..\..\..\..\ace\SV_Semaphore_Simple.i"\
- "..\..\..\..\ace\Svc_Conf_Tokens.h"\
- "..\..\..\..\ace\Svc_Handler.cpp"\
- "..\..\..\..\ace\Svc_Handler.h"\
- "..\..\..\..\ace\Svc_Handler.i"\
- "..\..\..\..\ace\Synch.h"\
- "..\..\..\..\ace\Synch.i"\
- "..\..\..\..\ace\Synch_Options.h"\
- "..\..\..\..\ace\Synch_Options.i"\
- "..\..\..\..\ace\Synch_T.cpp"\
- "..\..\..\..\ace\Synch_T.h"\
- "..\..\..\..\ace\Synch_T.i"\
- "..\..\..\..\ace\Task.h"\
- "..\..\..\..\ace\Task.i"\
- "..\..\..\..\ace\Task_T.cpp"\
- "..\..\..\..\ace\Task_T.h"\
- "..\..\..\..\ace\Task_T.i"\
- "..\..\..\..\ace\Thread.h"\
- "..\..\..\..\ace\Thread.i"\
- "..\..\..\..\ace\Thread_Manager.h"\
- "..\..\..\..\ace\Thread_Manager.i"\
- "..\..\..\..\ace\Time_Value.h"\
- "..\..\..\..\ace\Timer_Queue.h"\
- "..\..\..\..\ace\Timer_Queue_T.cpp"\
- "..\..\..\..\ace\Timer_Queue_T.h"\
- "..\..\..\..\ace\Timer_Queue_T.i"\
- "..\..\..\..\ace\Trace.h"\
- "..\..\..\..\ace\WFMO_Reactor.h"\
- "..\..\..\..\ace\WFMO_Reactor.i"\
- "..\..\..\..\ace\ws2tcpip.h"\
- "..\..\..\tao\Align.h"\
- "..\..\..\tao\Any.h"\
- "..\..\..\tao\Any.i"\
- "..\..\..\tao\CDR.h"\
- "..\..\..\tao\CDR.i"\
- "..\..\..\tao\Client_Strategy_Factory.h"\
- "..\..\..\tao\Connect.h"\
- "..\..\..\tao\Connect.i"\
- "..\..\..\tao\corba.h"\
- "..\..\..\tao\CurrentC.h"\
- "..\..\..\tao\CurrentC.i"\
- "..\..\..\tao\debug.h"\
- "..\..\..\tao\default_client.h"\
- "..\..\..\tao\default_client.i"\
- "..\..\..\tao\default_server.h"\
- "..\..\..\tao\default_server.i"\
- "..\..\..\tao\Environment.h"\
- "..\..\..\tao\Environment.i"\
- "..\..\..\tao\Exception.h"\
- "..\..\..\tao\Exception.i"\
- "..\..\..\tao\GIOP.h"\
- "..\..\..\tao\GIOP.i"\
- "..\..\..\tao\IIOP_Interpreter.h"\
- "..\..\..\tao\IIOP_Object.h"\
- "..\..\..\tao\IIOP_Object.i"\
- "..\..\..\tao\IIOP_ORB.h"\
- "..\..\..\tao\IIOP_ORB.i"\
- "..\..\..\tao\Invocation.h"\
- "..\..\..\tao\Invocation.i"\
- "..\..\..\tao\Marshal.h"\
- "..\..\..\tao\Marshal.i"\
- "..\..\..\tao\NVList.h"\
- "..\..\..\tao\NVList.i"\
- "..\..\..\tao\Object.h"\
- "..\..\..\tao\Object.i"\
- "..\..\..\tao\Object_KeyC.h"\
- "..\..\..\tao\Object_KeyC.i"\
- "..\..\..\tao\Object_Table.h"\
- "..\..\..\tao\Operation_Table.h"\
- "..\..\..\tao\ORB.h"\
- "..\..\..\tao\ORB.i"\
- "..\..\..\tao\ORB_Core.h"\
- "..\..\..\tao\ORB_Core.i"\
- "..\..\..\tao\ORB_Strategies_T.cpp"\
- "..\..\..\tao\ORB_Strategies_T.h"\
- "..\..\..\tao\ORB_Strategies_T.i"\
- "..\..\..\tao\orbconf.h"\
- "..\..\..\tao\params.h"\
- "..\..\..\tao\params.i"\
- "..\..\..\tao\POA.h"\
- "..\..\..\tao\POA.i"\
- "..\..\..\tao\POA_CORBA.h"\
- "..\..\..\tao\poa_macros.h"\
- "..\..\..\tao\POAC.h"\
- "..\..\..\tao\POAC.i"\
- "..\..\..\tao\POAS.h"\
- "..\..\..\tao\POAS.i"\
- "..\..\..\tao\PolicyC.h"\
- "..\..\..\tao\PolicyC.i"\
- "..\..\..\tao\Principal.h"\
- "..\..\..\tao\Principal.i"\
- "..\..\..\tao\Request.h"\
- "..\..\..\tao\Request.i"\
- "..\..\..\tao\Sequence.h"\
- "..\..\..\tao\Sequence.i"\
- "..\..\..\tao\Sequence_T.cpp"\
- "..\..\..\tao\Sequence_T.h"\
- "..\..\..\tao\Sequence_T.i"\
- "..\..\..\tao\Servant_Base.h"\
- "..\..\..\tao\Server_Request.h"\
- "..\..\..\tao\Server_Request.i"\
- "..\..\..\tao\Server_Strategy_Factory.h"\
- "..\..\..\tao\singletons.h"\
- "..\..\..\tao\Stub.h"\
- "..\..\..\tao\Stub.i"\
- "..\..\..\tao\Typecode.h"\
- "..\..\..\tao\Typecode.i"\
- "..\..\..\tao\Union.h"\
- "..\..\..\tao\varout.cpp"\
- "..\..\..\tao\varout.h"\
- "..\..\..\tao\varout.i"\
-
-NODEP_CPP_TIMES=\
- "..\..\..\..\ace\sys_conf.h"\
- ".\TimeC.h"\
- ".\TimeC.i"\
- ".\TimeS.h"\
- ".\TimeS.i"\
- ".\TimeS_T.cpp"\
- ".\TimeS_T.h"\
- ".\TimeS_T.i"\
-
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
-# Begin Source File
-
-SOURCE=.\Server_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Time_i.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ".idl"
-# Begin Source File
-
-SOURCE=.\Time.idl
-
-!IF "$(CFG)" == "Simple Time Server - Win32 Release"
-
-USERDEP__TIME_="..\..\..\..\bin\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\..\bin\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Debug"
-
-# PROP BASE Ignore_Default_Tool 1
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\tao_idl\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Time Server - Win32 Alpha Release"
-
-USERDEP__TIME_="..\..\..\tao_idl\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simple/time/server_static.dsp b/TAO/examples/Simple/time/server_static.dsp
deleted file mode 100644
index 1902de5ece2..00000000000
--- a/TAO/examples/Simple/time/server_static.dsp
+++ /dev/null
@@ -1,218 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Simple Time Server Static" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Simple Time Server Static - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server_static.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server_static.mak"\
- CFG="Simple Time Server Static - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Simple Time Server Static - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "Simple Time Server Static - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Simple Time Server Static - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "server\Static Debug"
-# PROP BASE Intermediate_Dir "server\Static Debug"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "server"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug\Static"
-# PROP Intermediate_Dir "Debug\Static"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "server"
-# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT BASE CPP /YX
-# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /I "..\..\..\..\\" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D ACE_HAS_DLL=0 /D TAO_HAS_DLL=0 /D __ACE_INLINE__=0 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 aced.lib TAOd.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace"
-# ADD LINK32 acesd.lib TAOsd.lib advapi32.lib user32.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Simple Time Server Static - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "server\Static Release"
-# PROP BASE Intermediate_Dir "server\Static Release"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "server"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release\Static"
-# PROP Intermediate_Dir "Release\Static"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "server"
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /FD /c
-# SUBTRACT BASE CPP /YX
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\..\\" /I "..\..\..\..\\" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D TAO_HAS_DLL=0 /D __ACE_INLINE__=0 /D ACE_HAS_DLL=0 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 ace.lib TAO.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\tao" /libpath:"..\..\..\ace"
-# ADD LINK32 aces.lib TAOs.lib advapi32.lib user32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Simple Time Server Static - Win32 Debug"
-# Name "Simple Time Server Static - Win32 Release"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Server_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Time_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\TimeC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\TimeS.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
-# Begin Source File
-
-SOURCE=.\Server_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Time_i.h
-# End Source File
-# End Group
-# Begin Group "IDL Files"
-
-# PROP Default_Filter ".idl"
-# Begin Source File
-
-SOURCE=.\Time.idl
-
-!IF "$(CFG)" == "Simple Time Server Static - Win32 Debug"
-
-# PROP Ignore_Default_Tool 1
-USERDEP__TIME_="..\..\..\tao_idl\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- ..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ELSEIF "$(CFG)" == "Simple Time Server Static - Win32 Release"
-
-USERDEP__TIME_="..\..\..\tao_idl\Release\tao_idl.exe"
-# Begin Custom Build - Invoking TAO_IDL Compiler
-InputPath=.\Time.idl
-InputName=Time
-
-BuildCmds= \
- ..\..\..\tao_idl\Release\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S_T.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simulator/DOVEBrowser/AnswerEvent.java b/TAO/examples/Simulator/DOVEBrowser/AnswerEvent.java
deleted file mode 100644
index c10ae7d766a..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/AnswerEvent.java
+++ /dev/null
@@ -1,23 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// AnswerEvent.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// Event definition for the Dialog for selecting Observables.
-//
-// ============================================================================
-
-public class AnswerEvent extends java.util.EventObject {
-
- protected String selected_;
-
- public AnswerEvent (Object source, String selected) {
- super (source);
- this.selected_ = selected;
- }
-}
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/AnswerListener.java b/TAO/examples/Simulator/DOVEBrowser/AnswerListener.java
deleted file mode 100644
index 77d43646729..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/AnswerListener.java
+++ /dev/null
@@ -1,18 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// AnswerListener.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// EventListener definition for the Dialog for selecting Observables.
-//
-// ============================================================================
-
-
-public class AnswerListener implements java.util.EventListener {
- public void ok (AnswerEvent e) {}
- public void cancel (AnswerEvent e) {}
-}
diff --git a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html
deleted file mode 100644
index 5502857d548..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<HTML>
-<HEAD>
-<META NAME="DOVEBrowser" Content="DOVE Browser invokation">
-<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
-<TITLE>Document Title</TITLE>
-</HEAD>
-<BODY>
-
-Note: When used with Visibroker, the gatekeeper must run in the DOVEBrowser directory!
-Note: The IORs are different for each machine! So exchange the IORs below.
-
-
-NT Name Service IOR
-<PARAM NAME="NSIOR" VALUE="IOR:010000002000000049444c3a436f734e616d696e672f4e616d696e67436f6e746578743a312e30000100000000000000520000000101000015000000636f727269646f2e63732e777573746c2e65647500003a272e0000005033353265633733313030303537613538526f6f74504f412f6368696c645f706f612f4e616d6553657276696365">
-
-Unix Name ServiceIOR
-<PARAM NAME="NSIOR" VALUE="IOR:000000000000002049444c3a436f734e616d696e672f4e616d696e67436f6e746578743a312e3000000000010000000000000042000100000000000674616e676f00953f0000002e5033353265623733353030306533653133526f6f74504f412f6368696c645f706f612f4e616d6553657276696365">
-
-Use this to run it with the appletviewer and Visibroker
-<param name=org.omg.CORBA.ORBClass value=com.visigenic.vbroker.orb.ORB>
-
-Use this to run it within Netscape
-<param name=USE_ORB_LOCATOR value=true>
-
-<APPLET code="DOVEBrowserApplet.class" width=700 height=600>
-<PARAM NAME="NSIOR" VALUE="IOR:010000002000000049444c3a436f734e616d696e672f4e616d696e67436f6e746578743a312e30000100000000000000520000000101000015000000636f727269646f2e63732e777573746c2e65647500003a272e0000005033353265633733313030303537613538526f6f74504f412f6368696c645f706f612f4e616d6553657276696365">
-</APPLET>
-
-</BODY>
-</HTML>
diff --git a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java
deleted file mode 100644
index 99830e408e7..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowser.java
+++ /dev/null
@@ -1,47 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// DOVEBrowser.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// Entry point for the demo.
-//
-// ============================================================================
-
-
-import java.awt.*;
-
-public class DOVEBrowser {
-
- DemoCore demoCore_;
-
- public DOVEBrowser () {
- super ();
- }
-
- public void init (String nameServiceIOR, String[] args) {
-
- demoCore_ = new DemoCore (nameServiceIOR, args, null);
- demoCore_.show ();
- demoCore_.run ();
- }
-
- public static void main (String[] args) {
- String nameServiceIOR = null;
-
- if (args.length == 2) {
- if (args[0] == "-ORBnameserviceior") {
- nameServiceIOR = args[1];
- }
- }
-
- DOVEBrowser doveBrowser = new DOVEBrowser();
- doveBrowser.init (nameServiceIOR, args);
- }
-}
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowserApplet.java b/TAO/examples/Simulator/DOVEBrowser/DOVEBrowserApplet.java
deleted file mode 100644
index c55b90ca0de..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/DOVEBrowserApplet.java
+++ /dev/null
@@ -1,49 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// DOVEBrowserApplet.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// Entry point for the demo when started inside an applet.
-//
-// ============================================================================
-
-
-import java.awt.*;
-
-public class DOVEBrowserApplet extends java.applet.Applet {
-
- DemoCore demoCore_;
- static String nameServiceIOR_ = null;
-
- public DOVEBrowserApplet () {
- super ();
- }
-
- public void init () {
- // in case of an applet use the following line, else not!
- nameServiceIOR_ = this.getParameter ("NSIOR");
-
- if (nameServiceIOR_ == null) {
- System.out.println ("The DOVE Browser cannot run, because no Naming Service IOR was found!");
- return;
- }
-
- demoCore_ = new DemoCore (nameServiceIOR_, // name service IOR
- null, // args
- this); // pointer to the applet
- demoCore_.show ();
- demoCore_.run ();
- }
-}
-
-
-
-
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/DataHandler.java b/TAO/examples/Simulator/DOVEBrowser/DataHandler.java
deleted file mode 100644
index a2a88771b4a..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/DataHandler.java
+++ /dev/null
@@ -1,34 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// DataHandler.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is the interface for data handling in the simulation demo
-// using the Event Channel as transport media.
-//
-// ============================================================================
-
-import org.omg.CORBA.*;
-
-public interface DataHandler {
-
- // entry point for an consumer to put data into the data handler
- public void update (Any any_value);
-
- // get a list of the Observables names to allow selection
- public java.util.Enumeration getObservablesList ();
-
- // get a specific Observable
- public DemoObservable getObservable(String name);
-
- // get the property of an observable
- public int getObservableProperty (String name);
-}
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/DemoCore.java b/TAO/examples/Simulator/DOVEBrowser/DemoCore.java
deleted file mode 100644
index 0871fb0f74a..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/DemoCore.java
+++ /dev/null
@@ -1,154 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// DemoCore.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This class servers as the core class of the simulation demo.
-// It connects the push consumer of the event service with
-// one or several Java Beans.
-//
-// ============================================================================
-
-
-import java.awt.*;
-import java.awt.event.*;
-
-public class DemoCore extends Frame {
-
- private static final int MAX_VIS_COMPS = 10;
-
- private PushConsumerFactory pushConsumerFactory_;
- private VisCompFactory visCompFactory_;
- private DataHandler dataHandler_;
- private java.util.Vector vis_comp_list_;
- private int countVisComp_ = 0;
- private GridBagLayout gridbag_;
- private GridBagConstraints constraints_;
-
- DemoCore (String nameServiceIOR,
- String[] args,
- java.applet.Applet applet) {
- super ();
-
- setSize (600,400);
- setBounds (new Rectangle (50,50,800,500));
- setVisible (true);
-
- gridbag_ = new GridBagLayout();
- constraints_ = new GridBagConstraints();
- constraints_.fill = GridBagConstraints.BOTH;
- constraints_.weightx = 1.0;
- constraints_.weighty = 1.0;
- this.setLayout (gridbag_);
-
- // Instantiate the DataHandler and the PushConsumer
- dataHandler_ = new NavWeapDataHandler ();
- pushConsumerFactory_ = new PushConsumerFactory (dataHandler_, nameServiceIOR, args, applet);
-
- // List of Visualization Components
- vis_comp_list_ = new java.util.Vector();
-
-
- MenuBar menubar_ = new MenuBar ();
- Menu menu_ = new Menu ("File");
- MenuItem menu_quit_item_ = new MenuItem ("Quit");
- menu_quit_item_.setEnabled (true);
- MenuItem menu_add_item_ = new MenuItem ("Add");
- menu_add_item_.setEnabled (true);
- menu_.add (menu_add_item_);
- menu_.add (menu_quit_item_);
- menubar_.add (menu_);
-
- setMenuBar (menubar_);
-
- menu_quit_item_.addActionListener (new ActionListener ()
- {
- public void actionPerformed (ActionEvent e) {
- System.exit (0);
- }
- });
-
- menu_add_item_.addActionListener (new ActionListener ()
- {
- public void actionPerformed (ActionEvent e) {
- ObservablesDialog obsDialog_ =
- new ObservablesDialog (DemoCore.this,
- dataHandler_.getObservablesList());
- obsDialog_.addAnswerListener (new AnswerListener ()
- {
- public void ok (AnswerEvent e)
- {
- DemoCore.this.addConnection (e.selected_);
- }
- });
- obsDialog_.setVisible (true);
- }
- });
-
- // instantiate the Factory for Visualization Components
- visCompFactory_ = new VisCompFactory ();
-
- // in here the factory is needed
- addConnection ("Cpu_UsageObservable");
- }
-
- public boolean addConnection (String selected) {
- // to not fill too many into it
- if (countVisComp_ < MAX_VIS_COMPS) {
-
- // get a reference to the Observable
- DemoObservable observable_ = dataHandler_.getObservable (selected);
-
- if (observable_ != null) {
-
- VisComp visComp_ = visCompFactory_.getNewVisComp (observable_.getProperty (), selected);
-
- if (visComp_ != null) {
- vis_comp_list_.addElement (visComp_);
-
- // connect the Observer with the Observable
- observable_.addObserver (visComp_);
-
- countVisComp_++;
-
- // not more than three in a row
- if (countVisComp_ == 3){
- constraints_.gridwidth = GridBagConstraints.REMAINDER;
- }
- if (countVisComp_ > 3) {
- constraints_.gridwidth = 1;
- }
-
- gridbag_.setConstraints ((java.awt.Component) visComp_, constraints_);
-
- // add the Visualization Component to the Frame
- DemoCore.this.add ((java.awt.Component) visComp_);
- DemoCore.this.show ();
-
- return true;
- }
- }
- }
- return false;
- }
-
- public void init ()
- {
- }
-
- public void paint (Graphics g)
- {
- }
-
- public void run ()
- {
- // Wait passive until events come in
- pushConsumerFactory_.run ();
- }
-}
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/DemoObservable.java b/TAO/examples/Simulator/DOVEBrowser/DemoObservable.java
deleted file mode 100644
index 81c85b961f8..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/DemoObservable.java
+++ /dev/null
@@ -1,19 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// DemoObservable.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This class servers as the core class of the simulation demo
-//
-// ============================================================================
-
-
-
-public abstract class DemoObservable extends java.util.Observable {
-
- public abstract int getProperty ();
-}
diff --git a/TAO/examples/Simulator/DOVEBrowser/DoubleVisComp.java b/TAO/examples/Simulator/DOVEBrowser/DoubleVisComp.java
deleted file mode 100644
index 5d636641beb..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/DoubleVisComp.java
+++ /dev/null
@@ -1,206 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// DoubleVisComp.java
-//
-// = AUTHOR
-// Seth Widoff (core graph functionality)
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is a Visualization Component for displaying doubles.
-//
-// ============================================================================
-
-
-
-
-import java.awt.*;
-import java.util.*;
-
-public class DoubleVisComp extends Canvas implements VisComp
-{
- private static final int MIN_SPACING = 2;
- private static final int POINT_HISTORY = 200;
- private static final Font FONT = new Font ("Dialog", Font.PLAIN, 10);
-
- private Queue plot_;
- private String title_;
- private Graphics offgraphics_;
- private Image offscreen_;
- private Dimension offscreensize_;
- private int max_value_;
- private int old_max_value_;
- private int spacing_;
- private float local_max_ = 0;
- private boolean max_increased_ = false;
-
- public DoubleVisComp()
- {
- super();
-
- plot_ = new Queue();
- spacing_ = MIN_SPACING;
- title_ = "";
- max_value_ = 1;
- // max_value_ = max_value;
- old_max_value_ = max_value_;
-
- java.util.Random rand = new java.util.Random (System.currentTimeMillis());
- float hue_ = rand.nextFloat();
- float brightness = rand.nextFloat();
-
- hue_ += .075;
-
- if (hue_ > 1.0)
- hue_ -= 1.0;
-
- if (brightness > 0.75)
- brightness -= 0.25;
-
- Color new_color = Color.getHSBColor(hue_, 1, brightness);
-
- this.setBackground(new_color);
- this.setForeground(Color.white);
- }
-
-
- public void setName (String title) {
- title_ = title;
- }
-
- public int getProperty () {
- return Properties.DOUBLE;
- }
-
- public Dimension getMinimumSize () {
- return new Dimension (75, 75);
- }
-
- public Dimension getPreferredSize () {
- return new Dimension (175, 175);
- }
-
- public String getName() {
- return title_;
- }
-
- public int getMax() {
- return old_max_value_;
- }
-
- public void update(java.util.Observable observable, java.lang.Object obj)
- {
- Double double_temp_;
- try {
- double_temp_ = (Double) obj;
- }
- catch (Exception excp) {
- double_temp_ = new Double (0.0);
- System.out.println (excp);
- System.out.println ("Visualization Component received wrong data type!");
- }
-
- float new_point = double_temp_.floatValue();
- Float temp = (Float)plot_.dequeue_tail();
- plot_.enqueue_head(new Float(new_point));
-
- if (new_point > local_max_)
- local_max_ = new_point;
-
- while (local_max_ > max_value_)
- max_value_ *= 2;
-
- while ((local_max_ < max_value_/2) && (max_value_ > old_max_value_))
- max_value_ /= 2;
-
- repaint();
- }
-
- public void update(Graphics g)
- {
- Dimension d = getSize ();
- float tmp, value_1, value_2;
- FontMetrics fm = g.getFontMetrics ();
- Enumeration queue_iter = plot_.forward_iterator();
- int x1 = d.width - 8, y1, x2, y2, fheight = fm.getHeight (), i;
- String value = "Value (of " + max_value_ + "): " + String.valueOf(plot_.head());
-
- if ((offscreen_ == null) ||
- (offscreensize_.width != d.width - 8) ||
- (offscreensize_.height != d.height - 8))
- {
- offscreen_ = createImage(d.width - 8, d.height - 8);
- offscreensize_ = new Dimension(d.width - 8, d.height - 8);
- offgraphics_ = offscreen_.getGraphics();
- offgraphics_.setFont(FONT);
- }
-
- g.setColor (Color.lightGray);
- g.draw3DRect (0, 0, d.width - 1, d.height - 1, true);
- g.draw3DRect (1, 1, d.width - 3, d.height - 3, true);
- g.draw3DRect (2, 2, d.width - 5, d.height - 5, true);
-
- local_max_ = 0;
- offgraphics_.setColor (getBackground());
- offgraphics_.fillRect (0, 0, offscreensize_.width, offscreensize_.height);
- offgraphics_.setColor (getForeground());
- offgraphics_.drawString(title_, 5, fheight);
- offgraphics_.drawString(value, 5, offscreensize_.height - 5);
-
- value_1 = ((Float)queue_iter.nextElement()).floatValue();
- while (queue_iter.hasMoreElements())
- {
- value_2 = ((Float)queue_iter.nextElement()).floatValue();
-
- if (value_1 > local_max_)
- local_max_ = value_1;
-
- y1 = normalize(offscreensize_.height - fheight, value_1);
- y2 = normalize(offscreensize_.height - fheight, value_2);
-
- tmp = value_2;
- value_2 = value_1;
- value_1 = tmp;
-
- x2 = x1 - spacing_;
- offgraphics_.drawLine(x1, y1, x2, y2);
- x1 = x2;
- if (x1 <= 5)
- break;
- }
-
- g.drawImage(offscreen_, 3, 3, null);
- }
-
- public void paint(Graphics g)
- {
- Dimension d = getSize ();
- int plot_length = plot_.length();
- int num_points = d.width / spacing_;
-
- if (plot_.length() < num_points)
- {
- for (int i = 0; i < num_points - plot_length; i++)
- plot_.enqueue_tail(new Float(0));
- }
- else if (plot_.length() > num_points)
- {
- for (int i = 0; i < plot_length - num_points; i++)
- plot_.dequeue_tail();
- }
-
- update(g);
- }
-
-
- private int normalize(int height, float coord)
- {
- float ratio = (float)coord/max_value_;
- float pixels = (float)height*ratio;
- float location = (float)height - pixels;
-
- return Math.round(location);
- }
-}
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/Makefile b/TAO/examples/Simulator/DOVEBrowser/Makefile
deleted file mode 100644
index 2c2928f57cd..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/Makefile
+++ /dev/null
@@ -1,106 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-#### VisiBroker 3.2
-JAVA_DIR = /project/doc/pkg/VisiJava-3.2/bin/
-IDL2JAVA = $(JAVA_DIR)idl2java
-JAVAC = $(JAVA_DIR)vbjc
-
-#### JDK 1.2
-#### JAVA_DIR = /pkg/java_1.2b4/bin/
-#### IDL2JAVA = $(JAVA_DIR)idltojava
-#### JAVAC = $(JAVA_DIR)javac
-
-DOVE_BROWSER_JAVA = \
- CosNaming.java \
- CosTimeBase.java \
- RtecEventComm.java \
- RtecScheduler.java \
- RtecEventChannelAdmin.java \
- Navigation.java \
- Weapons.java
-
-DOVE_BROWSER_CLASS = Navigation.class
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-
-BUILD = $(DOVE_BROWSER_JAVA) $(DOVE_BROWSER_CLASS)
-
-ifeq ($(CROSS-COMPILE),)
- include $(ACE_ROOT)/include/makeinclude/macros.GNU
- include $(TAO_ROOT)/rules.tao.GNU
- include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
- include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
- include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
- include $(TAO_ROOT)/taoconfig.mk
-
- realclean: clean
- -/bin/rm -rf $(DOVE_BROWSER_JAVA) \
- $(patsubst %.java,%.idl,$(DOVE_BROWSER_JAVA)) NavWeap.idl \
- Navigation.java NavigationH*.java \
- Weapons.java WeaponsH*.java *.class CosNaming \
- RtecEventChannelAdmin RtecEventComm RtecScheduler TimeBase
-
-else
- all default_embedded:
- @echo This module is not built on CROSS-COMPILE platforms.
-
- clean realclean:
- @echo Nothing to clean on CROSS-COMPILE platforms.
-endif # ! CROSS-COMPILE
-
-#### No need to create object directories.
-OBJDIRS =
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-.SUFFIXES:
-.SUFFIXES: .class .idl .java
-
-#### Don't remove the .idl and .java files after building the .class files.
-.PRECIOUS: $(DOVE_BROWSER_JAVA) $(patsubst %.java,%.idl,$(DOVE_BROWSER_JAVA))
-
-%.java: %.idl
- @$(IDL2JAVA) $<
-
-ifeq ($(findstring vbjc, $(JAVAC)), vbjc)
- %.class: %.java
- #### VisiBroker 3.2 idl2java creates references to a _long type,
- #### but never defines it. Just change it to long.
- perl -pi -e 's/\b_long\b/long/g' \
- `find . -name '*.java' | xargs egrep -l ' _long'`
-else # ! vbjc
- %.class: %.java
-endif # vbjc
- @$(JAVAC) *.java
-
-NavWeap.idl: ../NavWeap.idl
- @cp -p $< .
-
-Navigation.java Weapons.java: NavWeap.idl
- @$(IDL2JAVA) $<
-
-%.idl: $(TAO_ROOT)/orbsvcs/orbsvcs/%.idl
- @cp -p $< .
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java b/TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java
deleted file mode 100644
index 5d35abb0799..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/NS_Resolve.java
+++ /dev/null
@@ -1,112 +0,0 @@
-// $Id$
-// ============================================================================
-//
-//
-// = FILENAME
-// NS_Resolve.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// Resolves the initial reference to the Naming service,
-// the orb has to be given as a parameter to the
-// resolve_name_service call.
-//
-//
-// ============================================================================
-
-
-
-
-import org.omg.CORBA.*;
-import java.net.*;
-import java.io.*;
-
-
-
-public class NS_Resolve
-{
-
- private static final String ACE_DEFAULT_MULTICAST_ADDR = "224.9.9.2";
- private static final int TAO_DEFAULT_NAME_SERVER_REQUEST_PORT = 28892;
- private static final int MULTICAST_SEND_PORT = 10060;
- private static final int MULTICAST_RECEIVE_PORT = 10061;
- private static final int TAO_SERVICEID_NAMESERVICE = 0;
- private static final int TAO_SERVICEID_TRADINGSERVICE = 1;
-
- org.omg.CORBA.Object name_service_;
-
-
- public org.omg.CORBA.Object resolve_name_service (org.omg.CORBA.ORB orb)
- {
- try
- {
- // Create a message with the multicast receive port in it
- ByteArrayOutputStream byte_stream_ = new ByteArrayOutputStream ();
- byte_stream_.write ((int)((MULTICAST_RECEIVE_PORT&0xff00)>>>8));
- byte_stream_.write ((int)(MULTICAST_RECEIVE_PORT&0x00ff));
- byte_stream_.write ((int)((TAO_SERVICEID_NAMESERVICE&0xff00)>>>8));
- byte_stream_.write ((int)(TAO_SERVICEID_NAMESERVICE&0x00ff));
- byte[] msg = byte_stream_.toByteArray();
-
-
- // Define the group for the multicast
-
- InetAddress group = InetAddress.getByName(ACE_DEFAULT_MULTICAST_ADDR);
- // Create the multicast socket at any port you want
- MulticastSocket multicastsocket_ = new MulticastSocket(MULTICAST_SEND_PORT);
- // Create a socket for the answer of the Naming Service
- DatagramSocket socket_ = new DatagramSocket (MULTICAST_RECEIVE_PORT);
- // Give three seconds time for the Naming Service to respond
- socket_.setSoTimeout (3000);
- // Build a packet with the port number in it
- DatagramPacket hello = new DatagramPacket(msg, msg.length,
- group, TAO_DEFAULT_NAME_SERVER_REQUEST_PORT);
-
- // Send the packet
- multicastsocket_.send (hello);
-
- // @@ The restriction right now is that the length of the IOR cannot be longer than 4096
- byte[] buf = new byte[4096];
- // Set up packet which can be received
- DatagramPacket recv = new DatagramPacket (buf, buf.length);
- // Receive a packet or time out
- socket_.receive (recv);
-
- // Determine the length of the IOR
- int length;
- for (length = 0; buf[length] != 0; length++);
-
- // Store the IOR in a String
- String name_service_ior_ = new String (recv.getData (),0,length);
-
- // Convert the String into
- return orb.string_to_object (name_service_ior_);
- }
- catch (SocketException e)
- {
- System.err.println (e);
- }
- catch (java.io.InterruptedIOException e)
- {
- System.err.println ("NS_Resolve: The receive lasted too long");
- }
- catch(org.omg.CORBA.SystemException e)
- {
- System.err.println(e);
- }
- catch (java.io.IOException e)
- {
- System.err.println (e);
- }
- return null;
-
- }
-
-};
-
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/NavWeapDataHandler.java b/TAO/examples/Simulator/DOVEBrowser/NavWeapDataHandler.java
deleted file mode 100644
index e72155cab3d..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/NavWeapDataHandler.java
+++ /dev/null
@@ -1,220 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// NavWeapDataHandler.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is an implementation of the interface Data Handler,
-// it handles Navigation and Weapons data, where statistic data is
-// part of it. Several Observables are declared, they can be accessed by
-// any number of Observers, which could reside in a Java Bean for example.
-//
-// ============================================================================
-
-import org.omg.CORBA.*;
-
-public class NavWeapDataHandler implements DataHandler {
-
- java.util.Hashtable ObservablesTable;
- int received_events_;
-
-
- // Observable for Navigation data
- class NavigationObservable extends DemoObservable {
-
- // to ask which kind of viewer is needed to display data
- public int getProperty () {
- return Properties.NAVIGATION;
- }
-
- public void updateNavigation (Navigation navigation) {
- setChanged ();
- notifyObservers (navigation);
- }
-
- }
-
- class WeaponsObservable extends DemoObservable {
-
- // to ask which kind of viewer is needed to display data
- public int getProperty () {
- return Properties.WEAPONS;
- }
-
- public void updateWeapons (Weapons weapons) {
- setChanged ();
- notifyObservers (weapons);
- }
- }
-
- class Cpu_UsageObservable extends DemoObservable {
-
- public int getProperty () {
- return Properties.DOUBLE;
- }
-
- public void updateCpu_Usage (double utilization) {
- setChanged ();
- Double temp_ = new Double (utilization);
- notifyObservers (temp_);
- }
- }
- class OverheadObservable extends DemoObservable {
-
- public int getProperty () {
- return Properties.DOUBLE;
- }
-
- public void updateOverhead (double overhead) {
- setChanged ();
- Double temp_ = new Double (overhead);
- notifyObservers (temp_);
- }
- }
- class JitterObservable extends DemoObservable {
- double latency = 0.0;
- double last_latency = 0.0;
-
- public int getProperty () {
- return Properties.DOUBLE;
- }
-
- public void updateJitter (int completion_time,
- int computation_time,
- int arrival_time ) {
- last_latency = latency;
- latency = (double)(completion_time
- - computation_time
- - arrival_time);
- latency = latency > 0 ? latency : 0;
- double jitter_ = (double)Math.abs(latency - last_latency);
-
- setChanged ();
- Double temp_ = new Double (jitter_);
- notifyObservers (temp_);
- }
- }
- class DeadlinesObservable extends DemoObservable {
-
- public int getProperty () {
- return Properties.DOUBLE;
- }
-
- public void updateDeadlines (int deadline_time,
- int completion_time) {
- double missed_ = (double) ((deadline_time
- < completion_time)
- ? 1.0 : 0.0);
-
- Double temp_ = new Double (missed_);
- setChanged ();
- notifyObservers (temp_);
- }
- }
- class LatencyObservable extends DemoObservable {
- double latency = 0.0;
- double last_latency = 0.0;
-
- public int getProperty () {
- return Properties.DOUBLE;
- }
-
- public void updateLatency (int completion_time,
- int computation_time,
- int arrival_time ) {
- last_latency = latency;
- latency = (double)(completion_time
- - computation_time
- - arrival_time);
- latency = latency > 0 ? latency : 0;
-
- setChanged ();
- Double temp_ = new Double(latency);
- notifyObservers (temp_);
- }
- }
-
-
- public void update (Any any_value) {
-
- if (any_value.type().equal (NavigationHelper.type()))
- {
- Navigation navigation_ = NavigationHelper.extract (any_value);
- NavigationObservable nobs = (NavigationObservable)ObservablesTable.get ("NavigationObservable");
- nobs.updateNavigation (navigation_);
- Cpu_UsageObservable cobs = (Cpu_UsageObservable)ObservablesTable.get ("Cpu_UsageObservable");
- cobs.updateCpu_Usage (navigation_.utilization);
- OverheadObservable oobs = (OverheadObservable)ObservablesTable.get ("OverheadObservable");
- oobs.updateOverhead (navigation_.overhead);
- JitterObservable jobs = (JitterObservable)ObservablesTable.get ("JitterObservable");
- jobs.updateJitter (navigation_.completion_time,
- navigation_.computation_time,
- navigation_.arrival_time);
- DeadlinesObservable dobs = (DeadlinesObservable)ObservablesTable.get ("DeadlinesObservable");
- dobs.updateDeadlines (navigation_.deadline_time,
- navigation_.completion_time);
- LatencyObservable lobs = (LatencyObservable)ObservablesTable.get ("LatencyObservable");
- lobs.updateLatency (navigation_.completion_time,
- navigation_.computation_time,
- navigation_.arrival_time);
- received_events_++;
- }
- else if (any_value.type().equal (WeaponsHelper.type()))
- {
- Weapons weapons_ = WeaponsHelper.extract (any_value);
- WeaponsObservable wobs = (WeaponsObservable)ObservablesTable.get ("WeaponsObservable");;
- wobs.updateWeapons (weapons_);
- Cpu_UsageObservable cobs = (Cpu_UsageObservable)ObservablesTable.get ("Cpu_UsageObservable");
- cobs.updateCpu_Usage (weapons_.utilization);
- OverheadObservable oobs = (OverheadObservable)ObservablesTable.get ("OverheadObservable");
- oobs.updateOverhead (weapons_.overhead);
- JitterObservable jobs = (JitterObservable)ObservablesTable.get ("JitterObservable");
- jobs.updateJitter (weapons_.completion_time,
- weapons_.computation_time,
- weapons_.arrival_time);
- DeadlinesObservable dobs = (DeadlinesObservable)ObservablesTable.get ("DeadlinesObservable");
- dobs.updateDeadlines (weapons_.deadline_time,
- weapons_.completion_time);
- LatencyObservable lobs = (LatencyObservable)ObservablesTable.get ("LatencyObservable");
- lobs.updateLatency (weapons_.completion_time,
- weapons_.computation_time,
- weapons_.arrival_time);
- received_events_++;
- }
- else
- System.out.println ("Received wrong type information"+any_value.type());
- }
-
- NavWeapDataHandler () {
- ObservablesTable = new java.util.Hashtable();
-
- ObservablesTable.put ("NavigationObservable", new NavigationObservable());
- ObservablesTable.put ("WeaponsObservable", new WeaponsObservable());
- ObservablesTable.put ("Cpu_UsageObservable", new Cpu_UsageObservable());
- ObservablesTable.put ("OverheadObservable", new OverheadObservable());
- ObservablesTable.put ("JitterObservable", new JitterObservable());
- ObservablesTable.put ("DeadlinesObservable", new DeadlinesObservable());
- ObservablesTable.put ("LatencyObservable", new LatencyObservable());
- }
-
- public java.util.Enumeration getObservablesList () {
- return ObservablesTable.keys ();
- }
-
- public DemoObservable getObservable(String name) {
- return (DemoObservable)ObservablesTable.get (name);
- }
-
- public int getObservableProperty (String name) {
- DemoObservable obs = (DemoObservable)ObservablesTable.get (name);
- return obs.getProperty ();
- }
-
-}
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/NavigationVisComp.java b/TAO/examples/Simulator/DOVEBrowser/NavigationVisComp.java
deleted file mode 100644
index 3d7a217389b..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/NavigationVisComp.java
+++ /dev/null
@@ -1,350 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// NavigationVisComp.java
-//
-// = AUTHOR
-// Seth Widoff (core functionality)
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is a Visualization Component for displaying navigation.
-//
-// ============================================================================
-
-
-
-import java.awt.*;
-import java.io.*;
-
-public class NavigationVisComp extends Panel implements VisComp
-{
- private Alt_Horizon alt_hor_ = new Alt_Horizon ();
- private Position pos_ = new Position ();
-
- public NavigationVisComp ()
- {
- setLayout (new BorderLayout (0, 2));
- add ("Center", alt_hor_);
- add ("South", pos_);
- }
-
- public void setName (String title) {
- }
-
- public int getProperty () {
- return Properties.NAVIGATION;
- }
-
- public void update (java.util.Observable observable, java.lang.Object obj) {
- Navigation navigation_ = null;
- try {
- navigation_ = (Navigation) obj;
- }
- catch (Exception excp) {
- System.out.println (excp);
- System.out.println ("Visualization Component received wrong data type!");
- }
- if (navigation_ != null) {
- // make sure all the values are in the proper range.
- navigation_.roll = (navigation_.roll > 180 || navigation_.roll < -180) ?
- 0 : navigation_.roll;
- navigation_.pitch = (navigation_.pitch > 90 || navigation_.pitch < -90) ?
- 0 : navigation_.pitch;
-
- // update the artificial horizon
- alt_hor_.update_display (navigation_.roll, navigation_.pitch);
-
- navigation_.pitch = (navigation_.position_latitude > 90 || navigation_.position_latitude < -90) ?
- 0 : navigation_.position_latitude;
- navigation_.pitch = (navigation_.position_longitude > 100 || navigation_.position_longitude < 00) ?
- 0 : navigation_.position_longitude;
- navigation_.pitch = (navigation_.altitude > 90 || navigation_.altitude < -90) ?
- 0 : navigation_.altitude;
- navigation_.pitch = (navigation_.heading > 180 || navigation_.heading < -180) ?
- 0 : navigation_.heading;
-
- // update the position display
- pos_.update_display (navigation_.position_latitude,
- navigation_.position_longitude,
- navigation_.altitude,
- navigation_.heading);
- }
- }
-}
-
-class Alt_Horizon
-extends Canvas
-{
- private final static Color GREEN = new Color (0, 100, 0),
- BLUE = new Color (30, 144, 255);
-
- private Graphics offgraphics_;
- private Image offscreen_;
- private Dimension offscreensize_;
-
- private int roll_ = 0, pitch_ = 0;
-
- public void update_display (int roll, int pitch)
- {
- roll_ = roll;
- pitch_ = pitch;
-
- repaint ();
- }
-
- public Dimension getPreferredSize ()
- {
- return new Dimension (180, 180);
- }
-
- public Dimension getMinimumSize ()
- {
- return new Dimension (80, 80);
- }
-
- public void paint (Graphics g)
- {
- update (g);
- }
-
- public void update (Graphics g)
- {
- Dimension d = getSize ();
- int rad, angles[] = { 180, 0 };
- Point center;
-
- if ((offscreen_ == null) || (d.width != offscreensize_.width) ||
- (d.height != offscreensize_.height))
- {
- offscreen_ = createImage (d.width, d.height);
- offscreensize_ = new Dimension (d.width, d.height);
- offgraphics_ = offscreen_.getGraphics ();
- offgraphics_.setFont (getFont());
-
- // g.setColor (Color.lightGray);
- // g.draw3DRect (0, 0, d.width - 1, d.height - 1, true);
- // g.draw3DRect (1, 1, d.width - 3, d.height - 3, true);
- // g.draw3DRect (2, 2, d.width - 5, d.height - 5, true);
- }
-
- offgraphics_.setColor (getBackground());
- offgraphics_.fillRect (0, 0, d.width, d.height);
- offgraphics_.setColor (BLUE);
-
- // Calculate from the dimensions, the largest square.
- center = new Point (d.width / 2, d.height / 2);
- rad = ((center.x < center.y) ? center.x : center.y);
-
- // Draw a circle of blue
- offgraphics_.fillOval (center.x - rad, center.y - rad,
- 2*rad, 2*rad);
-
- // Roll the horizon based on the roll angle
- if (roll_ != 0)
- roll_horizon (rad, angles);
-
- // Pitch the horizon based on the pitch angle
- if (pitch_ != 0)
- pitch_horizon (rad, angles);
-
- // Draw the resulting terrain
- draw_horizon (rad, center, angles);
-
- // Draw the plotted Image.
- g.drawImage (offscreen_, 0, 0, null);
- }
-
- private void draw_horizon (int rad, Point center, int[] angles)
- {
- // Draw an arc
- int arc_angle =
- ((angles[0] > angles[1]) ?
- (360 - angles[0]) + angles[1] :
- (angles[1] - angles[0]));
-
- Polygon remainder = new Polygon ();
-
- offgraphics_.setColor (GREEN);
- offgraphics_.fillArc (center.x - rad, center.y - rad,
- 2*rad, 2*rad,
- angles[0], arc_angle);
-
- if (pitch_ != 0)
- {
- if ((pitch_ > 0 && Math.abs (roll_) < 90) ||
- (pitch_ < 0 && Math.abs (roll_) >= 90))
- offgraphics_.setColor (BLUE);
-
- int cover_angle = (angles[0] + arc_angle/2 + ((arc_angle < 180) ? 180 : 0)) % 360;
-
- // System.out.println (points[0] + " " + points[1]);
-
- // System.out.println (accepted_point);
-
- remainder.addPoint (center.x + polar_to_rect_x (rad, cover_angle),
- center.y - polar_to_rect_y (rad, cover_angle));
- remainder.addPoint (center.x + polar_to_rect_x (rad, angles[0]),
- center.y - polar_to_rect_y (rad, angles[0]));
- remainder.addPoint (center.x + polar_to_rect_x (rad, angles[1]),
- center.y - polar_to_rect_y (rad, angles[1]));
- offgraphics_.fillPolygon (remainder);
- //offgraphics_.setColor (getBackground ());
- //offgraphics_.drawPolygon (remainder);
- }
- }
-
- private void pitch_horizon (int rad, int[] angles)
- {
- boolean upside_down = Math.abs (roll_) >= 90;
- int angle_shift = (int) Math.round ((double)(90 - (Math.abs (roll_) % 180)) / 90.0 * pitch_);
-
- // System.out.println ("angle_shift " + angle_shift);
-
- angles[0] += angle_shift;
- angles[1] -= angle_shift;
-
-
- }
-
- private void roll_horizon (int rad, int[] angles)
- {
- // Roll the left and right points of the terrain.
- angles[0] += roll_;
- angles[1] += roll_;
-
- if (angles[0] < 0)
- angles[0] += 360;
-
- if (angles[1] < 0)
- angles[1] += 360;
- }
-
- private int polar_to_rect_x (int rad, int angle)
- {
- return (int) Math.round (rad * Math.cos ((double)angle * Math.PI/180.0));
- }
-
- private int polar_to_rect_y (int rad, int angle)
- {
- return (int) Math.round (rad * Math.sin ((double)angle * Math.PI/180.0));
- }
-
- private double caclulate_slope (int rad, int[] angles)
- {
- int x1 = polar_to_rect_x (rad, angles[0]),
- x2 = polar_to_rect_x (rad, angles[1]),
- y1 = polar_to_rect_y (rad, angles[0]),
- y2 = polar_to_rect_y (rad, angles[1]);
-
- return ((double) (y2 - y1)) / ((double) (x2 - x1));
- }
-
- private Point[] line_circle_intesect (int rad, double y_intercept, double slope)
- {
- double r_2 = (double)(rad * rad),
- s_2 = slope * slope,
- a_x = s_2 + 1,
- b_x = 2.0 * slope * y_intercept,
- c_x = y_intercept * y_intercept - r_2;
- int[] x_roots = quad_eq (a_x, b_x, c_x),
- y_roots = { (int) Math.round ((double)((double) x_roots[0])*slope + y_intercept),
- (int) Math.round ((double)((double) x_roots[1])*slope + y_intercept) };
- Point[] points = new Point [2];
-
- points[0] = new Point (x_roots[0], y_roots[0]);
- points[1] = new Point (x_roots[1], y_roots[1]);
-
- return points;
- }
-
- private int calculate_angle (int rad, int x, int y)
- {
- /*
- double angle = 0,
- sin_value = Math.asin ((double)y / (double)rad),
- tan_value = Math.atan ((double)y / (double)x);
-
- if (x >= 0)
- angle = (x != 0) ? tan_value : sin_value +
- ((y < 0) ? 2*Math.PI : 0);
- else
- angle = Math.PI + tan_value;
-
- return (int) Math.round (angle * 180.0 / Math.PI);
- */
-
- double angle = 0.0,
- sin_value = Math.asin ((double)Math.abs (y) / (double)rad);
-
- if (x >= 0 && y >= 0)
- angle = sin_value;
- else if (x < 0 && y >= 0)
- angle = sin_value + Math.PI/2.0;
- else if (x < 0 && y < 0)
- angle = sin_value + Math.PI;
- else if (x >= 0 && y < 0)
- angle = sin_value + 3.0*Math.PI/2.0;
-
- return (int) Math.round (angle * 180.0 / Math.PI);
- }
-
- private int[] quad_eq (double a, double b, double c)
- {
- int[] roots = new int [2];
- double body = Math.sqrt (b*b - 4.0*a*c);
-
- roots[0] = (int) Math.round ((-b + body) / (2.0 * a));
- roots[1] = (int) Math.round ((-b - body) / (2.0 * a));
-
- return roots;
- }
-
- private int distance (Point point1, Point point2)
- {
- double xdiff = point1.x - point2.x,
- ydiff = point1.y - point2.y;
-
- return (int) Math.round (Math.sqrt (xdiff*xdiff + ydiff*ydiff));
- }
-}
-
-class Position extends Panel
-{
- private final static Font FONT = new Font ("Dialog", Font.BOLD, 12);
- private final static char DEGREE = '\u00B0';
-
- private Label lat_ = new Label ("0" + DEGREE + " N", Label.RIGHT),
- long_ = new Label ("0" + DEGREE + " S", Label.RIGHT),
- alt_ = new Label ("0 Kft", Label.RIGHT),
- heading_ = new Label ("0" + DEGREE + " ", Label.RIGHT);
-
- public Position ()
- {
- Panel grid_panel = new Panel ();
-
- lat_.setFont (FONT);
- long_.setFont (FONT);
- alt_.setFont (FONT);
- heading_.setFont (FONT);
-
- setLayout (new GridLayout (1, 4));
- add (lat_);
- add (long_);
- add (heading_);
- add (alt_);
- }
-
- public void update_display (int lat, int lon, int alt, int heading)
- {
- String lat_str =
- Math.abs (lat) + "" + DEGREE + ((lat > 0) ? " N" : " S");
- String long_str =
- Math.abs (lon) + "" + DEGREE + ((lon > 0) ? " E" : " W");
-
- lat_.setText (lat_str);
- long_.setText (long_str);
- alt_.setText (alt + " Kft");
- heading_.setText (heading + "" + DEGREE + " ");
- }
-}
diff --git a/TAO/examples/Simulator/DOVEBrowser/ObservablesDialog.java b/TAO/examples/Simulator/DOVEBrowser/ObservablesDialog.java
deleted file mode 100644
index 2ea856c24e2..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/ObservablesDialog.java
+++ /dev/null
@@ -1,90 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// ObservablesDialog.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// Dialog for selecting Observables.
-//
-// ============================================================================
-
-import java.awt.*;
-import java.awt.event.*;
-
-public class ObservablesDialog extends Dialog {
-
- List list_;
- DemoCore parent_;
- AnswerListener listener_;
-
- ObservablesDialog (DemoCore parent,java.util.Enumeration enumeration) {
-
- super ((Frame)parent, "Select Observables", true);
- parent_ = parent;
- this.setSize(400, 300);
- setBounds (new Rectangle (50,50,400,300));
-
- list_ = new List ();
- list_.setFont ( new Font ("Helvetica", Font.PLAIN, 10));
- list_.setSize (200,200);
-
- for (; enumeration.hasMoreElements();) {
- list_.add ((String)enumeration.nextElement());
- }
-
-
- Button ok_button_ = new Button ("OK");
- ok_button_.setFont ( new Font ("DialogHelvetica", Font.PLAIN, 10));
- Button cancel_button_ = new Button ("Cancel");
- cancel_button_.setFont ( new Font ("DialogHelvetica", Font.PLAIN, 10));
-
- GridBagLayout gridbag_ = new GridBagLayout ();
- GridBagConstraints constraints_ = new GridBagConstraints ();
-
- constraints_.fill = GridBagConstraints.BOTH;
- this.setLayout (gridbag_);
-
- constraints_.weightx = 1.0;
- constraints_.weighty = 1.0;
- constraints_.gridwidth = GridBagConstraints.REMAINDER;
- gridbag_.setConstraints (list_, constraints_);
- this.add (list_);
-
- constraints_.weightx = 1.0;
- constraints_.weighty = 1.0;
- constraints_.gridwidth = GridBagConstraints.RELATIVE;
- constraints_.fill = GridBagConstraints.NONE;
- gridbag_.setConstraints (ok_button_, constraints_);
- gridbag_.setConstraints (cancel_button_, constraints_);
- this.add (ok_button_);
- this.add (cancel_button_);
-
- ok_button_.addActionListener (new ActionListener () {
- public void actionPerformed (ActionEvent e) {
-
- String selected_ = ObservablesDialog.this.list_.getSelectedItem ();
- if (selected_ != null) {
- System.out.println (">>>>> " + selected_);
- if (listener_ != null) {
- AnswerEvent ev = new AnswerEvent (ObservablesDialog.this, selected_);
- listener_.ok (ev);
- }
- ObservablesDialog.this.setVisible (false);
- }
- }
- });
-
- cancel_button_.addActionListener (new ActionListener () {
- public void actionPerformed (ActionEvent e) {
- ObservablesDialog.this.setVisible (false);
- }
- });
- }
-
- public void addAnswerListener (AnswerListener al) {
- listener_ = al;
- }
-}
diff --git a/TAO/examples/Simulator/DOVEBrowser/Properties.java b/TAO/examples/Simulator/DOVEBrowser/Properties.java
deleted file mode 100644
index 17ff69e5a18..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/Properties.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// DataHandler.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is the interface for data handling in the simulation demo
-// using the Event Channel as transport media. Several observables
-// are created to feed observer Java Beans.
-//
-// ============================================================================
-
-
-public class Properties {
- public static final int DOUBLE = 0;
- public static final int NAVIGATION = 1;
- public static final int WEAPONS = 2;
-}
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java b/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java
deleted file mode 100644
index f14ec8735ab..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java
+++ /dev/null
@@ -1,191 +0,0 @@
-// $Id$
-//
-// ============================================================================
-//
-//
-// = FILENAME
-// PushConsumer.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is a Push Consumer which takes the data field of the
-// event and updates with it a Data Handler.
-//
-//
-// ============================================================================
-
-
-
-// The Consumer has to implement the Skeleton Consumer
-
-public class PushConsumer extends RtecEventComm._PushConsumerImplBase
-{
-
- public static final int ACE_ES_EVENT_ANY = 0;
- public static final int ACE_ES_EVENT_SHUTDOWN = 1;
- public static final int ACE_ES_EVENT_ACT = 2;
- public static final int ACE_ES_EVENT_NOTIFICATION = 3;
- public static final int ACE_ES_EVENT_TIMEOUT = 4;
- public static final int ACE_ES_EVENT_INTERVAL_TIMEOUT = 5;
- public static final int ACE_ES_EVENT_DEADLINE_TIMEOUT = 6;
- public static final int ACE_ES_GLOBAL_DESIGNATOR = 7;
- public static final int ACE_ES_CONJUNCTION_DESIGNATOR = 8;
- public static final int ACE_ES_DISJUNCTION_DESIGNATOR = 9;
- public static final int ACE_ES_EVENT_UNDEFINED = 16;
- public static final int TOTAL_MESSAGES = 30;
-
- // Store the number of received events
- private int total_received_ = 0;
- private org.omg.CORBA.ORB orb_;
- private DataHandler dataHandler_;
- // private RtecScheduler.RT_InfoHolder rt_info_;
- private RtecScheduler.handle_tHolder rt_info_;
- private RtecEventChannelAdmin.EventChannel channel_admin_;
- private RtecEventChannelAdmin.ConsumerAdmin consumer_admin_;
- private RtecEventChannelAdmin.ProxyPushSupplier suppliers_;
-
- public PushConsumer (org.omg.CORBA.ORB orb, DataHandler dataHandler)
- {
- orb_ = orb;
- dataHandler_ = dataHandler;
- }
-
-
- public void push (RtecEventComm.Event[] events)
- {
- if (total_received_ < 5)
- System.out.println ("Demo Consumer: Received an event! ->Number: " + total_received_);
- else if (total_received_ == 5)
- System.out.println ("Demo Consumer: Everything is fine. Going to be mute.");
-
-
- if (events.length == 0)
- {
- System.err.println ("No events");
- }
- else
- {
- total_received_++;
-
- for (int i = 0; i < events.length; ++i)
- {
- if(events[i].header.type == ACE_ES_EVENT_NOTIFICATION)
- {
- try
- {
- dataHandler_.update (events[i].data.any_value);
- }
- catch(org.omg.CORBA.SystemException e)
- {
- System.err.println(e);
- }
- }
- }
- }
- }
-
- public void disconnect_push_consumer()
- {
- System.out.println ("Demo Consumer: Have to disconnect!");
- }
-
- public void open_consumer (RtecEventChannelAdmin.EventChannel event_channel_,
- RtecScheduler.Scheduler scheduler_,
- String name)
- {
- try {
-
- // Define Real-time information
-
- rt_info_ = new RtecScheduler.handle_tHolder (scheduler_.create (name));
-
- scheduler_.set (rt_info_.value,
- RtecScheduler.Criticality.VERY_LOW_CRITICALITY,
- 0L,
- 0L,
- 0L,
- 2500000, // period
- RtecScheduler.Importance.VERY_LOW_IMPORTANCE,
- 0L,
- 1,
- RtecScheduler.Info_Type.OPERATION);
-
-
- // Register for Notification and Shutdown events
-
- byte payload[] = new byte[1];
- payload[0] = 0;
- RtecEventComm.Event notification_event_ = new RtecEventComm.Event ();
- notification_event_.header =
- new RtecEventComm.EventHeader (ACE_ES_EVENT_NOTIFICATION,
- 0, 1, 0, 0, 0);
-
- notification_event_.data =
- new RtecEventComm.EventData (0, 0, 0.0, 0,
- payload, orb_.create_any());
-
- RtecEventChannelAdmin.Dependency dependencies_[] = new RtecEventChannelAdmin.Dependency[1];
- dependencies_[0] = new RtecEventChannelAdmin.Dependency (notification_event_, rt_info_.value);
-
-
- // @@ Carlos please help me to set the right boolean value
- RtecEventChannelAdmin.ConsumerQOS qos = new RtecEventChannelAdmin.ConsumerQOS (dependencies_, false);
-
-
- // The channel administrator is the event channel we got from the invocation
- // of this routine
-
- channel_admin_ = event_channel_;
-
- // Connect as a consumer
-
- consumer_admin_ = channel_admin_.for_consumers ();
-
- // Obtain a reference to the proxy push supplier
-
- suppliers_ = consumer_admin_.obtain_push_supplier ();
-
- suppliers_.connect_push_consumer (this, qos);
-
- System.out.println ("Registered the consumer successfully.");
-
-
- }
- catch (RtecEventChannelAdmin.TypeError e)
- {
- System.err.println ("Demo_Consumer.open_consumer: RtecEventChannelAdmin.TypeError");
- System.err.println (e);
- }
- catch (RtecEventChannelAdmin.AlreadyConnected e)
- {
- System.err.println ("Demo_Consumer.open_consumer: RtecEventChannelAdmin.AlreadyConnected");
- System.err.println (e);
- }
- catch (RtecScheduler.UNKNOWN_TASK e)
- {
- System.err.println ("Demo_Consumer.open_consumer: Unknown task");
- System.err.println (e);
- }
- catch (RtecScheduler.DUPLICATE_NAME e)
- {
- System.err.println ("Demo_Consumer.open_consumer: Duplicate names");
- System.err.println (e);
- }
- catch(org.omg.CORBA.SystemException e)
- {
- System.err.println(e);
- }
- }
-}
-
-
-
-
-
-
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2 b/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2
deleted file mode 100644
index 49a665569c3..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/PushConsumer.java.JDK1.2
+++ /dev/null
@@ -1,179 +0,0 @@
-// $Id$
-//
-// ============================================================================
-//
-//
-// = FILENAME
-// PushConsumer.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is a Push Consumer which takes the data field of the
-// event and updates with it a Data Handler.
-//
-//
-// ============================================================================
-
-
-public class PushConsumer extends RtecEventComm._PushConsumerImplBase
-{
-
- public static final int ACE_ES_EVENT_ANY = 0;
- public static final int ACE_ES_EVENT_SHUTDOWN = 1;
- public static final int ACE_ES_EVENT_ACT = 2;
- public static final int ACE_ES_EVENT_NOTIFICATION = 3;
- public static final int ACE_ES_EVENT_TIMEOUT = 4;
- public static final int ACE_ES_EVENT_INTERVAL_TIMEOUT = 5;
- public static final int ACE_ES_EVENT_DEADLINE_TIMEOUT = 6;
- public static final int ACE_ES_GLOBAL_DESIGNATOR = 7;
- public static final int ACE_ES_CONJUNCTION_DESIGNATOR = 8;
- public static final int ACE_ES_DISJUNCTION_DESIGNATOR = 9;
- public static final int ACE_ES_EVENT_UNDEFINED = 16;
- public static final int TOTAL_MESSAGES = 30;
-
- // Store the number of received events
- private int total_received_ = 0;
- private org.omg.CORBA.ORB orb_;
- private DataHandler dataHandler_;
- private int rt_info_;
- private RtecEventChannelAdmin.EventChannel channel_admin_;
- private RtecEventChannelAdmin.ConsumerAdmin consumer_admin_;
- private RtecEventChannelAdmin.ProxyPushSupplier suppliers_;
-
- public PushConsumer (org.omg.CORBA.ORB orb, DataHandler dataHandler)
- {
- orb_ = orb;
- dataHandler_ = dataHandler;
- }
-
-
- public void push (RtecEventComm.Event[] events)
- {
- if (total_received_ < 5)
- System.out.println ("Demo Consumer: Received an event! ->Number: " + total_received_);
- else if (total_received_ == 5)
- System.out.println ("Demo Consumer: Everything is fine. Going to be mute.");
-
-
- if (events.length == 0)
- {
- System.err.println ("No events");
- }
- else
- {
- total_received_++;
-
- for (int i = 0; i < events.length; ++i)
- {
- if(events[i].type_ == ACE_ES_EVENT_NOTIFICATION)
- {
- try
- {
- dataHandler_.update (events[i].data_.any_value);
- }
- catch(org.omg.CORBA.SystemException e)
- {
- System.err.println(e);
- }
- }
- }
- }
- }
-
- public void disconnect_push_consumer()
- {
- System.out.println ("Demo Consumer: Have to disconnect!");
- }
-
- public void open_consumer (RtecEventChannelAdmin.EventChannel event_channel,
- RtecScheduler.Scheduler scheduler,
- String name)
- {
-
- try
- {
-
- // Define Real-time information
-
- rt_info_ = scheduler.create (name);
-
- scheduler.set (rt_info_,
- RtecScheduler.Criticality.VERY_LOW_CRITICALITY,
- new TimeBase.ulonglong (0,0),
- new TimeBase.ulonglong (0,0),
- new TimeBase.ulonglong (0,0),
- 2500000, // period
- RtecScheduler.Importance.VERY_LOW_IMPORTANCE,
- new TimeBase.ulonglong (0,0),
- 1,
- RtecScheduler.Info_Type.OPERATION);
-
- // Register for Notification and Shutdown events
- RtecEventComm.Event notification_event =
- new RtecEventComm.Event (ACE_ES_EVENT_NOTIFICATION, 0,
- 1, // ttl
- new TimeBase.ulonglong (0,0),
- new TimeBase.ulonglong (0,0),
- new TimeBase.ulonglong (0,0),
- new RtecEventComm.EventData (orb_.create_any ()));
-
- RtecEventChannelAdmin.Dependency dependencies[] = new RtecEventChannelAdmin.Dependency[1];
- dependencies[0] = new RtecEventChannelAdmin.Dependency (notification_event, rt_info_);
-
- RtecEventChannelAdmin.ConsumerQOS qos = new RtecEventChannelAdmin.ConsumerQOS (dependencies,
- false);
-
- // The channel administrator is the event channel we got from the invocation
- // of this routine
- channel_admin_ = event_channel;
-
- // Connect as a consumer
- consumer_admin_ = channel_admin_.for_consumers ();
-
- // Obtain a reference to the proxy push supplier
- suppliers_ = consumer_admin_.obtain_push_supplier ();
-
- suppliers_.connect_push_consumer (this, qos);
-
- System.out.println ("Registered the consumer successfully.");
-
- }
- catch (RtecEventChannelAdmin.TypeError e)
- {
- System.err.println ("Demo_Consumer.open_consumer: Type error");
- System.err.println (e);
- }
- catch (RtecEventChannelAdmin.AlreadyConnected e)
- {
- System.err.println ("Demo_Consumer.open_consumer: Already connected");
- System.err.println (e);
- }
-
- catch (RtecScheduler.UNKNOWN_TASK e)
- {
- System.err.println ("Demo_Consumer.open_consumer: Unknown task");
- System.err.println (e);
- }
- catch (RtecScheduler.DUPLICATE_NAME e)
- {
- System.err.println ("Demo_Consumer.open_consumer: Duplicate names");
- System.err.println (e);
- }
- catch(org.omg.CORBA.SystemException e)
- {
- System.err.println(e);
- }
- }
-}
-
-
-
-
-
-
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java b/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java
deleted file mode 100644
index d424561567d..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java
+++ /dev/null
@@ -1,181 +0,0 @@
-// $Id$
-//
-// ============================================================================
-//
-// = FILENAME
-// PushConsumerFactory.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is the administor/factory for a PushConsumer.
-//
-// ============================================================================
-
-
-
-
-public class PushConsumerFactory {
-
- private org.omg.CORBA.ORB orb_;
- private org.omg.CORBA.BOA boa_;
- private org.omg.CORBA.Object naming_service_object_;
-
- private DataHandler dataHandler_;
- private Navigation navigation_;
- private Weapons weapons_;
-
-
- public PushConsumerFactory (DataHandler dataHandler,
- String nameServiceIOR,
- String[] args,
- java.applet.Applet applet)
- {
- try
- {
- dataHandler_ = dataHandler;
-
- // if the DOVE Browser is running as an Applet
- if (applet != null) {
- orb_ = org.omg.CORBA.ORB.init (applet, null);
- }
- else { // not running as an Applet, but as an normal Application
- orb_ = org.omg.CORBA.ORB.init ();
- }
- boa_ = orb_.BOA_init ();
-
- // Get the Naming Service initial reference
-
- // Name Service Lookup cannot be used when running as an Applet
- if (nameServiceIOR == null && applet != null) {
- System.out.println (" Name Service Lookup cannot be used when running as an Applet! Quit!");
- System.exit (1);
- }
-
- if (nameServiceIOR == null) { // only used when running via "java" or "vbj"
- System.out.println ("Using the lookup protocol!");
- NS_Resolve ns_resolve_ = new NS_Resolve ();
- naming_service_object_ = ns_resolve_.resolve_name_service (orb_);
- }
- else {
- System.out.println ("Using the following IOR: " + nameServiceIOR);
- naming_service_object_ = orb_.string_to_object (nameServiceIOR);
- }
-
- }
- catch(org.omg.CORBA.SystemException e) {
- System.err.println ("PushConsumerFactory constructor: ORB and Name Service initialization");
- System.err.println(e);
- }
-
- }
-
- public class Object_is_null_exception extends Exception
- {
- Object_is_null_exception (String s)
- {
- super (s);
- }
- }
-
- public void run ()
- {
- try
- {
-
- // Get the Naming Context to allow resolving the EventService and
- // ScheduleService
- CosNaming.NamingContext naming_context_ =
- CosNaming.NamingContextHelper.narrow (naming_service_object_);
-
- if (naming_context_ == null)
- {
- System.err.println ("The Naming Context is null");
- System.exit (1);
- }
- System.out.println ("Reference to the Naming Service is ok.");
-
- // Get a reference for the EventService
-
- CosNaming.NameComponent[] ec_name_components_ = new CosNaming.NameComponent[1];
- ec_name_components_[0] = new CosNaming.NameComponent ("EventService","");
- org.omg.CORBA.Object event_channel_object_ = naming_context_.resolve (ec_name_components_);
-
- if (event_channel_object_ == null)
- {
- throw new Object_is_null_exception("EventService Object is null");
- }
-
- RtecEventChannelAdmin.EventChannel event_channel_ =
- RtecEventChannelAdmin.EventChannelHelper.narrow (event_channel_object_);
-
- System.out.println ("Reference to the Event Service is ok.");
-
- // Get a reference for the ScheduleService
-
- CosNaming.NameComponent[] s_name_components_ = new CosNaming.NameComponent[1];
- s_name_components_[0] = new CosNaming.NameComponent ("ScheduleService","");
- org.omg.CORBA.Object scheduler_object_ = naming_context_.resolve (s_name_components_);
-
- if (scheduler_object_ == null)
- {
- throw new Object_is_null_exception("ScheduleService Object is null");
- }
-
- RtecScheduler.Scheduler scheduler_ =
- RtecScheduler.SchedulerHelper.narrow (scheduler_object_);
-
- System.out.println ("Reference to the Naming Service is ok.");
-
-
- // Start the consumer
- System.out.println ("Instantiating the Push Consumer.");
- PushConsumer pushConsumer_ = new PushConsumer (orb_, dataHandler_);
- System.out.println ("Initializing the Push Consumer.");
- pushConsumer_.open_consumer (event_channel_, scheduler_, "demo_consumer");
-
- // Tell the CORBA environment that we are ready
-
- boa_.obj_is_ready (pushConsumer_);
-
- System.out.println ("boa.obj_is_ready succeeded");
-
- boa_.impl_is_ready ();
- }
- catch (CosNaming.NamingContextPackage.CannotProceed e)
- {
- System.err.println ("CosNaming.NamingContextPackage.CannotProceed");
- System.err.println (e);
- }
- catch (CosNaming.NamingContextPackage.InvalidName e)
- {
- System.err.println ("CosNaming.NamingContextPackage.InvalidName");
- System.err.println (e);
- }
- catch (CosNaming.NamingContextPackage.NotFound e)
- {
- System.err.println ("CosNaming.NamingContextPackage.NotFound");
- System.err.println (e);
-
- }
- catch (Object_is_null_exception e)
- {
- System.err.println (e);
- }
- catch(org.omg.CORBA.SystemException e)
- {
- System.err.println ("PushConsumerFactory.run: Failure");
- System.err.println(e);
- }
- }
-
-
-} // public class PushConsumerFactory
-
-
-
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2 b/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2
deleted file mode 100644
index b6039ee72d9..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/PushConsumerFactory.java.JDK1.2
+++ /dev/null
@@ -1,180 +0,0 @@
-// $Id$
-//
-// ============================================================================
-//
-// = FILENAME
-// PushConsumerFactory.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is the administor/factory for a PushConsumer.
-//
-// ============================================================================
-
-
-public class PushConsumerFactory
-{
-
- private org.omg.CORBA.ORB orb_;
- private org.omg.CORBA.Object naming_service_object_;
- private DataHandler dataHandler_;
- private Navigation navigation_;
- private Weapons weapons_;
-
-
- public PushConsumerFactory (DataHandler dataHandler,
- String nameServiceIOR,
- String[] args,
- java.applet.Applet applet)
- {
- try {
- dataHandler_ = dataHandler;
-
- // if the DOVE Browser is running as an Applet
- if (applet != null) {
- orb_ = org.omg.CORBA.ORB.init (applet, null);
- }
- else { // not running as an Applet, but as an normal Application
- orb_ = org.omg.CORBA.ORB.init (args, null);
- }
-
- // Get the Naming Service initial reference
-
- // Name Service Lookup cannot be used when running as an Applet
- if (nameServiceIOR == null && applet != null) {
- System.out.println (" Name Service Lookup cannot be used when running as an Applet! Quit!");
- System.exit (1);
- }
-
- if (nameServiceIOR == null) { // only used when running via "java" or "vbj"
- System.out.println ("Using the lookup protocol!");
- NS_Resolve ns_resolve = new NS_Resolve ();
- naming_service_object_ = ns_resolve.resolve_name_service (orb_);
- }
- else {
- System.out.println ("Using the following IOR: " + nameServiceIOR);
- naming_service_object_ = orb_.string_to_object (nameServiceIOR);
- }
-
- }
- catch(org.omg.CORBA.SystemException e) {
- System.err.println ("PushConsumerFactory constructor: ORB and Name Service initialization");
- System.err.println(e);
- }
-
- }
-
- public class Object_is_null_exception extends Exception
- {
- Object_is_null_exception (String s)
- {
- super (s);
- }
- }
-
- public void run ()
- {
- try
- {
-
- // Get the Naming Context to allow resolving the EventService and
- // ScheduleService
- CosNaming.NamingContext naming_context =
- CosNaming.NamingContextHelper.narrow (naming_service_object_);
-
- if (naming_context == null)
- {
- System.err.println ("The Naming Context is null");
- System.exit (1);
- }
- System.out.println ("Reference to the Naming Service is ok.");
-
- // Get a reference for the EventService
-
- CosNaming.NameComponent[] ec_name_components = new CosNaming.NameComponent[1];
- ec_name_components[0] = new CosNaming.NameComponent ("EventService","");
- org.omg.CORBA.Object event_channel_object = naming_context.resolve (ec_name_components);
-
- if (event_channel_object == null)
- {
- throw new Object_is_null_exception("EventService Object is null");
- }
-
- RtecEventChannelAdmin.EventChannel event_channel =
- RtecEventChannelAdmin.EventChannelHelper.narrow (event_channel_object);
-
- System.out.println ("Reference to the Event Service is ok.");
-
- // Get a reference for the ScheduleService
-
- CosNaming.NameComponent[] s_name_components = new CosNaming.NameComponent[1];
- s_name_components[0] = new CosNaming.NameComponent ("ScheduleService","");
- org.omg.CORBA.Object scheduler_object = naming_context.resolve (s_name_components);
-
- if (scheduler_object == null)
- {
- throw new Object_is_null_exception("ScheduleService Object is null");
- }
-
- RtecScheduler.Scheduler scheduler =
- RtecScheduler.SchedulerHelper.narrow (scheduler_object);
-
- System.out.println ("Reference to the Naming Service is ok.");
-
-
- // Start the consumer
- System.out.println ("Instantiating the Push Consumer.");
- PushConsumer pushConsumer = new PushConsumer (orb_, dataHandler_);
- System.out.println ("Initializing the Push Consumer.");
- pushConsumer.open_consumer (event_channel, scheduler, "demo_consumer");
-
- // Tell the CORBA environment that we are ready
-
- orb_.connect (pushConsumer);
-
- System.out.println ("Going into the event dispatching loop.");
-
-
- java.lang.Object sync = new java.lang.Object();
- synchronized (sync) {
- sync.wait();
- }
- }
- catch (java.lang.InterruptedException e)
- {
- }
- catch (CosNaming.NamingContextPackage.CannotProceed e)
- {
- System.err.println ("CosNaming.NamingContextPackage.CannotProceed");
- System.err.println (e);
- }
- catch (CosNaming.NamingContextPackage.InvalidName e)
- {
- System.err.println ("CosNaming.NamingContextPackage.InvalidName");
- System.err.println (e);
- }
- catch (CosNaming.NamingContextPackage.NotFound e)
- {
- System.err.println ("CosNaming.NamingContextPackage.NotFound");
- System.err.println (e);
- }
- catch (Object_is_null_exception e)
- {
- System.err.println (e);
- }
- catch(org.omg.CORBA.SystemException e)
- {
- System.err.println ("PushConsumerFactory.run: Failure");
- System.err.println(e);
- }
- }
-} // public class PushConsumerFactory
-
-
-
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEBrowser/Queue.java b/TAO/examples/Simulator/DOVEBrowser/Queue.java
deleted file mode 100644
index 7ffaba15c52..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/Queue.java
+++ /dev/null
@@ -1,190 +0,0 @@
-// $Id$
-
-
-import java.util.Enumeration;
-
-public class Queue
-{
- // Friendly?
- Queue_Node head_ = null;
- Queue_Node tail_ = null;
-
- private int length_ = 0;
-
- public Queue()
- {
- }
-
- public Enumeration forward_iterator()
- {
- return new Queue_Iterator(this, Queue_Iterator.FORWARD);
- }
-
- public Enumeration reverse_iterator()
- {
- return new Queue_Iterator(this, Queue_Iterator.REVERSE);
- }
-
- public void enqueue_tail(Object new_data)
- {
- Queue_Node new_node = new Queue_Node(new_data);
-
- if (tail_ == null)
- {
- tail_ = new_node;
- head_ = new_node;
- }
- else
- {
- new_node.prev_ = tail_;
- tail_.next_ = new_node;
- tail_ = new_node;
- }
-
- length_++;
- }
-
- public void enqueue_head(Object new_data)
- {
- Queue_Node new_node = new Queue_Node(new_data);
-
- if (head_ == null)
- {
- tail_ = new_node;
- head_ = new_node;
- }
- else
- {
- new_node.next_ = head_;
- head_.prev_ = new_node;
- head_ = new_node;
- }
-
- length_++;
- }
-
- public Object dequeue_head()
- {
- Object return_value = null;
-
- if (head_ == null)
- return_value = null;
- else if (tail_ == head_)
- {
- return_value = head_.data_;
- tail_ = null;
- head_ = null;
- }
- else
- {
- return_value = head_.data_;
- head_ = head_.next_;
- head_.prev_ = null;
- }
-
- length_--;
-
- return return_value;
- }
-
- public Object dequeue_tail()
- {
- Object return_value = null;
-
- if (tail_ == null)
- return_value = null;
- else if (tail_ == head_)
- {
- return_value = tail_.data_;
- tail_ = null;
- head_ = null;
- }
- else
- {
- return_value = tail_.data_;
- tail_ = tail_.prev_;
- tail_.next_ = null;
- }
-
- length_--;
-
- return return_value;
- }
-
- public int length()
- {
- return length_;
- }
-
- public Object head()
- {
- if (head_ != null)
- return head_.data_;
- else
- return null;
- }
-
- public Object tail()
- {
- if (tail_ != null)
- return tail_.data_;
- else
- return null;
- }
-}
-
-class Queue_Node
-{
- public Queue_Node prev_ = null;
- public Queue_Node next_ = null;;
- public Object data_;
-
- public Queue_Node(Object data)
- {
- data_ = data;
- }
-}
-
-class Queue_Iterator implements Enumeration
-{
- public static final boolean FORWARD = true;
- public static final boolean REVERSE = false;
-
- private Queue queue_;
- private Queue_Node queue_ptr_;
- private boolean direction_ = FORWARD;
-
- public Queue_Iterator(Queue queue)
- {
- queue_ = queue;
- queue_ptr_ = queue.head_;
- }
-
- public Queue_Iterator(Queue queue, boolean direction)
- {
- queue_ = queue;
- direction_ = direction;
-
- if (direction_)
- queue_ptr_ = queue_.head_;
- else
- queue_ptr_ = queue_.tail_;
- }
-
- public Object nextElement()
- {
- Object data = queue_ptr_.data_;
-
- if (direction_)
- queue_ptr_ = queue_ptr_.next_;
- else
- queue_ptr_ = queue_ptr_.prev_;
-
- return data;
- }
-
- public boolean hasMoreElements()
- {
- return queue_ptr_ != null;
- }
-}
diff --git a/TAO/examples/Simulator/DOVEBrowser/VisComp.java b/TAO/examples/Simulator/DOVEBrowser/VisComp.java
deleted file mode 100644
index 53294f33ea2..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/VisComp.java
+++ /dev/null
@@ -1,19 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// VisComp.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is the interface for Java Beans.
-//
-// ============================================================================
-
-
-public interface VisComp extends java.util.Observer {
-
- public void setName (String title);
- public int getProperty ();
-}
diff --git a/TAO/examples/Simulator/DOVEBrowser/VisCompFactory.java b/TAO/examples/Simulator/DOVEBrowser/VisCompFactory.java
deleted file mode 100644
index 288fcccceec..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/VisCompFactory.java
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// VisCompFactory.java
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This class serves as factory for Visualization Components
-//
-// ============================================================================
-
-import java.beans.*;
-
-class VisCompFactory {
-
- VisComp getNewVisComp (int property, String name) {
-
- ClassLoader classLoader_ = this.getClass().getClassLoader();
-
- VisComp visComp_ = null;
- String visCompName_ = "VisComp";
- switch (property) {
- case Properties.DOUBLE:
- visCompName_ = "Double"+visCompName_;
- break;
- case Properties.NAVIGATION:
- visCompName_ = "Navigation"+visCompName_;
- break;
- case Properties.WEAPONS:
- visCompName_ = "Weapons"+visCompName_;
- break;
- default: return null;
- }
- try {
- System.out.println ("Trying to connect: " + visCompName_+ " .. ");
- visComp_ = (VisComp) Beans.instantiate (classLoader_, visCompName_);
- visComp_.setName (name);
- System.out.println ("Connected: " + visCompName_);
- return visComp_;
- }
- catch (Exception e) {
- System.out.println ("Unable to load JavaBean: " + e);
- return null;
- }
- }
-} \ No newline at end of file
diff --git a/TAO/examples/Simulator/DOVEBrowser/WeaponsVisComp.java b/TAO/examples/Simulator/DOVEBrowser/WeaponsVisComp.java
deleted file mode 100644
index 8c81bfc9c11..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/WeaponsVisComp.java
+++ /dev/null
@@ -1,144 +0,0 @@
-// $Id$
-//
-// = FILENAME
-// WeaponsVisComp.java
-//
-// = AUTHOR
-// Seth Widoff (core functionality)
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// = DESCRIPTION
-// This is a Visualization Component for displaying weapons.
-//
-// ============================================================================
-
-
-import java.io.*;
-import java.util.*;
-import java.awt.*;
-
-
-public class WeaponsVisComp extends Panel implements VisComp
-{
- private final static String ONLINE = "Online";
- private final static String OFFLINE = "Offline";
- private final static Font FONT_BIG = new Font ("Dialog", Font.BOLD, 14);
- private final static Font FONT_SMALL = new Font ("Dialog", Font.BOLD, 10);
- private final static Color BLUE = new Color (30, 144, 255);
-
- private int count_ = 0;
- private Hashtable weapons_table_ = new Hashtable ();
- private GridBagLayout gbl_= new GridBagLayout ();
- private GridBagConstraints gbc_ = new GridBagConstraints ();
-
- Label default_label_ = new Label ("No weapons available", Label.CENTER);
-
- public WeaponsVisComp ()
- {
- default_label_.setFont (FONT_BIG);
- default_label_.setForeground (BLUE);
-
- setLayout (gbl_);
- gbc_.gridx = 0;
- gbc_.gridy = 0;
- gbc_.gridheight = 1;
- gbc_.gridwidth = 1;
- gbc_.anchor = GridBagConstraints.NORTH;
- gbc_.fill = GridBagConstraints.NONE;
- setBackground (Color.black);
-
- gbl_.setConstraints (default_label_, gbc_);
- add (default_label_);
- }
-
- public void setName (String title) {
- }
-
- public int getProperty () {
- return Properties.WEAPONS;
- }
-
- public Dimension getPreferredSize () {
- return new Dimension (250, 200);
- }
-
- public Dimension getMinimumSize () {
- return new Dimension (80, 80);
- }
-
- public void update (java.util.Observable observable, java.lang.Object obj) {
- Weapons weapons_ = null;
- try {
- weapons_ = (Weapons) obj;
- }
- catch (Exception excp) {
- System.out.println (excp);
- System.out.println ("Visualization Component received wrong data type!");
- }
- if (weapons_ != null)
- {
- for (int i = 0; i < weapons_.number_of_weapons && i < 5; i++)
- {
- String weapon = "";
- int status = 0;
- switch (i)
- {
- default:
- break;
- case 0: weapon = weapons_.weapon1_identifier;
- status = weapons_.weapon1_status;
- break;
- case 1: weapon = weapons_.weapon2_identifier;
- status = weapons_.weapon2_status;
- break;
- case 2: weapon = weapons_.weapon3_identifier;
- status = weapons_.weapon3_status;
- break;
- case 3: weapon = weapons_.weapon4_identifier;
- status = weapons_.weapon4_status;
- break;
- case 4: weapon = weapons_.weapon5_identifier;
- status = weapons_.weapon5_status;
- break;
- }
-
-
- Label status_label_ = (Label)weapons_table_.get (weapon);
-
- if (status_label_ != null)
- status_label_.setText ((status == 1) ? ONLINE : OFFLINE);
- else
- {
- if (count_ == 0)
- this.removeAll ();
-
- count_++;
- Label weapon_label_ = new Label (count_ + ". " + weapon, Label.LEFT);
- status_label_ = new Label ((status == 1) ? ONLINE : OFFLINE, Label.RIGHT);
-
- status_label_.setFont (FONT_SMALL);
- weapon_label_.setFont (FONT_SMALL);
- weapon_label_.setForeground (BLUE);
-
- gbc_.gridx = 0;
- gbc_.anchor = GridBagConstraints.WEST;
- gbl_.setConstraints (weapon_label_, gbc_);
- add (weapon_label_);
- gbc_.gridx = 1;
- gbc_.anchor = GridBagConstraints.EAST;
- gbl_.setConstraints (status_label_, gbc_);
- add (status_label_);
-
- gbc_.gridy++;
- weapons_table_.put (weapon, status_label_);
- }
-
- status_label_.setForeground ((status == 1) ?
- Color.lightGray :
- Color.darkGray);
- }
-
- validate ();
- }
- }
-}
diff --git a/TAO/examples/Simulator/DOVEBrowser/make.bat b/TAO/examples/Simulator/DOVEBrowser/make.bat
deleted file mode 100755
index d2bb1163e00..00000000000
--- a/TAO/examples/Simulator/DOVEBrowser/make.bat
+++ /dev/null
@@ -1,45 +0,0 @@
-REM This File generates the necessary classes for Visibroker and JDK1.2
-REM call it like: make VB or make JDK
-
-
-if %1 == VB goto VB
-
-
-:JDK
-echo JDK1.2
-del RtecEventComm
-del RtecEventChannelAdmin
-del RtecScheduler
-del CosNaming
-del TimeBase
-idltojava RtecEventComm.idl
-idltojava RtecEventChannelAdmin.idl
-idltojava RtecScheduler.idl
-idltojava CosNaming.idl
-idltojava CosTimeBase.idl
-javac CosNaming\NamingContextPackage\*.java
-javac CosNaming\*.java
-javac TimeBase\*.java
-javac RtecScheduler\*.java
-javac RtecEventComm\*.java
-javac RtecEventComm\EventChannelPackage\*.java
-javac RtecEventChannelAdmin\*.java
-javac *.java
-
-goto end
-
-:VB
-echo Visibroker
-del RtecEventComm
-del RtecEventChannelAdmin
-del RtecScheduler
-del CosNaming
-del TimeBase
-idl2java RtecEventComm.idl
-idl2java RtecEventChannelAdmin.idl
-idl2java RtecScheduler.idl
-idl2java CosNaming.idl
-idl2java CosTimeBase.idl
-vbjc *.java
-
-:end
diff --git a/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp b/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp
deleted file mode 100644
index 874c6125781..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.cpp
+++ /dev/null
@@ -1,216 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// AnyAnalyser.cpp
-//
-// = AUTHOR
-// Michael Kircher
-//
-// = DESCRIPTION
-// Accepts an CORBA::Any, traverses it, copies it into a tree structure
-// and prints out the tree.
-//
-// ============================================================================
-
-#include "AnyAnalyser.h"
-#include "tao/Align.h"
-
-ACE_RCSID(DOVEMIB, AnyAnalyser, "$Id$")
-
-AnyAnalyser::AnyAnalyser (const char *file_name)
- : printVisitor_ptr_(new PrintVisitor (file_name)) {
-}
-
-AnyAnalyser::~AnyAnalyser () {
- delete this->printVisitor_ptr_;
-}
-
-void
-AnyAnalyser::close () {
- this->printVisitor_ptr_->close();
-}
-
-void
-AnyAnalyser::printTimeStamp (ACE_hrtime_t creation,
- ACE_hrtime_t ec_recv,
- ACE_hrtime_t ec_send)
-{
- this->printVisitor_ptr_->printTimeStamp (creation,
- ec_recv,
- ec_send);
-}
-
-
-void
-AnyAnalyser::printAny (CORBA::TypeCode_ptr any_type, const void *any_value) {
-
- // Analyse the any and store the results in a tree structure
- RecurseInfo recurseInfo_ = {PARENT_IS_NO_STRUCT,// identifies parent
- 0, // parent typecode
- 0, // member count
- 0}; // recursion level
-
- // have a variable with can be incremented by all
- // recursive analyse calls
- const unsigned char *value_ptr_ = (const unsigned char *)any_value;
-
- // analyse the any
- Node *node_ptr_ = analyse (any_type, // typecode information
- value_ptr_, // pointer to the memory
- recurseInfo_); // recurse information
-
- // print the results
- node_ptr_->Accept ((NodeVisitor *)printVisitor_ptr_);
-}
-
-Node *
-AnyAnalyser::analyse (CORBA::TypeCode_ptr tc_ptr,
- const unsigned char *&value_ptr,
- RecurseInfo ri)
-{
- CORBA::Long alignment, align_offset;
- CORBA::TypeCode_ptr param;
- const unsigned char *start_addr = value_ptr;
-
- TAO_TRY {
- Node *node_ptr_ = 0;
-
- if (tc_ptr != 0) {
-
- switch (tc_ptr->kind(TAO_TRY_ENV)) {
-
- case CORBA::tk_struct:
- {
- // to hold a pointer to the start of the struct
- start_addr = value_ptr;
-
- // create a new Node
- StructNode *structNode_ptr_ = new StructNode (tc_ptr->name (TAO_TRY_ENV),
- ri.recursion_level);
-
- for (unsigned int i = 0; i < tc_ptr->member_count (TAO_TRY_ENV); i++) {
-
- // get the TypeCode pointer to the ith parameter
- // and analyse it recursively
- RecurseInfo recurseInfo_ = {PARENT_IS_STRUCT, // identifies parent
- tc_ptr, // parent typecode
- i, // member count
- ri.recursion_level+1};
-
-
- // get the type code of the child i
- param = tc_ptr->member_type (i, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // get the size
- /* size = */ param->size (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // get the alignment
- alignment = param->alignment (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // calculate
- align_offset =
- (ptr_arith_t) ptr_align_binary (value_ptr, alignment)
- - (ptr_arith_t) value_ptr
- + (ptr_arith_t) ptr_align_binary (start_addr, alignment)
- - (ptr_arith_t) start_addr;
- TAO_CHECK_ENV;
-
- // if both the start_addr and data are not aligned as per
- // the alignment, we do not add the offset
- value_ptr = (unsigned char *) ((ptr_arith_t) value_ptr +
- ((align_offset == alignment) ?
- 0 : align_offset));
-
- structNode_ptr_->addChild (analyse (param,
- value_ptr,
- recurseInfo_));
- }
- node_ptr_ = (Node *)structNode_ptr_;
- }
- break;
-
- case CORBA::tk_double:
- if (ri.kind == PARENT_IS_STRUCT) {
- node_ptr_ = (Node *) new DoubleNode ((CORBA::Double *)value_ptr,
- ri.parent_tc_ptr->member_name(ri.member_number,
- TAO_TRY_ENV),
- ri.recursion_level);
- }
- else {
- node_ptr_ = (Node *) new DoubleNode ((CORBA::Double *)value_ptr,
- tc_ptr->name(TAO_TRY_ENV),
- ri.recursion_level);
- }
- value_ptr += 8;
- break;
-
- case CORBA::tk_long:
- if (ri.kind == PARENT_IS_STRUCT) {
- node_ptr_ = (Node *) new LongNode ((CORBA::Long *)value_ptr,
- ri.parent_tc_ptr->member_name(ri.member_number,
- TAO_TRY_ENV),
- ri.recursion_level);
- }
- else {
- node_ptr_ = (Node *) new LongNode ((CORBA::Long *)value_ptr,
- tc_ptr->name(TAO_TRY_ENV),
- ri.recursion_level);
- }
- value_ptr += 4;
- break;
-
- case CORBA::tk_ulong:
- if (ri.kind == PARENT_IS_STRUCT) {
- node_ptr_ = (Node *) new ULongNode ((CORBA::ULong *)value_ptr,
- ri.parent_tc_ptr->member_name(ri.member_number,
- TAO_TRY_ENV),
- ri.recursion_level);
- }
- else {
- node_ptr_ = (Node *) new ULongNode ((CORBA::ULong *)value_ptr,
- tc_ptr->name(TAO_TRY_ENV),
- ri.recursion_level);
- }
- value_ptr += 4;
- break;
-
- case CORBA::tk_string:
- if (ri.kind == PARENT_IS_STRUCT) {
- node_ptr_ = (Node *) new StringNode (*(CORBA::String_var *)value_ptr,
- ri.parent_tc_ptr->member_name(ri.member_number,
- TAO_TRY_ENV),
- ri.recursion_level);
- }
- else {
- node_ptr_ = (Node *) new StringNode (*(CORBA::String_var *)value_ptr,
- tc_ptr->name(TAO_TRY_ENV),
- ri.recursion_level);
- }
- value_ptr += 4;
- break;
-
- default: ACE_ERROR ((LM_ERROR, "AnyAnalyser::analyse: No known kind of type detected!\n"));
- exit (1);
- break;
- }
- TAO_CHECK_ENV;
- return node_ptr_;
- }
- else {
- ACE_DEBUG ((LM_ERROR, "AnyAnalyser::analyse: TypeCode pointer to member was Null!\n"));
- }
- }
- TAO_CATCHANY {
- ACE_ERROR ((LM_ERROR, "(%t)AnyAnalyser::analyse: Error in analysing the any.\n"));
- }
- TAO_ENDTRY;
- return 0;
-}
-
-
diff --git a/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h b/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h
deleted file mode 100644
index e5840bb289e..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/AnyAnalyser.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// AnyAnalyser.h
-//
-// = AUTHOR
-// Michael Kircher
-//
-// = DESCRIPTION
-// Accepts an CORBA::Any, traverses it, copies it into a tree structure
-// and prints out the tree.
-//
-// ============================================================================
-
-
-#include "PrintVisitor.h"
-#include "tao/corba.h"
-
-#if !defined (ANYANALYSER_H)
-#define ANYANALYSER_H
-
-typedef enum {PARENT_IS_STRUCT, PARENT_IS_NO_STRUCT} KIND;
-
-typedef struct {
- KIND kind;
- CORBA::TypeCode_ptr parent_tc_ptr;
- unsigned int member_number;
- unsigned int recursion_level;
-} RecurseInfo;
-
-
-class AnyAnalyser {
-
-public:
- AnyAnalyser (const char *filename);
-
- ~AnyAnalyser ();
-
- // cause the PrintViewer to be deleted to close the file
- void close ();
-
- // main starting point includes analysing and printing
- void printAny (CORBA::TypeCode_ptr any_type, const void *any_value);
-
- void printTimeStamp (ACE_hrtime_t creation,
- ACE_hrtime_t ec_recv,
- ACE_hrtime_t ec_send);
- // Print the time stamp, which means forward this
- // call to the PrintVisitor
-
-private:
- Node *analyse (CORBA::TypeCode_ptr tc_ptr,
- const unsigned char *&value_ptr,
- RecurseInfo recurseInfo);
-
- PrintVisitor *printVisitor_ptr_;
-};
-
-#endif
-
diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp b/TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp
deleted file mode 100644
index ded0f6c359c..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.cpp
+++ /dev/null
@@ -1,419 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// DOVEMIB.cpp
-//
-// = DESCRIPTION
-// The MIB listens to the Event Channel, analyses the CORBA::Any
-// and prints the result into a file.
-//
-// = AUTHOR
-// originally
-// David Levine (levine@cs.wustl.edu) and
-// Tim Harrison (harrison@cs.wustl.edu)
-// modified
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include <limits.h>
-
-#include "ace/Get_Opt.h"
-#include "ace/Sched_Params.h"
-#include "ace/Profile_Timer.h"
-#include "orbsvcs/Event_Utilities.h"
-#include "orbsvcs/Event_Service_Constants.h"
-#include "orbsvcs/Scheduler_Factory.h"
-#include "DOVEMIB.h"
-
-ACE_RCSID(DOVEMIB, DOVEMIB, "$Id$")
-
-static const char usage [] =
-"[-? |\n"
-" [-O[RBport] ORB port number]"
-" [-m <count> of messages to receive [100]]"
-" [-f filename for the repository [event_repository]]]";
-
-static int events_received_ = 0;
-static char *input_file_name = 0;
-static int events_to_receive_ = 100;
-RtecEventChannelAdmin::EventChannel_var ec;
-
-// ************************************************************
-
-MIB_Consumer::MIB_Consumer (void)
-: anyAnalyser_ (input_file_name) {
-}
-
-int
-MIB_Consumer::open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec,
- const char *my_name) {
- TAO_TRY {
- // Get a Scheduler.
-
- RtecScheduler::Scheduler_ptr server =
- ACE_Scheduler_Factory::server ();
-
- // Define Real-time information.
-
- rt_info_ = server->create (my_name, TAO_TRY_ENV);
-
- server->set (rt_info_,
- RtecScheduler::VERY_LOW_CRITICALITY,
- ORBSVCS_Time::zero,
- ORBSVCS_Time::zero,
- ORBSVCS_Time::zero,
- 2500000,
- RtecScheduler::VERY_LOW_IMPORTANCE,
- ORBSVCS_Time::zero,
- 1,
- RtecScheduler::OPERATION,
- TAO_TRY_ENV);
-
- // Create the event that we're registering for.
-
- ACE_ConsumerQOS_Factory dependencies;
- dependencies.start_disjunction_group ();
- dependencies.insert_type (ACE_ES_EVENT_NOTIFICATION, rt_info_);
- dependencies.insert_type (ACE_ES_EVENT_SHUTDOWN, rt_info_);
-
- // The channel administrator is the event channel we got from
- // the invocation of this routine.
-
- this->channel_admin_ = ec;
-
- // = Connect as a consumer.
-
- this->consumer_admin_ = channel_admin_->for_consumers (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Obtain a pointer to a push supplier. "suppliers" is
- // inherited from a base class.
-
- this->suppliers_ = consumer_admin_->obtain_push_supplier (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // The _this function returns an object pointer. This is needed
- // because a consumer inherits from a Servant class that is no
- // CORBA::Object.
-
- RtecEventComm::PushConsumer_var objref = this->_this (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- this->suppliers_->connect_push_consumer (objref.in (),
- dependencies.get_ConsumerQOS (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCH (RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR, se) {
- ACE_ERROR_RETURN ((LM_ERROR,
- "MIB_Consumer::open: subscribe failed.\n"),
- -1);
- }
- TAO_CATCHANY {
- ACE_ERROR_RETURN ((LM_ERROR,
- "MIB_Consumer::open: unexpected exception.\n"),
- -1);
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-void
-MIB_Consumer::disconnect_push_consumer (CORBA::Environment &)
-{
- ACE_DEBUG ((LM_DEBUG,
- "Consumer received disconnect from channel.\n"));
-}
-
-
-// This method is called when the Event Service pushes a new
-// event to us
-
-void
-MIB_Consumer::push (const RtecEventComm::EventSet &events,
- CORBA::Environment &)
-{
-
- if (events.length () == 0) {
- ACE_DEBUG ((LM_DEBUG, "no events\n"));
- return;
- }
-
- // count the number of events
- events_received_++;
-
- // if we have enough we quit
- if (events_received_ > events_to_receive_) {
- this->shutdown ();
- }
-
- // Several events could be sent at once
- for (CORBA::ULong i = 0; i < events.length (); ++i) {
-
- if (events[i].header.type == ACE_ES_EVENT_SHUTDOWN) {
-
- ACE_DEBUG ((LM_DEBUG, "MIB Consumer: received shutdown event\n"));
- this->shutdown ();
- }
- else {
-
- if (events_received_ == 1) {
- ACE_DEBUG ((LM_DEBUG, "MIB Consumer: received an event, going to be mute.\n"));
- }
-
- TAO_TRY
- {
- // print the time stamps
- ACE_hrtime_t creation;
- ORBSVCS_Time::TimeT_to_hrtime (creation,
- events[i].header.creation_time);
-
- ACE_hrtime_t ec_recv;
- ORBSVCS_Time::TimeT_to_hrtime (ec_recv,
- events[i].header.ec_recv_time);
-
- ACE_hrtime_t ec_send;
- ORBSVCS_Time::TimeT_to_hrtime (ec_send,
- events[i].header.ec_send_time);
-
- anyAnalyser_.printTimeStamp (creation, ec_recv, ec_send);
-
- if (events[i].data.any_value.any_owns_data ())
- {
- void * void_ptr = ACE_OS::malloc (events[i].data.any_value.type()->size(TAO_TRY_ENV));
-
- TAO_InputCDR stream ((ACE_Message_Block *)events[i].data.any_value.value ());
- if (stream.decode (events[i].data.any_value.type(), void_ptr, 0, TAO_TRY_ENV)
- != CORBA::TypeCode::TRAVERSE_CONTINUE)
- {
- cout << "MIB_Consumer::push: "
- << "Something went wrong when decoding the Message Block (Any value)!"
- << endl;
- // something went wrong
- ACE_OS::free(void_ptr);
- return;
- }
- TAO_CHECK_ENV;
-
- // invoke the AnyAnalyser
- anyAnalyser_.printAny (events[i].data.any_value.type(), void_ptr);
- ACE_OS::free(void_ptr);
- }
- else
- {
- // invoke the AnyAnalyser
- anyAnalyser_.printAny (events[i].data.any_value.type(), events[i].data.any_value.value());
- }
-
- }
- TAO_CATCHANY {
- ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the Navigation and Weapons data.\n"));
- }
- TAO_ENDTRY;
- }
- }
-}
-
-void
-MIB_Consumer::shutdown (void)
-{
- TAO_TRY
- {
- // cause the AnyAnalyser to close the file
- anyAnalyser_.close();
-
- // Disconnect from the push supplier.
- this->suppliers_->disconnect_push_supplier (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- ACE_DEBUG ((LM_DEBUG, "@@ we should shutdown here!!!\n"));
- TAO_CHECK_ENV;
-
- ec = 0;
-
- TAO_ORB_Core_instance ()->orb ()->shutdown ();
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- ACE_ERROR ((LM_ERROR,
- "(%t) MIB_Consumer::shutdown: unexpected exception.\n"));
- }
- TAO_ENDTRY;
-}
-
-// function get_options
-
-static unsigned int
-get_options (int argc, char *argv [])
-{
- ACE_Get_Opt get_opt (argc, argv, "O?f:m:");
- int opt;
- unsigned int temp;
-
- while ((opt = get_opt ()) != EOF)
- {
- switch (opt)
- {
- case '?':
- ACE_DEBUG ((LM_DEBUG,
- "Usage: %s %s\n",
- argv[0], usage));
- ACE_OS::exit (0);
- break;
-
- case 'f':
- input_file_name = get_opt.optarg;
-
- if (!input_file_name || ACE_OS::strlen (input_file_name) == 0) {
- input_file_name = 0;
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: file name must be specified with -f option",
- argv[0]),
- 1);
- }
- break;
-
- case 'm':
- temp = (unsigned int) ACE_OS::atoi (get_opt.optarg);
- if (temp > 0) {
- events_to_receive_ = temp;
- ACE_DEBUG ((LM_DEBUG,"Messages to receive: %d\n", events_to_receive_));
- }
- else {
- ACE_ERROR_RETURN ((LM_ERROR, "%s: count must be > 0", argv[0]), 1);
- }
- break;
-
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: unknown arg, -%c\n"
- "Usage: %s %s\n",
- argv[0], char(opt),
- argv[0], usage), 1);
- }
- }
-
- if (argc != get_opt.optind)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: too many arguments\n"
- "Usage: %s %s\n",
- argv[0],
- argv[0],
- usage),
- 1);
- return 0;
-}
-
-// function main.
-
-int
-main (int argc, char *argv [])
-{
- TAO_TRY
- {
- // Initialize ORB.
-
- CORBA::ORB_var orb =
- CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- CORBA::Object_var poa_object =
- orb->resolve_initial_references("RootPOA");
-
- if (CORBA::is_nil (poa_object.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize the POA.\n"),
- 1);
-
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (poa_object.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- CORBA::Object_var naming_obj =
- orb->resolve_initial_references ("NameService");
-
- if (CORBA::is_nil (naming_obj.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize the POA.\n"),
- 1);
-
- CosNaming::NamingContext_var naming_context =
- CosNaming::NamingContext::_narrow (naming_obj.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- ACE_Scheduler_Factory::use_config (naming_context.in ());
-
- if (get_options (argc, argv))
- ACE_OS::exit (-1);
-
- // Get the Event Channel.
-
- CosNaming::Name channel_name (1);
- channel_name.length (1);
- channel_name[0].id = CORBA::string_dup ("EventService");
-
- CORBA::Object_var ec_obj =
- naming_context->resolve (channel_name,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- ec =
- RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in(), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (ec.ptr() == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Not able to get the Event Service reference.\n"),
- -1);
-
- // Create consumer.
-
- MIB_Consumer *mIB_Consumer;
- ACE_NEW_RETURN (mIB_Consumer,
- MIB_Consumer (),
- -1);
-
- if (mIB_Consumer->open_consumer (ec.ptr (),
- "MIB_Consumer") == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Someone was feeling introverted.\n"),
- -1);
-
- poa_manager->activate (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Run the ORB
-
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "CORBA::ORB::run"),
- -1);
- TAO_CHECK_ENV;
-
- ec = 0;
-
- root_poa->destroy (1,
- 1,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("SYS_EX");
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp b/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp
deleted file mode 100644
index 567d22c72b6..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsp
+++ /dev/null
@@ -1,102 +0,0 @@
-# Microsoft Developer Studio Project File - Name="DOVEMIB" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=DOVEMIB - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "DOVEMIB.MAK".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "DOVEMIB.MAK" CFG="DOVEMIB - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "DOVEMIB - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "DOVEMIB - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "DOVEMIB - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "DOVEMIB - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\tao" /I "..\..\..\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FR /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /pdb:"DOVEMIB.pdb" /debug /machine:I386 /out:"DOVEMIB.exe" /pdbtype:sept /libpath:"..\..\..\..\..\ace" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\orbsvcs"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "DOVEMIB - Win32 Release"
-# Name "DOVEMIB - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\AnyAnalyser.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\DOVEMIB.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Node.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\PrintVisitor.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw b/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw
deleted file mode 100644
index 72065dca75b..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.dsw
+++ /dev/null
@@ -1,53 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "DOVEMIB"=.\DOVEMIB.DSP - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "DOVEMIBx"=.\DOVEMIBx.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "TestClient"=.\TestClient.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.h b/TAO/examples/Simulator/DOVEMIB/DOVEMIB.h
deleted file mode 100644
index 8730e2d56d0..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/DOVEMIB.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = FILENAME
-// DOVEMIB.h
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#if !defined (DOVE_MIB_H)
-#define DOVE_MIB_H
-
-//#include "ace/SString.h"
-#include "orbsvcs/RtecEventChannelAdminC.h"
-#include "orbsvcs/RtecEventCommS.h"
-#include "AnyAnalyser.h"
-
-class MIB_Consumer : public POA_RtecEventComm::PushConsumer
-{
- // = TITLE
- // Demo Consumer
- //
- // = DESCRIPTION
- // Simple example of a consumer that registers for supplier
- // notifications.
-public:
- MIB_Consumer (void);
-
- int open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec,
- const char *my_name);
- // Uses the name server to obtain a reference to the <supplier_name>
- // and registers with channel to receive notifications from the
- // supplier. Also registers to receive shutdown messages from the
- // supplier. Stores <my_name> for printing out messages. Returns 0
- // on success, -1 on failure.
-
- virtual void disconnect_push_consumer (CORBA::Environment &);
- // The channel is disconnecting.
-
- // = (not protected to allow short-circuiting) protected:
- virtual void push (const RtecEventComm::EventSet &events,
- CORBA::Environment &);
- // If the <events>[0] is a notification, prints out the data from
- // the supplier. If its a shutdown message, the consumer
- // disconnects from the channel.
-
-protected:
- void shutdown (void);
- // Disconnect from the Event Service.
-
- // = Event channel adminstration references.
- RtecEventChannelAdmin::EventChannel_var channel_admin_;
- RtecEventChannelAdmin::ConsumerAdmin_var consumer_admin_;
- RtecEventChannelAdmin::ProxyPushSupplier_var suppliers_;
- AnyAnalyser anyAnalyser_;
-private:
- RtecScheduler::handle_t rt_info_;
-};
-
-#endif /* DOVE_MIB_H */
diff --git a/TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp b/TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp
deleted file mode 100644
index d390d22cdf7..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/DOVEMIBx.dsp
+++ /dev/null
@@ -1,177 +0,0 @@
-# Microsoft Developer Studio Project File - Name="DOVEMIBx" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=DOVEMIBx - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "DOVEMIBx.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "DOVEMIBx.mak" CFG="DOVEMIBx - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "DOVEMIBx - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "DOVEMIBx - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "DOVEMIBx - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "DOVEMIBx - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "DOVEMIB0"
-# PROP BASE Intermediate_Dir "DOVEMIB0"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "DOVEMIB0"
-# PROP Intermediate_Dir "DOVEMIB0"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\tao" /I "..\..\..\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /pdb:"DOVEMIBx.pdb" /debug /machine:I386 /out:"DOVEMIBx.exe" /pdbtype:sept /libpath:"..\..\..\..\..\ace" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\orbsvcs"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "DOVEMIBx - Win32 Release"
-# Name "DOVEMIBx - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\any_test.idl
-
-!IF "$(CFG)" == "DOVEMIBx - Win32 Release"
-
-!ELSEIF "$(CFG)" == "DOVEMIBx - Win32 Debug"
-
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\any_test.idl
-InputName=any_test
-
-BuildCmds= \
- ..\..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\any_test_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\any_testC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\any_testS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\AnyAnalyser.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeap.idl
-
-!IF "$(CFG)" == "DOVEMIBx - Win32 Release"
-
-!ELSEIF "$(CFG)" == "DOVEMIBx - Win32 Debug"
-
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\NavWeap.idl
-InputName=NavWeap
-
-BuildCmds= \
- ..\..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Node.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\PrintVisitor.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\svr.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/TAO/examples/Simulator/DOVEMIB/Makefile b/TAO/examples/Simulator/DOVEMIB/Makefile
deleted file mode 100644
index ca0b46fc49b..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/Makefile
+++ /dev/null
@@ -1,1239 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-IDL_SRC= NavWeapC.cpp
-PROG_SRCS = $(IDL_SRC) DOVEMIB.cpp Node.cpp PrintVisitor.cpp AnyAnalyser.cpp
-
-LSRC = $(PROG_SRCS)
-
-MIB_OBJS = DOVEMIB.o NavWeapC.o Node.o PrintVisitor.o AnyAnalyser.o
-
-BIN = DOVEMIB
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-VBIN = $(BIN:%=%$(VAR))
-
-LDLIBS = -lorbsvcs -lTAO
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-include $(TAO_ROOT)/taoconfig.mk
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao
-CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG)#-H
-
-$(IDL_SRC): NavWeap.idl
- $(TAO_ROOT)/TAO_IDL/tao_idl NavWeap.idl
-
-NavWeap.idl: ../NavWeap.idl
- @cp -p $< .
-
-DOVEMIB: $(addprefix $(VDIR),$(MIB_OBJS))
-
-realclean: clean
- -/bin/rm -rf NavWeap.idl NavWeap[CS].* NavWeap[CS]_T.*
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/NavWeapC.o .obj/NavWeapC.so .shobj/NavWeapC.o .shobj/NavWeapC.so: NavWeapC.cpp NavWeapC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- NavWeapC.i NavWeapS.h NavWeapS_T.h NavWeapS_T.i NavWeapS_T.cpp \
- NavWeapS.i
-.obj/DOVEMIB.o .obj/DOVEMIB.so .shobj/DOVEMIB.o .shobj/DOVEMIB.so: DOVEMIB.cpp \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/Sched_Params.h \
- $(ACE_ROOT)/ace/Sched_Params.i \
- $(ACE_ROOT)/ace/Profile_Timer.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/High_Res_Timer.h \
- $(ACE_ROOT)/ace/High_Res_Timer.i \
- $(ACE_ROOT)/ace/Profile_Timer.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \
- DOVEMIB.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \
- AnyAnalyser.h PrintVisitor.h NodeVisitor.h Node.h
-.obj/Node.o .obj/Node.so .shobj/Node.o .shobj/Node.so: Node.cpp Node.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- NodeVisitor.h
-.obj/PrintVisitor.o .obj/PrintVisitor.so .shobj/PrintVisitor.o .shobj/PrintVisitor.so: PrintVisitor.cpp PrintVisitor.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- NodeVisitor.h Node.h
-.obj/AnyAnalyser.o .obj/AnyAnalyser.so .shobj/AnyAnalyser.o .shobj/AnyAnalyser.so: AnyAnalyser.cpp AnyAnalyser.h PrintVisitor.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- NodeVisitor.h Node.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Simulator/DOVEMIB/Node.cpp b/TAO/examples/Simulator/DOVEMIB/Node.cpp
deleted file mode 100644
index 20da755adef..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/Node.cpp
+++ /dev/null
@@ -1,219 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// any_test_i.cpp
-//
-// = AUTHOR
-// Michael Kircher
-//
-// = DESCRIPTION
-// Implementation of the Nodes for the any evaluator.
-//
-// ============================================================================
-
-#include "Node.h"
-
-ACE_RCSID(DOVEMIB, Node, "$Id$")
-
-StructNode::StructNode (const char *Name_ptr,
- unsigned int recursion_level) {
- Name_ptr_ = Name_ptr;
- queue_ptr_ = new ACE_Unbounded_Queue<Node *>;
- recursion_level_ = recursion_level;
- queue_iterator_ptr_ = 0;
-}
-
-
-StructNode::~StructNode () {
- for (unsigned int i = 0; i < getChildNumber (); i++) {
- delete getChild (i);
- }
- delete queue_ptr_;
- delete queue_iterator_ptr_;
-}
-
-
-unsigned int
-StructNode::getChildNumber () {
- return (unsigned int) queue_ptr_->size ();
-}
-
-Node *
-StructNode::getChild (unsigned int n) {
-
- // create new iterator if some things have changed
- if (queue_iterator_ptr_ == 0) {
- queue_iterator_ptr_ = new ACE_Unbounded_Queue_Iterator<Node *> (*queue_ptr_);
- queue_position_ = 0;
- }
-
- // check if we have such a Zebra
- if (n < queue_ptr_->size ()) {
- // if we are already to far in the queue
- if (queue_position_ > n) {
- queue_position_ = 0;
- queue_iterator_ptr_->first ();
- }
-
- Node **node_ptr_ptr_;
- for (;
- !queue_iterator_ptr_->done() && queue_position_ <= n;
- queue_iterator_ptr_->advance (), queue_position_++) {
- queue_iterator_ptr_->next (node_ptr_ptr_);
- }
- return (*node_ptr_ptr_);
- }
- else {
- return 0;
- }
-}
-
-int
-StructNode::addChild (Node *node) {
- delete queue_iterator_ptr_;
- queue_iterator_ptr_ = 0;
- return queue_ptr_->enqueue_tail (node);
-}
-
-const char *
-StructNode::getName () {
- return Name_ptr_;
-}
-
-void
-StructNode::Accept (NodeVisitor *nodeVisitor) {
- nodeVisitor->visitStructNode (this);
-}
-
-unsigned int
-StructNode::getRecursionLevel () {
- return recursion_level_;
-}
-
-DoubleNode::DoubleNode (CORBA::Double *Double_ptr,
- const char *Name_ptr,
- unsigned int recursion_level) {
- Double_ptr_ = Double_ptr;
- Name_ptr_ = Name_ptr;
- recursion_level_ = recursion_level;
-}
-
-const char *
-DoubleNode::getName () {
- return Name_ptr_;
-}
-
-
-
-CORBA::Double
-DoubleNode::getValue () {
- return *Double_ptr_;
-}
-
-void
-DoubleNode::Accept (NodeVisitor *nodeVisitor) {
- nodeVisitor->visitDoubleNode (this);
-}
-
-unsigned int
-DoubleNode::getRecursionLevel () {
- return recursion_level_;
-}
-
-LongNode::LongNode (CORBA::Long *Long_ptr,
- const char *Name_ptr,
- unsigned int recursion_level) {
- Long_ptr_ = Long_ptr;
- Name_ptr_ = Name_ptr;
- recursion_level_ = recursion_level;
-}
-
-const char *
-LongNode::getName () {
- return Name_ptr_;
-}
-
-CORBA::Long
-LongNode::getValue () {
- return *Long_ptr_;
-}
-
-void
-LongNode::Accept (NodeVisitor *nodeVisitor) {
- nodeVisitor->visitLongNode (this);
-}
-
-unsigned int
-LongNode::getRecursionLevel () {
- return recursion_level_;
-}
-
-ULongNode::ULongNode (CORBA::ULong *ULong_ptr,
- const char *Name_ptr,
- unsigned int recursion_level) {
- ULong_ptr_ = ULong_ptr;
- Name_ptr_ = Name_ptr;
- recursion_level_ = recursion_level;
-}
-
-const char *
-ULongNode::getName () {
- return Name_ptr_;
-}
-
-CORBA::ULong
-ULongNode::getValue () {
- return *ULong_ptr_;
-}
-
-void
-ULongNode::Accept (NodeVisitor *nodeVisitor) {
- nodeVisitor->visitULongNode (this);
-}
-
-unsigned int
-ULongNode::getRecursionLevel () {
- return recursion_level_;
-}
-
-
-StringNode::StringNode (CORBA::String_var String_var,
- const char *Name_ptr,
- unsigned int recursion_level) {
- String_var_ = String_var;
- Name_ptr_ = Name_ptr;
- recursion_level_ = recursion_level;
-}
-
-const char*
-StringNode::getName () {
- return Name_ptr_;
-}
-
-CORBA::String_var
-StringNode::getValue () {
- return String_var_;
-}
-
-void
-StringNode::Accept (NodeVisitor *nodeVisitor) {
- nodeVisitor->visitStringNode (this);
-}
-
-unsigned int
-StringNode::getRecursionLevel () {
- return recursion_level_;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Node<Node *>;
-template class ACE_Unbounded_Queue<Node *>;
-template class ACE_Unbounded_Queue_Iterator<Node *>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Node<Node *>
-#pragma instantiate ACE_Unbounded_Queue<Node *>
-#pragma instantiate ACE_Unbounded_Queue_Iterator<Node *>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/examples/Simulator/DOVEMIB/Node.h b/TAO/examples/Simulator/DOVEMIB/Node.h
deleted file mode 100644
index d8029a4fa5e..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/Node.h
+++ /dev/null
@@ -1,185 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// Node.h
-//
-// = AUTHOR
-// Michael Kircher
-//
-// = DESCRIPTION
-// This file descibes the various node types for analysing
-// an CORBA::Any. It is no memory allocated, that means
-// The values are not really contained by the nodes, but the
-// nodes refer to the values via pointers.
-//
-// ============================================================================
-
-#include "tao/corba.h"
-#include "ace/Containers.h"
-#include "NodeVisitor.h"
-
-#if !defined (NODE_H)
-#define NODE_H
-
-
-// base class for nodes
-class Node {
-public:
- virtual ~Node () {}
- virtual void Accept (NodeVisitor *NodeVisitor) = 0;
- virtual unsigned int getRecursionLevel () = 0;
-
-protected:
- Node () {}
-};
-
-
-
-// Node to store information about a Struct
-class StructNode : public Node {
-public:
- StructNode (const char *Name_ptr,
- unsigned int recursion_level);
- ~StructNode ();
-
- // accpet a visitor
- void Accept (NodeVisitor *nodeVisitor);
-
- // add a new child
- int addChild (Node *node);
-
- // retrieve the nth Child starting at 0
- Node *getChild (unsigned int n);
-
- // get the number of children
- unsigned int getChildNumber ();
-
- // get the name of the struct
- const char *getName ();
-
- // get recursion level
- unsigned int getRecursionLevel ();
-
-
-private:
- ACE_Unbounded_Queue<Node *> *queue_ptr_;
- ACE_Unbounded_Queue_Iterator<Node *> *queue_iterator_ptr_;
- unsigned int queue_position_;
- const char *Name_ptr_;
- unsigned int recursion_level_;
-};
-
-
-// Node to store information about a Double
-class DoubleNode : public Node {
-public:
- DoubleNode (CORBA::Double *Double_ptr,
- const char *Name_ptr,
- unsigned int recursion_level);
- ~DoubleNode () {}
-
- // accpet a visitor
- void Accept (NodeVisitor *nodeVisitor);
-
- // get the name of the double node
- const char *getName ();
-
- // get the value
- CORBA::Double getValue ();
-
- // get recursion level
- unsigned int getRecursionLevel ();
-
-private:
- CORBA::Double *Double_ptr_;
- const char *Name_ptr_;
- unsigned int recursion_level_;
-};
-
-
-// Node to store information about a Long
-class LongNode : public Node {
-public:
- LongNode (CORBA::Long *Long_ptr,
- const char *Name_ptr,
- unsigned int recursion_level);
- ~LongNode () {}
-
- // accpet a visitor
- void Accept (NodeVisitor *nodeVisitor);
-
- //get the name of the long node
- const char *getName ();
-
- // get the value
- CORBA::Long getValue ();
-
- // get recursion level
- unsigned int getRecursionLevel ();
-
-private:
- CORBA::Long *Long_ptr_;
- const char *Name_ptr_;
- unsigned int recursion_level_;
-};
-
-
-// Node to store information about a ULong
-class ULongNode : public Node {
-public:
- ULongNode (CORBA::ULong *Long_ptr,
- const char *Name_ptr,
- unsigned int recursion_level);
- ~ULongNode () {}
-
- // accpet a visitor
- void Accept (NodeVisitor *nodeVisitor);
-
- // get the name of the ulong node
- const char *getName ();
-
- // get the value
- CORBA::ULong getValue ();
-
- // get recursion level
- unsigned int getRecursionLevel ();
-
-private:
- CORBA::ULong *ULong_ptr_;
- const char *Name_ptr_;
- unsigned int recursion_level_;
-};
-
-
-// Node to store information about a String
-class StringNode : public Node {
-public:
- StringNode (CORBA::String_var String_var,
- const char *Name_ptr,
- unsigned int recursion_level);
- ~StringNode () {}
-
- // accpet a visitor
- void Accept (NodeVisitor *nodeVisitor);
-
- // get the name
- const char *getName ();
-
- // get the value
- CORBA::String_var getValue ();
-
- // get recursion level
- unsigned int getRecursionLevel ();
-
-private:
- CORBA::String_var String_var_;
- const char *Name_ptr_;
- unsigned int recursion_level_;
-};
-
-#endif // NODE_H
-
-
diff --git a/TAO/examples/Simulator/DOVEMIB/NodeVisitor.h b/TAO/examples/Simulator/DOVEMIB/NodeVisitor.h
deleted file mode 100644
index d19e065ae2c..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/NodeVisitor.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// NodeVisitor.h
-//
-// = AUTHOR
-// Michael Kircher
-//
-// = DESCRIPTION
-// This file descibes the Visitor used by the any evaluator.
-//
-// ============================================================================
-
-#if !defined (NODE_VISITOR_H)
-#define NODE_VISITOR_H
-
-class StructNode;
-class DoubleNode;
-class LongNode;
-class ULongNode;
-class StringNode;
-
-// base class for all the specialized visitors
-
-class NodeVisitor {
-public:
- virtual void visitStructNode (StructNode *structNode) = 0;
- virtual void visitDoubleNode (DoubleNode *doubleNode) = 0;
- virtual void visitLongNode (LongNode *longNode) = 0;
- virtual void visitULongNode (ULongNode *uLongNode) = 0;
- virtual void visitStringNode (StringNode *stringNode) = 0;
-protected:
- NodeVisitor () {}
-};
-
-#endif // NODE_VISITOR_H
diff --git a/TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp b/TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp
deleted file mode 100644
index e76688418cd..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/PrintVisitor.cpp
+++ /dev/null
@@ -1,159 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// any_test_i.cpp
-//
-// = AUTHOR
-// Michael Kircher
-//
-// = DESCRIPTION
-// Visitor for the Nodes of the any analyser.
-//
-// ============================================================================
-
-#include "PrintVisitor.h"
-#include <stdio.h>
-
-ACE_RCSID(DOVEMIB, PrintVisitor, "$Id$")
-
-PrintVisitor::PrintVisitor (const char *file_name) {
-
- TAO_TRY {
- if (file_name != 0) {
- output_ = ACE_OS::fopen(file_name, "w");
- TAO_CHECK_ENV;
-
- // print it on the screen if file could be opened
- if (output_ == 0) {
-
- output_ = stdout;
-
- ACE_DEBUG ((LM_DEBUG,"PrintVisitor: Use stdout for output.\n"));
- }
-
- // everything is ok
- ACE_DEBUG ((LM_DEBUG,"PrintVisitor: Opened file <%s> successfully.\n",
- file_name));
- }
- else {
- output_ = stdout;
- ACE_DEBUG ((LM_DEBUG,"PrintVisitor: Use stdout for output.\n"));
-
- }
-
- }
- TAO_CATCHANY
- {
- ACE_ERROR ((LM_ERROR, "Failing when trying to open the output file.\n"));
- }
- TAO_ENDTRY;
-}
-
-
-PrintVisitor::~PrintVisitor () {
- this->close ();
-}
-
-void
-PrintVisitor::close () {
- if (output_ != stdout && output_ != 0) {
- ACE_OS::fclose (output_);
- }
-}
-
-
-void
-PrintVisitor::printSecNanoSec (ACE_hrtime_t total_nanoseconds)
-{
- // Separate to seconds and nanoseconds.
- u_long total_secs = (u_long) (total_nanoseconds / (ACE_UINT32) ACE_ONE_SECOND_IN_NSECS);
- ACE_UINT32 extra_nsecs = (ACE_UINT32) (total_nanoseconds % (ACE_UINT32) ACE_ONE_SECOND_IN_NSECS);
-
- ACE_OS::fprintf (output_,
- "%3lu.%06lu secs\n",
- total_secs,
- (extra_nsecs +500u) / 1000u);
-}
-
-void
-PrintVisitor::printTimeStamp (ACE_hrtime_t creation,
- ACE_hrtime_t ec_recv,
- ACE_hrtime_t ec_send)
-{
- ACE_OS::fprintf (output_,
- "\nTimeStamp\ncreation time: ");
- this->printSecNanoSec (creation);
- ACE_OS::fprintf (output_,
- "event channel received time: ");
- this->printSecNanoSec (ec_recv);
- ACE_OS::fprintf (output_,
- "event_channel sent time: ");
- this->printSecNanoSec (ec_send);
-}
-
-
-// Visit a struct node
-void
-PrintVisitor::visitStructNode (StructNode *structNode) {
-
- // print the padding in front of the line
- printPadding (structNode->getRecursionLevel());
- ACE_OS::fprintf (output_, "struct %s {\n", structNode->getName ());
-
- for (unsigned int i = 0; i < structNode->getChildNumber (); i++) {
- printPadding (structNode->getChild (i)->getRecursionLevel());
- structNode->getChild (i)->Accept((NodeVisitor *)this);
- ACE_OS::fprintf (output_, "\n");
- }
-
- printPadding (structNode->getRecursionLevel());
- ACE_OS::fprintf (output_, "}\n");
-}
-
-void
-PrintVisitor::visitDoubleNode (DoubleNode *doubleNode) {
- printPadding (doubleNode->getRecursionLevel());
- ACE_OS::fprintf (output_, "CORBA::double %s = %f;", doubleNode->getName(), doubleNode->getValue());
-}
-
-void
-PrintVisitor::visitLongNode (LongNode *longNode) {
- printPadding (longNode->getRecursionLevel());
- ACE_OS::fprintf (output_, "CORBA::Long %s = %d;", longNode->getName(), longNode->getValue());
-}
-
-void
-PrintVisitor::visitULongNode (ULongNode *uLongNode) {
- printPadding (uLongNode->getRecursionLevel());
- ACE_OS::fprintf (output_, "CORBA::ULong %s = %d;", uLongNode->getName(), uLongNode->getValue());
-}
-
-void
-PrintVisitor::visitStringNode (StringNode *stringNode) {
- printPadding (stringNode->getRecursionLevel());
- ACE_OS::fprintf (output_, "CORBA::String %s = \"%s\";", stringNode->getName(), (char *)stringNode->getValue());
-}
-
-void
-PrintVisitor::printPadding (unsigned int recursion_level) {
- switch (recursion_level) {
- case 0: break;
- case 1: ACE_OS::fprintf (output_, " ");
- break;
- case 2: ACE_OS::fprintf (output_, " ");
- break;
- case 3: ACE_OS::fprintf (output_, " ");
- break;
- case 4: ACE_OS::fprintf (output_, " ");
- break;
- default: for (unsigned int i = 0; i < recursion_level; i++)
- {
- ACE_OS::fprintf (output_, " ");
- }
- break;
- }
-}
-
diff --git a/TAO/examples/Simulator/DOVEMIB/PrintVisitor.h b/TAO/examples/Simulator/DOVEMIB/PrintVisitor.h
deleted file mode 100644
index 6c0f16a5f3d..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/PrintVisitor.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// PrintVisitor.h
-//
-// = AUTHOR
-// Michael Kircher
-//
-// = DESCRIPTION
-// This file descibes the PrintVisitor used by the any evaluator.
-//
-// ============================================================================
-
-#include "tao/corba.h"
-#include "NodeVisitor.h"
-#include "Node.h"
-
-#if !defined (PRINT_VISITOR_H)
-#define PRINT_VISITOR_H
-
-
-// This is a concrete Visitor using the Visitor design pattern
-class PrintVisitor : public NodeVisitor {
-public:
-
- PrintVisitor (const char *file_name);
- virtual ~PrintVisitor ();
-
- void printTimeStamp (ACE_hrtime_t creation,
- ACE_hrtime_t ec_recv,
- ACE_hrtime_t ec_send);
- // Print the time stamp
-
- void close ();
-
- void visitStructNode (StructNode *structNode);
- void visitDoubleNode (DoubleNode *doubleNode);
- void visitLongNode (LongNode *longNode);
- void visitULongNode (ULongNode *uLongNode);
- void visitStringNode (StringNode *stringNode);
-private:
- void printPadding (unsigned int recursion_level);
- void printSecNanoSec (ACE_hrtime_t total_nanoseconds);
-
- FILE *output_;
-};
-
-#endif // PRINT_VISITOR_H
diff --git a/TAO/examples/Simulator/DOVEMIB/TestClient.dsp b/TAO/examples/Simulator/DOVEMIB/TestClient.dsp
deleted file mode 100644
index c2fa23f8876..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/TestClient.dsp
+++ /dev/null
@@ -1,167 +0,0 @@
-# Microsoft Developer Studio Project File - Name="TestClient" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=TestClient - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "TestClient.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "TestClient.mak" CFG="TestClient - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "TestClient - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "TestClient - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "TestClient - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-
-!ELSEIF "$(CFG)" == "TestClient - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "TestClie"
-# PROP BASE Intermediate_Dir "TestClie"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "TestClie"
-# PROP Intermediate_Dir "TestClie"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "..\..\..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\..\..\..\\" /I "..\..\..\\" /I "..\..\..\tao" /I "..\..\..\orbsvcs" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /out:"TestClient.exe" /pdbtype:sept /libpath:"..\..\..\..\..\ace" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\orbsvcs"
-
-!ENDIF
-
-# Begin Target
-
-# Name "TestClient - Win32 Release"
-# Name "TestClient - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\any_test.idl
-
-!IF "$(CFG)" == "TestClient - Win32 Release"
-
-!ELSEIF "$(CFG)" == "TestClient - Win32 Debug"
-
-# Begin Custom Build - Invoking TAO_IDL compiler
-InputPath=.\any_test.idl
-InputName=any_test
-
-BuildCmds= \
- ..\..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\any_testC.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\any_testS.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\clnt.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeap.idl
-
-!IF "$(CFG)" == "TestClient - Win32 Release"
-
-!ELSEIF "$(CFG)" == "TestClient - Win32 Debug"
-
-# Begin Custom Build
-InputPath=.\NavWeap.idl
-InputName=NavWeap
-
-BuildCmds= \
- ..\..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/TAO/examples/Simulator/DOVEMIB/any_test.idl b/TAO/examples/Simulator/DOVEMIB/any_test.idl
deleted file mode 100644
index 80bf048a2d2..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/any_test.idl
+++ /dev/null
@@ -1,11 +0,0 @@
-// $Id$
-
-interface Any_Test
- // = TITLE
- //
- // = DESCRIPTION
-
-{
- void try_an_any (in any a);
-};
-
diff --git a/TAO/examples/Simulator/DOVEMIB/any_test_i.cpp b/TAO/examples/Simulator/DOVEMIB/any_test_i.cpp
deleted file mode 100644
index 6a98ab473e6..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/any_test_i.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// any_test_i.cpp
-//
-// = AUTHOR
-// Michael Kircher
-//
-// ============================================================================
-
-#include "tao/corba.h"
-#include "ace/Containers.h"
-#include "any_test_i.h"
-#include "NavWeapC.h"
-#include "AnyAnalyser.h"
-
-ACE_RCSID(DOVEMIB, any_test_i, "$Id$")
-
-// Constructor
-Any_Test_i::Any_Test_i (const char *obj_name)
-{
-}
-
-// Destructor
-Any_Test_i::~Any_Test_i (void)
-{
-}
-
-
-void
-Any_Test_i::try_an_any (const CORBA::Any &a, CORBA::Environment &env)
-{
- TAO_TRY
- {
- ACE_DEBUG ((LM_DEBUG, "Call to try_an_any succeeded!\n"));
-
- AnyAnalyser anyAnalyser_ = AnyAnalyser ("stdout");
-
- TAO_CHECK_ENV;
- Weapons *weapons_ = 0;
- if (a.type()->equal(_tc_Weapons,TAO_TRY_ENV)) {
-
- CORBA::Any b;
- b = a;
- weapons_ = (Weapons *)b.value();
- cout << "ID: " << a.type()->id(TAO_TRY_ENV) << endl;
- cout << "CompTime: " << weapons_->computation_time << endl;
- cout << "Adr number of weapons: " << &(weapons_->number_of_weapons) << endl;
- cout << "Adr CompTime: " << &(weapons_->computation_time) << endl;
- }
-
- anyAnalyser_.printAny (a.type(), a.value());
- }
- TAO_CATCHANY
- {
- ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the data.\n"));
- }
- TAO_ENDTRY;
-}
-
-
diff --git a/TAO/examples/Simulator/DOVEMIB/any_test_i.h b/TAO/examples/Simulator/DOVEMIB/any_test_i.h
deleted file mode 100644
index eb877ef23c5..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/any_test_i.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// any_test_i.h
-//
-// = AUTHOR
-// Michael Kircher
-//
-// ============================================================================
-
-#if !defined (_ANY_TEST_I_HH)
-#define _ANY_TEST_I_HH
-
-#include "any_testS.h"
-
-// Forward declarations
-class Any_Test_i;
-
-// Typedefs.
-typedef Any_Test_i *Any_Test_i_ptr;
-typedef Any_Test_i_ptr Any_Test_i_ref;
-
-class Any_Test_i : public POA_Any_Test
- // = TITLE
- // = DESCRIPTION
-{
-public:
- Any_Test_i (const char *obj_name = 0);
- // Constructor
-
- ~Any_Test_i (void);
- // Destructor
-
- virtual void try_an_any (const CORBA::Any &a,
- CORBA::Environment &env);
-};
-
-#endif /* _ANY_TEST_I_HH */
diff --git a/TAO/examples/Simulator/DOVEMIB/clnt.cpp b/TAO/examples/Simulator/DOVEMIB/clnt.cpp
deleted file mode 100644
index 014eb66a0dc..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/clnt.cpp
+++ /dev/null
@@ -1,184 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-//
-//
-// = FILENAME
-// clnt.cpp
-//
-// = DESCRIPTION
-//
-// = AUTHORS
-// Michael Kircher
-//
-// ============================================================================
-
-#include "tao/corba.h"
-#include "clnt.h"
-#include "NavWeapC.h"
-
-ACE_RCSID(DOVEMIB, clnt, "$Id$")
-
-Any_Test_Client::Any_Test_Client ()
-{
-
-}
-
-Any_Test_Client::~Any_Test_Client ()
-{
- CORBA::release(this->any_test_ptr_);
-}
-
-int
-Any_Test_Client::init (int argc, char *argv [])
-{
-
- TAO_TRY {
- this->argc_ = argc;
- this->argv_ = argv;
-
- // Retrieve the ORB.
- this->orb_ = CORBA::ORB_init (this->argc_,
- this->argv_,
- "internet",
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (this->argc_ != 2)
- {
- ACE_ERROR_RETURN ((LM_ERROR, "Expected an IOR as parameter\n"),-1);
- }
-
- CORBA::Object_var any_test_object_ = this->orb_->string_to_object (argv_[1], TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- this->any_test_ptr_ = Any_Test::_narrow (any_test_object_.in(), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (this->any_test_ptr_))
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "Invalid IOR specified.\n"),
- -1);
- }
- return 0;
- }
- TAO_CATCHANY {
- TAO_TRY_ENV.print_exception ("SYS_EX");
- return 0;
- }
- TAO_ENDTRY;
- return 0;
-}
-
-int
-Any_Test_Client::run ()
-{
- TAO_TRY
- {
- CORBA::Any data;
-
- navigation_.position_latitude = 1;
- navigation_.position_longitude = 2;
- navigation_.altitude = 3;
- navigation_.heading = 4;
- navigation_.roll = 5;
- navigation_.pitch = 6;
-
- navigation_.utilization = 1;
- navigation_.overhead = 2;
- navigation_.arrival_time = 3;
- navigation_.deadline_time = 4;
- navigation_.completion_time = 5;
- navigation_.computation_time = 6;
-
- data.replace (_tc_Navigation, &navigation_, 0, TAO_TRY_ENV);
-
- ACE_DEBUG ((LM_DEBUG,"Starting test with Any: Navigation\n"));
- //any_test_ptr_->try_an_any (data, TAO_TRY_ENV);
- ACE_DEBUG ((LM_DEBUG,"Ending test with Any: Navigation\n"));
-
-
-/* CORBA::Short x_ = 8;
- data <<= x_;
-
- ACE_DEBUG ((LM_DEBUG,"Starting test with Any: Navigation\n"));
- any_test_ptr_->try_an_any (data, TAO_TRY_ENV);
- ACE_DEBUG ((LM_DEBUG,"Ending test with Any: Navigation\n"));
-*/
-
- weapons_.number_of_weapons = 5;
- weapons_.weapon1_identifier = CORBA::string_alloc (20);
- strcpy (weapons_.weapon1_identifier, "A");
- weapons_.weapon1_status = 1;
- weapons_.weapon2_identifier = CORBA::string_alloc (20);
- strcpy (weapons_.weapon2_identifier, "B");
- weapons_.weapon2_status = 2;
- weapons_.weapon3_identifier = CORBA::string_alloc (20);
- strcpy (weapons_.weapon3_identifier, "C");
- weapons_.weapon3_status = 4;
- weapons_.weapon4_identifier = CORBA::string_alloc (20);
- strcpy (weapons_.weapon4_identifier, "D");
- weapons_.weapon4_status = 8;
- weapons_.weapon5_identifier = CORBA::string_alloc (20);
- strcpy (weapons_.weapon5_identifier, "E");
- weapons_.weapon5_status = 16;
-
- weapons_.utilization = 1;
- weapons_.overhead = 2;
- weapons_.arrival_time = 3;
- weapons_.deadline_time = 4;
- weapons_.completion_time = 5;
- weapons_.computation_time = 6;
-
- data.replace (_tc_Weapons, &weapons_, 0, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- ACE_DEBUG ((LM_DEBUG,"Starting test with Any: Weapons\n"));
- any_test_ptr_->try_an_any (data, TAO_TRY_ENV);
- ACE_DEBUG ((LM_DEBUG,"Ending test with Any: Weapons\n"));
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("Error in Any_Test_Client::run");
- }
- TAO_ENDTRY;
-
-
- return 0;
-}
-
-
-
-// function main
-
-int
-main (int argc, char *argv [])
-{
-
- TAO_TRY
- {
- Any_Test_Client any_test_client_;
- TAO_CHECK_ENV;
-
- if (any_test_client_.init (argc, argv) == -1)
- return 1;
- TAO_CHECK_ENV;
-
- return any_test_client_.run ();
- TAO_CHECK_ENV;
-
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("SYS_EX");
- }
- TAO_ENDTRY;
-
-
- return 0;
-}
-
diff --git a/TAO/examples/Simulator/DOVEMIB/clnt.h b/TAO/examples/Simulator/DOVEMIB/clnt.h
deleted file mode 100644
index 67ed5c84d57..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/clnt.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// -*- c++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// clnt.h
-//
-// = DESCRIPTION
-//
-// = AUTHORS
-// Michael Kircher
-//
-// ============================================================================
-
-#include "ace/Get_Opt.h"
-#include "tao/corba.h"
-#include "any_testC.h"
-#include "NavWeapC.h"
-
-class Any_Test_Client
- // = TITLE
- //
- // = DESCRIPTION
-{
-public:
- // = Constructor and destructor.
- Any_Test_Client (void);
- ~Any_Test_Client (void);
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char **argv);
- // Initialize the client communication endpoint with server.
-
-private:
- Navigation navigation_;
- Weapons weapons_;
-
- Any_Test_ptr any_test_ptr_;
- // Reverse_ptr reverse_ptr_;
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
-
- CORBA::Environment env_;
- // Environment variable
-
- CORBA::ORB_var orb_;
- // Remember our orb
-};
-
-
-
-
diff --git a/TAO/examples/Simulator/DOVEMIB/svc.conf b/TAO/examples/Simulator/DOVEMIB/svc.conf
deleted file mode 100644
index 43c6a486c92..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/svc.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"
diff --git a/TAO/examples/Simulator/DOVEMIB/svr.cpp b/TAO/examples/Simulator/DOVEMIB/svr.cpp
deleted file mode 100644
index 00a7c6847f4..00000000000
--- a/TAO/examples/Simulator/DOVEMIB/svr.cpp
+++ /dev/null
@@ -1,168 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-//
-// = FILENAME
-// svr.cpp
-//
-// = AUTHOR
-// Michael Kircher
-//
-// ============================================================================
-
-#include "ace/Get_Opt.h"
-#include "tao/corba.h"
-#include "any_test_i.h"
-//#include "Node.h"
-
-ACE_RCSID(DOVEMIB, svr, "$Id$")
-
-// Global Variables
-static int num_of_objs = 1;
-
-// Parses the command line arguments and returns an error status
-
-static int
-parse_args (int argc, char *argv[])
-{
- ACE_Get_Opt get_opts (argc, argv, "");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- " [-n] <num of cubit objects>"
- "\n", argv [0]), 1);
- }
-
- return 0; // Indicates successful parsing of command line
-}
-
-// Standard command line parsing utilities used.
-
-int
-main (int argc, char *argv[])
-{
- /*
- CORBA::Long long_ = 4;
- CORBA::Double double_ = 5.0;
- StructNode *structNode_ptr_ = new StructNode ("ABC");
-
- structNode_ptr_->addChild ((Node *)new DoubleNode (&double_, "My_Double"));
- structNode_ptr_->addChild ((Node *)new LongNode (&long_, "My_Long"));
-
- structNode_ptr_->print ();
- */
-
- TAO_TRY
- {
- CORBA::ORB_var orb = CORBA::ORB_init (argc, argv, 0, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- ACE_DEBUG ((LM_DEBUG, "Having the ORB\n"));
-
- // Initialize the Object Adapter
- CORBA::Object_var poa_object =
- orb->resolve_initial_references("RootPOA");
- if (CORBA::is_nil(poa_object.in()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize the POA.\n"),
- 1);
-
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (poa_object.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- CORBA::PolicyList policies (2);
- policies.length (2);
- policies[0] =
- root_poa->create_id_assignment_policy (PortableServer::USER_ID,
- TAO_TRY_ENV);
- policies[1] =
- root_poa->create_lifespan_policy (PortableServer::PERSISTENT,
- TAO_TRY_ENV);
-
- ACE_DEBUG ((LM_DEBUG, "Having the rootPOA\n"));
-
- // We use a different POA, otherwise the user would have to
- // change the object key each time it invokes the server.
- PortableServer::POA_var good_poa =
- root_poa->create_POA ("RootPOA_is_BAD",
- poa_manager.in (),
- policies,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Parse remaining command line and verify parameters.
- parse_args (argc, argv);
-
- ACE_DEBUG ((LM_DEBUG, "Starting the implementation\n"));
-
- // create a factory implementation
- Any_Test_i_ptr any_test_i_ptr_ = new Any_Test_i ();
- TAO_CHECK_ENV;
-
- ACE_DEBUG ((LM_DEBUG, "Started the implementation\n"));
-
- PortableServer::ObjectId_var id =
- PortableServer::string_to_ObjectId ("Any_Test");
- good_poa->activate_object_with_id (id.in (),
- any_test_i_ptr_,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Stringify the objref we'll be implementing, and print it to
- // stdout. Someone will take that string and give it to a
- // client. Then release the object.
- CORBA::Object_var obj =
- good_poa->id_to_reference (id.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- CORBA::String_var str =
- orb->object_to_string (obj.in (),
- TAO_TRY_ENV);
-
- ACE_DEBUG ((LM_DEBUG,
- "The IOR is: <%s>\n", str.in ()));
-
-
- poa_manager->activate (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Handle requests for this object until we're killed, or one of
- // the methods asks us to exit.
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), -1);
-
- root_poa->destroy (1,
- 1,
- TAO_TRY_ENV);
- TAO_CHECK_ENV
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG(sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG(userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp
deleted file mode 100644
index 30e3db617b2..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.cpp
+++ /dev/null
@@ -1,238 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// DOVE_Supplier.cpp
-//
-// = DESCRIPTION
-// A wrapper around the event service initialization and
-// marshalling
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "DOVE_Supplier.h"
-
-ACE_RCSID(Event_Supplier, DOVE_Supplier, "$Id$")
-
-DOVE_Supplier::DOVE_Supplier ()
- : internal_DOVE_Supplier_ptr_ (new Internal_DOVE_Supplier (this)),
- MIB_name_ (0)
-{
-}
-
-DOVE_Supplier::~DOVE_Supplier ()
-{
- delete internal_DOVE_Supplier_ptr_;
-}
-
-int
-DOVE_Supplier::connect (const char* MIB_name)
-{
- if (this->get_EventChannel () == -1)
- return -1;
- return this->connect_Supplier ();
-}
-
-
-void
-DOVE_Supplier::disconnect ()
-{
-}
-
-
-void
-DOVE_Supplier::notify (CORBA::Any &message)
-{
- TAO_TRY
- {
- RtecEventComm::Event event;
- event.header.source = SOURCE_ID;
- event.header.type = ACE_ES_EVENT_NOTIFICATION;
- event.header.ttl = 1;
- event.header.creation_time = ORBSVCS_Time::zero;
- event.header.ec_recv_time = ORBSVCS_Time::zero;
- event.header.ec_send_time = ORBSVCS_Time::zero;
- //event.data_.x = 0;
- //event.data_.y = 0;
- event.data.any_value = message;
-
- RtecEventComm::EventSet events;
- events.length (1);
- events[0] = event;
-
- // Now we invoke a RPC
- proxyPushConsumer_var_->push (events,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- ACE_ERROR ((LM_ERROR,
- "DOVE_Supplier::notify: "
- "unexpected exception.\n"));
- }
- TAO_ENDTRY;
-}
-
-
-// -------------------- Internal Demo Supplier -----------------------------
-
-DOVE_Supplier::Internal_DOVE_Supplier::Internal_DOVE_Supplier (DOVE_Supplier *impl_ptr)
- : impl_ptr_ (impl_ptr)
-{
-}
-
-// ----------------------------------------------------------------------------
-
-
-int
-DOVE_Supplier::get_EventChannel ()
-{
- TAO_TRY
- {
- // Connect to the RootPOA.
- CORBA::Object_var poaObject_var =
- TAO_ORB_Core_instance()->orb()->resolve_initial_references("RootPOA");
-
- if (CORBA::is_nil (poaObject_var.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize the POA.\n"),
- 1);
-
- PortableServer::POA_var root_POA_var =
- PortableServer::POA::_narrow (poaObject_var.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- PortableServer::POAManager_var poa_manager =
- root_POA_var->the_POAManager (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Get the Naming Service object reference.
- CORBA::Object_var namingObj_var =
- TAO_ORB_Core_instance()->orb()->resolve_initial_references ("NameService");
-
- if (CORBA::is_nil (namingObj_var.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to get the Naming Service.\n"),
- -1);
-
- CosNaming::NamingContext_var namingContext_var =
- CosNaming::NamingContext::_narrow (namingObj_var.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Tell the ScheduleService to use the same naming service.
- ACE_Scheduler_Factory::use_config (namingContext_var.in ());
-
-
- // Get a reference to the Event Servie
- CosNaming::Name channel_name (1);
- channel_name.length (1);
- channel_name[0].id = CORBA::string_dup ("EventService");
-
- CORBA::Object_var eventServiceObj_var =
- namingContext_var->resolve (channel_name, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- this->eventChannel_var_ =
- RtecEventChannelAdmin::EventChannel::_narrow (eventServiceObj_var.in(),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (CORBA::is_nil (eventChannel_var_.in()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "The reference to the event channel is nil!"),
- 1);
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("DOVE_Supplier::get_EventChannel");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-
-int
-DOVE_Supplier::connect_Supplier ()
-{
- TAO_TRY
- {
- // Get a Scheduling server.
- this->scheduler_var_ = ACE_Scheduler_Factory::server ();
-
- // Generate the Real-time information.
- RtecScheduler::handle_t rt_info;
- rt_info = scheduler_var_->create ("ABC", TAO_TRY_ENV);
-
- scheduler_var_->set (rt_info,
- RtecScheduler::VERY_LOW_CRITICALITY,
- ORBSVCS_Time::zero,
- ORBSVCS_Time::zero,
- ORBSVCS_Time::zero,
- 2500000,
- RtecScheduler::VERY_LOW_IMPORTANCE,
- ORBSVCS_Time::zero,
- 1,
- RtecScheduler::OPERATION,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Set the publications to report them to the event channel.
-
- CORBA::Short x = 0;
- RtecEventChannelAdmin::SupplierQOS qos;
- qos.publications.length (1);
- qos.publications[0].event.header.source = SOURCE_ID;
- qos.publications[0].event.header.type = ACE_ES_EVENT_NOTIFICATION;
- qos.publications[0].event.header.ttl = 1;
- qos.publications[0].event.header.creation_time = ORBSVCS_Time::zero;
- qos.publications[0].event.header.ec_recv_time = ORBSVCS_Time::zero;
- qos.publications[0].event.header.ec_send_time = ORBSVCS_Time::zero;
- qos.publications[0].event.data.any_value.replace (CORBA::_tc_short,
- &x,
- 0,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- qos.publications[0].dependency_info.number_of_calls = 1;
- qos.publications[0].dependency_info.rt_info = rt_info;
-
- // = Connect as a supplier.
- this->supplierAdmin_var_ =
- this->eventChannel_var_->for_suppliers (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- this->proxyPushConsumer_var_ =
- this->supplierAdmin_var_->obtain_push_consumer (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // In calling _this we get back an object reference and register
- // the servant with the POA.
- RtecEventComm::PushSupplier_var pushSupplier_var =
- this->internal_DOVE_Supplier_ptr_->_this (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Connect the supplier to the proxy consumer.
- ACE_SupplierQOS_Factory::debug (qos);
- this->proxyPushConsumer_var_->connect_push_supplier (pushSupplier_var.in (),
- qos,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("DOVE_Supplier::open");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-
diff --git a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h b/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h
deleted file mode 100644
index 2f7ac32beff..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/DOVE_Supplier.h
+++ /dev/null
@@ -1,81 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// DOVE_Supplier.cpp
-//
-// = DESCRIPTION
-// A wrapper around the event servie initialization and marshalling.
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include "ace/OS.h"
-#include "tao/corba.h"
-#include "orbsvcs/RtecEventChannelAdminC.h"
-#include "orbsvcs/RtecEventCommS.h"
-#include "orbsvcs/Event_Utilities.h"
-#include "orbsvcs/Event_Service_Constants.h"
-#include "orbsvcs/Scheduler_Factory.h"
-
-
-#if !defined (DOVE_SUPPLIER_H)
-#define DOVE_SUPPLIER_H
-
-#define SOURCE_ID 123
-
-class DOVE_Supplier
-{
-public:
- DOVE_Supplier ();
-
- ~DOVE_Supplier (void);
-
- int connect (const char * MIB_name);
-
- void disconnect ();
-
- void notify (CORBA::Any& message);
-
- // The following Supplier is needed because DOVE_Supplier has not
- // inherited from PushSupplier.
-
-private:
- class Internal_DOVE_Supplier : public POA_RtecEventComm::PushSupplier
- {
- friend class DOVE_Supplier;
- public:
- virtual void disconnect_push_supplier (CORBA::Environment &)
- {
- }
-
- private:
- Internal_DOVE_Supplier (DOVE_Supplier* impl_ptr);
-
- DOVE_Supplier* impl_ptr_;
- };
-
-private:
- int get_EventChannel ();
- // get a reference to the event channel
-
- int connect_Supplier ();
- // connect the the supplier with the event channel
-
- // = Event Channel adminstration references.
- RtecEventChannelAdmin::EventChannel_var eventChannel_var_;
- RtecEventChannelAdmin::SupplierAdmin_var supplierAdmin_var_;
- RtecEventChannelAdmin::ProxyPushConsumer_var proxyPushConsumer_var_;
- RtecScheduler::Scheduler_var scheduler_var_;
-
- Internal_DOVE_Supplier* internal_DOVE_Supplier_ptr_;
-
- const char * MIB_name_;
- // keep the name of the MIB around
-};
-
-#endif /* DOVE_SUPPLIER_H */
-
diff --git a/TAO/examples/Simulator/Event_Supplier/EDF.dat b/TAO/examples/Simulator/Event_Supplier/EDF.dat
deleted file mode 100644
index 4fbc28d9c0f..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/EDF.dat
+++ /dev/null
@@ -1,72 +0,0 @@
-low_20 1.000000 0.000000 0 500000 180000 180000
-high_20 1.000000 0.000000 0 500000 360000 180000
-low_20 1.000000 0.000000 500000 1000000 680000 180000
-high_20 1.000000 0.000000 500000 1000000 860000 180000
-low_10 1.000000 0.000000 0 1000000 900000 180000
-low_20 1.000000 0.000000 1000000 1500000 1180000 180000
-high_20 1.000000 0.000000 1000000 1500000 1360000 180000
-low_20 1.000000 0.000000 1500000 2000000 1680000 180000
-high_20 1.000000 0.000000 1500000 2000000 1860000 180000
-low_10 1.000000 0.000000 1000000 2000000 1900000 180000
-high_10 1.000000 0.000000 0 1000000 1980000 180000
-low_20 1.000000 0.000000 2000000 2500000 2180000 180000
-high_20 1.000000 0.000000 2000000 2500000 2360000 180000
-low_20 1.000000 0.000000 2500000 3000000 2680000 180000
-high_20 1.000000 0.000000 2500000 3000000 2860000 180000
-low_10 1.000000 0.000000 2000000 3000000 2900000 180000
-low_20 1.000000 0.000000 3000000 3500000 3180000 180000
-high_20 1.000000 0.000000 3000000 3500000 3360000 180000
-low_20 1.000000 0.000000 3500000 4000000 3680000 180000
-high_20 1.000000 0.000000 3500000 4000000 3860000 180000
-low_10 1.000000 0.000000 3000000 4000000 3900000 180000
-high_10 1.000000 0.000000 1000000 2000000 3960000 180000
-low_20 1.000000 0.000000 4000000 4500000 4180000 180000
-high_20 1.000000 0.000000 4000000 4500000 4360000 180000
-low_20 1.000000 0.000000 4500000 5000000 4680000 180000
-high_20 1.000000 0.000000 4500000 5000000 4860000 180000
-low_10 1.000000 0.000000 4000000 5000000 4900000 180000
-low_20 1.000000 0.000000 5000000 5500000 5180000 180000
-high_20 1.000000 0.000000 5000000 5500000 5360000 180000
-low_20 1.000000 0.000000 5500000 6000000 5680000 180000
-high_20 1.000000 0.000000 5500000 6000000 5860000 180000
-low_10 1.000000 0.000000 5000000 6000000 5900000 180000
-high_10 1.000000 0.000000 3000000 4000000 5940000 180000
-low_20 1.000000 0.000000 6000000 6500000 6180000 180000
-high_20 1.000000 0.000000 6000000 6500000 6360000 180000
-low_20 1.000000 0.000000 6500000 7000000 6680000 180000
-high_20 1.000000 0.000000 6500000 7000000 6860000 180000
-low_10 1.000000 0.000000 6000000 7000000 6900000 180000
-low_20 1.000000 0.000000 7000000 7500000 7180000 180000
-high_20 1.000000 0.000000 7000000 7500000 7360000 180000
-low_20 1.000000 0.000000 7500000 8000000 7680000 180000
-high_20 1.000000 0.000000 7500000 8000000 7860000 180000
-low_10 1.000000 0.000000 7000000 8000000 7900000 180000
-high_10 1.000000 0.000000 5000000 6000000 7920000 180000
-low_20 1.000000 0.000000 8000000 8500000 8180000 180000
-high_20 1.000000 0.000000 8000000 8500000 8360000 180000
-low_20 1.000000 0.000000 8500000 9000000 8680000 180000
-high_20 1.000000 0.000000 8500000 9000000 8860000 180000
-low_10 1.000000 0.000000 8000000 9000000 8900000 180000
-high_10 1.000000 0.000000 7000000 8000000 9000000 180000
-low_20 1.000000 0.000000 9000000 9500000 9180000 180000
-high_20 1.000000 0.000000 9000000 9500000 9360000 180000
-low_20 1.000000 0.000000 9500000 10000000 9680000 180000
-high_20 1.000000 0.000000 9500000 10000000 9860000 180000
-low_10 1.000000 0.000000 9000000 10000000 9900000 180000
-high_10 1.000000 0.000000 9000000 10000000 10080000 180000
-low_5 1.000000 0.000000 8000000 10000000 10260000 180000
-high_5 1.000000 0.000000 8000000 10000000 10440000 180000
-low_1 1.000000 0.000000 0 10000000 10620000 180000
-high_1 1.000000 0.000000 0 10000000 10800000 180000
-high_10 1.000000 0.000000 8000000 9000000 10980000 180000
-high_5 1.000000 0.000000 6000000 8000000 11160000 180000
-low_5 1.000000 0.000000 6000000 8000000 11340000 180000
-high_10 1.000000 0.000000 6000000 7000000 11520000 180000
-low_5 1.000000 0.000000 4000000 6000000 11700000 180000
-high_5 1.000000 0.000000 4000000 6000000 11880000 180000
-high_10 1.000000 0.000000 4000000 5000000 12060000 180000
-high_5 1.000000 0.000000 2000000 4000000 12240000 180000
-low_5 1.000000 0.000000 2000000 4000000 12420000 180000
-high_10 1.000000 0.000000 2000000 3000000 12600000 180000
-low_5 1.000000 0.000000 0 2000000 12780000 180000
-high_5 1.000000 0.000000 0 2000000 12960000 180000
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
deleted file mode 100644
index 5ada49615e9..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
+++ /dev/null
@@ -1,376 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// Event_Con.cpp
-//
-// = DESCRIPTION
-// This demo just tests the basic functionality of the Event Service
-// One Conumer which inherits from the Rtec Consumer. One Supplier
-// with an internal Rtec Consumer and one internal Rtec Supplier.
-// The internal Supplier is just a demo supplier because the
-// architecture expects an supplier which has inherited from the
-// Rtec Supplier.
-//
-// = AUTHOR
-// originally
-// David Levine (levine@cs.wustl.edu) and
-// Tim Harrison (harrison@cs.wustl.edu)
-// modified
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include <limits.h>
-
-#include "ace/Get_Opt.h"
-#include "ace/Sched_Params.h"
-#include "ace/Profile_Timer.h"
-#include "orbsvcs/Event_Utilities.h"
-#include "orbsvcs/Event_Service_Constants.h"
-#include "orbsvcs/Scheduler_Factory.h"
-#include "orbsvcs/RtecEventChannelAdminC.h"
-#include "Event_Con.h"
-#include "NavWeapC.h"
-
-ACE_RCSID(Event_Supplier, Event_Con, "$Id$")
-
-static const char usage [] =
-"[-? |\n"
-" [-c <consumers> [4]]\n"
-" [-d directly connect all consumers/suppliers\n"
-" [-j to collect jitter statistics]\n"
-" [-m <count> of messages to send [10]]\n"
-" [-s <suppliers>, [1]]\n"
-" [-t <timeout interval>, msec [250]]]";
-
-static int received = 0;
-
-// ************************************************************
-
-Demo_Consumer::Demo_Consumer (void)
-{
-}
-
-int
-Demo_Consumer::open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec,
- const char *my_name)
-{
- TAO_TRY
- {
- // Get a Scheduler.
-
- RtecScheduler::Scheduler_ptr server =
- ACE_Scheduler_Factory::server ();
-
- // Define Real-time information.
-
- rt_info_ = server->create (my_name, TAO_TRY_ENV);
-
- server->set (rt_info_,
- RtecScheduler::VERY_LOW_CRITICALITY,
- ORBSVCS_Time::zero,
- ORBSVCS_Time::zero,
- ORBSVCS_Time::zero,
- 2500000,
- RtecScheduler::VERY_LOW_IMPORTANCE,
- ORBSVCS_Time::zero,
- 1,
- RtecScheduler::OPERATION,
- TAO_TRY_ENV);
-
-
- // Create the event that we're registering for.
-
- ACE_ConsumerQOS_Factory dependencies;
- dependencies.start_disjunction_group ();
- dependencies.insert_type (ACE_ES_EVENT_NOTIFICATION, rt_info_);
- dependencies.insert_type (ACE_ES_EVENT_SHUTDOWN, rt_info_);
-
- // The channel administrator is the event channel we got from
- // the invocation of this routine.
-
- this->channel_admin_ = ec;
-
- // = Connect as a consumer.
-
- this->consumer_admin_ =
- channel_admin_->for_consumers (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Obtain a pointer to a push supplier. "suppliers" is
- // inherited from a base class.
-
- this->suppliers_ =
- consumer_admin_->obtain_push_supplier (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // The _this function returns an object pointer. This is needed
- // because a consumer inherits from a Servant class that is no
- // CORBA::Object.
-
- RtecEventComm::PushConsumer_var objref =
- this->_this (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- this->suppliers_->connect_push_consumer (objref.in (),
- dependencies.get_ConsumerQOS (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCH (RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR, se)
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "Demo_Consumer::open: subscribe failed.\n"),
- -1);
- }
- TAO_CATCHANY
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "Demo_Consumer::open: unexpected exception.\n"),
- -1);
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-void
-Demo_Consumer::disconnect_push_consumer (CORBA::Environment &)
-{
- ACE_DEBUG ((LM_DEBUG,
- "Consumer received disconnect from channel.\n"));
-}
-
-void
-Demo_Consumer::push (const RtecEventComm::EventSet &events,
- CORBA::Environment &)
-{
-
- if (events.length () == 0)
- {
- ACE_DEBUG ((LM_DEBUG, "no events\n"));
- return;
- }
-
- cout << "Number of events: " << received++ << endl;
-
- for (CORBA::ULong i = 0; i < events.length (); ++i)
- {
- if (events[i].header.type == ACE_ES_EVENT_SHUTDOWN)
- {
- ACE_DEBUG ((LM_DEBUG, "Demo Consumer: received shutdown event\n"));
- this->shutdown ();
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "Demo Consumer: received ACE_ES_EVENT_NOTIFICATION event.\n"));
-
- TAO_TRY
- {
- cout << "ID: " << events[i].data.any_value.type()->id(TAO_TRY_ENV) << endl;
- TAO_CHECK_ENV;
- cout << "Name: " << events[i].data.any_value.type()->name(TAO_TRY_ENV) << endl;
- TAO_CHECK_ENV;
- cout << "member_count: " << events[i].data.any_value.type()->member_count(TAO_TRY_ENV) << endl;
- TAO_CHECK_ENV;
- cout << "TCKind: " << events[i].data.any_value.type()->kind(TAO_TRY_ENV) << endl;
- TAO_CHECK_ENV;
-
- if (_tc_Navigation->equal (events[i].data.any_value.type(), TAO_TRY_ENV))
- {
- TAO_CHECK_ENV;
- Navigation *navigation_ = (Navigation*) events[i].data.any_value.value ();
-
- cout << "Found a Navigation struct in the any: pos_lat = " << navigation_->position_latitude << endl;
- }
- else if (_tc_Weapons->equal (events[i].data.any_value.type(), TAO_TRY_ENV))
- {
- TAO_CHECK_ENV;
- Weapons *weapons_ = (Weapons*) events[i].data.any_value.value ();
-
- cout << "Found a Navigation struct in the any: pos_lat = " << weapons_->number_of_weapons << endl;
- }
-
-
- }
- TAO_CATCHANY
- {
- ACE_ERROR ((LM_ERROR, "(%t)Error in extracting the Navigation and Weapons data.\n"));
- }
- TAO_ENDTRY;
- }
- }
-}
-
-void
-Demo_Consumer::shutdown (void)
-{
- TAO_TRY
- {
- // Disconnect from the push supplier.
-
- this->suppliers_->disconnect_push_supplier (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- ACE_DEBUG ((LM_DEBUG, "@@ we should shutdown here!!!\n"));
- TAO_CHECK_ENV;
-
- TAO_ORB_Core_instance ()->orb ()->shutdown ();
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- ACE_ERROR ((LM_ERROR,
- "(%t) Demo_Consumer::shutdown: unexpected exception.\n"));
- }
- TAO_ENDTRY;
-}
-
-// function get_options
-
-static unsigned int
-get_options (int argc, char *argv [])
-{
- ACE_Get_Opt get_opt (argc, argv, "Oc:djm:s:t:?");
- int opt;
-
- while ((opt = get_opt ()) != EOF)
- {
- switch (opt)
- {
- case '?':
- ACE_DEBUG ((LM_DEBUG,
- "Usage: %s %s\n",
- argv[0], usage));
- ACE_OS::exit (0);
- break;
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: unknown arg, -%c\n"
- "Usage: %s %s\n",
- argv[0], char(opt),
- argv[0], usage), 1);
- }
- }
-
- if (argc != get_opt.optind)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: too many arguments\n"
- "Usage: %s %s\n",
- argv[0],
- argv[0],
- usage),
- 1);
- return 0;
-}
-
-// function main.
-
-int
-main (int argc, char *argv [])
-{
- TAO_TRY
- {
- // Initialize ORB.
-
- CORBA::ORB_var orb =
- CORBA::ORB_init (argc, argv, "internet", TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- CORBA::Object_var poa_object =
- orb->resolve_initial_references("RootPOA");
-
- if (CORBA::is_nil (poa_object.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize the POA.\n"),
- 1);
-
- PortableServer::POA_var root_poa =
- PortableServer::POA::_narrow (poa_object.in (), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- CORBA::Object_var naming_obj =
- orb->resolve_initial_references ("NameService");
-
- if (CORBA::is_nil (naming_obj.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize the POA.\n"),
- 1);
-
- CosNaming::NamingContext_var naming_context =
- CosNaming::NamingContext::_narrow (naming_obj.in (),
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- ACE_Scheduler_Factory::use_config (naming_context.in ());
-
- if (get_options (argc, argv))
- ACE_OS::exit (-1);
-
- // Get the Event Channel.
-
- CosNaming::Name channel_name (1);
- channel_name.length (1);
- channel_name[0].id = CORBA::string_dup ("EventService");
-
- CORBA::Object_var ec_obj =
- naming_context->resolve (channel_name,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- RtecEventChannelAdmin::EventChannel_var ec =
- RtecEventChannelAdmin::EventChannel::_narrow (ec_obj.in(), TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- if (ec.ptr() == 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Not able to get the Event Service reference.\n"),
- -1);
-
- // Create consumer.
-
- Demo_Consumer *demo_consumer;
- ACE_NEW_RETURN (demo_consumer,
- Demo_Consumer (),
- -1);
-
- if (demo_consumer->open_consumer (ec.ptr (),
- "demo_consumer") == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Someone was feeling introverted.\n"),
- -1);
-
- poa_manager->activate (TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Run the ORB
-
- if (orb->run () == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "CORBA::ORB::run"),
- -1);
- TAO_CHECK_ENV;
-
- delete demo_consumer;
-
- root_poa->destroy (1,
- 1,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("SYS_EX");
- }
- TAO_ENDTRY;
-
- return 0;
-}
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.h b/TAO/examples/Simulator/Event_Supplier/Event_Con.h
deleted file mode 100644
index c95efa7f473..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/Event_Con.h
+++ /dev/null
@@ -1,66 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// Event_Con.h
-//
-// = AUTHOR
-// originally
-// David Levine (levine@cs.wustl.edu) and
-// Tim Harrison (harrison@cs.wustl.edu)
-// modified
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#if !defined (EVENT_CON_H)
-#define EVENT_CON_H
-
-#include "ace/SString.h"
-#include "orbsvcs/RtecEventChannelAdminC.h"
-#include "orbsvcs/RtecEventCommS.h"
-
-class Demo_Consumer : public POA_RtecEventComm::PushConsumer
-{
- // = TITLE
- // Demo Consumer
- //
- // = DESCRIPTION
- // Simple example of a consumer that registers for supplier
- // notifications.
-public:
- Demo_Consumer (void);
-
- int open_consumer (RtecEventChannelAdmin::EventChannel_ptr ec,
- const char *my_name);
- // Uses the name server to obtain a reference to the <supplier_name>
- // and registers with channel to receive notifications from the
- // supplier. Also registers to receive shutdown messages from the
- // supplier. Stores <my_name> for printing out messages. Returns 0
- // on success, -1 on failure.
-
- virtual void disconnect_push_consumer (CORBA::Environment &);
- // The channel is disconnecting.
-
- // = (not protected to allow short-circuiting) protected:
- virtual void push (const RtecEventComm::EventSet &events,
- CORBA::Environment &);
- // If the <events>[0] is a notification, prints out the data from
- // the supplier. If its a shutdown message, the consumer
- // disconnects from the channel.
-
-protected:
- void shutdown (void);
- // Disconnect from the Event Service.
-
- // = Event channel adminstration references.
- RtecEventChannelAdmin::EventChannel_var channel_admin_;
- RtecEventChannelAdmin::ConsumerAdmin_var consumer_admin_;
- RtecEventChannelAdmin::ProxyPushSupplier_var suppliers_;
-
-private:
- RtecScheduler::handle_t rt_info_;
-};
-
-#endif /* EVENT_CON_H */
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp
deleted file mode 100644
index bb7717987e4..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.cpp
+++ /dev/null
@@ -1,466 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// Event_Sup.cpp
-//
-// = DESCRIPTION
-// Event Supplier for the flight simulator
-//
-// = AUTHOR
-// originally
-// David Levine (levine@cs.wustl.edu) and
-// Tim Harrison (harrison@cs.wustl.edu)
-// modified
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#include <limits.h>
-
-#include "tao/corba.h"
-#include "tao/TAO.h"
-#include "ace/Get_Opt.h"
-#include "ace/Sched_Params.h"
-//#include "ace/Profile_Timer.h"
-#include "ace/OS.h"
-#include "orbsvcs/Event_Utilities.h"
-#include "orbsvcs/Event_Service_Constants.h"
-#include "orbsvcs/Scheduler_Factory.h"
-#include "orbsvcs/RtecEventChannelAdminC.h"
-#include "Event_Sup.h"
-#include "NavWeapC.h"
-
-ACE_RCSID(Event_Supplier, Event_Sup, "$Id$")
-
-static const char usage [] =
-"[[-?]\n"
-" [-O[RBport] ORB port number]\n"
-" [-m <count> of messages to send [100]\n"
-" [-f name of schedler input data file]]\n";
-
-
-Event_Supplier::Event_Supplier (int argc, char** argv)
-: argc_(argc),
- argv_(argv),
- total_messages_(10),
- input_file_name_(0)
-{
- navigation_.roll = navigation_.pitch = 0;
-}
-
-Event_Supplier::~Event_Supplier ()
-{
- this->dOVE_Supplier_.disconnect ();
-}
-
-int
-Event_Supplier::init ()
-{
- this->get_options (argc_, argv_);
- return this->dOVE_Supplier_.connect ("MIB_unknown");
-}
-
-void
-Event_Supplier::start_generating_events (void)
-{
- unsigned long total_sent = 0;
-
- // Load the scheduling data for the simulation.
- ACE_Unbounded_Queue<Schedule_Viewer_Data *> schedule_data;
- this->load_schedule_data (schedule_data);
- ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *>
- schedule_iter (schedule_data);
-
- if (schedule_iter.done ())
- {
- ACE_ERROR ((LM_ERROR,
- "DOVE_Supplier::start_generating_events: "
- "there is no scheduling data\n"));
- return;
- }
-
- CORBA::Any any;
-
- do
- {
-
- // Insert the event data
- this->insert_event_data (any,
- schedule_iter);
-
- // deliver it over the wire
- dOVE_Supplier_.notify (any);
-
- if (total_sent < 5)
- ACE_DEBUG ((LM_DEBUG,
- "Pushing event data.\n"));
- else if (total_sent == 5)
- ACE_DEBUG ((LM_DEBUG,
- "Everything is running. Going to be mute.\n"));
- }
- while (++total_sent < this->total_messages_);
-
- // clean up the scheduling data
- Schedule_Viewer_Data **data_temp;
- for (schedule_iter.first ();
- schedule_iter.done () == 0;
- schedule_iter.advance ())
- if (schedule_iter.next (data_temp) && data_temp)
- delete (*data_temp);
-}
-
-void
-Event_Supplier::load_schedule_data
- (ACE_Unbounded_Queue<Schedule_Viewer_Data *> &schedule_data)
-{
- Schedule_Viewer_Data *data = 0;
-
- if (this->input_file_name_)
- {
- // Open the scheduler data input file and read its contents into
- // a queue.
- FILE *input_file;
-
- int scan_count = 0;
- input_file = ACE_OS::fopen(this->input_file_name_, "r");
-
- if (input_file)
- {
- // Get a line at a time from the data file and parse it.
- char input_buf[BUFSIZ];
- while (ACE_OS::fgets (input_buf, BUFSIZ, input_file))
- {
- // Run through leading whitespace.
- char *temp = input_buf;
- while (*temp && isspace (*temp))
- ++temp;
-
- // If there is anything besides whitespace in the line
- // read, scan its fields into the scheduling data
- // structure.
- if (ACE_OS::strlen (temp) > 0)
- {
- ACE_NEW (data, Schedule_Viewer_Data);
- scan_count = sscanf (temp, "%s %lf %lf %lu %lu %lu %lu",
- data->operation_name,
- &data->utilitzation,
- &data->overhead,
- &data->arrival_time,
- &data->deadline_time,
- &data->completion_time,
- &data->computation_time);
- if (scan_count != 7)
- {
- ACE_ERROR ((LM_ERROR,
- "DOVE_Supplier::start_generating_events: "
- "scanned incorrect number of data elements: %d\n", scan_count));
-
- delete data;
- return;
- }
-
- // Insert the data into the queue.
- schedule_data.enqueue_tail (data);
- }
- }
- }
- else
- {
- ACE_ERROR ((LM_ERROR,
- "DOVE_Supplier::start_generating_events: "
- "could not open input file [%s].\n",
- this->input_file_name_));
- return;
- }
- }
- else
- {
- u_long last_completion = 0;
-
- // Just create 10 dummy scheduling records and use them.
- for (int i = 0; i < 10; ++i)
- {
- ACE_NEW (data, Schedule_Viewer_Data);
-
- char *oper_name = 0;
- switch (i % 4)
- {
- case 0:
- oper_name = "high_20";
- break;
-
- case 1:
- oper_name = "low_20";
- break;
-
- case 2:
- oper_name = "high_10";
- break;
-
- case 3:
- default:
- oper_name = "low_10";
- break;
- }
-
- ACE_OS::strncpy (data->operation_name,
- oper_name,
- BUFSIZ-1);
-
-
- data->utilitzation = (double)(20.0+ACE_OS::rand() %10);
- data->overhead = (double)(ACE_OS::rand() %20);
-
- data->arrival_time = ACE_OS::rand() % 200;
- data->computation_time = (ACE_OS::rand() % 100) + 10;
-
- data->completion_time = last_completion + (ACE_OS::rand() % 100) + 100;
- data->completion_time =
- data->completion_time < data->arrival_time + data->computation_time
- ? data->arrival_time + data->computation_time
- : data->completion_time;
-
- last_completion = data->completion_time;
-
- data->deadline_time = data->completion_time + (ACE_OS::rand() % 200) - 50;
-
- // insert the data into the queue.
- schedule_data.enqueue_tail (data);
- }
- }
-}
-
-// This function fills in the random data into the anys transported by
-// the event channel.
-
-void
-Event_Supplier::insert_event_data (CORBA::Any &data,
- ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> &schedule_iter)
-{
- static u_long last_completion = 0;
-
- TAO_TRY
- {
- Schedule_Viewer_Data **sched_data;
-
- if ((schedule_iter.next (sched_data)) && (sched_data) && (*sched_data))
- {
- if ((strcmp((*sched_data)->operation_name, "high_20") == 0) ||
- (strcmp((*sched_data)->operation_name, "low_20") == 0) ||
- (strcmp((*sched_data)->operation_name, "high_1") == 0) ||
- (strcmp((*sched_data)->operation_name, "low_1") == 0))
- {
- navigation_.position_latitude = ACE_OS::rand() % 90;
- navigation_.position_longitude = ACE_OS::rand() % 180;
- navigation_.altitude = ACE_OS::rand() % 100;
- navigation_.heading = ACE_OS::rand() % 180;
- navigation_.roll = (navigation_.roll >= 180) ? -180 : navigation_.roll + 1;
- navigation_.pitch = (navigation_.pitch >= 90) ? -90 : navigation_.pitch + 1;
-
- navigation_.utilization = (*sched_data)->utilitzation;
- navigation_.overhead = (*sched_data)->overhead;
- navigation_.arrival_time = (*sched_data)->arrival_time;
- navigation_.deadline_time = (*sched_data)->deadline_time;
- navigation_.completion_time = (*sched_data)->completion_time;
- navigation_.computation_time = (*sched_data)->computation_time;
-
- // because the scheduler data does not supply these values
- navigation_.utilization = (double) (20.0 + ACE_OS::rand() % 10);
- navigation_.overhead = (double) (ACE_OS::rand() % 10);
-
- data.replace (_tc_Navigation, &navigation_, 0, TAO_TRY_ENV);
- }
- else if ((strcmp((*sched_data)->operation_name, "high_10") == 0) ||
- (strcmp((*sched_data)->operation_name, "low_10") == 0) ||
- (strcmp((*sched_data)->operation_name, "high_5") == 0) ||
- (strcmp((*sched_data)->operation_name, "low_5") == 0))
- {
- weapons_.number_of_weapons = 2;
- weapons_.weapon1_identifier = CORBA::string_alloc (30);
- strcpy (weapons_.weapon1_identifier,"Photon Torpedoes");
- weapons_.weapon1_status =(ACE_OS::rand() % 4) == 0 ? 0 : 1 ;
- weapons_.weapon2_identifier = CORBA::string_alloc (30);
- strcpy (weapons_.weapon2_identifier,"Quantum Torpedoes");
- weapons_.weapon2_status = (ACE_OS::rand() % 4) == 0 ? 0 : 1;
- weapons_.weapon3_identifier = CORBA::string_alloc (1);
- strcpy (weapons_.weapon3_identifier, "");
- weapons_.weapon3_status = 0;
- weapons_.weapon4_identifier = CORBA::string_alloc (1);
- strcpy (weapons_.weapon4_identifier, "");
- weapons_.weapon4_status = 0;
- weapons_.weapon5_identifier = CORBA::string_alloc (1);
- strcpy (weapons_.weapon5_identifier, "");
- weapons_.weapon5_status = 0;
- weapons_.utilization = (*sched_data)->utilitzation;
- weapons_.overhead = (*sched_data)->overhead;
- weapons_.arrival_time = (*sched_data)->arrival_time;
- weapons_.deadline_time = (*sched_data)->deadline_time;
- weapons_.completion_time = (*sched_data)->completion_time;
- weapons_.computation_time = (*sched_data)->computation_time;
-
- // because the scheduler data does not supply these values
- weapons_.utilization = (double) (20.0 + ACE_OS::rand() % 10);
- weapons_.overhead = (double) (ACE_OS::rand() % 10);
-
- data.replace (_tc_Weapons, &weapons_, 0, TAO_TRY_ENV);
- }
- else {
- ACE_ERROR ((LM_ERROR,
- "Event_Supplier::insert_event_data:"
- "unrecognized operation name [%s]",
- (*sched_data)->operation_name));
- }
-
- TAO_CHECK_ENV;
-
-
- if (last_completion > (*sched_data)->completion_time)
- last_completion = 0;
-
- if ((*sched_data)->completion_time >= last_completion)
- {
- ACE_Time_Value pause (0,
- (*sched_data)->completion_time - last_completion);
- ACE_OS::sleep (pause);
- last_completion = (*sched_data)->completion_time;
- }
- }
- else
- ACE_ERROR ((LM_ERROR,
- "Event_Supplier::insert_event_data:"
- "Could Not access scheduling data"));
-
- schedule_iter.advance ();
-
- if (schedule_iter.done ())
- schedule_iter.first ();
- }
- TAO_CATCHANY
- {
- ACE_ERROR ((LM_ERROR,
- "(%t)Error in Event_Supplier::insert_event_data.\n"));
- }
- TAO_ENDTRY;
-}
-
-
-
-// Function get_options.
-
-unsigned int
-Event_Supplier::get_options (int argc, char *argv [])
-{
- ACE_Get_Opt get_opt (argc, argv, "f:m:");
- int opt;
- int temp;
-
- while ((opt = get_opt ()) != -1)
- {
- switch (opt)
- {
- case 'm':
- temp = ACE_OS::atoi (get_opt.optarg);
- if (temp > 0)
- {
- this->total_messages_ = (u_int) temp;
- ACE_DEBUG ((LM_DEBUG,
- "Messages to send: %d\n",
- this->total_messages_));
- }
- else
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: count must be > 0",
- argv[0]),
- 1);
- break;
- case 'f':
- this->input_file_name_ = get_opt.optarg;
-
- if (!this->input_file_name_ || ACE_OS::strlen (this->input_file_name_) > 0)
- ACE_DEBUG ((LM_DEBUG,"Reading file!\n"));
- else
- {
- this->input_file_name_ = 0;
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: file name must be specified with -f option",
- argv[0]),
- 1);
- }
- break;
- default:
- case '?':
- ACE_DEBUG ((LM_DEBUG,
- "Usage: %s %s\n",
- argv[0], usage));
- ACE_OS::exit (0);
- break;
- }
- }
-
- if (argc != get_opt.optind)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%s: too many arguments\n"
- "Usage: %s %s\n",
- argv[0],
- argv[0],
- usage),
- 1);
-
- return 0;
-}
-
-// function main
-
-int
-main (int argc, char *argv [])
-{
- TAO_TRY
- {
- // Initialize ORB.
- TAO_ORB_Manager orb_Manager;
-
- orb_Manager.init (argc,
- argv,
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
-
- // Create the demo supplier.
- Event_Supplier *event_Supplier_ptr;
-
- ACE_NEW_RETURN (event_Supplier_ptr,
- Event_Supplier(argc, argv),
- -1);
-
- // Initialize everthing
- if (event_Supplier_ptr->init () == -1)
- exit (1);
-
- // now we can go ahead
- event_Supplier_ptr->start_generating_events ();
-
- // when done, we clean up
- delete event_Supplier_ptr;
- TAO_CHECK_ENV;
-
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("SYS_EX");
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Node<Schedule_Viewer_Data *>;
-template class ACE_Unbounded_Queue<Schedule_Viewer_Data *>;
-template class ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Node<Schedule_Viewer_Data *>
-#pragma instantiate ACE_Unbounded_Queue<Schedule_Viewer_Data *>
-#pragma instantiate ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp b/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp
deleted file mode 100644
index 4764d3a810b..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsp
+++ /dev/null
@@ -1,160 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Event_Sup" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Event_Sup - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "Event_Sup.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Event_Sup.mak" CFG="Event_Sup - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Event_Sup - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "Event_Sup - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Event_Sup - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\..\..\ace" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\orbsvcs"
-
-!ELSEIF "$(CFG)" == "Event_Sup - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\..\\" /I "..\..\..\..\\" /I "..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "TAO_ORBSVCS_HAS_DLL" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\..\ace" /libpath:"..\..\..\..\tao" /libpath:"..\..\..\orbsvcs"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Event_Sup - Win32 Release"
-# Name "Event_Sup - Win32 Debug"
-# Begin Group "Source files"
-
-# PROP Default_Filter "*.cpp"
-# Begin Source File
-
-SOURCE=.\DOVE_Supplier.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Event_Sup.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.cpp
-# End Source File
-# End Group
-# Begin Group "Header files"
-
-# PROP Default_Filter "*.h"
-# Begin Source File
-
-SOURCE=.\DOVE_Supplier.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Event_Sup.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\NavWeapC.h
-# End Source File
-# End Group
-# Begin Group "IDL files"
-
-# PROP Default_Filter "*.idl"
-# Begin Source File
-
-SOURCE=.\NavWeap.idl
-
-!IF "$(CFG)" == "Event_Sup - Win32 Release"
-
-!ELSEIF "$(CFG)" == "Event_Sup - Win32 Debug"
-
-# Begin Custom Build
-InputPath=.\NavWeap.idl
-InputName=NavWeap
-
-BuildCmds= \
- ..\..\..\..\tao_idl\tao_idl $(InputName).idl
-
-"$(InputName)C.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)C.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.i" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-
-"$(InputName)S.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
- $(BuildCmds)
-# End Custom Build
-
-!ENDIF
-
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw b/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw
deleted file mode 100644
index db9d39c9a76..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Event_Sup"=.\Event_Sup.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Sup.h b/TAO/examples/Simulator/Event_Supplier/Event_Sup.h
deleted file mode 100644
index b3a9928da03..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/Event_Sup.h
+++ /dev/null
@@ -1,79 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = FILENAME
-// Event_Sup.h
-//
-// = DESCRIPTION
-// Event Supplier for the simulation
-//
-// = AUTHOR
-// Michael Kircher (mk1@cs.wustl.edu)
-//
-// ============================================================================
-
-#if !defined (EVENT_SUP_H)
-#define EVENT_SUP_H
-
-//#include <ctype.h>
-//#include <stdio.h>
-#include "NavWeapC.h"
-#include "DOVE_Supplier.h"
-
-struct Schedule_Viewer_Data
-{
- char operation_name [BUFSIZ];
- double utilitzation;
- double overhead;
- u_long arrival_time;
- u_long deadline_time;
- u_long completion_time;
- u_long computation_time;
-};
-
-class Event_Supplier
-{
- // = TITLE
- // Event Supplier.
- //
- // = DESCRIPTION
- // Reads Scheduler information out of a file and
- // feeds it with additional navigation and
- // weapon data into the dove_supplier, which
- // is connected to the event channel
-public:
-
- Event_Supplier (int argc, char** argv);
-
- ~Event_Supplier (void);
-
- int init (void);
- // connect the DOVE_Supplier
-
- void start_generating_events (void);
- // here is really something going on,
- // here we deliver the messages
-
- void load_schedule_data (ACE_Unbounded_Queue<Schedule_Viewer_Data *> &schedule_data);
- // Load the scheduling information into memory
-
-
-private:
- void insert_event_data (CORBA::Any &data,
- ACE_Unbounded_Queue_Iterator<Schedule_Viewer_Data *> &schedule_iter);
- // just a helper to put all the information into the CORBA::Any
-
- unsigned int get_options (int argc, char *argv []);
-
- DOVE_Supplier dOVE_Supplier_;
- Navigation navigation_;
- Weapons weapons_;
-
- int argc_;
- char **argv_;
- unsigned long total_messages_;
- char *input_file_name_;
-};
-
-#endif /* EVENT_SUP_H */
diff --git a/TAO/examples/Simulator/Event_Supplier/MLF.dat b/TAO/examples/Simulator/Event_Supplier/MLF.dat
deleted file mode 100644
index 2ab9b47b9af..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/MLF.dat
+++ /dev/null
@@ -1,72 +0,0 @@
-low_20 1.000000 0.000000 0 500000 180000 180000
-high_20 1.000000 0.000000 0 500000 360000 180000
-low_20 1.000000 0.000000 500000 1000000 680000 180000
-high_20 1.000000 0.000000 500000 1000000 860000 180000
-low_10 1.000000 0.000000 0 1000000 900000 180000
-low_20 1.000000 0.000000 1000000 1500000 1180000 180000
-high_20 1.000000 0.000000 1000000 1500000 1360000 180000
-low_20 1.000000 0.000000 1500000 2000000 1680000 180000
-high_20 1.000000 0.000000 1500000 2000000 1860000 180000
-low_10 1.000000 0.000000 1000000 2000000 1900000 180000
-low_5 1.000000 0.000000 0 2000000 1980000 180000
-low_20 1.000000 0.000000 2000000 2500000 2180000 180000
-high_20 1.000000 0.000000 2000000 2500000 2360000 180000
-low_20 1.000000 0.000000 2500000 3000000 2680000 180000
-high_20 1.000000 0.000000 2500000 3000000 2860000 180000
-low_10 1.000000 0.000000 2000000 3000000 2900000 180000
-low_20 1.000000 0.000000 3000000 3500000 3180000 180000
-high_20 1.000000 0.000000 3000000 3500000 3360000 180000
-low_20 1.000000 0.000000 3500000 4000000 3680000 180000
-high_20 1.000000 0.000000 3500000 4000000 3860000 180000
-low_10 1.000000 0.000000 3000000 4000000 3900000 180000
-low_1 1.000000 0.000000 0 10000000 3960000 180000
-low_20 1.000000 0.000000 4000000 4500000 4180000 180000
-high_20 1.000000 0.000000 4000000 4500000 4360000 180000
-low_20 1.000000 0.000000 4500000 5000000 4680000 180000
-high_20 1.000000 0.000000 4500000 5000000 4860000 180000
-low_10 1.000000 0.000000 4000000 5000000 4900000 180000
-low_20 1.000000 0.000000 5000000 5500000 5180000 180000
-high_20 1.000000 0.000000 5000000 5500000 5360000 180000
-low_20 1.000000 0.000000 5500000 6000000 5680000 180000
-high_20 1.000000 0.000000 5500000 6000000 5860000 180000
-low_10 1.000000 0.000000 5000000 6000000 5900000 180000
-high_1 1.000000 0.000000 0 10000000 5940000 180000
-low_20 1.000000 0.000000 6000000 6500000 6180000 180000
-high_20 1.000000 0.000000 6000000 6500000 6360000 180000
-low_20 1.000000 0.000000 6500000 7000000 6680000 180000
-high_20 1.000000 0.000000 6500000 7000000 6860000 180000
-low_10 1.000000 0.000000 6000000 7000000 6900000 180000
-low_20 1.000000 0.000000 7000000 7500000 7180000 180000
-high_20 1.000000 0.000000 7000000 7500000 7360000 180000
-low_20 1.000000 0.000000 7500000 8000000 7680000 180000
-high_20 1.000000 0.000000 7500000 8000000 7860000 180000
-low_10 1.000000 0.000000 7000000 8000000 7900000 180000
-high_10 1.000000 0.000000 5000000 6000000 7920000 180000
-low_20 1.000000 0.000000 8000000 8500000 8180000 180000
-high_20 1.000000 0.000000 8000000 8500000 8360000 180000
-low_20 1.000000 0.000000 8500000 9000000 8680000 180000
-high_20 1.000000 0.000000 8500000 9000000 8860000 180000
-low_10 1.000000 0.000000 8000000 9000000 8900000 180000
-high_10 1.000000 0.000000 7000000 8000000 9000000 180000
-low_20 1.000000 0.000000 9000000 9500000 9180000 180000
-high_20 1.000000 0.000000 9000000 9500000 9360000 180000
-low_20 1.000000 0.000000 9500000 10000000 9680000 180000
-high_20 1.000000 0.000000 9500000 10000000 9860000 180000
-low_10 1.000000 0.000000 9000000 10000000 9900000 180000
-high_10 1.000000 0.000000 9000000 10000000 10080000 180000
-low_5 1.000000 0.000000 8000000 10000000 10260000 180000
-high_5 1.000000 0.000000 8000000 10000000 10440000 180000
-high_10 1.000000 0.000000 8000000 9000000 10620000 180000
-high_5 1.000000 0.000000 6000000 8000000 10800000 180000
-low_5 1.000000 0.000000 6000000 8000000 10980000 180000
-high_10 1.000000 0.000000 6000000 7000000 11160000 180000
-low_5 1.000000 0.000000 4000000 6000000 11340000 180000
-high_5 1.000000 0.000000 4000000 6000000 11520000 180000
-high_10 1.000000 0.000000 4000000 5000000 11700000 180000
-high_5 1.000000 0.000000 2000000 4000000 11880000 180000
-low_5 1.000000 0.000000 2000000 4000000 12060000 180000
-high_10 1.000000 0.000000 3000000 4000000 12240000 180000
-high_10 1.000000 0.000000 2000000 3000000 12420000 180000
-high_10 1.000000 0.000000 1000000 2000000 12600000 180000
-high_5 1.000000 0.000000 0 2000000 12780000 180000
-high_10 1.000000 0.000000 0 1000000 12960000 180000
diff --git a/TAO/examples/Simulator/Event_Supplier/MUF.dat b/TAO/examples/Simulator/Event_Supplier/MUF.dat
deleted file mode 100644
index ac521175070..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/MUF.dat
+++ /dev/null
@@ -1,72 +0,0 @@
-high_20 1.000000 0.000000 0 500000 180000 180000
-high_10 1.000000 0.000000 0 1000000 360000 180000
-high_20 1.000000 0.000000 500000 1000000 680000 180000
-high_5 1.000000 0.000000 0 2000000 720000 180000
-high_1 1.000000 0.000000 0 10000000 900000 180000
-high_20 1.000000 0.000000 1000000 1500000 1180000 180000
-high_10 1.000000 0.000000 1000000 2000000 1360000 180000
-low_5 1.000000 0.000000 0 2000000 1440000 180000
-high_20 1.000000 0.000000 1500000 2000000 1680000 180000
-low_10 1.000000 0.000000 1000000 2000000 1800000 180000
-low_20 1.000000 0.000000 1500000 2000000 1980000 180000
-high_20 1.000000 0.000000 2000000 2500000 2180000 180000
-high_10 1.000000 0.000000 2000000 3000000 2360000 180000
-high_20 1.000000 0.000000 2500000 3000000 2680000 180000
-high_5 1.000000 0.000000 2000000 4000000 2720000 180000
-low_1 1.000000 0.000000 0 10000000 2880000 180000
-high_20 1.000000 0.000000 3000000 3500000 3180000 180000
-high_10 1.000000 0.000000 3000000 4000000 3360000 180000
-low_5 1.000000 0.000000 2000000 4000000 3420000 180000
-high_20 1.000000 0.000000 3500000 4000000 3680000 180000
-low_10 1.000000 0.000000 3000000 4000000 3780000 180000
-low_20 1.000000 0.000000 3500000 4000000 3960000 180000
-high_20 1.000000 0.000000 4000000 4500000 4180000 180000
-high_10 1.000000 0.000000 4000000 5000000 4360000 180000
-high_20 1.000000 0.000000 4500000 5000000 4680000 180000
-high_5 1.000000 0.000000 4000000 6000000 4720000 180000
-low_20 1.000000 0.000000 3000000 3500000 4860000 180000
-high_20 1.000000 0.000000 5000000 5500000 5180000 180000
-high_10 1.000000 0.000000 5000000 6000000 5360000 180000
-low_5 1.000000 0.000000 4000000 6000000 5400000 180000
-high_20 1.000000 0.000000 5500000 6000000 5680000 180000
-low_10 1.000000 0.000000 5000000 6000000 5760000 180000
-low_20 1.000000 0.000000 5500000 6000000 5940000 180000
-high_20 1.000000 0.000000 6000000 6500000 6180000 180000
-high_10 1.000000 0.000000 6000000 7000000 6360000 180000
-high_20 1.000000 0.000000 6500000 7000000 6680000 180000
-high_5 1.000000 0.000000 6000000 8000000 6720000 180000
-low_20 1.000000 0.000000 5000000 5500000 6840000 180000
-high_20 1.000000 0.000000 7000000 7500000 7180000 180000
-high_10 1.000000 0.000000 7000000 8000000 7360000 180000
-low_5 1.000000 0.000000 6000000 8000000 7380000 180000
-high_20 1.000000 0.000000 7500000 8000000 7680000 180000
-low_10 1.000000 0.000000 7000000 8000000 7740000 180000
-low_20 1.000000 0.000000 7500000 8000000 7920000 180000
-high_20 1.000000 0.000000 8000000 8500000 8180000 180000
-high_10 1.000000 0.000000 8000000 9000000 8360000 180000
-high_20 1.000000 0.000000 8500000 9000000 8680000 180000
-high_5 1.000000 0.000000 8000000 10000000 8720000 180000
-low_20 1.000000 0.000000 7000000 7500000 8820000 180000
-low_5 1.000000 0.000000 8000000 10000000 9000000 180000
-high_20 1.000000 0.000000 9000000 9500000 9180000 180000
-high_10 1.000000 0.000000 9000000 10000000 9360000 180000
-high_20 1.000000 0.000000 9500000 10000000 9680000 180000
-low_10 1.000000 0.000000 9000000 10000000 9720000 180000
-low_20 1.000000 0.000000 9500000 10000000 9900000 180000
-low_20 1.000000 0.000000 9000000 9500000 10080000 180000
-low_10 1.000000 0.000000 8000000 9000000 10260000 180000
-low_20 1.000000 0.000000 8500000 9000000 10440000 180000
-low_20 1.000000 0.000000 8000000 8500000 10620000 180000
-low_20 1.000000 0.000000 6500000 7000000 10800000 180000
-low_10 1.000000 0.000000 6000000 7000000 10980000 180000
-low_20 1.000000 0.000000 6000000 6500000 11160000 180000
-low_10 1.000000 0.000000 4000000 5000000 11340000 180000
-low_20 1.000000 0.000000 4500000 5000000 11520000 180000
-low_20 1.000000 0.000000 4000000 4500000 11700000 180000
-low_20 1.000000 0.000000 2500000 3000000 11880000 180000
-low_10 1.000000 0.000000 2000000 3000000 12060000 180000
-low_20 1.000000 0.000000 2000000 2500000 12240000 180000
-low_20 1.000000 0.000000 1000000 1500000 12420000 180000
-low_20 1.000000 0.000000 500000 1000000 12600000 180000
-low_10 1.000000 0.000000 0 1000000 12780000 180000
-low_20 1.000000 0.000000 0 500000 12960000 180000
diff --git a/TAO/examples/Simulator/Event_Supplier/Makefile b/TAO/examples/Simulator/Event_Supplier/Makefile
deleted file mode 100644
index 090a7ae0cdf..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/Makefile
+++ /dev/null
@@ -1,1303 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-IDL_SRC = NavWeapC.cpp NavWeapS.cpp
-IDL_HDR = NavWeapC.h
-EVENT_TEST_SRCS = Event_Sup.cpp Event_Con.cpp DOVE_Supplier.cpp
-
-LSRC = $(IDL_SRC) $(EVENT_TEST_SRCS)
-
-EVENT_SUP_OBJS = NavWeapC.o Event_Sup.o DOVE_Supplier.o
-EVENT_CON_OBJS = NavWeapC.o Event_Con.o
-
-BIN = Event_Sup Event_Con
-
-LDLIBS = -lorbsvcs -lTAO
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-#### TSS_ORB_FLAG = -DTAO_HAS_TSS_ORBCORE
-LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao
-CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG)#-H
-
-$(IDL_SRC): NavWeap.idl
- $(TAO_ROOT)/TAO_IDL/tao_idl NavWeap.idl
-
-.PRECIOUS:$(IDL_HDR) $(IDL_SRC)
-
-NavWeap.idl: ../NavWeap.idl
- @cp -p $< .
-
-
-Event_Sup: $(addprefix $(VDIR),$(EVENT_SUP_OBJS))
-
-Event_Con: $(addprefix $(VDIR),$(EVENT_CON_OBJS))
-
-realclean: clean
- -/bin/rm -rf NavWeap.idl NavWeap[CS].* NavWeap[CS]_T.*
-
-
-#----------------------------------------------------------------------------
-# Dependencies
-#----------------------------------------------------------------------------
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/NavWeapC.o .obj/NavWeapC.so .shobj/NavWeapC.o .shobj/NavWeapC.so: NavWeapC.cpp NavWeapC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- NavWeapC.i NavWeapS.h NavWeapS_T.h NavWeapS_T.i NavWeapS_T.cpp \
- NavWeapS.i
-.obj/NavWeapS.o .obj/NavWeapS.so .shobj/NavWeapS.o .shobj/NavWeapS.so: NavWeapS.cpp NavWeapS.h NavWeapC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- NavWeapC.i NavWeapS_T.h NavWeapS_T.i NavWeapS_T.cpp NavWeapS.i
-.obj/Event_Sup.o .obj/Event_Sup.so .shobj/Event_Sup.o .shobj/Event_Sup.so: Event_Sup.cpp \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/TAO.h \
- $(ACE_ROOT)/ace/Sched_Params.h \
- $(ACE_ROOT)/ace/Sched_Params.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \
- Event_Sup.h NavWeapC.h NavWeapC.i DOVE_Supplier.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i
-.obj/Event_Con.o .obj/Event_Con.so .shobj/Event_Con.o .shobj/Event_Con.so: Event_Con.cpp \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/Sched_Params.h \
- $(ACE_ROOT)/ace/Sched_Params.i \
- $(ACE_ROOT)/ace/Profile_Timer.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/High_Res_Timer.h \
- $(ACE_ROOT)/ace/High_Res_Timer.i \
- $(ACE_ROOT)/ace/Profile_Timer.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i \
- Event_Con.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \
- NavWeapC.h NavWeapC.i
-.obj/DOVE_Supplier.o .obj/DOVE_Supplier.so .shobj/DOVE_Supplier.o .shobj/DOVE_Supplier.so: DOVE_Supplier.cpp DOVE_Supplier.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Object_Table.h \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecSchedulerC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventChannelAdminC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosTimeBaseS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/RtecEventCommS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Service_Constants.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Time_Utilities.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Event_Utilities.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Scheduler_Factory.i
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/examples/Simulator/Event_Supplier/RMS.dat b/TAO/examples/Simulator/Event_Supplier/RMS.dat
deleted file mode 100644
index 5038c140a53..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/RMS.dat
+++ /dev/null
@@ -1,72 +0,0 @@
-low_20 1.000000 0.000000 0 500000 180000 180000
-high_20 1.000000 0.000000 0 500000 360000 180000
-low_20 1.000000 0.000000 500000 1000000 680000 180000
-high_20 1.000000 0.000000 500000 1000000 860000 180000
-low_10 1.000000 0.000000 0 1000000 900000 180000
-low_20 1.000000 0.000000 1000000 1500000 1180000 180000
-high_20 1.000000 0.000000 1000000 1500000 1360000 180000
-low_20 1.000000 0.000000 1500000 2000000 1680000 180000
-high_20 1.000000 0.000000 1500000 2000000 1860000 180000
-low_10 1.000000 0.000000 1000000 2000000 1900000 180000
-high_10 1.000000 0.000000 0 1000000 1980000 180000
-low_20 1.000000 0.000000 2000000 2500000 2180000 180000
-high_20 1.000000 0.000000 2000000 2500000 2360000 180000
-low_20 1.000000 0.000000 2500000 3000000 2680000 180000
-high_20 1.000000 0.000000 2500000 3000000 2860000 180000
-low_10 1.000000 0.000000 2000000 3000000 2900000 180000
-low_20 1.000000 0.000000 3000000 3500000 3180000 180000
-high_20 1.000000 0.000000 3000000 3500000 3360000 180000
-low_20 1.000000 0.000000 3500000 4000000 3680000 180000
-high_20 1.000000 0.000000 3500000 4000000 3860000 180000
-low_10 1.000000 0.000000 3000000 4000000 3900000 180000
-high_10 1.000000 0.000000 1000000 2000000 3960000 180000
-low_20 1.000000 0.000000 4000000 4500000 4180000 180000
-high_20 1.000000 0.000000 4000000 4500000 4360000 180000
-low_20 1.000000 0.000000 4500000 5000000 4680000 180000
-high_20 1.000000 0.000000 4500000 5000000 4860000 180000
-low_10 1.000000 0.000000 4000000 5000000 4900000 180000
-low_20 1.000000 0.000000 5000000 5500000 5180000 180000
-high_20 1.000000 0.000000 5000000 5500000 5360000 180000
-low_20 1.000000 0.000000 5500000 6000000 5680000 180000
-high_20 1.000000 0.000000 5500000 6000000 5860000 180000
-low_10 1.000000 0.000000 5000000 6000000 5900000 180000
-high_10 1.000000 0.000000 2000000 3000000 5940000 180000
-low_20 1.000000 0.000000 6000000 6500000 6180000 180000
-high_20 1.000000 0.000000 6000000 6500000 6360000 180000
-low_20 1.000000 0.000000 6500000 7000000 6680000 180000
-high_20 1.000000 0.000000 6500000 7000000 6860000 180000
-low_10 1.000000 0.000000 6000000 7000000 6900000 180000
-low_20 1.000000 0.000000 7000000 7500000 7180000 180000
-high_20 1.000000 0.000000 7000000 7500000 7360000 180000
-low_20 1.000000 0.000000 7500000 8000000 7680000 180000
-high_20 1.000000 0.000000 7500000 8000000 7860000 180000
-low_10 1.000000 0.000000 7000000 8000000 7900000 180000
-high_10 1.000000 0.000000 3000000 4000000 7920000 180000
-low_20 1.000000 0.000000 8000000 8500000 8180000 180000
-high_20 1.000000 0.000000 8000000 8500000 8360000 180000
-low_20 1.000000 0.000000 8500000 9000000 8680000 180000
-high_20 1.000000 0.000000 8500000 9000000 8860000 180000
-low_10 1.000000 0.000000 8000000 9000000 8900000 180000
-high_10 1.000000 0.000000 4000000 5000000 9000000 180000
-low_20 1.000000 0.000000 9000000 9500000 9180000 180000
-high_20 1.000000 0.000000 9000000 9500000 9360000 180000
-low_20 1.000000 0.000000 9500000 10000000 9680000 180000
-high_20 1.000000 0.000000 9500000 10000000 9860000 180000
-low_10 1.000000 0.000000 9000000 10000000 9900000 180000
-high_10 1.000000 0.000000 5000000 6000000 10080000 180000
-high_10 1.000000 0.000000 6000000 7000000 10260000 180000
-high_10 1.000000 0.000000 7000000 8000000 10440000 180000
-high_10 1.000000 0.000000 8000000 9000000 10620000 180000
-high_10 1.000000 0.000000 9000000 10000000 10800000 180000
-low_5 1.000000 0.000000 0 2000000 10980000 180000
-low_5 1.000000 0.000000 2000000 4000000 11160000 180000
-low_5 1.000000 0.000000 4000000 6000000 11340000 180000
-low_5 1.000000 0.000000 6000000 8000000 11520000 180000
-low_5 1.000000 0.000000 8000000 10000000 11700000 180000
-high_5 1.000000 0.000000 0 2000000 11880000 180000
-high_5 1.000000 0.000000 2000000 4000000 12060000 180000
-high_5 1.000000 0.000000 4000000 6000000 12240000 180000
-high_5 1.000000 0.000000 6000000 8000000 12420000 180000
-high_5 1.000000 0.000000 8000000 10000000 12600000 180000
-low_1 1.000000 0.000000 0 10000000 12780000 180000
-high_1 1.000000 0.000000 0 10000000 12960000 180000
diff --git a/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat b/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat
deleted file mode 100644
index ac521175070..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/RMS_Dyn.dat
+++ /dev/null
@@ -1,72 +0,0 @@
-high_20 1.000000 0.000000 0 500000 180000 180000
-high_10 1.000000 0.000000 0 1000000 360000 180000
-high_20 1.000000 0.000000 500000 1000000 680000 180000
-high_5 1.000000 0.000000 0 2000000 720000 180000
-high_1 1.000000 0.000000 0 10000000 900000 180000
-high_20 1.000000 0.000000 1000000 1500000 1180000 180000
-high_10 1.000000 0.000000 1000000 2000000 1360000 180000
-low_5 1.000000 0.000000 0 2000000 1440000 180000
-high_20 1.000000 0.000000 1500000 2000000 1680000 180000
-low_10 1.000000 0.000000 1000000 2000000 1800000 180000
-low_20 1.000000 0.000000 1500000 2000000 1980000 180000
-high_20 1.000000 0.000000 2000000 2500000 2180000 180000
-high_10 1.000000 0.000000 2000000 3000000 2360000 180000
-high_20 1.000000 0.000000 2500000 3000000 2680000 180000
-high_5 1.000000 0.000000 2000000 4000000 2720000 180000
-low_1 1.000000 0.000000 0 10000000 2880000 180000
-high_20 1.000000 0.000000 3000000 3500000 3180000 180000
-high_10 1.000000 0.000000 3000000 4000000 3360000 180000
-low_5 1.000000 0.000000 2000000 4000000 3420000 180000
-high_20 1.000000 0.000000 3500000 4000000 3680000 180000
-low_10 1.000000 0.000000 3000000 4000000 3780000 180000
-low_20 1.000000 0.000000 3500000 4000000 3960000 180000
-high_20 1.000000 0.000000 4000000 4500000 4180000 180000
-high_10 1.000000 0.000000 4000000 5000000 4360000 180000
-high_20 1.000000 0.000000 4500000 5000000 4680000 180000
-high_5 1.000000 0.000000 4000000 6000000 4720000 180000
-low_20 1.000000 0.000000 3000000 3500000 4860000 180000
-high_20 1.000000 0.000000 5000000 5500000 5180000 180000
-high_10 1.000000 0.000000 5000000 6000000 5360000 180000
-low_5 1.000000 0.000000 4000000 6000000 5400000 180000
-high_20 1.000000 0.000000 5500000 6000000 5680000 180000
-low_10 1.000000 0.000000 5000000 6000000 5760000 180000
-low_20 1.000000 0.000000 5500000 6000000 5940000 180000
-high_20 1.000000 0.000000 6000000 6500000 6180000 180000
-high_10 1.000000 0.000000 6000000 7000000 6360000 180000
-high_20 1.000000 0.000000 6500000 7000000 6680000 180000
-high_5 1.000000 0.000000 6000000 8000000 6720000 180000
-low_20 1.000000 0.000000 5000000 5500000 6840000 180000
-high_20 1.000000 0.000000 7000000 7500000 7180000 180000
-high_10 1.000000 0.000000 7000000 8000000 7360000 180000
-low_5 1.000000 0.000000 6000000 8000000 7380000 180000
-high_20 1.000000 0.000000 7500000 8000000 7680000 180000
-low_10 1.000000 0.000000 7000000 8000000 7740000 180000
-low_20 1.000000 0.000000 7500000 8000000 7920000 180000
-high_20 1.000000 0.000000 8000000 8500000 8180000 180000
-high_10 1.000000 0.000000 8000000 9000000 8360000 180000
-high_20 1.000000 0.000000 8500000 9000000 8680000 180000
-high_5 1.000000 0.000000 8000000 10000000 8720000 180000
-low_20 1.000000 0.000000 7000000 7500000 8820000 180000
-low_5 1.000000 0.000000 8000000 10000000 9000000 180000
-high_20 1.000000 0.000000 9000000 9500000 9180000 180000
-high_10 1.000000 0.000000 9000000 10000000 9360000 180000
-high_20 1.000000 0.000000 9500000 10000000 9680000 180000
-low_10 1.000000 0.000000 9000000 10000000 9720000 180000
-low_20 1.000000 0.000000 9500000 10000000 9900000 180000
-low_20 1.000000 0.000000 9000000 9500000 10080000 180000
-low_10 1.000000 0.000000 8000000 9000000 10260000 180000
-low_20 1.000000 0.000000 8500000 9000000 10440000 180000
-low_20 1.000000 0.000000 8000000 8500000 10620000 180000
-low_20 1.000000 0.000000 6500000 7000000 10800000 180000
-low_10 1.000000 0.000000 6000000 7000000 10980000 180000
-low_20 1.000000 0.000000 6000000 6500000 11160000 180000
-low_10 1.000000 0.000000 4000000 5000000 11340000 180000
-low_20 1.000000 0.000000 4500000 5000000 11520000 180000
-low_20 1.000000 0.000000 4000000 4500000 11700000 180000
-low_20 1.000000 0.000000 2500000 3000000 11880000 180000
-low_10 1.000000 0.000000 2000000 3000000 12060000 180000
-low_20 1.000000 0.000000 2000000 2500000 12240000 180000
-low_20 1.000000 0.000000 1000000 1500000 12420000 180000
-low_20 1.000000 0.000000 500000 1000000 12600000 180000
-low_10 1.000000 0.000000 0 1000000 12780000 180000
-low_20 1.000000 0.000000 0 500000 12960000 180000
diff --git a/TAO/examples/Simulator/Event_Supplier/svc.conf b/TAO/examples/Simulator/Event_Supplier/svc.conf
deleted file mode 100644
index 43c6a486c92..00000000000
--- a/TAO/examples/Simulator/Event_Supplier/svc.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"
diff --git a/TAO/examples/Simulator/Makefile b/TAO/examples/Simulator/Makefile
deleted file mode 100644
index eb49c16d451..00000000000
--- a/TAO/examples/Simulator/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-DIRS = Event_Supplier \
- DOVEMIB \
- DOVEBrowser
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU
diff --git a/TAO/examples/Simulator/NavWeap.idl b/TAO/examples/Simulator/NavWeap.idl
deleted file mode 100644
index de695b14522..00000000000
--- a/TAO/examples/Simulator/NavWeap.idl
+++ /dev/null
@@ -1,54 +0,0 @@
-// $Id$
-
-// =========================================================================================================
-//
-// = FILE
-// NavWeap.idl
-//
-// = DESCRIPTION
-// Navigation and Weapon structs for the DOVE/EventService demo.
-
-// = AUTHOR
-// Michael Kircher <mk1@cec.wustl.edu>
-//
-// =========================================================================================================
-
-
-struct Navigation {
- long position_latitude;
- long position_longitude;
- unsigned long altitude;
- long heading;
- long roll;
- long pitch;
- // common part
- double utilization;
- double overhead;
- unsigned long arrival_time;
- unsigned long deadline_time;
- unsigned long completion_time;
- unsigned long computation_time;
-};
-
-
-
-struct Weapons {
- unsigned long number_of_weapons;
- string weapon1_identifier;
- unsigned long weapon1_status;
- string weapon2_identifier;
- unsigned long weapon2_status;
- string weapon3_identifier;
- unsigned long weapon3_status;
- string weapon4_identifier;
- unsigned long weapon4_status;
- string weapon5_identifier;
- unsigned long weapon5_status;
- // common part
- double utilization;
- double overhead;
- unsigned long arrival_time;
- unsigned long deadline_time;
- unsigned long completion_time;
- unsigned long computation_time;
-};
diff --git a/TAO/examples/Simulator/README b/TAO/examples/Simulator/README
deleted file mode 100644
index e5247bb830d..00000000000
--- a/TAO/examples/Simulator/README
+++ /dev/null
@@ -1,179 +0,0 @@
-$Id$
-
-Documentation for the Simulator/DOVE demo
-
-Purpose: To show how the event service can be used to as a media to
- transport monitoring events including data. Also to
- show how objects implemented in Java can access/can be accessed
- by TAO objects.
- An other purpose is also to show the feasability of
- the DOVE framework as mentioned in
- http://www.cs.wustl.edu/~schmidt/dove.html and
- http://www.cs.wustl.edu/~schmidt/DOVE_and_LifeCycleService.ps.gz
-
-Application: Using the Event Service as distribution media, event
- consumers and event suppliers are needed. The central
- element in the Event Service is a so called, event channel.
- The event channel transports events from suppliers to
- consumers. Filtering can be activated.
- The mapping to DOVE is the following:
- Event Channel - DOVE Agent
- Event Consumer - DOVE Browser and/or DOVE MIB
- Event Supplier - Monitored Application (here
- an object supplying recorded scheduling
- and dummy information)
-
-
-Implementation:
- The events contain structs with avionics information.
- They are supllied by sensors of an avionic and are
- consumed by the DOVE Browser, an JAVA applet running on
- a different machine and/or location. The collected metrics are displayed in
- JAVA Beans. A object called DOVE Management Information
- Base connects to the same Event Channel. The MIB analyses the
- the data field in the event. The field is a CORBA::Any,
- so no assumptions can be made about the kind of data in
- the event. The analysed Any is then printed into a file.
-
- A C++ Supplier pushes events containing a
- navigation or weapons struct to the Event Service.
- The latency and other machine metrics are read from
- a file, which contains recorded scheduling information.
- The Event Service dispatches the events to any number of
- DOVE Browsers/MIBs which are implemented using JAVA/C++.
- The DOVE Browser extracts the data of the structs and dispatches
- it to various Visualization Components.
-
-
-For more informations refer to:
- $TAO_ROOT/docs/releasenotes/index.html
-
-
-Requirements:
- * C++ compiler
- * Java JDK 1,1,x
- * ACE/TAO environment,
- * Visibroker 3.2 for Java
-
-
-!!RELEASE CHANGES:
- - the file make.bat is in this directory just for test purposes.
- It is used to switch from the Visibroker environment to the JDK 1.2
- envrionment. So don't worry about it, you won't need it.
-
- - the file ss has been moved one level up and it got
- renamed to "start_services". So use it to start the
- naming and event service.
-
- - it is no longer required to start the scheduling service
-
-Parts of the Demo:
-
- * DOVE Browser (implemented in Java using Visibroker 3.2 for Java)
-
- * Event Supplier, can be seen as a monitored object, called
- DOVE Application (implemented in C++ using TAO)
-
- * DOVE MIB, storing event data on persistent storage and keeping
- track of statistical data (implemented in C++ using TAO)
-
-Files:
- Common:
- NavWeap.idl - IDL definition of the Weapons and Navigation struct
- README - this readme file
-
-
- Event Supplier: (in directory $TAO_ROOT/orbsvcs/tests/Simulator/Event_Supplier/)
- Event_Sup.cpp - Event Supplier
- Event_Sup.h - Event Supplier class definition
- Makefile - Event Supplier Makefile
- (Event_Con.cpp, Event_Con.h - Event Consumer for testing)
- svc.conf - helper file
-
-
- DOVEBrowswer: (in directory $TAO_ROOT/orbsvcs/tests/Simulator/DOVEBrowser/)
- AnswerEvent.java - Having my own Events
- AnswerListener.java - Listener for these Events
- DataHandler.java - Base class for all Data Handlers
- DemoCore.java - Core of the Demo to connect Observables with Observers
- DemoObservable.java - Base class for Observables
- DoubleVisComp.java - Visualization Component (will be a JavaBean) for Doubles
- DOVEBrowser.java - Wrapper around DemoCore
- NS_Resolve.java - Resolving the inital reference to the Naming Service
- NavWeapDataHandler.java - Specialized Data Handler for Navigation and Weapon data
- NavigationVisComp.java - Visualization Component (... JavaBean) for Navigation data
- ObservablesDialog.java - Dialog window for connecting Observables with OBservers
- Properties.java - constant definitons
- PushConsumer.java - Event Service Push Consumer
- PushConsumerFactory.java - Factory for the Consumer
- Queue.java - Queue for the DoubleVisComp
- VisComp.java - Base class for the Visualization Components
- WeaponsVisComp.java - Visualization Component for Weapons
-
-
- DOVE MIB: (in directory $TAO_ROOT/orbsvcs/tests/Simulator/DOVEMIB/)
- DOVEMIB.[cpp,h] - Core routines, connection to the Event Channel
- Node.[cpp,h] - Nodes used by the AnyAnalyser
- AnyAnalyser.[cpp,h] - Anaylser for CORBA anys, storing the contained types on
- persistent storage
- NodeVisitor.h - base class definition of a Visitor
- PrintVisistor.[cpp,h] - Able to print a given tree of type nodes, which is
- generated by the Anyanalyser
-
-
-Compiling:
- Common:
- Be sure that you have _not_ built with
- TAO_LACKS_EVENT_CHANNEL_ANY enabled.
-
- And, be sure that the following are built:
-
- "compile $TAO_ROOT/orbsvcs/orbsvcs"
- "compile $TAO_ROOT/orbsvcs/Event_Service"
- "compile $TAO_ROOT/orbsvcs/Naming_Service"
- "compile $TAO_ROOT/orbsvcs/Scheduling_Service"
-
- Then, just run "make" in top level Simulator
- directory. The DOVEBrowser requires VisiJava's
- idl2java and vbjc. If they are not on your PATH,
- or in the default location specified in
- DOVEBrowser/Makefile, you'll have to specify the
- location in the "make" invocation. For example:
-
- make VISIJAVA_BIN=/usr/local/VisiJava-3.2
-
-Starting:
- Start in the following order on different ORB ports:
- * Naming Service
- * Event Service
-
- You can use "start_services" on Unix machines. The
- script is located in $TAO_ROOT/orbsvcs/tests.
-
- Supplier:
- Event_Sup -ORBport 10040 -f MLF.dat -m 1000
-
- // -m 1000 for 1000 events sent by the supplier
- // -f MLF.dat to read scheduling data from this file as input
-
-
- DOVE Browser:
- vbj DOVEBrowser
- (also supported: vbj DOVEBrowser -ORBnameserviceior <IOR> )
-
- or
-
- gatekeeper
- cd /visigenic/vbroker/lib
- jar xf vbjorb.jar
- jar xf vbjtools.jar
- "setting the Naming Service IOR in the DOVEBrowser.html file"
- appletviewer DOVEBrowser.html
-
-
-
- DOVE MIB:
- DOVEMIB -ORBport 10041 -f myfile -m 100
-
- // -m 100 for storing the next 100 events
- // -f myfile for the name of the file in which it will be stored
diff --git a/TAO/examples/TAO_Examples.dsw b/TAO/examples/TAO_Examples.dsw
deleted file mode 100644
index 0cde6033a97..00000000000
--- a/TAO/examples/TAO_Examples.dsw
+++ /dev/null
@@ -1,293 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "POA DSI Client"=.\POA\DSI\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA DSI Server"=.\POA\DSI\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA Default Servant Client"=.\POA\Default_Servant\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA Default Servant Server"=.\POA\Default_Servant\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA Explicit Activation Server"=.\POA\Explicit_Activation\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name POA Generic Servant DLL
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "POA FindPOA Server"=.\POA\FindPOA\FindPOA.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA Forwarding Client"=.\POA\Forwarding\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA Forwarding Server"=.\POA\Forwarding\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name POA Generic Servant DLL
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "POA Generic Servant Client"=.\POA\Generic_Servant\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name POA Generic Servant DLL
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "POA Generic Servant DLL"=.\POA\Generic_Servant\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA Locking"=.\POA\locking\locking.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA NewPOA"=.\POA\NewPOA\NewPOA.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA On_Demand Server"=.\POA\On_Demand_Activation\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name POA Generic Servant DLL
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "POA RootPOA"=.\POA\RootPOA\RootPOA.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA TIE Client"=.\POA\TIE\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "POA TIE Server"=.\POA\TIE\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Quoter Client"=.\Quoter\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Quoter Factory Finder"=.\Quoter\Factory_Finder.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Quoter Generic Factory"=.\Quoter\Generic_Factory.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Quoter Server"=.\Quoter\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Simple Time Client"=.\Simple\time\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "Simple Time Server"=.\Simple\time\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-