summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2016-04-19 19:34:09 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2016-04-19 19:34:09 +0200
commit67fe053a4b2cd800bb0c12f546420fb358b86608 (patch)
tree23a13116f12541b9eee310f575086c0b7a994ad7 /CIAO/connectors/ami4ccm
parentfd904693d47bc0f9c3c110e1b6beff016581926d (diff)
downloadATCD-67fe053a4b2cd800bb0c12f546420fb358b86608.tar.gz
Remove CIAO/DAnCE here because they are migrated to their own repositories
Diffstat (limited to 'CIAO/connectors/ami4ccm')
-rw-r--r--CIAO/connectors/ami4ccm/ami4ccm/.gitignore16
-rw-r--r--CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp22
-rw-r--r--CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.h40
-rw-r--r--CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.idl49
-rw-r--r--CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.mpc125
-rw-r--r--CIAO/connectors/ami4ccm/docs/TestCoverage.odtbin16760 -> 0 bytes
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl35
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.mpc190
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver_exec.cpp164
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver_exec.h67
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Sender/.gitignore4
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender_exec.cpp400
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender_exec.h187
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/descriptors/Plan.cdp399
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/descriptors/PlanFullBlock.cdp447
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/descriptors/PlanSyncPort.cdp401
-rwxr-xr-xCIAO/connectors/ami4ccm/examples/Hello/descriptors/run_fullblock_test.pl243
-rwxr-xr-xCIAO/connectors/ami4ccm/examples/Hello/descriptors/run_test.pl259
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/models/Hello-complete.xme2352
-rw-r--r--CIAO/connectors/ami4ccm/examples/Hello/models/Hello.xme1787
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Base/Quoter.idl29
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Base/Quoter.mpc190
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client.idl19
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client_exec.cpp303
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client_exec.h177
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer.idl16
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp187
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.h150
-rw-r--r--CIAO/connectors/ami4ccm/examples/Quoter/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/examples/Quoter/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/models/CoSMIC/ami4ccm.xme398
-rw-r--r--CIAO/connectors/ami4ccm/tests/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Base/AsynchT.idl33
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Base/AsynchT.mpc192
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver_exec.cpp175
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver_exec.h144
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender_exec.cpp359
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender_exec.h187
-rw-r--r--CIAO/connectors/ami4ccm/tests/AsynchT/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/AsynchT/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Base/DelReplyH.idl35
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Base/DelReplyH.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver_exec.cpp151
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver_exec.h127
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender_exec.cpp241
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender_exec.h157
-rw-r--r--CIAO/connectors/ami4ccm/tests/DelReplyH/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/DelReplyH/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl36
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.mpc192
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp215
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.h137
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp390
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.h186
-rw-r--r--CIAO/connectors/ami4ccm/tests/Exceptions/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/Exceptions/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Base/GetComp.idl25
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Base/GetComp.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver_exec.cpp142
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver_exec.h130
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender_exec.cpp206
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender_exec.h119
-rw-r--r--CIAO/connectors/ami4ccm/tests/GetComp/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/GetComp/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/IDL_Test/.gitignore12
-rw-r--r--CIAO/connectors/ami4ccm/tests/IDL_Test/AMI4CCM_IDLTest.mpc193
-rw-r--r--CIAO/connectors/ami4ccm/tests/IDL_Test/Hello.idl127
-rw-r--r--CIAO/connectors/ami4ccm/tests/IDL_Test/Hello_Component.idl50
-rw-r--r--CIAO/connectors/ami4ccm/tests/IDL_Test/Hello_Component.mpc137
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/IDL_Test/run_test.pl25
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Base/InterInArgsT.idl81
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Base/InterInArgsT.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver_exec.cpp278
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver_exec.h151
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.cpp366
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.h175
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInArgs/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/InterInArgs/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Base/InterInOutT.idl81
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Base/InterInOutT.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver_exec.cpp302
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver_exec.h151
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender_exec.cpp457
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender_exec.h187
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterInOutArgs/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/InterInOutArgs/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Base/InterMulti.idl39
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Base/InterMulti.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver.idl18
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver_exec.cpp315
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver_exec.h197
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender.idl23
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender_exec.cpp410
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender_exec.h261
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/Plan.cdp679
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/PlanSyncPort.cdp736
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/InterMulti/descriptors/run_test.pl259
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/InterOutArgsT.idl77
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/InterOutArgsT.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver_exec.cpp188
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver_exec.h144
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender_exec.cpp379
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender_exec.h168
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterOutArgs/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/InterOutArgs/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl80
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver_exec.cpp236
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver_exec.h163
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender_exec.cpp533
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender_exec.h218
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/Plan.cdp375
-rw-r--r--CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/PlanSyncPort.cdp377
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/InterReturn/descriptors/run_test.pl257
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Base/HelloT.idl23
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Base/HelloT.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver_exec.cpp160
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver_exec.h132
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender_exec.cpp361
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender_exec.h167
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoConnection/descriptors/Plan.cdp376
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/NoConnection/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Base/NoReplyH.idl35
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Base/NoReplyH.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver_exec.cpp210
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver_exec.h142
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender_exec.cpp325
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender_exec.h181
-rw-r--r--CIAO/connectors/ami4ccm/tests/NoReplyH/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/NoReplyH/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Base/OneProcess.idl25
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Base/OneProcess.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.mpc131
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.cpp152
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.h131
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender_exec.cpp293
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender_exec.h148
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneProcess/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/OneProcess/descriptors/run_test.pl244
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Base/OneReplyH.idl37
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Base/OneReplyH.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver_exec.cpp170
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver_exec.h137
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender_exec.cpp340
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender_exec.h170
-rw-r--r--CIAO/connectors/ami4ccm/tests/OneReplyH/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/OneReplyH/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl35
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.mpc191
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/README7
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver_exec.cpp164
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver_exec.h68
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender.mpc134
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender_exec.cpp400
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender_exec.h184
-rw-r--r--CIAO/connectors/ami4ccm/tests/PragmaT/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/PragmaT/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.idl32
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.mpc192
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver.idl17
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver_exec.cpp230
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver_exec.h167
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender.idl25
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender_exec.cpp371
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender_exec.h210
-rw-r--r--CIAO/connectors/ami4ccm/tests/SimplexMulti/descriptors/Plan.cdp697
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/SimplexMulti/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/Hello.idl35
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/SyncPortConn.mpc190
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver_exec.cpp142
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver_exec.h66
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender.mpc134
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender_exec.cpp400
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender_exec.h186
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/Plan.cdp394
-rw-r--r--CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/Plan_no_sync_amiconn.cdp394
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/run_test.pl264
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp.idl33
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp.mpc216
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp_no_ami.idl15
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master_exec.cpp252
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master_exec.h152
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/README.txt8
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver_exec.cpp169
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver_exec.h133
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender.idl24
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender_exec.cpp344
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender_exec.h214
-rw-r--r--CIAO/connectors/ami4ccm/tests/ThreeComp/descriptors/Plan.cdp813
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/ThreeComp/descriptors/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/.gitignore1
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Base/.gitignore11
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Base/UsesMulti.idl25
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Base/UsesMulti.mpc192
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver.mpc132
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver_exec.cpp173
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver_exec.h131
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/.gitignore5
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender.mpc133
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender_exec.cpp276
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender_exec.h158
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/Plan.cdp549
-rw-r--r--CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/PlanSyncPort.cdp558
-rwxr-xr-xCIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/run_test.pl257
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/.gitignore3
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/descriptors/Plan.cdp374
-rwxr-xr-xCIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/scripts/run_test.pl243
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.idl16
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.mpc162
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.cpp181
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.h126
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.idl19
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.mpc156
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.cpp342
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.h164
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM.emx398
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM_Hello.jpgbin131253 -> 0 bytes
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.idl17
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.mpc34
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.idl35
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.mpc204
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/01_general.html94
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/02_idl.html96
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/03_executors.html54
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/04_ami4ccm.html102
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/05_compilation.html213
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/Plan.cdp374
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/artifacts.cdp108
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/connections.cdp53
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/implementation.cdp51
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/instance.cdp55
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Receiver_comp_exec.cpp168
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Receiver_comp_exec.h124
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Sender_comp_exec.cpp175
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Sender_comp_exec.h150
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Receiver_comp_exec.cpp181
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Receiver_comp_exec.h126
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Sender_comp_exec.cpp338
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Sender_comp_exec.h164
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/images/images.pngbin5359 -> 0 bytes
-rw-r--r--CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/images/system.pngbin7264 -> 0 bytes
357 files changed, 0 insertions, 56233 deletions
diff --git a/CIAO/connectors/ami4ccm/ami4ccm/.gitignore b/CIAO/connectors/ami4ccm/ami4ccm/.gitignore
deleted file mode 100644
index fda80bd44e2..00000000000
--- a/CIAO/connectors/ami4ccm/ami4ccm/.gitignore
+++ /dev/null
@@ -1,16 +0,0 @@
-/ami4ccm_lem_stub_export.h
-/ami4ccm_stub_export.h
-/ami4ccm_svnt.cpp
-/ami4ccm_svnt.h
-/ami4ccm_svnt_export.h
-/ami4ccm_svnt_T.cpp
-/ami4ccm_svnt_T.h
-/ami4ccmC.cpp
-/ami4ccmC.h
-/ami4ccmC.inl
-/ami4ccmE.idl
-/ami4ccmEC.cpp
-/ami4ccmEC.h
-/ami4ccmES.h
-/ami4ccmS.cpp
-/ami4ccmS.h
diff --git a/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp b/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp
deleted file mode 100644
index 64802e0d1ab..00000000000
--- a/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-// -*- C++ -*-
-#include "ami4ccm/ami4ccm.h"
-#include "tao/debug.h"
-
-CCM_AMI::ExceptionHolder_i::ExceptionHolder_i (
- ::Messaging::ExceptionHolder* holder)
- : holder_ (holder)
-{
-}
-
-void
-CCM_AMI::ExceptionHolder_i::raise_exception (void)
-{
- if (holder_)
- {
- holder_->raise_exception ();
- }
- else
- {
- throw ::CORBA::UNKNOWN (TAO::VMCID, CORBA::COMPLETED_YES);
- }
-}
diff --git a/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.h b/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.h
deleted file mode 100644
index 5d02b6cb096..00000000000
--- a/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// -*- C++ -*-
-
-// ================================================================
-/**
- * @file ami4ccm.h
- *
- * Include all the required headers to use CCM AMI easily.
- *
- * @author Johnny Willemsen <jwillemsen@remedy.nl>
- */
-// ================================================================
-
-#ifndef CIAO_AMI4CCM_H
-#define CIAO_AMI4CCM_H
-
-#include /**/ "ace/pre.h"
-
-#include "connectors/ami4ccm/ami4ccm/ami4ccmC.h"
-#include "tao/LocalObject.h"
-#include "tao/Messaging/Messaging.h"
-
-namespace CCM_AMI
-{
- class AMI4CCM_STUB_Export ExceptionHolder_i
- : public virtual ::CCM_AMI::ExceptionHolder,
- public virtual ::CORBA::LocalObject
- {
- public:
- ExceptionHolder_i (::Messaging::ExceptionHolder* holder);
-
- /// Rethrow the original exception
- virtual void raise_exception (void);
-
- private:
- ::Messaging::ExceptionHolder* holder_;
- };
-}
-
-#include /**/ "ace/post.h"
-#endif /* CIAO_AMI4CCM_H */
diff --git a/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.idl b/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.idl
deleted file mode 100644
index b54063ed4f3..00000000000
--- a/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.idl
+++ /dev/null
@@ -1,49 +0,0 @@
-#if !defined (AMI4CCM_IDL_H)
-#define AMI4CCM_IDL_H
-
-#include <Components.idl>
-
-#pragma ciao lem "connectors/ami4ccm/ami4ccm/ami4ccmE.idl"
-
-module CCM_AMI
-{
- native UserExceptionBase;
-
- /// Exception holder to rethrow the original exception
- local interface ExceptionHolder
- {
- void raise_exception() raises (UserExceptionBase);
- };
-
- /// Base interface for the Callback model
- local interface ReplyHandler
- {
- };
-
- /// Base class for all AMI4CCM connectors
- connector AMI4CCM_Base
- {
- };
-
- /**
- * Templated Connector module for AMI4CCM. Expects
- * two template arguments, the original interface and
- * its AMI4CCM counterpart
- */
- module Connector_T<interface T, interface AMI4CCM_T>
- {
- porttype AMI4CCM_Port_Type
- {
- provides AMI4CCM_T ami4ccm_provides;
- provides T ami4ccm_sync_provides;
- uses T ami4ccm_uses;
- };
-
- connector AMI4CCM_Connector : AMI4CCM_Base
- {
- port AMI4CCM_Port_Type ami4ccm_port;
- };
- };
-};
-
-#endif /* AMI4CCM_IDL_H */
diff --git a/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.mpc b/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.mpc
deleted file mode 100644
index d589179d658..00000000000
--- a/CIAO/connectors/ami4ccm/ami4ccm/ami4ccm.mpc
+++ /dev/null
@@ -1,125 +0,0 @@
-project(AMI4CCM_idl_gen) : install, componentidldefaults {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=AMI4CCM_STUB_Export \
- -Wb,stub_export_include=ami4ccm_stub_export.h \
- -Wb,svnt_export_macro=AMI4CCM_SVNT_Export \
- -Wb,svnt_export_include=ami4ccm_svnt_export.h \
- -Wb,skel_export_macro=AMI4CCM_SVNT_Export \
- -Wb,skel_export_include=ami4ccm_svnt_export.h
-
- IDL_Files {
- ami4ccm.idl
- }
-
- specific {
- install_dir = connectors/ami4ccm/ami4ccm
- }
-}
-
-project (AMI4CCM_lem_gen) : install, ciaoidldefaults {
- custom_only = 1
- after += AMI4CCM_idl_gen
- idlflags += -I$(CIAO_ROOT)/connectors \
- -Wb,stub_export_macro=AMI4CCM_LEM_STUB_Export \
- -Wb,stub_export_include=ami4ccm_lem_stub_export.h -SS
-
- IDL_Files {
- idlflags += -Gxhst -Sci
- ami4ccmE.idl
- }
-
- specific {
- install_dir = connectors/ami4ccm/ami4ccm
- }
-}
-
-project(AMI4CCM_stub) : install, ciao_lib, messaging, ccm_stub {
- after += AMI4CCM_idl_gen
- sharedname = AMI4CCM_stub
- dynamicflags += AMI4CCM_STUB_BUILD_DLL
- includes += $(CIAO_ROOT)/connectors/ami4ccm
-
- Source_Files {
- ami4ccmC.cpp
- ami4ccm.cpp
- }
-
- Header_Files {
- ami4ccm.h
- ami4ccmC.h
- ami4ccm_stub_export.h
- }
-
- Inline_Files {
- ami4ccmC.inl
- }
-
- IDL_Files {
- }
-
- specific {
- install_dir = connectors/ami4ccm/ami4ccm
- }
-}
-
-project (AMI4CCM_lem_stub) : install, ccm_session_stub, ciao_lib, ciao_output, taolib, valuetype, ifr_client {
- after += AMI4CCM_stub AMI4CCM_lem_gen
- libs += AMI4CCM_stub
- includes += $(CIAO_ROOT)/connectors
- sharedname = AMI4CCM_lem_stub
- dynamicflags += AMI4CCM_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ami4ccmEC.cpp
- }
-
- Header_Files {
- ami4ccmEC.h
- ami4ccmES.h
- ami4ccm_lem_stub_export.h
- }
-
- Inline_Files {
- }
-
- specific {
- install_dir = connectors/ami4ccm/ami4ccm
- }
-}
-
-project (AMI4CCM_svnt) : install, ciao_servant, ciao_lib {
- after += AMI4CCM_lem_stub
- libs += AMI4CCM_lem_stub AMI4CCM_stub
- includes += $(CIAO_ROOT)/connectors
- sharedname = AMI4CCM_svnt
- dynamicflags += AMI4CCM_SVNT_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ami4ccmS.cpp
- ami4ccm_svnt.cpp
- }
-
- Header_Files {
- ami4ccmS.h
- ami4ccm_svnt.h
- ami4ccm_svnt_T.h
- ami4ccm_svnt_export.h
- }
-
- Template_Files {
- ami4ccm_svnt_T.cpp
- }
-
- Inline_Files {
- }
-
- specific {
- install_dir = connectors/ami4ccm/ami4ccm
- }
-}
diff --git a/CIAO/connectors/ami4ccm/docs/TestCoverage.odt b/CIAO/connectors/ami4ccm/docs/TestCoverage.odt
deleted file mode 100644
index ddcce30706b..00000000000
--- a/CIAO/connectors/ami4ccm/docs/TestCoverage.odt
+++ /dev/null
Binary files differ
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/.gitignore b/CIAO/connectors/ami4ccm/examples/Hello/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Base/.gitignore b/CIAO/connectors/ami4ccm/examples/Hello/Base/.gitignore
deleted file mode 100644
index 4cc2b4bbeb7..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/HelloA.idl
-/HelloAE.idl
-/HelloA_conn.cpp
-/HelloA_conn.h
-/HelloE.idl
-/Hello_conn_export.h
-/Hello_exec_export.h
-/Hello_lem_stub_export.h
-/Hello_skel_export.h
-/Hello_stub_export.h
-/Hello_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl b/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl
deleted file mode 100644
index d8c3a1c77d0..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef HELLO_IDL
-#define HELLO_IDL
-
-#pragma ciao lem "Base/HelloE.idl"
-#pragma ciao ami4ccm interface "Hello::MyFoo"
-#pragma ciao lem "Base/HelloAE.idl"
-#pragma ciao ami4ccm idl "Base/HelloA.idl"
-
-module Hello
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, out string answer)
- raises (InternalError);
- void hello (out long answer)
- raises (InternalError);
-
- attribute short rw_attrib
- getraises (InternalError)
- setraises (InternalError);
-
- readonly attribute short ro_attrib
- raises (InternalError);
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.mpc b/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.mpc
deleted file mode 100644
index 59303e97302..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.mpc
+++ /dev/null
@@ -1,190 +0,0 @@
-project(AMI_Hello_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_STUB_Export \
- -Wb,stub_export_include=Hello_stub_export.h \
- -Wb,skel_export_macro=HELLO_SKEL_Export \
- -Wb,skel_export_include=Hello_skel_export.h \
- -Wb,conn_export_macro=HELLO_CONN_Export \
- -Wb,conn_export_include=Hello_conn_export.h \
- -Wb,exec_export_macro=HELLO_EXEC_Export \
- -Wb,exec_export_include=Hello_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- Hello.idl
- }
-}
-
-project(AMI_Hello_lem_gen) : ciaoidldefaults {
- after += AMI_Hello_idl_gen AMI_Hello_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=HELLO_LEM_STUB_Export \
- -Wb,export_include=Hello_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- HelloE.idl
- }
-}
-
-project(AMI_Hello_lema_gen) : ciaoidldefaults {
- after += AMI_Hello_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_STUB_Export \
- -Wb,stub_export_include=Hello_stub_export.h \
- -Wb,conn_export_macro=HELLO_CONN_Export \
- -Wb,conn_export_include=Hello_conn_export.h \
- -Wb,svnt_export_macro=HELLO_SVNT_Export \
- -Wb,svnt_export_include=Hello_svnt_export.h \
- -Wb,skel_export_macro=HELLO_SKEL_Export \
- -Wb,skel_export_include=Hello_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- HelloA.idl
- }
-}
-
-project(AMI_Hello_lemae_gen) : ciaoidldefaults {
- after += AMI_Hello_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- HelloAE.idl
- }
-}
-
-project(AMI_Hello_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_Hello_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = Hello_stub
- dynamicflags += HELLO_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloC.cpp
- HelloAC.cpp
- }
-
- Header_Files {
- HelloC.h
- Hello_stub_export.h
-}
-
- Inline_Files {
- HelloC.inl
- }
-}
-
-project(AMI_Hello_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_Hello_lem_gen AMI_Hello_stub AMI_Hello_lemae_gen AMI_Hello_skel
- libs += Hello_stub Hello_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = Hello_lem_stub
- dynamicflags += HELLO_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloEC.cpp
- HelloAEC.cpp
- }
-
- Header_Files {
- HelloEC.h
- Hello_lem_stub_export.h
-}
-
- Inline_Files {
- HelloEC.inl
- }
-}
-
-project(AMI_Hello_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_Hello_stub
- sharedname = Hello_skel
- libs += Hello_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += HELLO_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloS.cpp
- HelloAS.cpp
- }
-
- Header_Files {
- HelloS.h
- Hello_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Hello_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_Hello_lem_stub Hello_Base_AMI_stub AMI_Hello_skel AMI_Hello_lema_gen AMI_Hello_lemae_gen
- sharedname = Hello_conn
- libs += Hello_stub Hello_skel Hello_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloA_conn.cpp
- }
-
- Header_Files {
- HelloA_conn.h
- Hello_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Hello_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_Hello_lem_stub Hello_Base_AMI_stub AMI_Hello_skel AMI_Hello_lema_gen AMI_Hello_lemae_gen AMI_Hello_conn
- sharedname = Hello_svnt
- libs += Hello_stub Hello_skel Hello_lem_stub Hello_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloA_svnt.cpp
- }
-
- Header_Files {
- HelloA_svnt.h
- HelloA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/.gitignore b/CIAO/connectors/ami4ccm/examples/Hello/Receiver/.gitignore
deleted file mode 100644
index 26c6a301de5..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/Hello_ReceiverE.idl
-/Hello_Receiver_exec_export.h
-/Hello_Receiver_lem_stub_export.h
-/Hello_Receiver_stub_export.h
-/Hello_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver.idl b/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver.idl
deleted file mode 100644
index f7f1ff0006b..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef HELLO_RECEIVER_IDL
-#define HELLO_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/Hello.idl"
-
-module Hello
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver.mpc b/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver.mpc
deleted file mode 100644
index b8260ee63c8..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p Hello_Base Hello_Receiver"
-
-project(AMI_Hello_Base_Hello_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_Hello_idl_gen
- idlflags += -Wb,stub_export_macro=HELLO_RECEIVER_STUB_Export \
- -Wb,stub_export_include=Hello_Receiver_stub_export.h \
- -Wb,skel_export_macro=HELLO_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=Hello_Receiver_svnt_export.h \
- -Wb,exec_export_macro=HELLO_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=Hello_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- Hello_Receiver.idl
- }
-}
-
-project(AMI_Hello_Base_Hello_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_Hello_Base_Hello_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- Hello_ReceiverE.idl
- }
-}
-
-project(AMI_Hello_Base_Hello_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_Hello_Base_Hello_Receiver_lem_gen AMI_Hello_Base_Hello_Receiver_stub AMI_Hello_stub
- libs += Hello_stub Hello_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Hello_Receiver_lem_stub
- dynamicflags += HELLO_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ReceiverEC.cpp
- }
-
- Header_Files {
- Hello_ReceiverEC.h
- Hello_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- Hello_ReceiverEC.inl
- }
-}
-
-project(AMI_Hello_Base_Hello_Receiver_stub) : ccm_stub, messaging {
- after += AMI_Hello_Base_Hello_Receiver_idl_gen AMI_Hello_stub
- libs += Hello_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Hello_Receiver_stub
- dynamicflags += HELLO_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ReceiverC.cpp
- }
-
- Header_Files {
- Hello_ReceiverC.h
- Hello_Receiver_stub_export.h
- }
-
- Inline_Files {
- Hello_ReceiverC.inl
- }
-}
-
-project(AMI_Hello_Base_Hello_Receiver_exec) : ciao_executor, messaging {
- after += AMI_Hello_Base_Hello_Receiver_l_stub AMI_Hello_Base_Hello_Receiver_stub AMI_Hello_stub AMI_Hello_lem_stub
- sharedname = Hello_Receiver_exec
- libs += Hello_Receiver_stub Hello_Receiver_lem_stub Hello_stub Hello_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_Receiver_exec.cpp
- }
-
- Header_Files {
- Hello_Receiver_exec.h
- Hello_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Hello_Base_Hello_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_Hello_Base_skel AMI_Hello_Base_Hello_Receiver_l_stub AMI_Hello_stub AMI_Hello_skel AMI_Hello_lem_stub
- sharedname = Hello_Receiver_svnt
- libs += Hello_Receiver_stub Hello_Receiver_lem_stub \
- Hello_skel \
- Hello_stub Hello_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ReceiverS.cpp
- Hello_Receiver_svnt.cpp
- }
-
- Header_Files {
- Hello_ReceiverS.h
- Hello_Receiver_svnt.h
- Hello_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver_exec.cpp
deleted file mode 100644
index 801d62cacdd..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver_exec.cpp
+++ /dev/null
@@ -1,164 +0,0 @@
-// -*- C++ -*-
-#include "Hello_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_Hello_Receiver_Impl
-{
- MyFoo_exec_i::MyFoo_exec_i (
- ::Hello::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::Hello::CCM_Receiver_Context::_duplicate (ctx)),
- get_rw_ (false),
- get_ro_ (false)
- {
- }
-
- MyFoo_exec_i::~MyFoo_exec_i (void)
- {
- }
-
- ::CORBA::Long
- MyFoo_exec_i::foo (const char * in_str, ::CORBA::String_out answer)
- {
- if (ACE_OS::strlen (in_str) == 0)
- {
- Hello::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = CORBA::string_dup ("This is my answer : Hi");
- return ACE_OS::rand () % 100;
- }
- }
-
- void
- MyFoo_exec_i::hello (::CORBA::Long_out answer)
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = ACE_OS::rand () % 100;
- }
-
- ::CORBA::Short
- MyFoo_exec_i::rw_attrib ()
- {
- if (this->get_rw_)
- {
- this->get_rw_ = false;
- Hello::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- this->get_rw_ = true;
- }
- return ACE_OS::rand () % 100;
- }
-
- void
- MyFoo_exec_i::rw_attrib (::CORBA::Short new_value)
- {
- if (new_value == 0)
- {
- Hello::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- }
- }
-
- CORBA::Short
- MyFoo_exec_i::ro_attrib ()
- {
- if (this->get_ro_)
- {
- this->get_ro_ = false;
- Hello::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- this->get_ro_ = true;
- }
- return ACE_OS::rand () % 100;
- }
-
- Receiver_exec_i::Receiver_exec_i (void)
- {
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- ::Hello::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- MyFoo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- MyFoo_exec_i (
- this->context_.in ()),
- ::Hello::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::Hello::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->context_ = ::Hello::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_Hello_AMI_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_RETURN (
- retval,
- Receiver_exec_i,
- ::Components::EnterpriseComponent::_nil ());
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver_exec.h b/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver_exec.h
deleted file mode 100644
index 92bdbbb08bf..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Receiver/Hello_Receiver_exec.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// -*- C++ -*-
-#ifndef CIAO_HELLO_RECEIVER_EXEC_H_
-#define CIAO_HELLO_RECEIVER_EXEC_H_
-
-#include "Hello_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-#include "Hello_Receiver_exec_export.h"
-
-namespace CIAO_Hello_Receiver_Impl
-{
- class MyFoo_exec_i
- : public virtual ::Hello::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- MyFoo_exec_i (::Hello::CCM_Receiver_Context_ptr ctx);
- virtual ~MyFoo_exec_i (void);
-
- virtual ::CORBA::Long foo (const char * in_str, ::CORBA::String_out answer);
-
- virtual void hello (::CORBA::Long_out answer);
-
- virtual ::CORBA::Short rw_attrib ();
-
- virtual void rw_attrib (::CORBA::Short new_value);
-
- virtual CORBA::Short ro_attrib ();
- private:
- ::Hello::CCM_Receiver_Context_var ciao_context_;
- bool get_rw_;
- bool get_ro_;
- };
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- virtual ::Hello::CCM_MyFoo_ptr get_do_my_foo (void);
-
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete (void);
-
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
-
- private:
- ::Hello::CCM_Receiver_Context_var context_;
- ::Hello::CCM_MyFoo_var ciao_do_my_foo_;
- };
-
- extern "C" HELLO_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_AMI_Receiver_Impl (void);
-}
-
-#endif /* ifndef */
-
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Sender/.gitignore b/CIAO/connectors/ami4ccm/examples/Hello/Sender/.gitignore
deleted file mode 100644
index 3377ff98630..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Sender/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/Hello_SenderE.idl
-/Hello_Sender_exec_export.h
-/Hello_Sender_stub_export.h
-/Hello_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender.idl b/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender.idl
deleted file mode 100644
index d30c50afca0..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef HELLO_SENDER_IDL
-#define HELLO_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/Hello.idl"
-
-#pragma ciao ami4ccm receptacle "Hello::Sender::run_my_foo"
-
-module Hello
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender.mpc b/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender.mpc
deleted file mode 100644
index 6bbf45f423f..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p Hello_Base Hello_Sender"
-
-project(AMI_Hello_Base_Hello_Sender_idl_gen) : componentidldefaults {
- after += AMI_Hello_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_SENDER_STUB_Export \
- -Wb,stub_export_include=Hello_Sender_stub_export.h \
- -Wb,skel_export_macro=HELLO_SENDER_SVNT_Export \
- -Wb,skel_export_include=Hello_Sender_svnt_export.h \
- -Wb,exec_export_macro=HELLO_SENDER_EXEC_Export \
- -Wb,exec_export_include=Hello_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- Hello_Sender.idl
- }
-}
-
-project(AMI_Hello_Base_Hello_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_Hello_Base_Hello_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- Hello_SenderE.idl
- }
-}
-
-project(AMI_Hello_Base_Hello_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_Hello_Base_Hello_Sender_lem_gen AMI_Hello_stub Conn_Hello_Base_stub
- libs += Hello_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Hello_Sender_lem_stub
- dynamicflags += HELLO_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_SenderEC.cpp
- }
-
- Header_Files {
- Hello_SenderEC.h
- Hello_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- Hello_SenderEC.inl
- }
-}
-
-project(AMI_Hello_Base_Hello_Sender_stub) : ccm_stub, ami {
- after += AMI_Hello_Base_Hello_Sender_idl_gen AMI_Hello_Base_stub AMI_Hello_stub Conn_Hello_Base_stub
- libs += Hello_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Hello_Sender_stub
- dynamicflags += HELLO_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_SenderC.cpp
- }
-
- Header_Files {
- Hello_SenderC.h
- Hello_Sender_stub_export.h
- }
-
- Inline_Files {
- Hello_SenderC.inl
- }
-}
-
-project(AMI_Hello_Base_Hello_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_Hello_Base_Hello_Sender_lem_stub AMI_Hello_Base_Hello_Sender_stub AMI_Hello_Base_exec Conn_Hello_Base_stub AMI_Hello_lem_stub
- sharedname = Hello_Sender_exec
- libs += Hello_Sender_stub Hello_Sender_lem_stub Hello_stub Hello_stub Hello_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_Sender_exec.cpp
- }
-
- Header_Files {
- Hello_Sender_exec.h
- Hello_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Hello_Base_Hello_Sender_svnt) : ciao_servant, ami {
- after += AMI_Hello_Base_skel AMI_Hello_Base_Hello_Sender_lem_stub AMI_Hello_Base_Hello_Sender_stub AMI_Hello_Base_exec AMI_Hello_skel
- sharedname = Hello_Sender_svnt
- libs += Hello_Sender_stub Hello_Sender_lem_stub \
- Hello_skel \
- Hello_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_SenderS.cpp
- Hello_Sender_svnt.cpp
- }
-
- Header_Files {
- Hello_SenderS.h
- Hello_Sender_svnt.h
- Hello_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender_exec.cpp b/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender_exec.cpp
deleted file mode 100644
index 57edb2f8b3a..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender_exec.cpp
+++ /dev/null
@@ -1,400 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Hello_Sender_exec.h"
-
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_Hello_Sender_Impl
-{
- void HandleException (
- long id,
- const char* error_string,
- const char* func)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (%C) :\tCallback except from AMI.\n"),
- func));
- if (id != 42)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR (%C) :\tReceived unexpected ID received")
- ACE_TEXT(" in except handler.\n"),
- func));
- return;
- }
- if (ACE_OS::strcmp (error_string, "Hello world") != 0)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR (%C) :\tReceived unexpected error string")
- ACE_TEXT(" received in except handler.\n"),
- func));
- return;
- }
- }
-
- void HandleException (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder,
- const char* func)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (%C) :\tHandle except AMI\n"), func));
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender: Caught the correct except type")
- ACE_TEXT(" <%u> <%C>\n"),
- ex.id, ex.error_string.in ()));
- HandleException (ex.id, ex.error_string.in (), func);
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- }
- }
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::Hello::CCM_Sender_Context_ptr context)
- : ciao_context_(::Hello::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::Hello::AMI4CCM_MyFoo_var my_foo_ami_ =
- ciao_context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR Sender (ASYNCH) :")
- ACE_TEXT("\tfoo_ami is NIL !!!\n")));
- return 1;
- }
- ::Hello::CCM_AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i ();
-
- for (int i = 0; i < 5; ++i)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :")
- ACE_TEXT("\tInvoke Asynchronous calls\n")));
- my_foo_ami_->sendc_foo (cb.in (),
- "Do something asynchronous");
- my_foo_ami_->sendc_hello (cb.in ());
- my_foo_ami_->sendc_get_rw_attrib(cb.in ());
- my_foo_ami_->sendc_get_rw_attrib(cb.in ());
- my_foo_ami_->sendc_set_rw_attrib(cb.in (), 15);
- my_foo_ami_->sendc_get_ro_attrib(cb.in ());
- my_foo_ami_->sendc_get_ro_attrib(cb.in ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked Asynchronous calls\n")));
- }
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoke Asynchronous calls ")
- ACE_TEXT("to test except handling\n")));
- my_foo_ami_->sendc_foo (cb.in (), "");
- my_foo_ami_->sendc_set_rw_attrib(cb.in (), 0);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked Asynchronous call.\n")));
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::Hello::CCM_Sender_Context_ptr context)
- : ciao_context_(::Hello::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::Hello::MyFoo_var my_foo_ami_ =
- ciao_context_->get_connection_run_my_foo ();
-
- //run synch calls
- CORBA::String_var out_str;
- for (int i = 0; i < 5; ++i)
- {
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- out_str.out ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call (FOO)")
- ACE_TEXT(" result <%u> answer <%C>\n"), result, out_str.in ()));
-
- CORBA::Long answer;
- my_foo_ami_->hello (answer);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(HELLO) answer <%u>\n"), answer));
-
- try
- {
- CORBA::Short rw_attrib = my_foo_ami_->rw_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(GET_RW_ATTRIB) answer <%u>\n"), rw_attrib));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
-
- try
- {
- my_foo_ami_->rw_attrib (15);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(SET_RW_ATTRIB) to <15>\n")));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
-
- try
- {
- CORBA::Short ro_attrib = my_foo_ami_->ro_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(GET_RO_ATTRIB) answer <%u>\n"), ro_attrib));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- }
- try
- {
- CORBA::Long result = my_foo_ami_->foo ("", out_str.out ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH) :\tInvoked synchronous call result ")
- ACE_TEXT("<%u> answer <%C>\n"), result, out_str.in ()));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught : ")
- ACE_TEXT("<%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- try
- {
- my_foo_ami_->rw_attrib (0);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH) :\tInvoked synchronous call rw_attrib\n")));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH RW_ATTRIB) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- }
- return 0;
- }
-
- //============================================================
- // Component Executor Implementation Class: Sender_exec_i
- //============================================================
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen_ (0),
- synch_foo_gen_ (0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes.
-
- // Port operations.
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::Hello::CCM_Sender_Context::_narrow (ctx);
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen_ =
- new asynch_foo_generator (this->ciao_context_.in ());
- this->asynch_foo_gen_->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- this->synch_foo_gen_ =
- new synch_foo_generator (this->ciao_context_.in());
- this->synch_foo_gen_->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- delete this->asynch_foo_gen_;
- this->asynch_foo_gen_ = 0;
- delete this->synch_foo_gen_;
- this->synch_foo_gen_ = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (FOO) :\tCallback from AMI: result <%u> ")
- ACE_TEXT("answer <%C>\n"), ami_return_val, answer));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "FOO");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello (
- ::CORBA::Long answer)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (FOO) :\tCallback from AMI (HELLO) :")
- ACE_TEXT(" answer <%u>\n"), answer));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "HELLO");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short ami_return_val)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RW_ATTRIB) :\tCallback from AMI (RW_ATTRIB):")
- ACE_TEXT(" answer <%u>\n"), ami_return_val));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "GET RW_ATTRIB");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RW_ATTRIB) :\tCallback from ")
- ACE_TEXT("AMI (RW_ATTRIB)\n")));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "SET_RW_ATTRIB");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short ro_attrib)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RO_ATTRIB) :\tCallback from AMI ")
- ACE_TEXT("(RO_ATTRIB) : answer <%u>\n"), ro_attrib));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "RO_ATTRIB");
- }
-
- extern "C" HELLO_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender_exec.h b/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender_exec.h
deleted file mode 100644
index 84dc17cbc5e..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/Sender/Hello_Sender_exec.h
+++ /dev/null
@@ -1,187 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_HELLO_SENDER_EXEC_JDPMZZ_H_
-#define CIAO_HELLO_SENDER_EXEC_JDPMZZ_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Hello_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "Hello_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_Hello_Sender_Impl
-{
- /// Common exception handlers
- void HandleException (
- long id,
- const char* error_string,
- const char* func);
-
- void HandleException (
- ::Messaging::ExceptionHolder * excep_holder,
- const char* func);
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::Hello::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Hello::CCM_Sender_Context_var ciao_context_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::Hello::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Hello::CCM_Sender_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::Hello::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
- private:
- asynch_foo_generator* asynch_foo_gen_;
- synch_foo_generator* synch_foo_gen_;
-
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::Hello::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- hello (
- ::CORBA::Long answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" HELLO_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/examples/Hello/descriptors/Plan.cdp
deleted file mode 100644
index bb205837a3c..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/Plan.cdp
+++ /dev/null
@@ -1,399 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
- <!--this plan is made for using the synchronous connection between Sender and Receiver-->
-
- <implementation xmi:id="Hello_ReceiverHomeImplementation">
- <name>Hello_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Receiver_ExecArtifact"/>
- <artifact xmi:idref="Hello_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_SenderHomeImplementation">
- <name>Hello_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Sender_ExecArtifact"/>
- <artifact xmi:idref="Hello_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_AMIHomeImplementation">
- <name>Hello_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_AMI_ExecArtifact"/>
- <artifact xmi:idref="Hello_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="Hello_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <!-- this plan is made for using the synchronous connection between Sender and Receiver>
- <instead of using the synchronous port on the AMI connector-->
-
- <!--synchronous connection between Sender and Receiver-->
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- </connection>
-
- <!--the synchronous port on the AMI connector -->
- <!--connection>
- <name>synch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection-->
- <artifact xmi:id="Hello_AMI_SvntArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Hello_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_AMI_ExecArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Hello_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_SvntArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>Hello_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_ExecArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>Hello_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_SvntArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>Hello_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_ExecArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>Hello_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/PlanFullBlock.cdp b/CIAO/connectors/ami4ccm/examples/Hello/descriptors/PlanFullBlock.cdp
deleted file mode 100644
index 916d4c5805c..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/PlanFullBlock.cdp
+++ /dev/null
@@ -1,447 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="CompSvrImpl">
- <name>CompSvr</name>
- <source />
- <artifact xmi:idref="CompSvrArt" />
- <execParameter>
- <name>edu.vanderbilt.dre.DAnCE.ImplementationType</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>edu.vanderbilt.dre.DAnCE.LocalityManager</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_ReceiverHomeImplementation">
- <name>Hello_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Receiver_ExecArtifact"/>
- <artifact xmi:idref="Hello_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_SenderHomeImplementation">
- <name>Hello_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Sender_ExecArtifact"/>
- <artifact xmi:idref="Hello_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_AMIHomeImplementation">
- <name>Hello_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_AMI_ExecArtifact"/>
- <artifact xmi:idref="Hello_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="CompSvr1Inst">
- <name>ComponentServer1Instance</name>
- <node>Receiver</node>
- <source />
- <implementation xmi:idref="CompSvrImpl" />
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.LocalityArguments</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>-ORBSvcConfDirective "static Client_Strategy_Factory '-ORBTransportMuxStrategy EXCLUSIVE -ORBClientConnectionHandler RW -ORBConnectStrategy blocked'" -ORBSvcConfDirective "static Resource_Factory '-ORBFlushingStrategy blocking'"</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="Hello_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="CompSvr2Inst">
- <name>ComponentServer2Instance</name>
- <node>Sender</node>
- <source />
- <implementation xmi:idref="CompSvrImpl" />
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.LocalityArguments</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>-ORBSvcConfDirective "static Client_Strategy_Factory '-ORBTransportMuxStrategy EXCLUSIVE -ORBClientConnectionHandler RW -ORBConnectStrategy blocked'" -ORBSvcConfDirective "static Resource_Factory '-ORBFlushingStrategy blocking'"</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="CompSvrArt">
- <name>CompoSvrArtifactName</name>
- <source />
- <node />
- <location>dance_locality_manager</location>
- </artifact>
-
- <artifact xmi:id="Hello_AMI_SvntArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Hello_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_AMI_ExecArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Hello_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_SvntArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>Hello_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_ExecArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>Hello_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_SvntArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>Hello_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_ExecArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>Hello_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <localityConstraint>
- <constraint>SameProcess</constraint>
- <constrainedInstance xmi:idref="CompSvr1Inst" />
- <constrainedInstance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </localityConstraint>
-
- <localityConstraint>
- <constraint>SameProcess</constraint>
- <constrainedInstance xmi:idref="CompSvr2Inst" />
- <constrainedInstance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- <constrainedInstance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </localityConstraint>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/PlanSyncPort.cdp b/CIAO/connectors/ami4ccm/examples/Hello/descriptors/PlanSyncPort.cdp
deleted file mode 100644
index 80aa9a1a594..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/PlanSyncPort.cdp
+++ /dev/null
@@ -1,401 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
- <!-- instead of using the synchronous connection between Sender and Receiver,>
- < this plan is made for using the synchronous port of the AMI-connector-->
-
- <implementation xmi:id="Hello_ReceiverHomeImplementation">
- <name>Hello_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Receiver_ExecArtifact"/>
- <artifact xmi:idref="Hello_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_SenderHomeImplementation">
- <name>Hello_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Sender_ExecArtifact"/>
- <artifact xmi:idref="Hello_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_AMIHomeImplementation">
- <name>Hello_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_AMI_ExecArtifact"/>
- <artifact xmi:idref="Hello_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="Hello_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <!-- instead of using the synchronous connection between Sender and Receiver,>
- < this plan is made for using the synchronous port of the AMI-connector-->
-
- <!--synchronous connection between Sender and Receiver-->
- <!--connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- </connection-->
-
- <!--the synchronous port on the AMI connector -->
- <connection>
- <name>synch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="Hello_AMI_SvntArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Hello_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_AMI_ExecArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Hello_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_SvntArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>Hello_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_ExecArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>Hello_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_SvntArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>Hello_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_ExecArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>Hello_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/run_fullblock_test.pl b/CIAO/connectors/ami4ccm/examples/Hello/descriptors/run_fullblock_test.pl
deleted file mode 100755
index 19a6cdf8e0e..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/run_fullblock_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 2;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior");
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "PlanFullBlock.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 90 seconds to allow task to complete\n";
-sleep (90);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/examples/Hello/descriptors/run_test.pl
deleted file mode 100755
index 0c5bba1abda..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/descriptors/run_test.pl
+++ /dev/null
@@ -1,259 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 2;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior");
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-if ($#ARGV == -1) {
- opendir(DIR, ".");
- @files = grep(/\.cdp$/,readdir(DIR));
- closedir(DIR);
-}
-else {
- @files = @ARGV;
-}
-
-foreach $file (@files) {
- print "=============================\nStarting test for deployment $file\n================================\n";
-
- # Invoke naming service
-
- $NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
- print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
- $ns_status = $NS->Spawn ();
-
- if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
- }
-
- if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
- }
-
- $ns_running = 1;
- # Set up NamingService environment
- $ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
- # Invoke node daemon.
- print "Invoking node daemon\n";
- $status = run_node_daemons ();
-
- if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
- }
-
- $daemons_running = 1;
-
- # Invoke execution manager.
- print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
- $EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
- $em_status = $EM->Spawn ();
-
- if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
- }
-
- if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-
- $em_running = 1;
-
- # Invoke executor - start the application -.
- print "Invoking executor - launch the application -\n";
-
- print "Start dance_plan_launcher.exe with -x $file -k file://$ior_emfile\n";
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $file -k file://$ior_emfile");
-
- $pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
-
- for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
- }
-
- print "Sleeping 90 seconds to allow task to complete\n";
- sleep (90);
-
- # Invoke executor - stop the application -.
- print "Invoking executor - stop the application -\n";
- print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $file\n";
-
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $file -s");
- $pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
- delete_ior_files ();
- kill_open_processes ();
- # Sleep for a couple seconds to make sure everything has a chance to shut down.
- sleep 5;
-}
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/models/Hello-complete.xme b/CIAO/connectors/ami4ccm/examples/Hello/models/Hello-complete.xme
deleted file mode 100644
index 701424519d1..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/models/Hello-complete.xme
+++ /dev/null
@@ -1,2352 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE project SYSTEM "mga.dtd">
-
-<project guid="{FD5AD6C6-29E7-4F61-8F92-5AF14C93C352}" cdate="Mon Aug 02 22:06:28 2010" mdate="Mon Aug 02 22:06:28 2010" version="" metaguid="{E1C7AC06-73A8-424A-B29D-6126F7456EAE}" metaversion="" metaname="PICML">
- <name>Hello</name>
- <comment></comment>
- <author></author>
- <folder id="id-006a-00000001" relid="0x1" childrelidcntr="0x7" kind="RootFolder" guid="{54cdcd4e-b31a-4b0c-929b-5b902b72c8d8}">
- <name>Hello</name>
- <folder id="id-006a-00000002" relid="0x1" childrelidcntr="0x4" libref="MGA=E:/proj/vc9/ACE_TAO_CIAO/CIAO/connectors/ami4ccm/models/ami4mga.xme" kind="RootFolder" guid="{67fcff6a-5c78-4fb8-bb90-e2cb1b5e0850}">
- <name>MGA=E:/proj/vc9/ACE_TAO_CIAO/CIAO/connectors/ami4ccm/models/ami4mga.xme</name>
- <folder id="id-006a-00000003" relid="0x0" childrelidcntr="0x2" kind="InterfaceDefinitions" guid="{fa6e56ef-350f-4d63-a704-bb958370be4f}">
- <name>InterfaceDefinitions</name>
- <model id="id-0065-00000001" kind="File" guid="{acd10219-304e-48b2-82c0-48dcc099bcce}" relid="0x0" childrelidcntr="0x1">
- <name>ami4ccm</name>
- <attribute kind="Path">
- <value>connectors/ami4ccm/ami4ccm</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000002" kind="Package" role="Package" guid="{277a914e-8292-4ebd-af59-be585a576ec3}" relid="0x0" childrelidcntr="0x5">
- <name>CCM_AMI</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000003" kind="Object" role="Object" guid="{7bf44345-f547-4a60-9797-21c3e5aa966b}" relid="0x1" childrelidcntr="0x1">
- <name>ExceptionHolder</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>181,48</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000004" kind="TwowayOperation" role="TwowayOperation" guid="{6893284f-a925-47a7-8505-861748eeb619}" relid="0x0" childrelidcntr="0x0">
- <name>raise_exception</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- </model>
- <model id="id-0065-00000005" kind="Object" role="Object" guid="{0c05efb6-cdce-4eec-aad5-f58cdbefe7ce}" relid="0x2" childrelidcntr="0x0">
- <name>ReplyHandler</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>125,167</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-00000006" kind="ConnectorObject" role="ConnectorObject" guid="{6cc87f43-65b3-460a-8735-578427e4dc33}" relid="0x3" childrelidcntr="0x0">
- <name>AMI4CCM_Base</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>306,124</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>6C31592E-9776-11DF-8DCF-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-00000007" kind="Package" role="Package" guid="{4c60a1e4-76f6-4959-81a4-4b8ae9c5e85b}" relid="0x4" childrelidcntr="0x4">
- <name>Connector_T</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>94,241</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000008" kind="PortType" role="PortType" guid="{519601ac-3bac-486a-a30d-c9c57da32fe6}" relid="0x2" childrelidcntr="0x1">
- <name>AMI4CCM_Port_Type</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>11,11</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000001d" kind="ProvidedRequestPort" role="ProvidedRequestPort" guid="{193b7ea3-3707-4089-b2b5-c5de46f7b53e}" relid="0x0" referred="id-0066-00000002">
- <name>ami4ccm_provides</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- <reference id="id-0067-0000001e" kind="RequiredRequestPort" role="RequiredRequestPort" guid="{8cb5e3f1-a436-44ac-b24a-dd634f76467b}" relid="0x0" referred="id-0066-00000001">
- <name>ami4ccm_uses</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="AsyncCommunication" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="multiple_connections">
- <value>true</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- </model>
- <model id="id-0065-00000009" kind="ConnectorObject" role="ConnectorObject" guid="{c76d2db3-d714-4393-bbaa-a2ad1eda2a70}" relid="0x3" childrelidcntr="0x1">
- <name>AMI4CCM_Connector</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>126,238</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>6C31592E-9776-11DF-8DD0-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000001" kind="ExtendedPort" role="ExtendedPort" guid="{a1976325-510c-44a1-bc08-020373ee6190}" relid="0x0" referred="id-0065-00000008">
- <name>ami4ccm_port</name>
- </reference>
- <reference id="id-0067-00000002" kind="ConnectorInherits" role="ConnectorInherits" guid="{8c2c7607-434d-40da-881f-69f14f318927}" relid="0x0" referred="id-0065-00000006">
- <name>ConnectorInherits</name>
- </reference>
- </model>
- <atom id="id-0066-00000001" kind="TypeParameter" role="TypeParameter" guid="{fadec119-3cab-4ae9-8e51-da1d4a6e196e}" relid="0x0">
- <name>T</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Type">
- <value>Object</value>
- </attribute>
- </atom>
- <atom id="id-0066-00000002" kind="TypeParameter" role="TypeParameter" guid="{629f9080-7c54-4984-a9cb-10c2feb3edfb}" relid="0x1">
- <name>AMI4CCM_T</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Type">
- <value>Object</value>
- </attribute>
- </atom>
- </model>
- <atom id="id-0066-00000003" kind="NativeValue" role="NativeValue" guid="{a5d65f0d-9b60-4e63-af6a-6c0eed8ff369}" relid="0x0">
- <name>UserExceptionBase</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>8,13</value>
- </regnode>
- </regnode>
- </regnode>
- </atom>
- </model>
- </model>
- </folder>
- <folder id="id-006a-00000004" relid="0x1" childrelidcntr="0x0" kind="ImplementationArtifacts" guid="{ffca809a-4c95-460e-827b-7c6b05c2aebb}">
- <name>ImplementationArtifacts</name>
- </folder>
- <folder id="id-006a-00000005" relid="0x2" childrelidcntr="0x0" kind="ComponentImplementations" guid="{1f9dcb7b-b621-44ec-9694-daf010f208e3}">
- <name>ComponentImplementations</name>
- </folder>
- <folder id="id-006a-00000006" relid="0x3" childrelidcntr="0x12" kind="PredefinedTypes" guid="{cfe7c868-3f0d-40e4-be54-4545ae25150c}">
- <name>PredefinedTypes</name>
- <atom id="id-0066-00000004" kind="Boolean" guid="{f80e2b06-9b8a-46cd-9e7d-52845c8299a2}" relid="0x0">
- <name>Boolean</name>
- </atom>
- <atom id="id-0066-00000005" kind="Byte" guid="{5be978d2-7777-4428-a569-b77dd3e1762b}" relid="0x1">
- <name>Byte</name>
- </atom>
- <atom id="id-0066-00000006" kind="Char" guid="{8853f41b-c010-4af4-af2c-45b51678d003}" relid="0x2">
- <name>Char</name>
- </atom>
- <atom id="id-0066-00000007" kind="WideChar" guid="{c2285983-5e85-4ddd-85b2-7625f37dde0c}" relid="0x3">
- <name>WideChar</name>
- </atom>
- <atom id="id-0066-00000008" kind="ShortInteger" guid="{587bcee5-1b31-4c33-bf46-d181882c7834}" relid="0x4">
- <name>ShortInteger</name>
- </atom>
- <atom id="id-0066-00000009" kind="LongInteger" guid="{27caa9d1-23f2-4cda-bc65-554227ea0b92}" relid="0x5">
- <name>LongInteger</name>
- </atom>
- <atom id="id-0066-0000000a" kind="LongLongInteger" guid="{48827573-7601-4351-99a9-af6edbd9aad3}" relid="0x6">
- <name>LongLongInteger</name>
- </atom>
- <atom id="id-0066-0000000b" kind="UnsignedShortInteger" guid="{69730c09-a961-48e3-9ffd-e7dfd13ee499}" relid="0x7">
- <name>UnsignedShortInteger</name>
- </atom>
- <atom id="id-0066-0000000c" kind="UnsignedLongInteger" guid="{05e538f1-6d2f-4a41-9283-bfd2e69a086d}" relid="0x8">
- <name>UnsignedLongInteger</name>
- </atom>
- <atom id="id-0066-0000000d" kind="UnsignedLongLongInteger" guid="{d1d99e53-8835-461d-bc5d-01bd37fe254f}" relid="0x9">
- <name>UnsignedLongLongInteger</name>
- </atom>
- <atom id="id-0066-0000000e" kind="FloatNumber" guid="{a4536e8e-9244-4eb7-af77-155fe81e1951}" relid="0xa">
- <name>FloatNumber</name>
- </atom>
- <atom id="id-0066-0000000f" kind="DoubleNumber" guid="{1159d43b-5188-4e29-8f35-b289b190fe84}" relid="0xb">
- <name>DoubleNumber</name>
- </atom>
- <atom id="id-0066-00000010" kind="LongDoubleNumber" guid="{40e9e419-71b5-4471-8d24-04c3c1a76d52}" relid="0xc">
- <name>LongDoubleNumber</name>
- </atom>
- <atom id="id-0066-00000011" kind="GenericObject" guid="{b7e63725-fb59-4f8b-9d1c-db301ae68530}" relid="0xd">
- <name>GenericObject</name>
- </atom>
- <atom id="id-0066-00000012" kind="GenericValue" guid="{1983baff-f9d7-48a7-a126-25d760b02933}" relid="0xe">
- <name>GenericValue</name>
- </atom>
- <atom id="id-0066-00000013" kind="GenericValueObject" guid="{b658cb8c-9e5f-4424-87f4-6cab67a02bd3}" relid="0xf">
- <name>GenericValueObject</name>
- </atom>
- <atom id="id-0066-00000014" kind="String" guid="{22a47e29-ad33-4b09-9615-517a82d633ab}" relid="0x10">
- <name>String</name>
- </atom>
- <atom id="id-0066-00000015" kind="WideString" guid="{24e2db4b-74a1-4cb7-bcc0-fbbfe7b7c045}" relid="0x11">
- <name>WideString</name>
- </atom>
- </folder>
- </folder>
- <folder id="id-006a-00000007" relid="0x0" childrelidcntr="0x4" kind="InterfaceDefinitions" guid="{fd8ac92e-2aca-4998-8a63-029dbe0473d0}">
- <name>InterfaceDefinitions</name>
- <model id="id-0065-0000000a" kind="File" guid="{19c60d15-1ce2-4849-a48d-1dad2ac8367a}" relid="0x0" childrelidcntr="0x1">
- <name>Hello</name>
- <attribute kind="Path">
- <value>Base</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000000b" kind="Package" role="Package" guid="{7dbbd8f2-9a7b-4d07-b25b-dad426644e7f}" relid="0x0" childrelidcntr="0x2">
- <name>Hello</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000000c" kind="Exception" role="Exception" guid="{f8f83360-dc72-4f9d-b4bc-371d08465fcd}" relid="0x0" childrelidcntr="0x1">
- <name>InternalError</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000001f" kind="Member" role="Member" guid="{e44c8d9c-c584-49fa-b928-10ecd55ae30c}" relid="0x0" referred="id-0066-00000021">
- <name>id</name>
- </reference>
- <reference id="id-0067-00000020" kind="Member" role="Member" guid="{96d586e8-ebc5-43cd-8ac3-874990579d2d}" relid="0x0" referred="id-0066-0000002c">
- <name>error_string</name>
- </reference>
- </model>
- <model id="id-0065-0000000d" kind="Object" role="Object" guid="{8e4145df-d3ac-4c60-9783-a6a3b891b028}" relid="0x1" childrelidcntr="0x4">
- <name>MyFoo</name>
- <attribute kind="InterfaceSemantics" status="meta">
- <value>standard</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000000e" kind="TwowayOperation" role="TwowayOperation" guid="{b85e3d4c-4908-4422-b425-3e368ecceb3b}" relid="0x0" childrelidcntr="0x1">
- <name>foo</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000003" kind="ExceptionRef" role="ExceptionRef" guid="{470903bb-5665-4c1b-9a10-bb8eb559a01e}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>360,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000021" kind="ReturnType" role="ReturnType" guid="{4cdc952a-e1a0-46c6-8456-fa69a2c81860}" relid="0x0" referred="id-0066-00000021">
- <name>ReturnType</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000022" kind="InParameter" role="InParameter" guid="{6c77a2e5-be4d-4602-8ad3-7c9c83e8efc5}" relid="0x0" referred="id-0066-0000002c">
- <name>in_str</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000023" kind="OutParameter" role="OutParameter" guid="{da010c05-9b12-497d-949b-70b8fed08428}" relid="0x0" referred="id-0066-0000002c">
- <name>answer</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>260,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000000f" kind="TwowayOperation" role="TwowayOperation" guid="{a8b45e87-7445-48ad-8a7e-1161320335a4}" relid="0x1" childrelidcntr="0x1">
- <name>hello</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000004" kind="ExceptionRef" role="ExceptionRef" guid="{85c0f42e-6fb4-49bd-984c-629a9f57b0d6}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000024" kind="OutParameter" role="OutParameter" guid="{33097fc8-9c81-4f54-86de-781a4a069de8}" relid="0x0" referred="id-0066-00000021">
- <name>answer</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000010" kind="Attribute" role="Attribute" guid="{cebb13d8-834e-4a9c-bbd2-ea47221d3565}" relid="0x2" childrelidcntr="0x1">
- <name>rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,260</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000005" kind="GetException" role="GetException" guid="{5f295313-4d13-4701-bda9-3fd694358075}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000006" kind="SetException" role="SetException" guid="{4e4af53b-93d6-4220-86f5-10dc47f59f9f}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>260,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000025" kind="AttributeMember" role="AttributeMember" guid="{1bc714b6-0f31-4bb7-8fe9-74f017a9a259}" relid="0x0" referred="id-0066-00000020">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000011" kind="ReadonlyAttribute" role="ReadonlyAttribute" guid="{028208da-58ff-411c-987e-daef5f435436}" relid="0x3" childrelidcntr="0x1">
- <name>ro_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,360</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000007" kind="GetException" role="GetException" guid="{435b8d57-9dff-4739-a0dd-58c51d80612e}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000026" kind="AttributeMember" role="AttributeMember" guid="{bef0a9c2-687d-4905-855e-7ea047eb2150}" relid="0x0" referred="id-0066-00000020">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- </model>
- </model>
- </model>
- <model id="id-0065-00000012" kind="File" guid="{a6b22863-1947-4eda-9364-a1bf3c502888}" relid="0x1" childrelidcntr="0x1">
- <name>HelloA</name>
- <attribute kind="Path">
- <value>Base</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000013" kind="Package" role="Package" guid="{0ae3ae2e-86b5-445b-92f6-debe7cf5c8f1}" relid="0x0" childrelidcntr="0x3">
- <name>Hello</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000014" kind="Object" role="Object" guid="{0fa3c06c-8a9d-4377-9600-c0afa08fa5a9}" relid="0x0" childrelidcntr="0xa">
- <name>AMI4CCM_MyFooReplyHandler</name>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000015" kind="TwowayOperation" role="TwowayOperation" guid="{29e6848a-4c61-4c9a-9590-462107d877b2}" relid="0x0" childrelidcntr="0x1">
- <name>foo</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000027" kind="InParameter" role="InParameter" guid="{12b0892e-3f65-4edc-aac4-2bf1d8636dc5}" relid="0x0" referred="id-0066-00000021">
- <name>ami_return_val</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000028" kind="InParameter" role="InParameter" guid="{a8f3e901-10f0-43f9-adcc-74369bc029ad}" relid="0x0" referred="id-0066-0000002c">
- <name>answer</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000016" kind="TwowayOperation" role="TwowayOperation" guid="{42457f92-18ca-44b7-9f05-9e1042f6f98f}" relid="0x1" childrelidcntr="0x1">
- <name>foo_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000008" kind="InParameter" role="InParameter" guid="{bf0d1ed8-4c1c-4723-9044-b22e06359b8c}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000017" kind="TwowayOperation" role="TwowayOperation" guid="{788962f2-ee15-4e2a-a230-f1fbe1d65467}" relid="0x2" childrelidcntr="0x1">
- <name>hello</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,260</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000029" kind="InParameter" role="InParameter" guid="{cdbb15a1-af16-4a9e-8f3c-7c73001b6f54}" relid="0x0" referred="id-0066-00000021">
- <name>answer</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000018" kind="TwowayOperation" role="TwowayOperation" guid="{761eb004-374d-4b21-bba8-13f2849392ef}" relid="0x3" childrelidcntr="0x1">
- <name>hello_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,360</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000009" kind="InParameter" role="InParameter" guid="{523f7d2d-7be9-4e91-8d2b-fe4dcaa6c2ba}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000019" kind="TwowayOperation" role="TwowayOperation" guid="{89276596-f14c-404f-b024-e0a618cb5e62}" relid="0x4" childrelidcntr="0x1">
- <name>get_rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,460</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000002a" kind="InParameter" role="InParameter" guid="{675a1e08-60f7-44a8-8979-3f03a38df825}" relid="0x0" referred="id-0066-00000020">
- <name>rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000001a" kind="TwowayOperation" role="TwowayOperation" guid="{aa1b1c4d-cf41-44fb-b8c0-4b2d44f958c2}" relid="0x5" childrelidcntr="0x1">
- <name>get_rw_attrib_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,560</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000a" kind="InParameter" role="InParameter" guid="{41ce6a2c-980b-4079-b07b-5919533f9867}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000001b" kind="TwowayOperation" role="TwowayOperation" guid="{e0c9aa57-dcb0-49b2-bef5-044b38baff8b}" relid="0x6" childrelidcntr="0x0">
- <name>set_rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,660</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-0000001c" kind="TwowayOperation" role="TwowayOperation" guid="{782e96c0-a6a1-4fa4-9b41-64088385d6c6}" relid="0x7" childrelidcntr="0x1">
- <name>set_rw_attrib_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,760</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000b" kind="InParameter" role="InParameter" guid="{e869b94d-1d8d-478c-a9b1-707aed6b019d}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000001d" kind="TwowayOperation" role="TwowayOperation" guid="{2098f19a-88b5-4298-bc4b-0adc429db5ff}" relid="0x8" childrelidcntr="0x1">
- <name>get_ro_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,860</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000002b" kind="InParameter" role="InParameter" guid="{5a223f50-05a5-4e23-bf75-11d168b25501}" relid="0x0" referred="id-0066-00000020">
- <name>ro_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000001e" kind="TwowayOperation" role="TwowayOperation" guid="{a2ab654b-37bd-45af-b103-ae78f16c2ee1}" relid="0x9" childrelidcntr="0x1">
- <name>get_ro_attrib_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,960</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000c" kind="InParameter" role="InParameter" guid="{1b76fe0b-f6ca-43a1-aa61-0ab7e75fcd34}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- </model>
- <model id="id-0065-0000001f" kind="Object" role="Object" guid="{b9c4b1db-ed3d-429f-926d-3f42402f06d5}" relid="0x1" childrelidcntr="0x5">
- <name>AMI4CCM_MyFoo</name>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000020" kind="TwowayOperation" role="TwowayOperation" guid="{acf87213-6c85-4239-9798-6fa0401dcb32}" relid="0x0" childrelidcntr="0x1">
- <name>sendc_foo</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000d" kind="InParameter" role="InParameter" guid="{68559044-d63d-401c-9531-2e1bbf3e19dc}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000002c" kind="InParameter" role="InParameter" guid="{3f542e99-dd12-4bf9-aba5-3c7ba812f0b1}" relid="0x0" referred="id-0066-0000002c">
- <name>in_str</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000021" kind="TwowayOperation" role="TwowayOperation" guid="{f21f7535-4feb-46d8-a14b-879c22cf0b3e}" relid="0x1" childrelidcntr="0x1">
- <name>sendc_hello</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000e" kind="InParameter" role="InParameter" guid="{5bfeaff0-c30f-4ed3-98b7-6ef7607ca045}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000022" kind="TwowayOperation" role="TwowayOperation" guid="{80055a68-3d0f-4844-92ea-7f1f9a997eab}" relid="0x2" childrelidcntr="0x1">
- <name>sendc_set_rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,260</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000f" kind="InParameter" role="InParameter" guid="{9d996218-784b-452c-9522-5a739b1f9c1f}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000002d" kind="InParameter" role="InParameter" guid="{0bd3e602-d0a4-4b44-9ec3-01558fec5956}" relid="0x0" referred="id-0066-00000020">
- <name>rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000023" kind="TwowayOperation" role="TwowayOperation" guid="{7e899033-81ef-4281-a135-89249690e67b}" relid="0x3" childrelidcntr="0x1">
- <name>sendc_get_rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,360</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000010" kind="InParameter" role="InParameter" guid="{2ce73a51-506c-468d-b87d-2f57776116d3}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000024" kind="TwowayOperation" role="TwowayOperation" guid="{644dd620-0877-4ed1-9353-bbb69ce252c4}" relid="0x4" childrelidcntr="0x1">
- <name>sendc_get_ro_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,460</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000011" kind="InParameter" role="InParameter" guid="{0da6dff8-5baa-449e-9790-09ee6fb4ea30}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- </model>
- <model id="id-0065-00000025" kind="TemplatePackageInstance" role="TemplatePackageInstance" guid="{d393f4ab-5d15-4959-a434-675d2da1d27e}" relid="0x2" childrelidcntr="0x1">
- <name>AMI4CCM_MyFoo_Connector</name>
- <reference id="id-0067-00000012" kind="PackageType" role="PackageType" guid="{54e1f269-2acd-4857-ae61-da444b1643d9}" relid="0x0" referred="id-0065-00000007">
- <name>PackageType</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000013" kind="TemplateParameterValue" role="TemplateParameterValue" guid="{624f8448-e00b-420b-a9d9-ba8e00d84e72}" relid="0x0" referred="id-0065-0000000d">
- <name>TemplateParameterValue</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000014" kind="TemplateParameterValue" role="TemplateParameterValue" guid="{a338bec3-7039-4a55-889e-29719f8e7dc0}" relid="0x0" referred="id-0065-0000001f">
- <name>TemplateParameterValue</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>260,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- </model>
- </model>
- <model id="id-0065-00000026" kind="File" guid="{b1a0cb38-1c02-4679-a2dc-f6b797b50854}" relid="0x2" childrelidcntr="0x1">
- <name>Hello_Receiver</name>
- <attribute kind="Path">
- <value>Receiver</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000027" kind="Package" role="Package" guid="{347dc192-809b-410c-a12b-7c62952b4eff}" relid="0x0" childrelidcntr="0x1">
- <name>Hello</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000028" kind="Component" role="Component" guid="{9c0d2d89-5520-43c0-9119-9d9769b80635}" relid="0x0" childrelidcntr="0x1">
- <name>Receiver</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>BDFE7DFC-9EA3-11DF-8DCF-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000015" kind="ProvidedRequestPort" role="ProvidedRequestPort" guid="{454fc42e-f226-43fc-81e3-9cbf82e8ac15}" relid="0x0" referred="id-0065-0000000d">
- <name>do_my_foo</name>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- </model>
- </model>
- </model>
- <model id="id-0065-00000029" kind="File" guid="{e25cbb9c-ed26-423f-b389-203391aa8162}" relid="0x3" childrelidcntr="0x1">
- <name>Hello_Sender</name>
- <attribute kind="Path">
- <value>Sender</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000002a" kind="Package" role="Package" guid="{6dd90245-8e48-408f-a0fc-94ad327f9516}" relid="0x0" childrelidcntr="0x1">
- <name>Hello</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000002b" kind="Component" role="Component" guid="{af6f1899-27a2-45a2-b3a1-f3abc04801b3}" relid="0x0" childrelidcntr="0x1">
- <name>Sender</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>BDFE7DFC-9EA3-11DF-8DD0-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000016" kind="RequiredRequestPort" role="RequiredRequestPort" guid="{063cac45-2182-44b2-ad2e-ffad9b09da32}" relid="0x0" referred="id-0065-0000000d">
- <name>run_my_foo</name>
- <attribute kind="AsyncCommunication" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="multiple_connections">
- <value>false</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- </model>
- </model>
- </model>
- </folder>
- <folder id="id-006a-00000008" relid="0x1" childrelidcntr="0x3" kind="ImplementationArtifacts" guid="{85f2ce45-7f37-4532-b675-02668341062b}">
- <name>ImplementationArtifacts</name>
- <model id="id-0065-0000002c" kind="ArtifactContainer" guid="{c782be3c-1968-4abc-a4a5-48addc0fe4da}" relid="0x0" childrelidcntr="0x2">
- <name>Hello_ReceiverArtifacts</name>
- <atom id="id-0066-00000016" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{4712aeaa-6cc0-45e1-bb3f-53ea3b7d2633}" relid="0x0">
- <name>Hello_Receiver_svnt</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>150,150</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>BDFE7DFC-9EA3-11DF-8DD1-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_Receiver_svnt</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- <atom id="id-0066-00000017" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{530e1533-4f82-44e6-960f-06fb21661276}" relid="0x1">
- <name>Hello_Receiver_exec</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>450,150</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>BDFE7DFC-9EA3-11DF-8DD2-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_Receiver_exec</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- </model>
- <model id="id-0065-0000002d" kind="ArtifactContainer" guid="{232dbb7a-66f9-48ff-b3f9-aff6400fda82}" relid="0x1" childrelidcntr="0x2">
- <name>Hello_SenderArtifacts</name>
- <atom id="id-0066-00000018" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{590fe88d-ca47-4bdf-b006-f1de0c0e3eb2}" relid="0x0">
- <name>Hello_Sender_svnt</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>150,150</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>BDFE7DFC-9EA3-11DF-8DD3-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_Sender_svnt</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- <atom id="id-0066-00000019" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{1b17fa52-8acf-4cff-9922-de2c707ad0a0}" relid="0x1">
- <name>Hello_Sender_exec</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>450,150</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>BDFE7DFC-9EA3-11DF-8DD4-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_Sender_exec</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- </model>
- <model id="id-0065-00000032" kind="ArtifactContainer" guid="{9a28eb84-a8fe-48e0-a474-8ec1aac948a5}" relid="0x3" childrelidcntr="0x2">
- <name>Hello_AMI4CCM_Connector</name>
- <atom id="id-0066-0000002f" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{ff7ba36e-8c38-46c9-ac7c-b7e3064de120}" relid="0x1">
- <name>Hello_svnt</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>370,90</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>E328B02E-9EA4-11DF-8000-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_svnt</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- <atom id="id-0066-00000030" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{ca4bba1f-dd0c-45d6-81fd-5ef5cb716c32}" relid="0x2">
- <name>Hello_conn</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>370,216</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>E487241E-9EA4-11DF-8000-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_conn</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- </model>
- </folder>
- <folder id="id-006a-00000009" relid="0x2" childrelidcntr="0x4" kind="ComponentImplementations" guid="{7cd4e53d-c6bf-4502-8044-425c745ce159}">
- <name>ComponentImplementations</name>
- <model id="id-0065-0000002e" kind="ComponentImplementationContainer" guid="{714562a5-c8f6-4a89-bf67-fffe85eee98d}" relid="0x0" childrelidcntr="0x4">
- <name>Hello_ReceiverImpl</name>
- <atom id="id-0066-0000001a" kind="MonolithicImplementation" role="MonolithicImplementation" guid="{cfd907ff-a8b5-4034-af1b-dda7651d3f43}" relid="0x0">
- <name>Hello_ReceiverImpl</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>250,250</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>BE0342A6-9EA3-11DF-8000-000C2958D27B</value>
- </attribute>
- <attribute kind="defaultVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- </atom>
- <reference id="id-0067-00000017" kind="ComponentRef" role="ComponentRef" guid="{a4dfb5f9-ac7c-43a1-a054-7fe6e34d7ede}" relid="0x1" referred="id-0065-00000028">
- <name>Receiver</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>187,75</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000018" kind="ComponentServantArtifact" role="ComponentServantArtifact" guid="{caccaa34-7fb2-4a41-94a3-b4406058ff0f}" relid="0x2" referred="id-0066-00000016">
- <name>Hello_Receiver_svnt</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>506,347</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_Receiver_Servant</value>
- </attribute>
- </reference>
- <reference id="id-0067-00000019" kind="ComponentImplementationArtifact" role="ComponentImplementationArtifact" guid="{fef8cc71-9f5d-438a-b2cc-cdac41741aa8}" relid="0x3" referred="id-0066-00000017">
- <name>Hello_Receiver_exec</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>506,151</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_AMI_Receiver_Impl</value>
- </attribute>
- </reference>
- <connection id="id-0068-00000001" kind="Implements" role="Implements" guid="{24513659-d5e8-4ba1-976b-6a6d77963c5b}" relid="0x1">
- <name></name>
- <connpoint role="src" target="id-0066-0000001a"/>
- <connpoint role="dst" target="id-0067-00000017"/>
- </connection>
- <connection id="id-0068-00000002" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{48767d0a-04a5-4645-9116-e15d726ed6fd}" relid="0x2">
- <name></name>
- <connpoint role="src" target="id-0066-0000001a"/>
- <connpoint role="dst" target="id-0067-00000018"/>
- </connection>
- <connection id="id-0068-00000003" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{e9e4521a-5337-4068-8f07-7822549bf771}" relid="0x3">
- <name></name>
- <connpoint role="src" target="id-0066-0000001a"/>
- <connpoint role="dst" target="id-0067-00000019"/>
- </connection>
- </model>
- <model id="id-0065-0000002f" kind="ComponentImplementationContainer" guid="{bb78507b-d2ed-4183-88ef-c2120acdad58}" relid="0x1" childrelidcntr="0x4">
- <name>Hello_SenderImpl</name>
- <atom id="id-0066-0000001b" kind="MonolithicImplementation" role="MonolithicImplementation" guid="{4cff5d16-573a-4ffc-b29c-c0eb0fa4b69c}" relid="0x0">
- <name>Hello_SenderImpl</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>250,250</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>BE0342A6-9EA3-11DF-8001-000C2958D27B</value>
- </attribute>
- <attribute kind="defaultVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- </atom>
- <reference id="id-0067-0000001a" kind="ComponentRef" role="ComponentRef" guid="{d23cff0a-ad00-43eb-ae28-317a55f1c962}" relid="0x1" referred="id-0065-0000002b">
- <name>Sender</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>187,75</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000001b" kind="ComponentServantArtifact" role="ComponentServantArtifact" guid="{1617bfdb-f497-44d9-8a1b-218e92b4adbd}" relid="0x2" referred="id-0066-00000018">
- <name>Hello_Sender_svnt</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>506,347</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_Sender_Servant</value>
- </attribute>
- </reference>
- <reference id="id-0067-0000001c" kind="ComponentImplementationArtifact" role="ComponentImplementationArtifact" guid="{cc369410-4a93-489f-b260-f7b064ed8707}" relid="0x3" referred="id-0066-00000019">
- <name>Hello_Sender_exec</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>506,151</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_AMI_Sender_Impl</value>
- </attribute>
- </reference>
- <connection id="id-0068-00000004" kind="Implements" role="Implements" guid="{6cb31d7b-48d7-4d4e-b639-a84b7c43bbad}" relid="0x1">
- <name></name>
- <connpoint role="src" target="id-0066-0000001b"/>
- <connpoint role="dst" target="id-0067-0000001a"/>
- </connection>
- <connection id="id-0068-00000005" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{632ae6f3-8b6c-4001-9242-eaf396ab67d4}" relid="0x2">
- <name></name>
- <connpoint role="src" target="id-0066-0000001b"/>
- <connpoint role="dst" target="id-0067-0000001b"/>
- </connection>
- <connection id="id-0068-00000006" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{34f194e7-7954-48b4-a8e6-19a581ad3b1e}" relid="0x3">
- <name></name>
- <connpoint role="src" target="id-0066-0000001b"/>
- <connpoint role="dst" target="id-0067-0000001c"/>
- </connection>
- </model>
- <model id="id-0065-00000030" kind="ComponentImplementationContainer" guid="{987d8b3f-4817-4366-916d-0bf5997fe8de}" relid="0x4" childrelidcntr="0x1">
- <name>HelloImpl</name>
- <model id="id-0065-00000033" kind="ComponentAssembly" role="ComponentAssembly" guid="{9011101b-0b18-4f9f-8757-006108fc706f}" relid="0x1" childrelidcntr="0xe">
- <name>HelloImpl</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>306,243</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>2E7D30FE-9EA5-11DF-8000-000C2958D27B</value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000034" kind="ComponentInstance" role="ComponentInstance" guid="{38b13138-23ba-47c5-92c8-f82b0d7f3f4f}" relid="0x1" childrelidcntr="0x2">
- <name>ReceiverInstance</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>566,183</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>327E5822-9EA5-11DF-8000-000C2958D27B</value>
- </attribute>
- <reference id="id-0067-00000032" kind="ComponentInstanceType" role="ComponentInstanceType" guid="{d5aa9fa9-8dae-47eb-a734-c8f8764ae969}" relid="0x1" referred="id-0066-0000001a">
- <name>Hello_ReceiverImpl</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="ComponentImplementationAspect" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>326,165</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000033" kind="ProvidedRequestPortInstance" role="ProvidedRequestPortInstance" guid="{e37f0981-4418-4e66-97f0-d0017677f960}" relid="0x2" referred="id-0067-00000015">
- <name>do_my_foo</name>
- </reference>
- </model>
- <model id="id-0065-00000035" kind="ComponentInstance" role="ComponentInstance" guid="{e4ae3c81-5e5c-4a17-9de2-2b0165f1137e}" relid="0x2" childrelidcntr="0x2">
- <name>SenderInstance</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>181,183</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>3481584A-9EA5-11DF-8000-000C2958D27B</value>
- </attribute>
- <reference id="id-0067-00000034" kind="ComponentInstanceType" role="ComponentInstanceType" guid="{26a59940-5fcb-4b23-86ee-ca50c851cc5f}" relid="0x1" referred="id-0066-0000001b">
- <name>Hello_SenderImpl</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="ComponentImplementationAspect" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>277,158</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000035" kind="RequiredRequestPortInstance" role="RequiredRequestPortInstance" guid="{169c3aac-6eef-4699-bbb1-75bbfac03255}" relid="0x2" referred="id-0067-00000016">
- <name>run_my_foo</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="ComponentInterface" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>539,28</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000036" kind="ConnectorInstance" role="ConnectorInstance" guid="{b569b262-083a-4416-85ad-8e46287eb86c}" relid="0x3" childrelidcntr="0x1">
- <name>ConnectorInstance</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>434,224</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>36BFF3B4-9EA5-11DF-8000-000C2958D27B</value>
- </attribute>
- <reference id="id-0067-0000003d" kind="ConnectorImplementationType" role="ConnectorImplementationType" guid="{9df2d5a8-5937-4141-8bf1-d14db1a3ed76}" relid="0x1" referred="id-0066-0000002e">
- <name>Hello_AMI4CCM_Connector_Impl</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="ConnectorImplAspect" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>192,213</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000037" kind="Property" role="Property" guid="{02e576f2-2205-433c-9482-b506946a728f}" relid="0x7" childrelidcntr="0x1">
- <name>InstanceIOR</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>706,356</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="DataValue" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000036" kind="DataValue" role="DataValue" guid="{b52ab735-0297-4478-b32c-610a8f2be529}" relid="0x1" referred="id-0066-0000002c">
- <name>InstanceIOR</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="DataValueAspect" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>225,176</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Value">
- <value>Receiver.ior</value>
- </attribute>
- </reference>
- </model>
- <model id="id-0065-00000038" kind="Property" role="Property" guid="{43097386-8069-47c9-9e37-5467bc3ebfb3}" relid="0x9" childrelidcntr="0x1">
- <name>InstanceIOR</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>216,349</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="DataValue" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000037" kind="DataValue" role="DataValue" guid="{fde53b6e-2777-4a51-ab91-39558e09c9d4}" relid="0x1" referred="id-0066-0000002c">
- <name>InstanceIOR</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="DataValueAspect" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>225,176</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Value">
- <value>Sender.ior</value>
- </attribute>
- </reference>
- </model>
- <model id="id-0065-00000039" kind="Property" role="Property" guid="{fa737029-7df0-4bb2-b90b-fc2e234baeff}" relid="0xc" childrelidcntr="0x1">
- <name>InstanceIOR</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>426,342</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="DataValue" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000038" kind="DataValue" role="DataValue" guid="{0c8bd79a-8a6b-4792-bf63-0ea5332196da}" relid="0x1" referred="id-0066-0000002c">
- <name>InstanceIOR</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="DataValueAspect" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>176,43</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Value">
- <value>AMI.ior</value>
- </attribute>
- </reference>
- </model>
- <connection id="id-0068-0000000a" kind="ConnectorToReceptacle" role="ConnectorToReceptacle" guid="{4e8aacfa-a91b-47ea-8911-e1fb16fb01c2}" relid="0x4">
- <name>ConnectorToReceptacle</name>
- <regnode name="autorouterPref" isopaque="yes">
- <value>w</value>
- </regnode>
- <attribute kind="InnerName" status="meta">
- <value></value>
- </attribute>
- <connpoint role="dst" target="id-0065-00000036"/>
- <connpoint role="src" target="id-0067-00000035"/>
- </connection>
- <connection id="id-0068-0000000b" kind="ConnectorToFacet" role="ConnectorToFacet" guid="{f7126d5d-92ba-4042-94a4-156314c6f44a}" relid="0x5">
- <name>ConnectorToFacet</name>
- <regnode name="autorouterPref" isopaque="yes">
- <value>E</value>
- </regnode>
- <attribute kind="InnerName" status="meta">
- <value></value>
- </attribute>
- <connpoint role="src" target="id-0065-00000036"/>
- <connpoint role="dst" target="id-0067-00000033"/>
- </connection>
- <connection id="id-0068-0000000c" kind="Invoke" role="Invoke" guid="{36344af0-5c91-4207-81f1-e29f0b8fa2ab}" relid="0x6">
- <name>Invoke</name>
- <connpoint role="dst" target="id-0067-00000033"/>
- <connpoint role="src" target="id-0067-00000035"/>
- </connection>
- <connection id="id-0068-0000000e" kind="AssemblyConfigProperty" role="AssemblyConfigProperty" guid="{e7559886-0627-4d60-9674-ca71119b522e}" relid="0xa">
- <name>AssemblyConfigProperty</name>
- <regnode name="autorouterPref" isopaque="yes">
- <value>Ww</value>
- </regnode>
- <connpoint role="src" target="id-0065-00000035"/>
- <connpoint role="dst" target="id-0065-00000038"/>
- </connection>
- <connection id="id-0068-0000000f" kind="AssemblyConfigProperty" role="AssemblyConfigProperty" guid="{d9108942-f9f0-4be3-8940-3a18fd8bc5ba}" relid="0xb">
- <name>AssemblyConfigProperty</name>
- <regnode name="autorouterPref" isopaque="yes">
- <value>Ee</value>
- </regnode>
- <connpoint role="src" target="id-0065-00000034"/>
- <connpoint role="dst" target="id-0065-00000037"/>
- </connection>
- <connection id="id-0068-00000013" kind="AssemblyConfigProperty" role="AssemblyConfigProperty" guid="{2a318fd7-5aa9-43c8-8659-9b4056f54753}" relid="0xe">
- <name>AssemblyConfigProperty</name>
- <regnode name="autorouterPref" isopaque="yes">
- <value>Sn</value>
- </regnode>
- <connpoint role="src" target="id-0065-00000036"/>
- <connpoint role="dst" target="id-0065-00000039"/>
- </connection>
- </model>
- </model>
- </folder>
- <folder id="id-006a-0000000a" relid="0x3" childrelidcntr="0x12" kind="PredefinedTypes" guid="{5af3ca4f-67b8-4836-9822-7f3d7a49081d}">
- <name>PredefinedTypes</name>
- <atom id="id-0066-0000001c" kind="Boolean" guid="{21624e4e-33bf-46e6-bafb-c2dbff497584}" relid="0x0">
- <name>Boolean</name>
- </atom>
- <atom id="id-0066-0000001d" kind="Byte" guid="{f897321b-f5a3-48aa-ad42-ecda0a33a73c}" relid="0x1">
- <name>Byte</name>
- </atom>
- <atom id="id-0066-0000001e" kind="Char" guid="{8a7bba60-cbba-4a6c-b4c9-6b03f8517374}" relid="0x2">
- <name>Char</name>
- </atom>
- <atom id="id-0066-0000001f" kind="WideChar" guid="{811777a9-c21d-4e97-a67c-06595d6dc84e}" relid="0x3">
- <name>WideChar</name>
- </atom>
- <atom id="id-0066-00000020" kind="ShortInteger" guid="{86f39706-2396-4c19-9769-ecf2d6dd351a}" relid="0x4">
- <name>ShortInteger</name>
- </atom>
- <atom id="id-0066-00000021" kind="LongInteger" guid="{5b918dcb-dcfc-49ea-958a-793b5b6a557d}" relid="0x5">
- <name>LongInteger</name>
- </atom>
- <atom id="id-0066-00000022" kind="LongLongInteger" guid="{a5eae084-74d3-4471-8325-c237a8f174b4}" relid="0x6">
- <name>LongLongInteger</name>
- </atom>
- <atom id="id-0066-00000023" kind="UnsignedShortInteger" guid="{38c33454-9166-42fc-995f-850e40641f59}" relid="0x7">
- <name>UnsignedShortInteger</name>
- </atom>
- <atom id="id-0066-00000024" kind="UnsignedLongInteger" guid="{a0a9ba26-4b6f-4606-9e6d-c71f2e1041e4}" relid="0x8">
- <name>UnsignedLongInteger</name>
- </atom>
- <atom id="id-0066-00000025" kind="UnsignedLongLongInteger" guid="{d9fd2f05-cd6b-4131-916a-60d45721ccf0}" relid="0x9">
- <name>UnsignedLongLongInteger</name>
- </atom>
- <atom id="id-0066-00000026" kind="FloatNumber" guid="{be1dd669-8265-4a58-be88-7e542e36995c}" relid="0xa">
- <name>FloatNumber</name>
- </atom>
- <atom id="id-0066-00000027" kind="DoubleNumber" guid="{822feb80-6e55-4942-a1ee-3d5e17f3aa88}" relid="0xb">
- <name>DoubleNumber</name>
- </atom>
- <atom id="id-0066-00000028" kind="LongDoubleNumber" guid="{c124809c-4f0a-4c15-a7bc-91437f0c1878}" relid="0xc">
- <name>LongDoubleNumber</name>
- </atom>
- <atom id="id-0066-00000029" kind="GenericObject" guid="{45476e41-cd4a-4254-a8cf-8b4e1d48a637}" relid="0xd">
- <name>GenericObject</name>
- </atom>
- <atom id="id-0066-0000002a" kind="GenericValue" guid="{ad0e751f-8c49-419c-88e0-fe02c235b411}" relid="0xe">
- <name>GenericValue</name>
- </atom>
- <atom id="id-0066-0000002b" kind="GenericValueObject" guid="{f1c2ae8d-fe2b-45a6-bf14-46f9ed8340d8}" relid="0xf">
- <name>GenericValueObject</name>
- </atom>
- <atom id="id-0066-0000002c" kind="String" guid="{917c9138-5ad6-4d0d-b78e-bea15c848655}" relid="0x10">
- <name>String</name>
- </atom>
- <atom id="id-0066-0000002d" kind="WideString" guid="{14ecf733-62d3-4eea-a063-6448bca9e22d}" relid="0x11">
- <name>WideString</name>
- </atom>
- </folder>
- <folder id="id-006a-0000000b" relid="0x5" childrelidcntr="0x1" kind="ConnectorImplementations" guid="{736a98a1-8f37-4a31-8542-42b8fb2920e2}">
- <name>ConnectorImplementations</name>
- <model id="id-0065-00000031" kind="ConnectorImplementationContainer" guid="{24b88e32-1436-4844-be52-e539e964dc6e}" relid="0x1" childrelidcntr="0x7">
- <name>Hello_AMI4CCM_Connector</name>
- <atom id="id-0066-0000002e" kind="ConnectorImplementation" role="ConnectorImplementation" guid="{84412451-8909-4f29-b5df-61bfd4628703}" relid="0x2">
- <name>Hello_AMI4CCM_Connector_Impl</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>306,264</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>7C9BD96C-9EA4-11DF-8DCF-000C2958D27B</value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- </atom>
- <reference id="id-0067-0000002e" kind="ConnectorType" role="ConnectorType" guid="{980752c7-a5b2-4569-baa2-a2db9fcad3f2}" relid="0x1" referred="id-0065-00000009">
- <name>ConnectorType</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>271,68</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000030" kind="ComponentImplementationArtifact" role="ComponentImplementationArtifact" guid="{ebdc1acd-79d2-43b5-b163-fd637a5012dd}" relid="0x4" referred="id-0066-00000030">
- <name>Hello_conn</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>562,207</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_AMI4CCM_MyFoo_Connector_Impl</value>
- </attribute>
- </reference>
- <reference id="id-0067-00000031" kind="ComponentServantArtifact" role="ComponentServantArtifact" guid="{0b7038e4-f8ad-4e22-a7d2-33ebfb3aa3db}" relid="0x5" referred="id-0066-0000002f">
- <name>Hello_svnt</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Packaging" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>562,340</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</value>
- </attribute>
- </reference>
- <connection id="id-0068-00000007" kind="ConnectorImplements" role="ConnectorImplements" guid="{88e39359-f858-4dfa-bd87-dba8f98a3bee}" relid="0x3">
- <name>ConnectorImplements</name>
- <regnode name="autorouterPref" isopaque="yes">
- <value>N</value>
- </regnode>
- <connpoint role="src" target="id-0066-0000002e"/>
- <connpoint role="dst" target="id-0067-0000002e"/>
- </connection>
- <connection id="id-0068-00000008" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{68f0c4cf-c059-4ded-963b-c5654e9b3351}" relid="0x6">
- <name>MonolithprimaryArtifact</name>
- <regnode name="autorouterPref" isopaque="yes">
- <value>Ew</value>
- </regnode>
- <connpoint role="src" target="id-0066-0000002e"/>
- <connpoint role="dst" target="id-0067-00000030"/>
- </connection>
- <connection id="id-0068-00000009" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{2747338e-aea4-41ce-a09d-e8c4e2254237}" relid="0x7">
- <name>MonolithprimaryArtifact</name>
- <regnode name="autorouterPref" isopaque="yes">
- <value>Ew</value>
- </regnode>
- <connpoint role="src" target="id-0066-0000002e"/>
- <connpoint role="dst" target="id-0067-00000031"/>
- </connection>
- </model>
- </folder>
- <folder id="id-006a-0000000c" relid="0x6" childrelidcntr="0x1" kind="Targets" guid="{2e388be0-cffc-4cee-b0ec-e725149d0990}">
- <name>Targets</name>
- <model id="id-0065-0000003a" kind="Domain" guid="{57fa4835-d6c9-4e77-b551-8025eb0bb088}" relid="0x1" childrelidcntr="0x2">
- <name>Domain</name>
- <attribute kind="UUID">
- <value>DA91E04C-9EA5-11DF-8000-000C2958D27B</value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000003b" kind="Node" role="Node" guid="{0eda9676-5aff-4847-a9da-79d1c84d508b}" relid="0x1" childrelidcntr="0x0">
- <name>Sender</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Target" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>251,146</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-0000003c" kind="Node" role="Node" guid="{eba6be2c-a35a-487e-acdb-ea07e1a5a229}" relid="0x2" childrelidcntr="0x0">
- <name>Receiver</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="Target" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>489,146</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </model>
- </model>
- </folder>
- <folder id="id-006a-0000000d" relid="0x7" childrelidcntr="0x1" kind="DeploymentPlans" guid="{1f4b7c7c-52b0-4cb6-9017-a4453ccd9e07}">
- <name>DeploymentPlans</name>
- <model id="id-0065-0000003d" kind="DeploymentPlan" guid="{e6ae273a-e914-4e07-b239-3290102f2733}" relid="0x1" childrelidcntr="0x8">
- <name>DeploymentPlan</name>
- <attribute kind="UUID">
- <value>EDFA1F0A-9EA5-11DF-8000-000C2958D27B</value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000039" kind="NodeReference" role="NodeReference" guid="{ca44f7c7-4f4c-46e7-8172-d653187eb682}" relid="0x1" referred="id-0065-0000003c">
- <name>Receiver</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="NodeMapping" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>438,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000003a" kind="NodeReference" role="NodeReference" guid="{5e605f52-0ae3-4b79-a9f6-956fdbfe74e7}" relid="0x2" referred="id-0065-0000003b">
- <name>Sender</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="NodeMapping" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>214,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000003b" kind="ComponentInstanceRef" role="ComponentInstanceRef" guid="{6f68ec03-0022-40e7-a568-9abd644edc2f}" relid="0x7" referred="id-0065-00000034">
- <name>ReceiverInstance</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="NodeMapping" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>397,334</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000003c" kind="ComponentInstanceRef" role="ComponentInstanceRef" guid="{f7598e48-0843-4f13-bdf7-3408e8d6bfc5}" relid="0x8" referred="id-0065-00000035">
- <name>SenderInstance</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="NodeMapping" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>159,334</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <connection id="id-0068-00000011" kind="InstanceMapping" role="InstanceMapping" guid="{e48347dc-c7f3-41dd-845b-d6ed74aed440}" relid="0x4">
- <name></name>
- <connpoint role="dst" target="id-0067-00000039"/>
- <connpoint role="src" target="id-0069-00000001"/>
- </connection>
- <connection id="id-0068-00000012" kind="InstanceMapping" role="InstanceMapping" guid="{dabe830d-e351-4178-9ab0-a65ff4c059b7}" relid="0x6">
- <name></name>
- <connpoint role="dst" target="id-0067-0000003a"/>
- <connpoint role="src" target="id-0069-00000002"/>
- </connection>
- <set id="id-0069-00000001" kind="CollocationGroup" role="CollocationGroup" guid="{06bba378-92be-4691-90ed-e70546ba889c}" relid="0x3" members="id-0067-0000003b">
- <name>DefaultGroup</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="NodeMapping" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>440,188</value>
- </regnode>
- </regnode>
- </regnode>
- </set>
- <set id="id-0069-00000002" kind="CollocationGroup" role="CollocationGroup" guid="{df5fb8f1-6a61-4e6a-ba78-7f7eeb83e086}" relid="0x5" members="id-0067-0000003c">
- <name>DefaultGroup</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="NodeMapping" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>216,188</value>
- </regnode>
- </regnode>
- </regnode>
- </set>
- </model>
- </folder>
- </folder>
-</project>
diff --git a/CIAO/connectors/ami4ccm/examples/Hello/models/Hello.xme b/CIAO/connectors/ami4ccm/examples/Hello/models/Hello.xme
deleted file mode 100644
index 588cf357179..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Hello/models/Hello.xme
+++ /dev/null
@@ -1,1787 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE project SYSTEM "mga.dtd">
-
-<project guid="{00000000-0000-0000-0000-000000000000}" cdate="Mon Aug 02 21:31:23 2010" mdate="Mon Aug 02 21:31:23 2010" version="" metaguid="{E1C7AC06-73A8-424A-B29D-6126F7456EAE}" metaversion="" metaname="PICML">
- <name>Hello</name>
- <comment></comment>
- <author></author>
- <folder id="id-006a-00000001" relid="0x1" childrelidcntr="0x4" kind="RootFolder" guid="{ce65084f-8a20-4913-b5df-de71fa3963b1}">
- <name>Hello</name>
- <folder id="id-006a-00000002" relid="0x1" childrelidcntr="0x4" libref="MGA=E:/proj/vc9/ACE_TAO_CIAO/CIAO/connectors/ami4ccm/models/ami4mga.xme" kind="RootFolder" guid="{67fcff6a-5c78-4fb8-bb90-e2cb1b5e0850}">
- <name>MGA=E:/proj/vc9/ACE_TAO_CIAO/CIAO/connectors/ami4ccm/models/ami4mga.xme</name>
- <folder id="id-006a-00000003" relid="0x0" childrelidcntr="0x2" kind="InterfaceDefinitions" guid="{fa6e56ef-350f-4d63-a704-bb958370be4f}">
- <name>InterfaceDefinitions</name>
- <model id="id-0065-00000001" kind="File" guid="{acd10219-304e-48b2-82c0-48dcc099bcce}" relid="0x0" childrelidcntr="0x1">
- <name>ami4ccm</name>
- <attribute kind="Path">
- <value>connectors/ami4ccm/ami4ccm</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000002" kind="Package" role="Package" guid="{277a914e-8292-4ebd-af59-be585a576ec3}" relid="0x0" childrelidcntr="0x5">
- <name>CCM_AMI</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000003" kind="Object" role="Object" guid="{7bf44345-f547-4a60-9797-21c3e5aa966b}" relid="0x1" childrelidcntr="0x1">
- <name>ExceptionHolder</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>181,48</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000004" kind="TwowayOperation" role="TwowayOperation" guid="{6893284f-a925-47a7-8505-861748eeb619}" relid="0x0" childrelidcntr="0x0">
- <name>raise_exception</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- </model>
- <model id="id-0065-00000005" kind="Object" role="Object" guid="{0c05efb6-cdce-4eec-aad5-f58cdbefe7ce}" relid="0x2" childrelidcntr="0x0">
- <name>ReplyHandler</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>125,167</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-00000006" kind="ConnectorObject" role="ConnectorObject" guid="{6cc87f43-65b3-460a-8735-578427e4dc33}" relid="0x3" childrelidcntr="0x0">
- <name>AMI4CCM_Base</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>306,124</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>6C31592E-9776-11DF-8DCF-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-00000007" kind="Package" role="Package" guid="{4c60a1e4-76f6-4959-81a4-4b8ae9c5e85b}" relid="0x4" childrelidcntr="0x4">
- <name>Connector_T</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>94,241</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000008" kind="PortType" role="PortType" guid="{519601ac-3bac-486a-a30d-c9c57da32fe6}" relid="0x2" childrelidcntr="0x1">
- <name>AMI4CCM_Port_Type</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>11,11</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000001d" kind="ProvidedRequestPort" role="ProvidedRequestPort" guid="{193b7ea3-3707-4089-b2b5-c5de46f7b53e}" relid="0x0" referred="id-0066-00000002">
- <name>ami4ccm_provides</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- <reference id="id-0067-0000001e" kind="RequiredRequestPort" role="RequiredRequestPort" guid="{8cb5e3f1-a436-44ac-b24a-dd634f76467b}" relid="0x0" referred="id-0066-00000001">
- <name>ami4ccm_uses</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="AsyncCommunication" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="multiple_connections">
- <value>true</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- </model>
- <model id="id-0065-00000009" kind="ConnectorObject" role="ConnectorObject" guid="{c76d2db3-d714-4393-bbaa-a2ad1eda2a70}" relid="0x3" childrelidcntr="0x1">
- <name>AMI4CCM_Connector</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>126,238</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>6C31592E-9776-11DF-8DD0-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000001" kind="ExtendedPort" role="ExtendedPort" guid="{a1976325-510c-44a1-bc08-020373ee6190}" relid="0x0" referred="id-0065-00000008">
- <name>ami4ccm_port</name>
- </reference>
- <reference id="id-0067-00000002" kind="ConnectorInherits" role="ConnectorInherits" guid="{8c2c7607-434d-40da-881f-69f14f318927}" relid="0x0" referred="id-0065-00000006">
- <name>ConnectorInherits</name>
- </reference>
- </model>
- <atom id="id-0066-00000001" kind="TypeParameter" role="TypeParameter" guid="{fadec119-3cab-4ae9-8e51-da1d4a6e196e}" relid="0x0">
- <name>T</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Type">
- <value>Object</value>
- </attribute>
- </atom>
- <atom id="id-0066-00000002" kind="TypeParameter" role="TypeParameter" guid="{629f9080-7c54-4984-a9cb-10c2feb3edfb}" relid="0x1">
- <name>AMI4CCM_T</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Type">
- <value>Object</value>
- </attribute>
- </atom>
- </model>
- <atom id="id-0066-00000003" kind="NativeValue" role="NativeValue" guid="{a5d65f0d-9b60-4e63-af6a-6c0eed8ff369}" relid="0x0">
- <name>UserExceptionBase</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>8,13</value>
- </regnode>
- </regnode>
- </regnode>
- </atom>
- </model>
- </model>
- </folder>
- <folder id="id-006a-00000004" relid="0x1" childrelidcntr="0x0" kind="ImplementationArtifacts" guid="{ffca809a-4c95-460e-827b-7c6b05c2aebb}">
- <name>ImplementationArtifacts</name>
- </folder>
- <folder id="id-006a-00000005" relid="0x2" childrelidcntr="0x0" kind="ComponentImplementations" guid="{1f9dcb7b-b621-44ec-9694-daf010f208e3}">
- <name>ComponentImplementations</name>
- </folder>
- <folder id="id-006a-00000006" relid="0x3" childrelidcntr="0x12" kind="PredefinedTypes" guid="{cfe7c868-3f0d-40e4-be54-4545ae25150c}">
- <name>PredefinedTypes</name>
- <atom id="id-0066-00000004" kind="Boolean" guid="{f80e2b06-9b8a-46cd-9e7d-52845c8299a2}" relid="0x0">
- <name>Boolean</name>
- </atom>
- <atom id="id-0066-00000005" kind="Byte" guid="{5be978d2-7777-4428-a569-b77dd3e1762b}" relid="0x1">
- <name>Byte</name>
- </atom>
- <atom id="id-0066-00000006" kind="Char" guid="{8853f41b-c010-4af4-af2c-45b51678d003}" relid="0x2">
- <name>Char</name>
- </atom>
- <atom id="id-0066-00000007" kind="WideChar" guid="{c2285983-5e85-4ddd-85b2-7625f37dde0c}" relid="0x3">
- <name>WideChar</name>
- </atom>
- <atom id="id-0066-00000008" kind="ShortInteger" guid="{587bcee5-1b31-4c33-bf46-d181882c7834}" relid="0x4">
- <name>ShortInteger</name>
- </atom>
- <atom id="id-0066-00000009" kind="LongInteger" guid="{27caa9d1-23f2-4cda-bc65-554227ea0b92}" relid="0x5">
- <name>LongInteger</name>
- </atom>
- <atom id="id-0066-0000000a" kind="LongLongInteger" guid="{48827573-7601-4351-99a9-af6edbd9aad3}" relid="0x6">
- <name>LongLongInteger</name>
- </atom>
- <atom id="id-0066-0000000b" kind="UnsignedShortInteger" guid="{69730c09-a961-48e3-9ffd-e7dfd13ee499}" relid="0x7">
- <name>UnsignedShortInteger</name>
- </atom>
- <atom id="id-0066-0000000c" kind="UnsignedLongInteger" guid="{05e538f1-6d2f-4a41-9283-bfd2e69a086d}" relid="0x8">
- <name>UnsignedLongInteger</name>
- </atom>
- <atom id="id-0066-0000000d" kind="UnsignedLongLongInteger" guid="{d1d99e53-8835-461d-bc5d-01bd37fe254f}" relid="0x9">
- <name>UnsignedLongLongInteger</name>
- </atom>
- <atom id="id-0066-0000000e" kind="FloatNumber" guid="{a4536e8e-9244-4eb7-af77-155fe81e1951}" relid="0xa">
- <name>FloatNumber</name>
- </atom>
- <atom id="id-0066-0000000f" kind="DoubleNumber" guid="{1159d43b-5188-4e29-8f35-b289b190fe84}" relid="0xb">
- <name>DoubleNumber</name>
- </atom>
- <atom id="id-0066-00000010" kind="LongDoubleNumber" guid="{40e9e419-71b5-4471-8d24-04c3c1a76d52}" relid="0xc">
- <name>LongDoubleNumber</name>
- </atom>
- <atom id="id-0066-00000011" kind="GenericObject" guid="{b7e63725-fb59-4f8b-9d1c-db301ae68530}" relid="0xd">
- <name>GenericObject</name>
- </atom>
- <atom id="id-0066-00000012" kind="GenericValue" guid="{1983baff-f9d7-48a7-a126-25d760b02933}" relid="0xe">
- <name>GenericValue</name>
- </atom>
- <atom id="id-0066-00000013" kind="GenericValueObject" guid="{b658cb8c-9e5f-4424-87f4-6cab67a02bd3}" relid="0xf">
- <name>GenericValueObject</name>
- </atom>
- <atom id="id-0066-00000014" kind="String" guid="{22a47e29-ad33-4b09-9615-517a82d633ab}" relid="0x10">
- <name>String</name>
- </atom>
- <atom id="id-0066-00000015" kind="WideString" guid="{24e2db4b-74a1-4cb7-bcc0-fbbfe7b7c045}" relid="0x11">
- <name>WideString</name>
- </atom>
- </folder>
- </folder>
- <folder id="id-006a-00000007" relid="0x0" childrelidcntr="0x4" kind="InterfaceDefinitions" guid="{94b6602a-e70a-41f6-af82-18052cd26ade}">
- <name>InterfaceDefinitions</name>
- <model id="id-0065-0000000a" kind="File" guid="{9c78c4e5-90ad-4dd4-9983-ddc2a3775aac}" relid="0x0" childrelidcntr="0x1">
- <name>Hello</name>
- <attribute kind="Path">
- <value>Base</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000000b" kind="Package" role="Package" guid="{80e50f21-08ab-4121-885a-e8ab55b17064}" relid="0x0" childrelidcntr="0x2">
- <name>Hello</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000000c" kind="Exception" role="Exception" guid="{a7453bc5-745f-4879-a086-717eb813681d}" relid="0x0" childrelidcntr="0x1">
- <name>InternalError</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000001f" kind="Member" role="Member" guid="{47ae8852-cffa-46f5-aaf2-80fb271799aa}" relid="0x0" referred="id-0066-00000021">
- <name>id</name>
- </reference>
- <reference id="id-0067-00000020" kind="Member" role="Member" guid="{0ef73015-3113-428b-8d16-6537b0dedccc}" relid="0x0" referred="id-0066-0000002c">
- <name>error_string</name>
- </reference>
- </model>
- <model id="id-0065-0000000d" kind="Object" role="Object" guid="{33cadd62-f1b4-47a0-ae50-91777184b5f0}" relid="0x1" childrelidcntr="0x4">
- <name>MyFoo</name>
- <attribute kind="InterfaceSemantics" status="meta">
- <value>standard</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000000e" kind="TwowayOperation" role="TwowayOperation" guid="{5afba86d-007c-4b0e-bb3f-1d139f214d15}" relid="0x0" childrelidcntr="0x1">
- <name>foo</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000003" kind="ExceptionRef" role="ExceptionRef" guid="{a9d4a1c6-8bb9-4f5a-8e0a-51904261f0b6}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>360,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000021" kind="ReturnType" role="ReturnType" guid="{005117f9-1906-48e2-9fb8-92dd56574ce6}" relid="0x0" referred="id-0066-00000021">
- <name>ReturnType</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000022" kind="InParameter" role="InParameter" guid="{7aac551c-8718-439e-bee3-0404fa36779c}" relid="0x0" referred="id-0066-0000002c">
- <name>in_str</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000023" kind="OutParameter" role="OutParameter" guid="{67ce8e3a-e5cd-47ab-8a4a-20e2986a6a00}" relid="0x0" referred="id-0066-0000002c">
- <name>answer</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>260,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000000f" kind="TwowayOperation" role="TwowayOperation" guid="{e8aa47fc-3725-45d9-af7c-29aba98d7fe2}" relid="0x1" childrelidcntr="0x1">
- <name>hello</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000004" kind="ExceptionRef" role="ExceptionRef" guid="{04a4785b-6ba3-4bf8-b883-d4f5ca40f227}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000024" kind="OutParameter" role="OutParameter" guid="{7be525e3-b4fa-47fd-a8d6-664c8c1e524b}" relid="0x0" referred="id-0066-00000021">
- <name>answer</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000010" kind="Attribute" role="Attribute" guid="{8a87ce2d-8f68-46cf-a576-f50a006fb087}" relid="0x2" childrelidcntr="0x1">
- <name>rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,260</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000005" kind="GetException" role="GetException" guid="{2d646138-337c-4f78-be69-15dc3aecbde0}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000006" kind="SetException" role="SetException" guid="{50578046-f65f-438a-a1f5-f07dcdfd530f}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>260,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000025" kind="AttributeMember" role="AttributeMember" guid="{6b57d5d2-1f28-46b7-aebd-067d081c81e3}" relid="0x0" referred="id-0066-00000020">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000011" kind="ReadonlyAttribute" role="ReadonlyAttribute" guid="{1d7e064e-3d3b-4da1-826a-434cca1ca0ed}" relid="0x3" childrelidcntr="0x1">
- <name>ro_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,360</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000007" kind="GetException" role="GetException" guid="{c4bdb478-3127-4643-9208-ebedb54aed00}" relid="0x0" referred="id-0065-0000000c">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000026" kind="AttributeMember" role="AttributeMember" guid="{cc82195d-1245-4367-a3d3-a66a3f745e94}" relid="0x0" referred="id-0066-00000020">
- <name></name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- </model>
- </model>
- </model>
- <model id="id-0065-00000012" kind="File" guid="{8b10602c-1e08-416f-be18-b28c63116680}" relid="0x1" childrelidcntr="0x1">
- <name>HelloA</name>
- <attribute kind="Path">
- <value>Base</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000013" kind="Package" role="Package" guid="{924b56ad-1afc-4bc4-bd3c-09ddb8b99f8a}" relid="0x0" childrelidcntr="0x3">
- <name>Hello</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000014" kind="Object" role="Object" guid="{b8d7ccfb-9844-47d7-8130-16ef0368cb8b}" relid="0x0" childrelidcntr="0xa">
- <name>AMI4CCM_MyFooReplyHandler</name>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000015" kind="TwowayOperation" role="TwowayOperation" guid="{60fe58fb-7abe-4ecf-85d4-b9f03d777b16}" relid="0x0" childrelidcntr="0x1">
- <name>foo</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000027" kind="InParameter" role="InParameter" guid="{b0e88da1-af88-45a2-8616-45b4836f3ec7}" relid="0x0" referred="id-0066-00000021">
- <name>ami_return_val</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000028" kind="InParameter" role="InParameter" guid="{992e730f-67ee-4f61-8ed8-0149b3a91f6a}" relid="0x0" referred="id-0066-0000002c">
- <name>answer</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000016" kind="TwowayOperation" role="TwowayOperation" guid="{3898107b-6fe6-4920-b264-d40313004502}" relid="0x1" childrelidcntr="0x1">
- <name>foo_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000008" kind="InParameter" role="InParameter" guid="{4e710fdf-8b88-4f75-8dd2-877349e60569}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000017" kind="TwowayOperation" role="TwowayOperation" guid="{a0c9b966-75db-40a1-9730-3608b46d3ce2}" relid="0x2" childrelidcntr="0x1">
- <name>hello</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,260</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000029" kind="InParameter" role="InParameter" guid="{f575d59f-404e-44ac-b989-4f38664e853e}" relid="0x0" referred="id-0066-00000021">
- <name>answer</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000018" kind="TwowayOperation" role="TwowayOperation" guid="{3cf710b3-a938-49aa-9560-05513a76669a}" relid="0x3" childrelidcntr="0x1">
- <name>hello_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,360</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000009" kind="InParameter" role="InParameter" guid="{3aaf9386-5e08-4335-93be-8097a196dc63}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000019" kind="TwowayOperation" role="TwowayOperation" guid="{5d883f49-dead-4304-afc0-c613e2922294}" relid="0x4" childrelidcntr="0x1">
- <name>get_rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,460</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000002a" kind="InParameter" role="InParameter" guid="{cf69dd66-bcc6-4ee0-85c1-67b52d99839b}" relid="0x0" referred="id-0066-00000020">
- <name>rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000001a" kind="TwowayOperation" role="TwowayOperation" guid="{50e0e853-b807-4a83-a8dc-72c8999b0ef5}" relid="0x5" childrelidcntr="0x1">
- <name>get_rw_attrib_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,560</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000a" kind="InParameter" role="InParameter" guid="{962c6666-9c12-4220-a5d2-fce39a3d6e27}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000001b" kind="TwowayOperation" role="TwowayOperation" guid="{fe4397f4-c449-4c91-91ca-af54c15e2d87}" relid="0x6" childrelidcntr="0x0">
- <name>set_rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,660</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-0000001c" kind="TwowayOperation" role="TwowayOperation" guid="{1f574a89-e285-4aef-844b-852e19330a61}" relid="0x7" childrelidcntr="0x1">
- <name>set_rw_attrib_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,760</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000b" kind="InParameter" role="InParameter" guid="{4b575295-c287-4682-999c-36b4db48be7e}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000001d" kind="TwowayOperation" role="TwowayOperation" guid="{367ca67d-825f-458d-8735-99862cf078c5}" relid="0x8" childrelidcntr="0x1">
- <name>get_ro_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,860</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000002b" kind="InParameter" role="InParameter" guid="{e05c2284-6318-4b6c-bce8-8ed8634ba8b3}" relid="0x0" referred="id-0066-00000020">
- <name>ro_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-0000001e" kind="TwowayOperation" role="TwowayOperation" guid="{88812ed2-d7af-4b23-8a42-32f0fbcc7cbe}" relid="0x9" childrelidcntr="0x1">
- <name>get_ro_attrib_excep</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,960</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000c" kind="InParameter" role="InParameter" guid="{017da141-b6c4-4131-a411-488641f013ae}" relid="0x0" referred="id-0065-00000003">
- <name>excep_holder</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- </model>
- <model id="id-0065-0000001f" kind="Object" role="Object" guid="{22920ab5-2ce4-404f-845b-b498dcde6cec}" relid="0x1" childrelidcntr="0x5">
- <name>AMI4CCM_MyFoo</name>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000020" kind="TwowayOperation" role="TwowayOperation" guid="{aec86c89-6fb6-46de-9c6c-7d2bcca4fddd}" relid="0x0" childrelidcntr="0x1">
- <name>sendc_foo</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000d" kind="InParameter" role="InParameter" guid="{651ea616-cf90-49fa-9925-a641fedb1e2d}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000002c" kind="InParameter" role="InParameter" guid="{0fac0a6a-9f3d-42a9-a077-da8894a9e346}" relid="0x0" referred="id-0066-0000002c">
- <name>in_str</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000021" kind="TwowayOperation" role="TwowayOperation" guid="{28cdfb2e-5535-4e1b-a8fe-a5bc9023bf67}" relid="0x1" childrelidcntr="0x1">
- <name>sendc_hello</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000e" kind="InParameter" role="InParameter" guid="{89f02414-98e7-4616-aa03-02b68e92d24d}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000022" kind="TwowayOperation" role="TwowayOperation" guid="{a0b5652a-d52e-4ef9-9ac6-3ebc7ee7292c}" relid="0x2" childrelidcntr="0x1">
- <name>sendc_set_rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,260</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-0000000f" kind="InParameter" role="InParameter" guid="{889f520e-6ada-4d12-a2f8-6e3cccedd2d6}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000002d" kind="InParameter" role="InParameter" guid="{1a69ce67-dd32-40b6-b7e1-7e7bfb80a7b7}" relid="0x0" referred="id-0066-00000020">
- <name>rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000023" kind="TwowayOperation" role="TwowayOperation" guid="{79b99673-99df-40ad-b950-829c92a7fa0f}" relid="0x3" childrelidcntr="0x1">
- <name>sendc_get_rw_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,360</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000010" kind="InParameter" role="InParameter" guid="{e28972c7-2baa-4893-a239-9bd08985654e}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- <model id="id-0065-00000024" kind="TwowayOperation" role="TwowayOperation" guid="{8307a487-d44f-4a65-be6f-adad14e05bae}" relid="0x4" childrelidcntr="0x1">
- <name>sendc_get_ro_attrib</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,460</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000011" kind="InParameter" role="InParameter" guid="{c06a4ac8-6daf-4b20-9fef-84085f1e87f5}" relid="0x0" referred="id-0065-00000014">
- <name>ami_handler</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- </model>
- <model id="id-0065-00000025" kind="TemplatePackageInstance" role="TemplatePackageInstance" guid="{ccb0224b-92fb-436e-9079-94f61d63f573}" relid="0x2" childrelidcntr="0x1">
- <name>AMI4CCM_MyFoo_Connector</name>
- <reference id="id-0067-00000012" kind="PackageType" role="PackageType" guid="{fe1fb863-6e0c-4d9a-96a9-4f61cc48a589}" relid="0x0" referred="id-0065-00000007">
- <name>PackageType</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000013" kind="TemplateParameterValue" role="TemplateParameterValue" guid="{e5bdc6bd-ab49-4065-85b1-89e8745a6a26}" relid="0x0" referred="id-0065-0000000d">
- <name>TemplateParameterValue</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000014" kind="TemplateParameterValue" role="TemplateParameterValue" guid="{c7ab6105-fd7c-4fa9-993d-720f33a0df69}" relid="0x0" referred="id-0065-0000001f">
- <name>TemplateParameterValue</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>260,60</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- </model>
- </model>
- </model>
- <model id="id-0065-00000026" kind="File" guid="{2ccdfcfe-3da8-4f3e-8cb3-609931fd37e2}" relid="0x2" childrelidcntr="0x1">
- <name>Hello_Receiver</name>
- <attribute kind="Path">
- <value>Receiver</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000027" kind="Package" role="Package" guid="{901e5612-13eb-4b60-9f33-6f146abfdaa2}" relid="0x0" childrelidcntr="0x1">
- <name>Hello</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000028" kind="Component" role="Component" guid="{490eded6-64e6-41d2-a947-04109146a345}" relid="0x0" childrelidcntr="0x1">
- <name>Receiver</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>D836B6C6-9E9E-11DF-8DCF-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000015" kind="ProvidedRequestPort" role="ProvidedRequestPort" guid="{4162dfc9-108e-4140-a403-c567eb1dabe6}" relid="0x0" referred="id-0065-0000000d">
- <name>do_my_foo</name>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- </model>
- </model>
- </model>
- <model id="id-0065-00000029" kind="File" guid="{4fa81989-89ce-4a99-92a1-779e7da8af1b}" relid="0x3" childrelidcntr="0x1">
- <name>Hello_Sender</name>
- <attribute kind="Path">
- <value>Sender</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000002a" kind="Package" role="Package" guid="{9b7ac65f-a7df-4f59-aef7-14450a9c5ba1}" relid="0x0" childrelidcntr="0x1">
- <name>Hello</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-0000002b" kind="Component" role="Component" guid="{29d9ec33-789e-4bfd-801d-9a4f739662db}" relid="0x0" childrelidcntr="0x1">
- <name>Sender</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>D836B6C6-9E9E-11DF-8DD0-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000016" kind="RequiredRequestPort" role="RequiredRequestPort" guid="{7717c7be-77e5-44e2-bfa3-e58ab536da48}" relid="0x0" referred="id-0065-0000000d">
- <name>run_my_foo</name>
- <attribute kind="AsyncCommunication" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="multiple_connections">
- <value>false</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- </model>
- </model>
- </model>
- </folder>
- <folder id="id-006a-00000008" relid="0x1" childrelidcntr="0x2" kind="ImplementationArtifacts" guid="{2d509b93-b327-41e0-84c4-2961abcc0ad0}">
- <name>ImplementationArtifacts</name>
- <model id="id-0065-0000002c" kind="ArtifactContainer" guid="{d0a94870-978f-4074-8b0c-69cbf631cf6c}" relid="0x0" childrelidcntr="0x2">
- <name>Hello_ReceiverArtifacts</name>
- <atom id="id-0066-00000016" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{821ccf0d-0b5c-494b-a595-647a456f51a3}" relid="0x0">
- <name>Hello_Receiver_svnt</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>150,150</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>D836B6C6-9E9E-11DF-8DD1-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_Receiver_svnt</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- <atom id="id-0066-00000017" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{83889476-321e-4b4c-9737-9bd5a0bcd066}" relid="0x1">
- <name>Hello_Receiver_exec</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>450,150</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>D836B6C6-9E9E-11DF-8DD2-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_Receiver_exec</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- </model>
- <model id="id-0065-0000002d" kind="ArtifactContainer" guid="{003853d8-5d4b-411c-8571-633fb0ec78ec}" relid="0x1" childrelidcntr="0x2">
- <name>Hello_SenderArtifacts</name>
- <atom id="id-0066-00000018" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{41442cb1-49ba-4939-83f2-ce11d084d660}" relid="0x0">
- <name>Hello_Sender_svnt</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>150,150</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>D836B6C6-9E9E-11DF-8DD3-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_Sender_svnt</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- <atom id="id-0066-00000019" kind="ImplementationArtifact" role="ImplementationArtifact" guid="{b39c2b6b-f6b3-4bf2-85de-4cdeff3e9b51}" relid="0x1">
- <name>Hello_Sender_exec</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>450,150</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>D836B6C6-9E9E-11DF-8DD4-000C2958D27B</value>
- </attribute>
- <attribute kind="architecture" status="meta">
- <value></value>
- </attribute>
- <attribute kind="artifactVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="configuration" status="meta">
- <value></value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- <attribute kind="location">
- <value>Hello_Sender_exec</value>
- </attribute>
- <attribute kind="operatingSystem" status="meta">
- <value></value>
- </attribute>
- </atom>
- </model>
- </folder>
- <folder id="id-006a-00000009" relid="0x2" childrelidcntr="0x2" kind="ComponentImplementations" guid="{b0bbce7f-42c1-4f47-bf97-997ab34dde83}">
- <name>ComponentImplementations</name>
- <model id="id-0065-0000002e" kind="ComponentImplementationContainer" guid="{0e66a100-2ba1-4d3c-b2c5-15b19ad510e3}" relid="0x0" childrelidcntr="0x4">
- <name>Hello_ReceiverImpl</name>
- <atom id="id-0066-0000001a" kind="MonolithicImplementation" role="MonolithicImplementation" guid="{b89e635d-a5c0-46d6-9211-bd19aeb5f9cf}" relid="0x0">
- <name>Hello_ReceiverImpl</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>250,250</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>D836B6C6-9E9E-11DF-8DD5-000C2958D27B</value>
- </attribute>
- <attribute kind="defaultVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- </atom>
- <reference id="id-0067-00000017" kind="ComponentRef" role="ComponentRef" guid="{272d02cb-c3d0-41b4-92f9-8ac02ef66673}" relid="0x1" referred="id-0065-00000028">
- <name>Receiver</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>187,75</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-00000018" kind="ComponentServantArtifact" role="ComponentServantArtifact" guid="{02f929c8-05eb-44d9-95b5-04c349d2b8a1}" relid="0x2" referred="id-0066-00000016">
- <name>Hello_Receiver_svnt</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>506,347</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_Receiver_Servant</value>
- </attribute>
- </reference>
- <reference id="id-0067-00000019" kind="ComponentImplementationArtifact" role="ComponentImplementationArtifact" guid="{99710e65-73b7-4748-b8df-18610174ca8b}" relid="0x3" referred="id-0066-00000017">
- <name>Hello_Receiver_exec</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>506,151</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_Receiver_Impl</value>
- </attribute>
- </reference>
- <connection id="id-0068-00000001" kind="Implements" role="Implements" guid="{711a5283-57b0-450f-b64d-cf753c82e3d8}" relid="0x1">
- <name></name>
- <connpoint role="src" target="id-0066-0000001a"/>
- <connpoint role="dst" target="id-0067-00000017"/>
- </connection>
- <connection id="id-0068-00000002" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{6eaa4cd3-a238-4cd2-abd9-012861120c39}" relid="0x2">
- <name></name>
- <connpoint role="src" target="id-0066-0000001a"/>
- <connpoint role="dst" target="id-0067-00000018"/>
- </connection>
- <connection id="id-0068-00000003" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{b8e9837b-5894-44b1-8bd5-df8b8076b304}" relid="0x3">
- <name></name>
- <connpoint role="src" target="id-0066-0000001a"/>
- <connpoint role="dst" target="id-0067-00000019"/>
- </connection>
- </model>
- <model id="id-0065-0000002f" kind="ComponentImplementationContainer" guid="{4bcd76cd-5d6f-49f6-808e-ae456ae080ba}" relid="0x1" childrelidcntr="0x4">
- <name>Hello_SenderImpl</name>
- <atom id="id-0066-0000001b" kind="MonolithicImplementation" role="MonolithicImplementation" guid="{f7fc7e23-9424-4985-8a00-0b6cb40a8ee3}" relid="0x0">
- <name>Hello_SenderImpl</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>250,250</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="UUID">
- <value>D836B6C6-9E9E-11DF-8DD6-000C2958D27B</value>
- </attribute>
- <attribute kind="defaultVersion" status="meta">
- <value>0.0.0.0</value>
- </attribute>
- <attribute kind="label" status="meta">
- <value></value>
- </attribute>
- </atom>
- <reference id="id-0067-0000001a" kind="ComponentRef" role="ComponentRef" guid="{d89e8dbf-7043-4356-a54a-becf35f8b011}" relid="0x1" referred="id-0065-0000002b">
- <name>Sender</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>187,75</value>
- </regnode>
- </regnode>
- </regnode>
- </reference>
- <reference id="id-0067-0000001b" kind="ComponentServantArtifact" role="ComponentServantArtifact" guid="{5e48c214-9b91-43a2-b570-d77c2ab3dc66}" relid="0x2" referred="id-0066-00000018">
- <name>Hello_Sender_svnt</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>506,347</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_Sender_Servant</value>
- </attribute>
- </reference>
- <reference id="id-0067-0000001c" kind="ComponentImplementationArtifact" role="ComponentImplementationArtifact" guid="{6c2ee09e-04ef-4808-9a76-5309ed53ea1a}" relid="0x3" referred="id-0066-00000019">
- <name>Hello_Sender_exec</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="Packaging" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>506,151</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="EntryPoint">
- <value>create_Hello_Sender_Impl</value>
- </attribute>
- </reference>
- <connection id="id-0068-00000004" kind="Implements" role="Implements" guid="{eca6ae0d-6897-44a2-83a4-6f3dde7ddf51}" relid="0x1">
- <name></name>
- <connpoint role="src" target="id-0066-0000001b"/>
- <connpoint role="dst" target="id-0067-0000001a"/>
- </connection>
- <connection id="id-0068-00000005" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{0c298c21-d206-4eff-b102-83342eac3849}" relid="0x2">
- <name></name>
- <connpoint role="src" target="id-0066-0000001b"/>
- <connpoint role="dst" target="id-0067-0000001b"/>
- </connection>
- <connection id="id-0068-00000006" kind="MonolithprimaryArtifact" role="MonolithprimaryArtifact" guid="{c4d658b7-2196-411e-9d53-ab2414e92940}" relid="0x3">
- <name></name>
- <connpoint role="src" target="id-0066-0000001b"/>
- <connpoint role="dst" target="id-0067-0000001c"/>
- </connection>
- </model>
- </folder>
- <folder id="id-006a-0000000a" relid="0x3" childrelidcntr="0x12" kind="PredefinedTypes" guid="{e7bcd120-80e2-46ca-9ed4-7c313076eb46}">
- <name>PredefinedTypes</name>
- <atom id="id-0066-0000001c" kind="Boolean" guid="{6712cfd8-d6f2-4d5e-b1e8-c74cad99bcf6}" relid="0x0">
- <name>Boolean</name>
- </atom>
- <atom id="id-0066-0000001d" kind="Byte" guid="{563f04df-54d8-49cd-9dd0-07f7d02d22e6}" relid="0x1">
- <name>Byte</name>
- </atom>
- <atom id="id-0066-0000001e" kind="Char" guid="{89060102-b87a-4bb5-b206-efc25413757e}" relid="0x2">
- <name>Char</name>
- </atom>
- <atom id="id-0066-0000001f" kind="WideChar" guid="{8423a221-522a-437d-81d4-ac9a827ddafb}" relid="0x3">
- <name>WideChar</name>
- </atom>
- <atom id="id-0066-00000020" kind="ShortInteger" guid="{a6a7ee53-a0d2-4de8-a38e-24373c662292}" relid="0x4">
- <name>ShortInteger</name>
- </atom>
- <atom id="id-0066-00000021" kind="LongInteger" guid="{97df04a3-7fb6-4e5e-8e20-11228a66ed5e}" relid="0x5">
- <name>LongInteger</name>
- </atom>
- <atom id="id-0066-00000022" kind="LongLongInteger" guid="{fccf86ef-af16-457c-acfc-2b885f745805}" relid="0x6">
- <name>LongLongInteger</name>
- </atom>
- <atom id="id-0066-00000023" kind="UnsignedShortInteger" guid="{8b30eb4d-5cd0-4333-9081-9532141ed5c2}" relid="0x7">
- <name>UnsignedShortInteger</name>
- </atom>
- <atom id="id-0066-00000024" kind="UnsignedLongInteger" guid="{d6b348e0-b267-46f5-8209-7542d0300122}" relid="0x8">
- <name>UnsignedLongInteger</name>
- </atom>
- <atom id="id-0066-00000025" kind="UnsignedLongLongInteger" guid="{fd1465d5-57d9-40cd-8195-99c68aa97408}" relid="0x9">
- <name>UnsignedLongLongInteger</name>
- </atom>
- <atom id="id-0066-00000026" kind="FloatNumber" guid="{bb89b6c1-6eee-4fc5-9d80-1f567dd981d2}" relid="0xa">
- <name>FloatNumber</name>
- </atom>
- <atom id="id-0066-00000027" kind="DoubleNumber" guid="{7c89645a-ac71-46a3-975e-977bab3211e3}" relid="0xb">
- <name>DoubleNumber</name>
- </atom>
- <atom id="id-0066-00000028" kind="LongDoubleNumber" guid="{45bafb51-a5b5-46bc-92ef-2c42a1e94e36}" relid="0xc">
- <name>LongDoubleNumber</name>
- </atom>
- <atom id="id-0066-00000029" kind="GenericObject" guid="{60aaf762-006b-4891-b4f0-54c0ff22cf66}" relid="0xd">
- <name>GenericObject</name>
- </atom>
- <atom id="id-0066-0000002a" kind="GenericValue" guid="{13a1e8d0-66c8-4a85-8e70-11cda3dfbd23}" relid="0xe">
- <name>GenericValue</name>
- </atom>
- <atom id="id-0066-0000002b" kind="GenericValueObject" guid="{09436d03-28be-4833-a6e9-6d122cdf5a29}" relid="0xf">
- <name>GenericValueObject</name>
- </atom>
- <atom id="id-0066-0000002c" kind="String" guid="{e1b14e6d-48c6-4070-aedc-60e4ef765658}" relid="0x10">
- <name>String</name>
- </atom>
- <atom id="id-0066-0000002d" kind="WideString" guid="{4f396afa-9443-4b04-b4ec-f8ee10b2adb8}" relid="0x11">
- <name>WideString</name>
- </atom>
- </folder>
- </folder>
-</project>
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Base/Quoter.idl b/CIAO/connectors/ami4ccm/examples/Quoter/Base/Quoter.idl
deleted file mode 100644
index 1d0d6ab19d4..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Base/Quoter.idl
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef QUOTER_IDL
-#define QUOTER_IDL
-
-#pragma ciao lem "Base/QuoterE.idl"
-#pragma ciao ami4ccm interface "Quoter::StockManager"
-#pragma ciao lem "Base/QuoterAE.idl"
-#pragma ciao ami4ccm idl "Base/QuoterA.idl"
-
-module Quoter
-{
- exception InvalidStock { string sym; };
-
- interface StockManager {
- attribute string stock_exchange_name;
-
- boolean add_stock(in string symbol, in double quote);
- void edit_stock(in string symbol, in double new_quote)
- raises(InvalidStock);
- void remove_stock(in string symbol, out double quote)
- raises(InvalidStock);
-
- boolean find_closest_symbol(inout string symbol);
- double get_quote(in string symbol) raises(InvalidStock);
- };
-
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Base/Quoter.mpc b/CIAO/connectors/ami4ccm/examples/Quoter/Base/Quoter.mpc
deleted file mode 100644
index b94bbc8fd2b..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Base/Quoter.mpc
+++ /dev/null
@@ -1,190 +0,0 @@
-project(AMI_Quoter_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=QUOTER_STUB_Export \
- -Wb,stub_export_include=Quoter_stub_export.h \
- -Wb,skel_export_macro=QUOTER_SKEL_Export \
- -Wb,skel_export_include=Quoter_skel_export.h \
- -Wb,conn_export_macro=QUOTER_CONN_Export \
- -Wb,conn_export_include=Quoter_conn_export.h \
- -Wb,exec_export_macro=QUOTER_EXEC_Export \
- -Wb,exec_export_include=Quoter_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- Quoter.idl
- }
-}
-
-project(AMI_Quoter_lem_gen) : ciaoidldefaults {
- after += AMI_Quoter_idl_gen AMI_Quoter_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=QUOTER_LEM_STUB_Export \
- -Wb,export_include=Quoter_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- QuoterE.idl
- }
-}
-
-project(AMI_Quoter_lema_gen) : ciaoidldefaults {
- after += AMI_Quoter_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=QUOTER_STUB_Export \
- -Wb,stub_export_include=Quoter_stub_export.h \
- -Wb,conn_export_macro=QUOTER_CONN_Export \
- -Wb,conn_export_include=Quoter_conn_export.h \
- -Wb,svnt_export_macro=QUOTER_SVNT_Export \
- -Wb,svnt_export_include=Quoter_svnt_export.h \
- -Wb,skel_export_macro=QUOTER_SKEL_Export \
- -Wb,skel_export_include=Quoter_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- QuoterA.idl
- }
-}
-
-project(AMI_Quoter_lemae_gen) : ciaoidldefaults {
- after += AMI_Quoter_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=QUOTER_LEM_STUB_Export \
- -Wb,stub_export_include=Quoter_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- QuoterAE.idl
- }
-}
-
-project(AMI_Quoter_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_Quoter_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = Quoter_stub
- dynamicflags += QUOTER_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- QuoterC.cpp
- QuoterAC.cpp
- }
-
- Header_Files {
- QuoterC.h
- Quoter_stub_export.h
-}
-
- Inline_Files {
- QuoterC.inl
- }
-}
-
-project(AMI_Quoter_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_Quoter_lem_gen AMI_Quoter_stub AMI_Quoter_lemae_gen AMI_Quoter_skel
- libs += Quoter_stub Quoter_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = Quoter_lem_stub
- dynamicflags += QUOTER_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- QuoterEC.cpp
- QuoterAEC.cpp
- }
-
- Header_Files {
- QuoterEC.h
- Quoter_lem_stub_export.h
-}
-
- Inline_Files {
- QuoterEC.inl
- }
-}
-
-project(AMI_Quoter_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_Quoter_stub
- sharedname = Quoter_skel
- libs += Quoter_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += QUOTER_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- QuoterS.cpp
- QuoterAS.cpp
- }
-
- Header_Files {
- QuoterS.h
- Quoter_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Quoter_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_Quoter_lem_stub Quoter_Base_AMI_stub AMI_Quoter_skel AMI_Quoter_lema_gen AMI_Quoter_lemae_gen
- sharedname = Quoter_conn
- libs += Quoter_stub Quoter_skel Quoter_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += QUOTER_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- QuoterA_conn.cpp
- }
-
- Header_Files {
- QuoterA_conn.h
- Quoter_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Quoter_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_Quoter_lem_stub Quoter_Base_AMI_stub AMI_Quoter_skel AMI_Quoter_lema_gen AMI_Quoter_lemae_gen AMI_Quoter_conn
- sharedname = Quoter_svnt
- libs += Quoter_stub Quoter_skel Quoter_lem_stub Quoter_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += QUOTER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- QuoterA_svnt.cpp
- }
-
- Header_Files {
- QuoterA_svnt.h
- QuoterA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client.idl b/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client.idl
deleted file mode 100644
index 35b632bd3fa..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef QUOTER_CLIENT_IDL
-#define QUOTER_CLIENT_IDL
-
-#include <Components.idl>
-
-#include "Base/Quoter.idl"
-
-#pragma ciao ami4ccm receptacle "Quoter::Client::my_quoter"
-
-module Quoter
-{
- component Client
- {
- /// For synchronous invocation
- uses StockManager my_quoter;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client.mpc b/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client.mpc
deleted file mode 100644
index cb421632929..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p Quoter_Base Quoter_Client"
-
-project(AMI_Quoter_Client_idl_gen) : componentidldefaults {
- after += AMI_Quoter_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=QUOTER_CLIENT_STUB_Export \
- -Wb,stub_export_include=Quoter_Client_stub_export.h \
- -Wb,skel_export_macro=QUOTER_CLIENT_SVNT_Export \
- -Wb,skel_export_include=Quoter_Client_svnt_export.h \
- -Wb,exec_export_macro=QUOTER_CLIENT_EXEC_Export \
- -Wb,exec_export_include=Quoter_Client_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- Quoter_Client.idl
- }
-}
-
-project(AMI_Quoter_Client_lem_gen) : ciaoidldefaults {
- after += AMI_Quoter_Client_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=QUOTER_CLIENT_LEM_STUB_Export \
- -Wb,stub_export_include=Quoter_Client_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- Quoter_ClientE.idl
- }
-}
-
-project(AMI_Quoter_Client_lem_stub) : ccm_svnt, ami {
- after += AMI_Quoter_Client_lem_gen AMI_Quoter_stub
- libs += Quoter_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Quoter_Client_lem_stub
- dynamicflags += QUOTER_CLIENT_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Quoter_ClientEC.cpp
- }
-
- Header_Files {
- Quoter_ClientEC.h
- Quoter_Client_lem_stub_export.h
- }
-
- Inline_Files {
- Quoter_ClientEC.inl
- }
-}
-
-project(AMI_Quoter_Client_stub) : ccm_stub, ami {
- after += AMI_Quoter_Client_idl_gen AMI_Quoter_stub
- libs += Quoter_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Quoter_Client_stub
- dynamicflags += QUOTER_CLIENT_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Quoter_ClientC.cpp
- }
-
- Header_Files {
- Quoter_ClientC.h
- Quoter_Client_stub_export.h
- }
-
- Inline_Files {
- Quoter_ClientC.inl
- }
-}
-
-project(AMI_Quoter_Client_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_Quoter_Client_lem_stub AMI_Quoter_Client_stub AMI_Quoter_lem_stub
- sharedname = Quoter_Client_exec
- libs += Quoter_Client_stub Quoter_Client_lem_stub Quoter_stub Quoter_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += QUOTER_CLIENT_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Quoter_Client_exec.cpp
- }
-
- Header_Files {
- Quoter_Client_exec.h
- Quoter_Client_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Quoter_Client_svnt) : ciao_servant, ami {
- after += AMI_Quoter_skel AMI_Quoter_Client_lem_stub AMI_Quoter_Client_stub AMI_Quoter_exec AMI_Quoter_skel
- sharedname = Quoter_Client_svnt
- libs += Quoter_Client_stub Quoter_Client_lem_stub \
- Quoter_skel \
- Quoter_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += QUOTER_CLIENT_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Quoter_ClientS.cpp
- Quoter_Client_svnt.cpp
- }
-
- Header_Files {
- Quoter_ClientS.h
- Quoter_Client_svnt.h
- Quoter_Client_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client_exec.cpp b/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client_exec.cpp
deleted file mode 100644
index 3c2af384de0..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client_exec.cpp
+++ /dev/null
@@ -1,303 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v2.0.0
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Quoter_Client_exec.h"
-
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_Quoter_Client_Impl
-{
-
- //============================================================
- // Worker thread for asynchronous invocations
- //============================================================
- asynch_quoter_generator::asynch_quoter_generator (
- ::Quoter::CCM_Client_Context_ptr context)
- : context_(::Quoter::CCM_Client_Context::_duplicate (context))
- {
- }
-
- int asynch_quoter_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::Quoter::AMI4CCM_StockManager_var my_quoter_ami_ =
- context_->get_connection_sendc_my_quoter();
-
- if (CORBA::is_nil (my_quoter_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR Client (ASYNCH) :")
- ACE_TEXT("\tmy_quoter_ami_ is NIL !!!\n")));
- return 1;
- }
- ::Quoter::CCM_AMI4CCM_StockManagerReplyHandler_var cb =
- new AMI4CCM_StockManagerReplyHandler_my_quoter_i ();
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Client (ASYNCH) :")
- ACE_TEXT("\tInvoke Asynchronous calls\n")));
-
- my_quoter_ami_->sendc_get_stock_exchange_name (cb.in ());
-
- my_quoter_ami_->sendc_add_stock (cb.in (), "Google", 10.46);
-
- my_quoter_ami_->sendc_edit_stock (cb.in (), "Google", 11.13);
-
- my_quoter_ami_->sendc_remove_stock (cb.in (), "Microsoft");
-
- my_quoter_ami_->sendc_find_closest_symbol (cb.in (), "Micro");
-
- my_quoter_ami_->sendc_get_quote (cb.in (), "Google");
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Client (ASYNCH) :\tInvoked Asynchronous calls\n")));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Client (ASYNCH) :\tInvoke Asynchronous call ")
- ACE_TEXT("to test except handling\n")));
-
- my_quoter_ami_->sendc_get_quote (cb.in (), "Microsoft");
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Client (ASYNCH) :\tInvoked Asynchronous call.\n")));
- return 0;
- }
-
- /**
- * Component Executor Implementation Class: Client_exec_i
- */
-
- Client_exec_i::Client_exec_i (void) :
- asynch_quoter_gen_ (0)
- {
- }
-
- Client_exec_i::~Client_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Client_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->context_ =
- ::Quoter::CCM_Client_Context::_narrow (ctx);
- if ( ::CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Client_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Client_exec_i::ccm_activate (void)
- {
- this->asynch_quoter_gen_ =
- new asynch_quoter_generator (this->context_.in ());
- this->asynch_quoter_gen_->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Client_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Client_exec_i::ccm_remove (void)
- {
- delete this->asynch_quoter_gen_;
- this->asynch_quoter_gen_ = 0;
- }
-
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::AMI4CCM_StockManagerReplyHandler_my_quoter_i (void)
- {
- }
-
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::~AMI4CCM_StockManagerReplyHandler_my_quoter_i (void)
- {
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::get_stock_exchange_name (
- const char * stock_exchange_name)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Client - StockManagerReplyHandler : get_stock_exchange_name = %C\n"),
- stock_exchange_name));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::get_stock_exchange_name_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ERROR Client - StockManagerReplyHandler : get_stock_exchange_name threw exception\n")));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::set_stock_exchange_name (void)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::set_stock_exchange_name_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ERROR Client - StockManagerReplyHandler : set_stock_exchange_name threw exception\n")));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::add_stock (
- ::CORBA::Boolean ami_return_val)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Client - StockManagerReplyHandler : add_stock returned %C\n"),
- ami_return_val ? "true" : "false"));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::add_stock_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ERROR Client - StockManagerReplyHandler : add_stock threw exception\n")));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::edit_stock (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Client - StockManagerReplyHandler : edit_stock returned successfully\n")));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::edit_stock_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ERROR Client - StockManagerReplyHandler : edit_stock threw exception\n")));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::remove_stock (
- ::CORBA::Double quote)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Client - StockManagerReplyHandler : remove_stock returned %f\n"),
- quote));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::remove_stock_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ERROR Client - StockManagerReplyHandler : remove_stock threw exception\n")));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::find_closest_symbol (
- ::CORBA::Boolean ami_return_val,
- const char * symbol)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Client - StockManagerReplyHandler : find_closest_symbol returned %C; ")
- ACE_TEXT ("symbol found = %C\n"),
- ami_return_val ? "true" : "false",
- ami_return_val ? symbol : "(none)"));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::find_closest_symbol_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ERROR Client - StockManagerReplyHandler : find_closest_symbol threw exception\n")));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::get_quote (
- ::CORBA::Double ami_return_val)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("Client - StockManagerReplyHandler : get_quote returned %f\n"),
- ami_return_val));
- }
-
- void
- AMI4CCM_StockManagerReplyHandler_my_quoter_i::get_quote_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const Quoter::InvalidStock& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Client - StockManagerReplyHandler : get_quote threw correct exception type\n")));
-
- if (ACE_OS::strcmp (ex.sym.in (), "Microsoft") == 0)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Client - StockManagerReplyHandler : get_quote could not find quote for %C\n"),
- ex.sym.in ()));
- return;
- }
- }
- catch (const CORBA::Exception& /*ex*/)
- {
- ACE_DEBUG ((LM_ERROR,
- ACE_TEXT ("ERROR Client - StockManagerReplyHandler : get_quote threw unexpected exception\n")));
- }
- }
-
- extern "C" QUOTER_CLIENT_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Quoter_Client_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Client_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client_exec.h b/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client_exec.h
deleted file mode 100644
index afa519f79ad..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Client/Quoter_Client_exec.h
+++ /dev/null
@@ -1,177 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v2.0.0
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_QUOTER_CLIENT_EXEC_RCQDNE_H_
-#define CIAO_QUOTER_CLIENT_EXEC_RCQDNE_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Quoter_ClientEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "Quoter_Client_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_Quoter_Client_Impl
-{
-
- /// Worker thread for asynchronous invocations
- class asynch_quoter_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_quoter_generator (::Quoter::CCM_Client_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Quoter::CCM_Client_Context_var context_;
- };
-
- /**
- * Component Executor Implementation Class: Client_exec_i
- */
-
- class Client_exec_i
- : public virtual Client_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Client_exec_i (void);
- virtual ~Client_exec_i (void);
-
- /** @name Supported operations and attributes. */
- //@{
-
- //@}
-
- /** @name Component attributes and port operations. */
- //@{
- //@}
-
- /** @name Operations from Components::SessionComponent. */
- //@{
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- /** @name User defined public operations. */
- //@{
-
- //@}
-
- private:
- /** @name Component attributes. */
- //@{
- //@}
-
- /** @name User defined members. */
- //@{
- ::Quoter::CCM_Client_Context_var context_;
- asynch_quoter_generator* asynch_quoter_gen_;
- //@}
-
- /** @name User defined private operations. */
- //@{
-
- //@}
- };
-
- class AMI4CCM_StockManagerReplyHandler_my_quoter_i
- : public ::Quoter::CCM_AMI4CCM_StockManagerReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_StockManagerReplyHandler_my_quoter_i (void);
- virtual ~AMI4CCM_StockManagerReplyHandler_my_quoter_i (void);
-
- virtual void
- get_stock_exchange_name (
- const char * stock_exchange_name);
-
- virtual void
- get_stock_exchange_name_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_stock_exchange_name (void);
-
- virtual void
- set_stock_exchange_name_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- add_stock (
- ::CORBA::Boolean ami_return_val);
-
- virtual void
- add_stock_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- edit_stock (void);
-
- virtual void
- edit_stock_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- remove_stock (
- ::CORBA::Double quote);
-
- virtual void
- remove_stock_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- find_closest_symbol (
- ::CORBA::Boolean ami_return_val,
- const char * symbol);
-
- virtual void
- find_closest_symbol_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_quote (
- ::CORBA::Double ami_return_val);
-
- virtual void
- get_quote_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" QUOTER_CLIENT_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Quoter_Client_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer.idl b/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer.idl
deleted file mode 100644
index 1b5090c2d5a..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef QUOTER_PRODUCER_IDL
-#define QUOTER_PRODUCER_IDL
-
-#include <Components.idl>
-
-#include "Base/Quoter.idl"
-
-module Quoter
-{
- component Producer
- {
- /// Provides
- provides StockManager my_quoter;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer.mpc b/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer.mpc
deleted file mode 100644
index df56da22cf6..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p Quoter_Base Quoter_Producer"
-
-project(AMI_Quoter_Producer_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_Quoter_idl_gen
- idlflags += -Wb,stub_export_macro=QUOTER_PRODUCER_STUB_Export \
- -Wb,stub_export_include=Quoter_Producer_stub_export.h \
- -Wb,skel_export_macro=QUOTER_PRODUCER_SVNT_Export \
- -Wb,skel_export_include=Quoter_Producer_svnt_export.h \
- -Wb,exec_export_macro=QUOTER_PRODUCER_EXEC_Export \
- -Wb,exec_export_include=Quoter_Producer_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- Quoter_Producer.idl
- }
-}
-
-project(AMI_Quoter_Producer_lem_gen) : ciaoidldefaults {
- after += AMI_Quoter_Producer_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=QUOTER_PRODUCER_LEM_STUB_Export \
- -Wb,stub_export_include=Quoter_Producer_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- Quoter_ProducerE.idl
- }
-}
-
-project(AMI_Quoter_Producer_lem_stub) : ccm_svnt, messaging {
- after += AMI_Quoter_Producer_lem_gen AMI_Quoter_Producer_stub AMI_Quoter_stub
- libs += Quoter_stub Quoter_Producer_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Quoter_Producer_lem_stub
- dynamicflags += QUOTER_PRODUCER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Quoter_ProducerEC.cpp
- }
-
- Header_Files {
- Quoter_ProducerEC.h
- Quoter_Producer_lem_stub_export.h
- }
-
- Inline_Files {
- Quoter_ProducerEC.inl
- }
-}
-
-project(AMI_Quoter_Producer_stub) : ccm_stub, messaging {
- after += AMI_Quoter_Producer_idl_gen AMI_Quoter_stub
- libs += Quoter_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Quoter_Producer_stub
- dynamicflags += QUOTER_PRODUCER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Quoter_ProducerC.cpp
- }
-
- Header_Files {
- Quoter_ProducerC.h
- Quoter_Producer_stub_export.h
- }
-
- Inline_Files {
- Quoter_ProducerC.inl
- }
-}
-
-project(AMI_Quoter_Producer_exec) : ciao_executor, messaging {
- after += AMI_Quoter_Producer_lem_stub AMI_Quoter_Producer_stub AMI_Quoter_stub AMI_Quoter_lem_stub
- sharedname = Quoter_Producer_exec
- libs += Quoter_Producer_stub Quoter_Producer_lem_stub Quoter_stub Quoter_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += QUOTER_PRODUCER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Quoter_Producer_exec.cpp
- }
-
- Header_Files {
- Quoter_Producer_exec.h
- Quoter_Producer_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Quoter_Producer_svnt) : ciao_servant, messaging {
- after += AMI_Quoter_Base_skel AMI_Quoter_Producer_lem_stub AMI_Quoter_stub AMI_Quoter_skel AMI_Quoter_lem_stub
- sharedname = Quoter_Producer_svnt
- libs += Quoter_Producer_stub Quoter_Producer_lem_stub \
- Quoter_skel \
- Quoter_stub Quoter_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += QUOTER_PRODUCER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Quoter_ProducerS.cpp
- Quoter_Producer_svnt.cpp
- }
-
- Header_Files {
- Quoter_ProducerS.h
- Quoter_Producer_svnt.h
- Quoter_Producer_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp b/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp
deleted file mode 100644
index bbb49754fe0..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.cpp
+++ /dev/null
@@ -1,187 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v2.0.0
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Quoter_Producer_exec.h"
-
-namespace CIAO_Quoter_Producer_Impl
-{
-
- /**
- * Facet Executor Implementation Class: my_quoter_exec_i
- */
-
- my_quoter_exec_i::my_quoter_exec_i (
- ::Quoter::CCM_Producer_Context_ptr ctx)
- : ciao_context_ (
- ::Quoter::CCM_Producer_Context::_duplicate (ctx))
- {
- }
-
- my_quoter_exec_i::~my_quoter_exec_i (void)
- {
- }
-
- // Operations from ::Quoter::StockManager
-
- char *
- my_quoter_exec_i::stock_exchange_name (void)
- {
- return CORBA::string_dup ("EuroNext");
- }
-
- void
- my_quoter_exec_i::stock_exchange_name (const char * /* stock_exchange_name */)
- {
- /* Your code here. */
- }
-
- ::CORBA::Boolean
- my_quoter_exec_i::add_stock (const char * /* symbol */,
- ::CORBA::Double /* quote */)
- {
- /* Your code here. */
- return true;
- }
-
- void
- my_quoter_exec_i::edit_stock (const char * /* symbol */,
- ::CORBA::Double /* new_quote */)
- {
- /* Your code here. */
- }
-
- void
- my_quoter_exec_i::remove_stock (const char * /* symbol */,
- ::CORBA::Double_out quote)
- {
- quote = 13.66;
- }
-
- ::CORBA::Boolean
- my_quoter_exec_i::find_closest_symbol (char *& symbol)
- {
- CORBA::string_free (symbol);
- symbol = CORBA::string_dup ("Windoze");
- return true;
- }
-
- ::CORBA::Double
- my_quoter_exec_i::get_quote (const char * symbol)
- {
- if (ACE_OS::strcmp (symbol, "Google") == 0)
- return 11.13;
-
- ::Quoter::InvalidStock ex_;
- ex_.sym = CORBA::string_dup (symbol);
- throw ex_;
- }
-
- /**
- * Component Executor Implementation Class: Producer_exec_i
- */
-
- Producer_exec_i::Producer_exec_i (void){
- }
-
- Producer_exec_i::~Producer_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::Quoter::CCM_StockManager_ptr
- Producer_exec_i::get_my_quoter (void)
- {
- if ( ::CORBA::is_nil (this->ciao_my_quoter_.in ()))
- {
- my_quoter_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- my_quoter_exec_i (
- this->ciao_context_.in ()),
- ::Quoter::CCM_StockManager::_nil ());
-
- this->ciao_my_quoter_ = tmp;
- }
-
- return
- ::Quoter::CCM_StockManager::_duplicate (
- this->ciao_my_quoter_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Producer_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::Quoter::CCM_Producer_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Producer_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Producer_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Producer_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Producer_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" QUOTER_PRODUCER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Quoter_Producer_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Producer_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.h b/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.h
deleted file mode 100644
index 529db4db704..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/Producer/Quoter_Producer_exec.h
+++ /dev/null
@@ -1,150 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v2.0.0
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_QUOTER_PRODUCER_EXEC_FI8FAR_H_
-#define CIAO_QUOTER_PRODUCER_EXEC_FI8FAR_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Quoter_ProducerEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "Quoter_Producer_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_Quoter_Producer_Impl
-{
-
- /**
- * Provider Executor Implementation Class: my_quoter_exec_i
- */
-
- class my_quoter_exec_i
- : public virtual ::Quoter::CCM_StockManager,
- public virtual ::CORBA::LocalObject
- {
- public:
- my_quoter_exec_i (
- ::Quoter::CCM_Producer_Context_ptr ctx);
- virtual ~my_quoter_exec_i (void);
-
- /** @name Operations and attributes from Quoter::StockManager */
- //@{
-
- virtual
- char * stock_exchange_name (void);
-
- virtual
- void stock_exchange_name (const char * stock_exchange_name);
-
- virtual
- ::CORBA::Boolean add_stock (const char * symbol,
- ::CORBA::Double quote);
-
- virtual
- void edit_stock (const char * symbol,
- ::CORBA::Double new_quote);
-
- virtual
- void remove_stock (const char * symbol,
- ::CORBA::Double_out quote);
-
- virtual
- ::CORBA::Boolean find_closest_symbol (char *& symbol);
-
- virtual
- ::CORBA::Double get_quote (const char * symbol);
- //@}
-
- private:
- ::Quoter::CCM_Producer_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Producer_exec_i
- */
-
- class Producer_exec_i
- : public virtual Producer_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Producer_exec_i (void);
- virtual ~Producer_exec_i (void);
-
- /** @name Supported operations and attributes. */
- //@{
-
- //@}
-
- /** @name Component attributes and port operations. */
- //@{
-
- virtual ::Quoter::CCM_StockManager_ptr
- get_my_quoter (void);
- //@}
-
- /** @name Operations from Components::SessionComponent. */
- //@{
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- /** @name User defined public operations. */
- //@{
-
- //@}
-
- private:
- ::Quoter::CCM_Producer_Context_var ciao_context_;
-
- /** @name Component attributes. */
- //@{
- ::Quoter::CCM_StockManager_var ciao_my_quoter_;
- //@}
-
- /** @name User defined members. */
- //@{
-
- //@}
-
- /** @name User defined private operations. */
- //@{
-
- //@}
- };
-
- extern "C" QUOTER_PRODUCER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Quoter_Producer_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/examples/Quoter/descriptors/Plan.cdp
deleted file mode 100644
index 6530d85eed1..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="Quoter_ProducerHomeImplementation">
- <name>Quoter_ProducerHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Quoter_Producer_ExecArtifact"/>
- <artifact xmi:idref="Quoter_Producer_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_Producer_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Quoter.ImplementationArtifacts.ProducerArtifacts.Producer_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_Producer_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Quoter.ImplementationArtifacts.ProducerArtifacts.Producer_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Quoter_ClientHomeImplementation">
- <name>Quoter_ClientHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Quoter_Client_ExecArtifact"/>
- <artifact xmi:idref="Quoter_Client_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_Client_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Quoter.ImplementationArtifacts.ClientArtifacts.Client_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_Client_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Quoter.ImplementationArtifacts.ClientArtifacts.Client_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Quoter_AMIHomeImplementation">
- <name>Quoter_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Quoter_AMI_ExecArtifact"/>
- <artifact xmi:idref="Quoter_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_AMI4CCM_StockManager_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Quoter.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_AMI4CCM_StockManager_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Quoter.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="Quoter.ComponentImplementations.QuoterImplementation.Quoter.Producer">
- <name>Quoter.ComponentImplementations.QuoterImplementation.Quoter.Producer</name>
- <node>Producer</node>
- <source/>
- <implementation xmi:idref="Quoter_ProducerHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Producer.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Quoter.ComponentImplementations.QuoterImplementation.Quoter.Client">
- <name>Quoter.ComponentImplementations.QuoterImplementation.Quoter.Client</name>
- <node>Client</node>
- <source/>
- <implementation xmi:idref="Quoter_ClientHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Client.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Quoter.ComponentImplementations.QuoterImplementation.Quoter.AMI">
- <name>Quoter.ComponentImplementations.QuoterImplementation.Quoter.AMI</name>
- <node>Client</node>
- <source/>
- <implementation xmi:idref="Quoter_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_quoter_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_my_quoter</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Quoter.ComponentImplementations.QuoterImplementation.Quoter.Client" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Quoter.ComponentImplementations.QuoterImplementation.Quoter.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_quoter_connection</name>
- <internalEndpoint>
- <portName>my_quoter</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Quoter.ComponentImplementations.QuoterImplementation.Quoter.Producer" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Quoter.ComponentImplementations.QuoterImplementation.Quoter.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_quoter_connection</name>
- <internalEndpoint>
- <portName>my_quoter</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Quoter.ComponentImplementations.QuoterImplementation.Quoter.Producer" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>my_quoter</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Quoter.ComponentImplementations.QuoterImplementation.Quoter.Client" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="Quoter_AMI_SvntArtifact">
- <name>Quoter.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Quoter_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_AMI4CCM_StockManager_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Quoter_AMI_ExecArtifact">
- <name>Quoter.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Quoter_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_AMI4CCM_StockManager_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Quoter_Producer_SvntArtifact">
- <name>Quoter.ImplementationArtifacts.ProducerArtifacts.Producer_svnt</name>
- <source/>
- <node/>
- <location>Quoter_Producer_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_AMI_ProducerHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Quoter_Producer_ExecArtifact">
- <name>Quoter.ImplementationArtifacts.ProducerArtifacts.Producer_exec</name>
- <source/>
- <node/>
- <location>Quoter_Producer_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_AMI_ProducerHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Quoter_Client_SvntArtifact">
- <name>Quoter.ImplementationArtifacts.ClientArtifacts.Client_svnt</name>
- <source/>
- <node/>
- <location>Quoter_Client_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_AMI_ClientHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Quoter_Client_ExecArtifact">
- <name>Quoter.ImplementationArtifacts.ClientArtifacts.Client_exec</name>
- <source/>
- <node/>
- <location>Quoter_Client_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Quoter_AMI_ClientHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/examples/Quoter/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/examples/Quoter/descriptors/run_test.pl
deleted file mode 100755
index 2327ac0fb41..00000000000
--- a/CIAO/connectors/ami4ccm/examples/Quoter/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 2;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Client.ior", "Producer.ior");
-@iorfiles = 0;
-@nodenames = ( "Client", "Producer" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/models/CoSMIC/ami4ccm.xme b/CIAO/connectors/ami4ccm/models/CoSMIC/ami4ccm.xme
deleted file mode 100644
index 7528ee9aa2f..00000000000
--- a/CIAO/connectors/ami4ccm/models/CoSMIC/ami4ccm.xme
+++ /dev/null
@@ -1,398 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE project SYSTEM "mga.dtd">
-
-<project guid="{F6802A78-FB30-45F6-9264-989FD718DFC3}" cdate="Sat Jul 24 18:54:19 2010" mdate="Sat Jul 24 18:54:19 2010" version="" metaguid="{47840A87-0BB6-473F-9F05-8709616C42B6}" metaversion="" metaname="PICML">
- <name>ami4ccm</name>
- <comment></comment>
- <author></author>
- <folder id="id-006a-00000001" relid="0x1" childrelidcntr="0x4" kind="RootFolder" guid="{67fcff6a-5c78-4fb8-bb90-e2cb1b5e0850}">
- <name>ami4ccm</name>
- <folder id="id-006a-00000002" relid="0x0" childrelidcntr="0x2" kind="InterfaceDefinitions" guid="{fa6e56ef-350f-4d63-a704-bb958370be4f}">
- <name>InterfaceDefinitions</name>
- <model id="id-0065-00000001" kind="File" guid="{acd10219-304e-48b2-82c0-48dcc099bcce}" relid="0x0" childrelidcntr="0x1">
- <name>ami4ccm</name>
- <attribute kind="Path">
- <value>connectors/ami4ccm/ami4ccm</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000002" kind="Package" role="Package" guid="{277a914e-8292-4ebd-af59-be585a576ec3}" relid="0x0" childrelidcntr="0x5">
- <name>CCM_AMI</name>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000003" kind="Object" role="Object" guid="{7bf44345-f547-4a60-9797-21c3e5aa966b}" relid="0x1" childrelidcntr="0x1">
- <name>ExceptionHolder</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>181,48</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000004" kind="TwowayOperation" role="TwowayOperation" guid="{6893284f-a925-47a7-8505-861748eeb619}" relid="0x0" childrelidcntr="0x0">
- <name>raise_exception</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- </model>
- <model id="id-0065-00000005" kind="Object" role="Object" guid="{0c05efb6-cdce-4eec-aad5-f58cdbefe7ce}" relid="0x2" childrelidcntr="0x0">
- <name>ReplyHandler</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>125,167</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="InterfaceSemantics">
- <value>local</value>
- </attribute>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-00000006" kind="ConnectorObject" role="ConnectorObject" guid="{6cc87f43-65b3-460a-8735-578427e4dc33}" relid="0x3" childrelidcntr="0x0">
- <name>AMI4CCM_Base</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>306,124</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>6C31592E-9776-11DF-8DCF-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- </model>
- <model id="id-0065-00000007" kind="Package" role="Package" guid="{4c60a1e4-76f6-4959-81a4-4b8ae9c5e85b}" relid="0x4" childrelidcntr="0x4">
- <name>Connector_T</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>94,241</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrefixTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <model id="id-0065-00000008" kind="PortType" role="PortType" guid="{519601ac-3bac-486a-a30d-c9c57da32fe6}" relid="0x2" childrelidcntr="0x1">
- <name>AMI4CCM_Port_Type</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>11,11</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000001" kind="ProvidedRequestPort" role="ProvidedRequestPort" guid="{193b7ea3-3707-4089-b2b5-c5de46f7b53e}" relid="0x0" referred="id-0066-00000003">
- <name>ami4ccm_provides</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- <reference id="id-0067-00000002" kind="RequiredRequestPort" role="RequiredRequestPort" guid="{8cb5e3f1-a436-44ac-b24a-dd634f76467b}" relid="0x0" referred="id-0066-00000002">
- <name>ami4ccm_uses</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="InterfaceDefinition" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,160</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="exclusiveProvider" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="exclusiveUser" status="meta">
- <value>false</value>
- </attribute>
- <attribute kind="multiple_connections">
- <value>true</value>
- </attribute>
- <attribute kind="optional" status="meta">
- <value>false</value>
- </attribute>
- </reference>
- </model>
- <model id="id-0065-00000009" kind="ConnectorObject" role="ConnectorObject" guid="{c76d2db3-d714-4393-bbaa-a2ad1eda2a70}" relid="0x3" childrelidcntr="0x1">
- <name>AMI4CCM_Connector</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>126,238</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="PostPreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="PrePreprocessorDirectives" status="meta">
- <value></value>
- </attribute>
- <attribute kind="SpecifyIdTag" status="meta">
- <value></value>
- </attribute>
- <attribute kind="UUID">
- <value>6C31592E-9776-11DF-8DD0-000C2958D27B</value>
- </attribute>
- <attribute kind="VersionTag" status="meta">
- <value></value>
- </attribute>
- <reference id="id-0067-00000003" kind="ExtendedPort" role="ExtendedPort" guid="{a1976325-510c-44a1-bc08-020373ee6190}" relid="0x0" referred="id-0065-00000008">
- <name>ami4ccm_port</name>
- </reference>
- <reference id="id-0067-00000004" kind="ConnectorInherits" role="ConnectorInherits" guid="{8c2c7607-434d-40da-881f-69f14f318927}" relid="0x0" referred="id-0065-00000006">
- <name>ConnectorInherits</name>
- </reference>
- </model>
- <atom id="id-0066-00000002" kind="TypeParameter" role="TypeParameter" guid="{fadec119-3cab-4ae9-8e51-da1d4a6e196e}" relid="0x0">
- <name>T</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>60,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Type">
- <value>Object</value>
- </attribute>
- </atom>
- <atom id="id-0066-00000003" kind="TypeParameter" role="TypeParameter" guid="{629f9080-7c54-4984-a9cb-10c2feb3edfb}" relid="0x1">
- <name>AMI4CCM_T</name>
- <regnode name="PartRegs" isopaque="yes">
- <value></value>
- <regnode name="TemplateParameters" isopaque="yes">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>160,60</value>
- </regnode>
- </regnode>
- </regnode>
- <attribute kind="Type">
- <value>Object</value>
- </attribute>
- </atom>
- </model>
- <atom id="id-0066-00000001" kind="NativeValue" role="NativeValue" guid="{a5d65f0d-9b60-4e63-af6a-6c0eed8ff369}" relid="0x0">
- <name>UserExceptionBase</name>
- <regnode name="PartRegs" status="undefined">
- <value></value>
- <regnode name="InterfaceDefinition" status="undefined">
- <value></value>
- <regnode name="Position" isopaque="yes">
- <value>8,13</value>
- </regnode>
- </regnode>
- </regnode>
- </atom>
- </model>
- </model>
- </folder>
- <folder id="id-006a-00000003" relid="0x1" childrelidcntr="0x0" kind="ImplementationArtifacts" guid="{ffca809a-4c95-460e-827b-7c6b05c2aebb}">
- <name>ImplementationArtifacts</name>
- </folder>
- <folder id="id-006a-00000004" relid="0x2" childrelidcntr="0x0" kind="ComponentImplementations" guid="{1f9dcb7b-b621-44ec-9694-daf010f208e3}">
- <name>ComponentImplementations</name>
- </folder>
- <folder id="id-006a-00000005" relid="0x3" childrelidcntr="0x12" kind="PredefinedTypes" guid="{cfe7c868-3f0d-40e4-be54-4545ae25150c}">
- <name>PredefinedTypes</name>
- <atom id="id-0066-00000004" kind="Boolean" guid="{f80e2b06-9b8a-46cd-9e7d-52845c8299a2}" relid="0x0">
- <name>Boolean</name>
- </atom>
- <atom id="id-0066-00000005" kind="Byte" guid="{5be978d2-7777-4428-a569-b77dd3e1762b}" relid="0x1">
- <name>Byte</name>
- </atom>
- <atom id="id-0066-00000006" kind="Char" guid="{8853f41b-c010-4af4-af2c-45b51678d003}" relid="0x2">
- <name>Char</name>
- </atom>
- <atom id="id-0066-00000007" kind="WideChar" guid="{c2285983-5e85-4ddd-85b2-7625f37dde0c}" relid="0x3">
- <name>WideChar</name>
- </atom>
- <atom id="id-0066-00000008" kind="ShortInteger" guid="{587bcee5-1b31-4c33-bf46-d181882c7834}" relid="0x4">
- <name>ShortInteger</name>
- </atom>
- <atom id="id-0066-00000009" kind="LongInteger" guid="{27caa9d1-23f2-4cda-bc65-554227ea0b92}" relid="0x5">
- <name>LongInteger</name>
- </atom>
- <atom id="id-0066-0000000a" kind="LongLongInteger" guid="{48827573-7601-4351-99a9-af6edbd9aad3}" relid="0x6">
- <name>LongLongInteger</name>
- </atom>
- <atom id="id-0066-0000000b" kind="UnsignedShortInteger" guid="{69730c09-a961-48e3-9ffd-e7dfd13ee499}" relid="0x7">
- <name>UnsignedShortInteger</name>
- </atom>
- <atom id="id-0066-0000000c" kind="UnsignedLongInteger" guid="{05e538f1-6d2f-4a41-9283-bfd2e69a086d}" relid="0x8">
- <name>UnsignedLongInteger</name>
- </atom>
- <atom id="id-0066-0000000d" kind="UnsignedLongLongInteger" guid="{d1d99e53-8835-461d-bc5d-01bd37fe254f}" relid="0x9">
- <name>UnsignedLongLongInteger</name>
- </atom>
- <atom id="id-0066-0000000e" kind="FloatNumber" guid="{a4536e8e-9244-4eb7-af77-155fe81e1951}" relid="0xa">
- <name>FloatNumber</name>
- </atom>
- <atom id="id-0066-0000000f" kind="DoubleNumber" guid="{1159d43b-5188-4e29-8f35-b289b190fe84}" relid="0xb">
- <name>DoubleNumber</name>
- </atom>
- <atom id="id-0066-00000010" kind="LongDoubleNumber" guid="{40e9e419-71b5-4471-8d24-04c3c1a76d52}" relid="0xc">
- <name>LongDoubleNumber</name>
- </atom>
- <atom id="id-0066-00000011" kind="GenericObject" guid="{b7e63725-fb59-4f8b-9d1c-db301ae68530}" relid="0xd">
- <name>GenericObject</name>
- </atom>
- <atom id="id-0066-00000012" kind="GenericValue" guid="{1983baff-f9d7-48a7-a126-25d760b02933}" relid="0xe">
- <name>GenericValue</name>
- </atom>
- <atom id="id-0066-00000013" kind="GenericValueObject" guid="{b658cb8c-9e5f-4424-87f4-6cab67a02bd3}" relid="0xf">
- <name>GenericValueObject</name>
- </atom>
- <atom id="id-0066-00000014" kind="String" guid="{22a47e29-ad33-4b09-9615-517a82d633ab}" relid="0x10">
- <name>String</name>
- </atom>
- <atom id="id-0066-00000015" kind="WideString" guid="{24e2db4b-74a1-4cb7-bcc0-fbbfe7b7c045}" relid="0x11">
- <name>WideString</name>
- </atom>
- </folder>
- </folder>
-</project>
diff --git a/CIAO/connectors/ami4ccm/tests/.gitignore b/CIAO/connectors/ami4ccm/tests/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/.gitignore b/CIAO/connectors/ami4ccm/tests/AsynchT/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/AsynchT/Base/.gitignore
deleted file mode 100644
index 33d91b4a776..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/AsynchTA.idl
-/AsynchTAE.idl
-/AsynchTA_conn.cpp
-/AsynchTA_conn.h
-/AsynchTE.idl
-/AsynchT_conn_export.h
-/AsynchT_exec_export.h
-/AsynchT_lem_stub_export.h
-/AsynchT_skel_export.h
-/AsynchT_stub_export.h
-/AsynchT_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Base/AsynchT.idl b/CIAO/connectors/ami4ccm/tests/AsynchT/Base/AsynchT.idl
deleted file mode 100644
index 92b91f62111..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Base/AsynchT.idl
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef ASYNCHT_IDL
-#define ASYNCHT_IDL
-
-#pragma ciao lem "Base/AsynchTE.idl"
-#pragma ciao ami4ccm interface "AsynchT::MyFoo"
-#pragma ciao lem "Base/AsynchTAE.idl"
-#pragma ciao ami4ccm idl "Base/AsynchTA.idl"
-
-
-module AsynchT
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, in long cmd, out string answer)
- raises (InternalError);
- void bar (in long cmd, out long l_cmd)
- raises (InternalError);
- attribute short rw_attrib
- getraises (InternalError)
- setraises (InternalError);
- readonly attribute short ro_attrib
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Base/AsynchT.mpc b/CIAO/connectors/ami4ccm/tests/AsynchT/Base/AsynchT.mpc
deleted file mode 100644
index 0d0b1314243..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Base/AsynchT.mpc
+++ /dev/null
@@ -1,192 +0,0 @@
-project(AMI_AsynchT_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ASYNCHT_STUB_Export \
- -Wb,stub_export_include=AsynchT_stub_export.h \
- -Wb,skel_export_macro=ASYNCHT_SKEL_Export \
- -Wb,skel_export_include=AsynchT_skel_export.h \
- -Wb,conn_export_macro=ASYNCHT_CONN_Export \
- -Wb,conn_export_include=AsynchT_conn_export.h \
- -Wb,exec_export_macro=ASYNCHT_EXEC_Export \
- -Wb,exec_export_include=AsynchT_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- AsynchT.idl
- }
-}
-
-project(AMI_AsynchT_lem_gen) : ciaoidldefaults {
- after += AMI_AsynchT_idl_gen AMI_AsynchT_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=ASYNCHT_LEM_STUB_Export \
- -Wb,export_include=AsynchT_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- AsynchTE.idl
- }
-}
-
-project(AMI_AsynchT_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_AsynchT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ASYNCHT_STUB_Export \
- -Wb,stub_export_include=AsynchT_stub_export.h \
- -Wb,conn_export_macro=ASYNCHT_CONN_Export \
- -Wb,conn_export_include=AsynchT_conn_export.h \
- -Wb,svnt_export_macro=ASYNCHT_SVNT_Export \
- -Wb,svnt_export_include=AsynchT_svnt_export.h \
- -Wb,skel_export_macro=ASYNCHT_SKEL_Export \
- -Wb,skel_export_include=AsynchT_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- AsynchTA.idl
- }
-}
-
-project(AMI_AsynchT_lemae_gen) : ciaoidldefaults {
- after += AMI_AsynchT_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ASYNCHT_LEM_STUB_Export \
- -Wb,stub_export_include=AsynchT_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- AsynchTAE.idl
- }
-}
-
-project(AMI_AsynchT_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_AsynchT_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = AsynchT_stub
- dynamicflags += ASYNCHT_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- AsynchTC.cpp
- AsynchTAC.cpp
- }
-
- Header_Files {
- AsynchTC.h
- AsynchT_stub_export.h
-}
-
- Inline_Files {
- AsynchTC.inl
- }
-}
-
-project(AMI_AsynchT_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_AsynchT_lem_gen AMI_AsynchT_stub AMI_AsynchT_lemae_gen AMI_AsynchT_skel
- libs += AsynchT_stub AsynchT_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = AsynchT_lem_stub
- dynamicflags += ASYNCHT_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- AsynchTEC.cpp
- AsynchTAEC.cpp
- }
-
- Header_Files {
- AsynchTEC.h
- AsynchT_lem_stub_export.h
-}
-
- Inline_Files {
- AsynchTEC.inl
- }
-}
-
-project(AMI_AsynchT_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_AsynchT_stub
- sharedname = AsynchT_skel
- libs += AsynchT_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += ASYNCHT_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- AsynchTS.cpp
- AsynchTAS.cpp
- }
-
- Header_Files {
- AsynchTS.h
-
- AsynchT_skel_export.h
- }
-
- Inline_Files {
-
- }
-}
-
-project(AMI_AsynchT_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_AsynchT_lem_stub AsynchT_Base_AMI_stub AMI_AsynchT_skel AMI_AsynchT_lema_gen AMI_AsynchT_lemae_gen
- sharedname = AsynchT_conn
- libs += AsynchT_stub AsynchT_skel AsynchT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ASYNCHT_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchTA_conn.cpp
- }
-
- Header_Files {
- AsynchTA_conn.h
- AsynchT_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_AsynchT_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_AsynchT_lem_stub AsynchT_Base_AMI_stub AMI_AsynchT_skel AMI_AsynchT_lema_gen AMI_AsynchT_lemae_gen AMI_AsynchT_conn
- sharedname = AsynchT_svnt
- libs += AsynchT_stub AsynchT_skel AsynchT_lem_stub AsynchT_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ASYNCHT_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchTA_svnt.cpp
- }
-
- Header_Files {
- AsynchTA_svnt.h
- AsynchTA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/.gitignore
deleted file mode 100644
index e061bcbb12a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/AsynchT_ReceiverE.idl
-/AsynchT_Receiver_exec_export.h
-/AsynchT_Receiver_lem_stub_export.h
-/AsynchT_Receiver_stub_export.h
-/AsynchT_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver.idl b/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver.idl
deleted file mode 100644
index ae67b6a2c3b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef ASYNCHT_RECEIVER_IDL
-#define ASYNCHT_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/AsynchT.idl"
-
-module AsynchT
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver.mpc
deleted file mode 100644
index 8459bc0607a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p AsynchT_Base AsynchT_Receiver"
-
-project(AMI_AsynchT_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_AsynchT_idl_gen
- idlflags += -Wb,stub_export_macro=ASYNCHT_RECEIVER_STUB_Export \
- -Wb,stub_export_include=AsynchT_Receiver_stub_export.h \
- -Wb,skel_export_macro=ASYNCHT_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=AsynchT_Receiver_svnt_export.h \
- -Wb,exec_export_macro=ASYNCHT_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=AsynchT_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- AsynchT_Receiver.idl
- }
-}
-
-project(AMI_AsynchT_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_AsynchT_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ASYNCHT_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=AsynchT_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- AsynchT_ReceiverE.idl
- }
-}
-
-project(AMI_AsynchT_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_AsynchT_Base_Receiver_lem_gen AMI_AsynchT_Base_Receiver_stub AMI_AsynchT_stub
- libs += AsynchT_stub AsynchT_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = AsynchT_Receiver_lem_stub
- dynamicflags += ASYNCHT_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchT_ReceiverEC.cpp
- }
-
- Header_Files {
- AsynchT_ReceiverEC.h
- AsynchT_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- AsynchT_ReceiverEC.inl
- }
-}
-
-project(AMI_AsynchT_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_AsynchT_Base_Receiver_idl_gen AMI_AsynchT_stub
- libs += AsynchT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = AsynchT_Receiver_stub
- dynamicflags += ASYNCHT_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchT_ReceiverC.cpp
- }
-
- Header_Files {
- AsynchT_ReceiverC.h
- AsynchT_Receiver_stub_export.h
- }
-
- Inline_Files {
- AsynchT_ReceiverC.inl
- }
-}
-
-project(AMI_AsynchT_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_AsynchT_Base_Receiver_l_stub AMI_AsynchT_Base_Receiver_stub AMI_AsynchT_stub AMI_AsynchT_lem_stub
- sharedname = AsynchT_Receiver_exec
- libs += AsynchT_Receiver_stub AsynchT_Receiver_lem_stub AsynchT_stub AsynchT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ASYNCHT_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchT_Receiver_exec.cpp
- }
-
- Header_Files {
- AsynchT_Receiver_exec.h
- AsynchT_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_AsynchT_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_AsynchT_Base_skel AMI_AsynchT_Base_Receiver_l_stub AMI_AsynchT_stub AMI_AsynchT_skel AMI_AsynchT_lem_stub
- sharedname = AsynchT_Receiver_svnt
- libs += AsynchT_Receiver_stub AsynchT_Receiver_lem_stub \
- AsynchT_skel \
- AsynchT_stub AsynchT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ASYNCHT_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchT_ReceiverS.cpp
- AsynchT_Receiver_svnt.cpp
- }
-
- Header_Files {
- AsynchT_ReceiverS.h
- AsynchT_Receiver_svnt.h
- AsynchT_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver_exec.cpp
deleted file mode 100644
index 9bb758a9cc4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver_exec.cpp
+++ /dev/null
@@ -1,175 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "AsynchT_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_AsynchT_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::AsynchT::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::AsynchT::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::AsynchT::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * /*in_str*/, ::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- if (cmd == 1)
- {
- ACE_OS::sleep(2);
- }
- answer = CORBA::string_dup ("Hi from receiver.");
- return cmd;
- }
-
- void
- do_my_foo_exec_i::bar (::CORBA::Long cmd,
- ::CORBA::Long_out l_cmd)
- {
- ACE_OS::sleep(2);
- l_cmd = cmd;
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::rw_attrib (void)
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- return 3;
- }
-
- void
- do_my_foo_exec_i::rw_attrib (::CORBA::Short /* rw_attrib */)
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::ro_attrib (void)
- {
- ACE_OS::sleep (2);
- return 4;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::AsynchT::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::AsynchT::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::AsynchT::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::AsynchT::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ASYNCHT_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_AsynchT_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver_exec.h
deleted file mode 100644
index 52a25ca5c28..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Receiver/AsynchT_Receiver_exec.h
+++ /dev/null
@@ -1,144 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_ASYNCHT_RECEIVER_EXEC_HFDFTT_H_
-#define CIAO_ASYNCHT_RECEIVER_EXEC_HFDFTT_H_
-
-#include /**/ "ace/pre.h"
-
-#include "AsynchT_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "AsynchT_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_AsynchT_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::AsynchT::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::AsynchT::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from AsynchT::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer);
-
- virtual
- void bar (::CORBA::Long cmd,
- ::CORBA::Long_out l_cmd);
-
- virtual
- ::CORBA::Short rw_attrib (void);
-
- virtual
- void rw_attrib (::CORBA::Short rw_attrib);
-
- virtual
- ::CORBA::Short ro_attrib (void);
- //@}
-
- private:
- ::AsynchT::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::AsynchT::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::AsynchT::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::AsynchT::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" ASYNCHT_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_AsynchT_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/.gitignore
deleted file mode 100644
index 583df014cad..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/AsynchT_SenderE.idl
-/AsynchT_Sender_exec_export.h
-/AsynchT_Sender_lem_stub_export.h
-/AsynchT_Sender_stub_export.h
-/AsynchT_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender.idl b/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender.idl
deleted file mode 100644
index e1c26d67a1f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef ASYNCHT_SENDER_IDL
-#define ASYNCHT_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/AsynchT.idl"
-
-#pragma ciao ami4ccm receptacle "AsynchT::Sender::run_my_foo"
-
-module AsynchT
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender.mpc b/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender.mpc
deleted file mode 100644
index 9157a1f5ec9..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p AsynchT_Base AsynchT_Sender"
-
-project(AMI_AsynchT_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_AsynchT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ASYNCHT_SENDER_STUB_Export \
- -Wb,stub_export_include=AsynchT_Sender_stub_export.h \
- -Wb,skel_export_macro=ASYNCHT_SENDER_SVNT_Export \
- -Wb,skel_export_include=AsynchT_Sender_svnt_export.h \
- -Wb,exec_export_macro=ASYNCHT_SENDER_EXEC_Export \
- -Wb,exec_export_include=AsynchT_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- AsynchT_Sender.idl
- }
-}
-
-project(AMI_AsynchT_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_AsynchT_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ASYNCHT_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=AsynchT_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- AsynchT_SenderE.idl
- }
-}
-
-project(AMI_AsynchT_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_AsynchT_Base_Sender_lem_gen AMI_AsynchT_stub Conn_AsynchT_Base_stub
- libs += AsynchT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = AsynchT_Sender_lem_stub
- dynamicflags += ASYNCHT_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchT_SenderEC.cpp
- }
-
- Header_Files {
- AsynchT_SenderEC.h
- AsynchT_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- AsynchT_SenderEC.inl
- }
-}
-
-project(AMI_AsynchT_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_AsynchT_Base_Sender_idl_gen AMI_AsynchT_Base_stub AMI_AsynchT_stub Conn_AsynchT_Base_stub
- libs += AsynchT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = AsynchT_Sender_stub
- dynamicflags += ASYNCHT_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchT_SenderC.cpp
- }
-
- Header_Files {
- AsynchT_SenderC.h
- AsynchT_Sender_stub_export.h
- }
-
- Inline_Files {
- AsynchT_SenderC.inl
- }
-}
-
-project(AMI_AsynchT_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_AsynchT_Base_Sender_lem_stub AMI_AsynchT_Base_Sender_stub AMI_AsynchT_Base_exec Conn_AsynchT_Base_stub AMI_AsynchT_lem_stub
- sharedname = AsynchT_Sender_exec
- libs += AsynchT_Sender_stub AsynchT_Sender_lem_stub AsynchT_stub AsynchT_stub AsynchT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ASYNCHT_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchT_Sender_exec.cpp
- }
-
- Header_Files {
- AsynchT_Sender_exec.h
- AsynchT_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_AsynchT_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_AsynchT_Base_skel AMI_AsynchT_Base_Sender_lem_stub AMI_AsynchT_Base_Sender_stub AMI_AsynchT_Base_exec AMI_AsynchT_skel
- sharedname = AsynchT_Sender_svnt
- libs += AsynchT_Sender_stub AsynchT_Sender_lem_stub \
- AsynchT_skel \
- AsynchT_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ASYNCHT_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- AsynchT_SenderS.cpp
- AsynchT_Sender_svnt.cpp
- }
-
- Header_Files {
- AsynchT_SenderS.h
- AsynchT_Sender_svnt.h
- AsynchT_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender_exec.cpp
deleted file mode 100644
index 13bfa49be17..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender_exec.cpp
+++ /dev/null
@@ -1,359 +0,0 @@
-// -*- C++ -*-
-/**
-* Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
-* TAO and the TAO IDL Compiler have been developed by:
-* Center for Distributed Object Computing
-* Washington University
-* St. Louis, MO
-* USA
-* http://www.cs.wustl.edu/~schmidt/doc-center.html
-* and
-* Distributed Object Computing Laboratory
-* University of California at Irvine
-* Irvine, CA
-* USA
-* and
-* Institute for Software Integrated Systems
-* Vanderbilt University
-* Nashville, TN
-* USA
-* http://www.isis.vanderbilt.edu/
-*
-* Information about TAO is available at:
-* http://www.dre.vanderbilt.edu/~schmidt/TAO.html
-**/
-
-#include "AsynchT_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_AsynchT_Sender_Impl
-{
-
- CORBA::Boolean asynch = false;
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::AsynchT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_sent,
- Atomic_UShort &nr_of_rec)
- : context_(::AsynchT::CCM_Sender_Context::_duplicate (context)),
- nr_of_sent_(nr_of_sent),
- nr_of_rec_(nr_of_rec)
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ::AsynchT::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
-
- ACE_OS::sleep(2);
-
- ::AsynchT::AMI4CCM_MyFooReplyHandler_var cb =
- new CIAO_AsynchT_Sender_Impl::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_of_sent_,
- this->nr_of_rec_);
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :"
- "\tfoo_ami is NIL !\n"));
- return 1;
- }
- //Invoke Asynchronous calls to test
- ++this->nr_of_sent_;
- my_foo_ami_->sendc_foo ( cb.in(),"Hi ", 1);
- ACE_DEBUG ((LM_DEBUG, "OK: SEND ASYNCHRONOUS CALL foo.\n"));
-
- ++this->nr_of_sent_;
- my_foo_ami_->sendc_bar ( cb.in(), 1);
- ACE_DEBUG ((LM_DEBUG, "OK: SEND ASYNCHRONOUS CALL bar.\n"));
-
- ++this->nr_of_sent_;
- my_foo_ami_->sendc_get_rw_attrib( cb.in());
- ACE_DEBUG ((LM_DEBUG, "OK: SEND ASYNCHRONOUS CALL get_rw_attrib.\n"));
-
- ++this->nr_of_sent_;
- my_foo_ami_->sendc_set_rw_attrib( cb.in(),2);
- ACE_DEBUG ((LM_DEBUG, "OK: SEND ASYNCHRONOUS CALL set_rw_attrib.\n"));
-
- ++this->nr_of_sent_;
- ACE_DEBUG ((LM_DEBUG, "OK: SEND ASYNCHRONOUS CALL get_ro_attrib.\n"));
- my_foo_ami_->sendc_get_ro_attrib( cb.in());
-
- //there is more than 1 message sent, without receiving callbacks,
- //so it is asynchronous
- if (this->nr_of_sent_.value() > 1)
- {
- asynch = true;
- }
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::AsynchT::CCM_Sender_Context_ptr context)
- : context_(::AsynchT::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ::AsynchT::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
-
- ACE_OS::sleep(1);
- CORBA::Boolean wait = false;
- for (int i = 0; i < 3; ++i)
- {
- // Run some synch calls, answer has to come before the next step.
- CORBA::String_var answer;
- try
- {
- if( wait==true)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: NOT RECEIVED SYNCHRONOUS answer.\n"));
- }
- wait = true;
- ACE_DEBUG ((LM_DEBUG, "OK: SEND SYNCHRONOUS CALL foo.\n"));
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- 2 ,
- answer.out ());
- if ( result == 2)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: RECEIVED SYNCHRONOUS answer <%C>\n",
- answer.in ()));
- wait = false;
- }
- if ( wait==true)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: NOT RECEIVED SYNCHRONOUS answer.\n"));
- }
- wait = true;
- CORBA::Long l_cmd = 0;
- ACE_DEBUG ((LM_DEBUG, "OK: SEND SYNCHRONOUS CALL bar.\n"));
- my_foo_ami_->bar (2,l_cmd);
- if ( l_cmd == 2)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: RECEIVED SYNCHRONOUS answer <%C>\n",
- answer.in ()));
- wait = false;
- }
- }
- catch (const AsynchT::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::foo: "
- "Unexpected exception.\n"));
- }
- }
- return 0;
- }
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen (0),
- synch_foo_gen (0),
- nr_of_sent_ (0),
- nr_of_rec_ (0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::AsynchT::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_of_sent_,
- this->nr_of_rec_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in());
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if ((asynch == false) || (this->nr_of_rec_.value() != 5))
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: Test not asynchronous or not received back"
- " all requests ( %u/5)!\n",
- this->nr_of_rec_.value() ));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Test asynchronous, received back %u.\n",
- this->nr_of_rec_.value()));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_of_sent,
- Atomic_UShort &nr_of_rec)
- : nr_of_sent_ (nr_of_sent),
- nr_of_rec_ (nr_of_rec)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * /* answer */)
- {
- ++this->nr_of_rec_;
- if (ami_return_val == 1)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: GET ASYNCHRONOUS CALLBACK foo.\n"));
- --this->nr_of_sent_;
- }
- if (ami_return_val == 2)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: GET ASYNCHRONOUS CALLBACK "
- "FROM SYNCHRONOUS SENT MESSAGE\n"));
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::bar (
- ::CORBA::Long l_cmd)
- {
- ++this->nr_of_rec_;
- if (l_cmd == 1)
- {
- --this->nr_of_sent_;
- ACE_DEBUG ((LM_DEBUG, "OK: GET ASYNCHRONOUS CALLBACK bar.\n"));
- }
- if (l_cmd == 2)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: GET ASYNCHRONOUS CALLBACK "
- "FROM SYNCHRONOUS SENT MESSAGE\n"));
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short /*rw_attrib*/)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: GET ASYNCHRONOUS CALLBACK get_rw_attrib.\n"));
- ++this->nr_of_rec_;
- --this->nr_of_sent_;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: GET ASYNCHRONOUS CALLBACK set_rw_attrib.\n"));
- ++this->nr_of_rec_;
- --this->nr_of_sent_;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short /*ro_attrib*/)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: GET ASYNCHRONOUS CALLBACK get_ro_attrib.\n"));
- ++this->nr_of_rec_;
- --this->nr_of_sent_;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" ASYNCHT_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_AsynchT_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender_exec.h
deleted file mode 100644
index 834e288b46a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/Sender/AsynchT_Sender_exec.h
+++ /dev/null
@@ -1,187 +0,0 @@
-// -*- C++ -*-
-/**
-* Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
-* TAO and the TAO IDL Compiler have been developed by:
-* Center for Distributed Object Computing
-* Washington University
-* St. Louis, MO
-* USA
-* http://www.cs.wustl.edu/~schmidt/doc-center.html
-* and
-* Distributed Object Computing Laboratory
-* University of California at Irvine
-* Irvine, CA
-* USA
-* and
-* Institute for Software Integrated Systems
-* Vanderbilt University
-* Nashville, TN
-* USA
-* http://www.isis.vanderbilt.edu/
-*
-* Information about TAO is available at:
-* http://www.dre.vanderbilt.edu/~schmidt/TAO.html
-**/
-#ifndef CIAO_ASYNCHT_SENDER_EXEC_LZKPQ3_H_
-#define CIAO_ASYNCHT_SENDER_EXEC_LZKPQ3_H_
-
-#include /**/ "ace/pre.h"
-#include "ace/Task.h"
-#include "AsynchT_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "AsynchT_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_AsynchT_Sender_Impl
-{
-
- typedef ACE_Atomic_Op<TAO_SYNCH_MUTEX, CORBA::UShort> Atomic_UShort;
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator: public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator(::AsynchT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_sent, Atomic_UShort &nr_of_rec);
-
- virtual int svc(void);
-
- private:
- ::AsynchT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_sent_;
- Atomic_UShort &nr_of_rec_;
-
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator: public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator(::AsynchT::CCM_Sender_Context_ptr context);
-
- virtual int svc(void);
-
- private:
- ::AsynchT::CCM_Sender_Context_var context_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::AsynchT::CCM_Sender_Context_var ciao_context_;
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_of_sent_;
- Atomic_UShort nr_of_rec_;
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::AsynchT::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_UShort &nr_of_sent,
- Atomic_UShort &nr_of_rec);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- bar (
- ::CORBA::Long l_cmd);
-
- virtual void
- bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_sent_;
- Atomic_UShort &nr_of_rec_;
- };
-
- extern "C" ASYNCHT_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_AsynchT_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/AsynchT/descriptors/Plan.cdp
deleted file mode 100644
index c6018d085b5..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="AsynchT_ReceiverHomeImplementation">
- <name>AsynchT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="AsynchT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="AsynchT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AsynchT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AsynchT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="AsynchT_SenderHomeImplementation">
- <name>AsynchT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="AsynchT_Sender_ExecArtifact"/>
- <artifact xmi:idref="AsynchT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AsynchT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AsynchT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="AsynchT_AMIHomeImplementation">
- <name>AsynchT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="AsynchT_AMI_ExecArtifact"/>
- <artifact xmi:idref="AsynchT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AsynchT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AsynchT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.Receiver">
- <name>AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="AsynchT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.Sender">
- <name>AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="AsynchT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.AMI">
- <name>AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="AsynchT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="AsynchT.ComponentImplementations.AsynchTImplementation.AsynchT.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="AsynchT_AMI_SvntArtifact">
- <name>AsynchT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>AsynchT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="AsynchT_AMI_ExecArtifact">
- <name>AsynchT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>AsynchT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="AsynchT_Receiver_SvntArtifact">
- <name>AsynchT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>AsynchT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="AsynchT_Receiver_ExecArtifact">
- <name>AsynchT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>AsynchT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="AsynchT_Sender_SvntArtifact">
- <name>AsynchT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>AsynchT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="AsynchT_Sender_ExecArtifact">
- <name>AsynchT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>AsynchT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_AsynchT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/AsynchT/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/AsynchT/descriptors/run_test.pl
deleted file mode 100755
index 752c80f81d6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/AsynchT/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/.gitignore b/CIAO/connectors/ami4ccm/tests/DelReplyH/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/.gitignore
deleted file mode 100644
index bb7cc8dd281..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/DelReplyHA.idl
-/DelReplyHAE.idl
-/DelReplyHA_conn.cpp
-/DelReplyHA_conn.h
-/DelReplyHE.idl
-/DelReplyH_conn_export.h
-/DelReplyH_exec_export.h
-/DelReplyH_lem_stub_export.h
-/DelReplyH_skel_export.h
-/DelReplyH_stub_export.h
-/DelReplyH_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/DelReplyH.idl b/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/DelReplyH.idl
deleted file mode 100644
index a5eb542d1bf..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/DelReplyH.idl
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef DELREPLYH_IDL
-#define DELREPLYH_IDL
-
-#pragma ciao lem "Base/DelReplyHE.idl"
-#pragma ciao ami4ccm interface "DelReplyH::MyFoo"
-#pragma ciao lem "Base/DelReplyHAE.idl"
-#pragma ciao ami4ccm idl "Base/DelReplyHA.idl"
-
-module DelReplyH
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, out string answer)
- raises (InternalError);
- // void hello (out long answer)
- // raises (InternalError);
-
- // attribute short rw_attrib
- // getraises (InternalError)
- // setraises (InternalError);
-
- // readonly attribute short ro_attrib
- // raises (InternalError);
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/DelReplyH.mpc b/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/DelReplyH.mpc
deleted file mode 100644
index e36b8b68ee1..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Base/DelReplyH.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_DelReplyH_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=DELREPLYH_STUB_Export \
- -Wb,stub_export_include=DelReplyH_stub_export.h \
- -Wb,skel_export_macro=DELREPLYH_SKEL_Export \
- -Wb,skel_export_include=DelReplyH_skel_export.h \
- -Wb,conn_export_macro=DELREPLYH_CONN_Export \
- -Wb,conn_export_include=DelReplyH_conn_export.h \
- -Wb,exec_export_macro=DELREPLYH_EXEC_Export \
- -Wb,exec_export_include=DelReplyH_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- DelReplyH.idl
- }
-}
-
-project(AMI_DelReplyH_lem_gen) : ciaoidldefaults {
- after += AMI_DelReplyH_idl_gen AMI_DelReplyH_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=DELREPLYH_LEM_STUB_Export \
- -Wb,export_include=DelReplyH_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- DelReplyHE.idl
- }
-}
-
-project(AMI_DelReplyH_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_DelReplyH_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=DELREPLYH_STUB_Export \
- -Wb,stub_export_include=DelReplyH_stub_export.h \
- -Wb,conn_export_macro=DELREPLYH_CONN_Export \
- -Wb,conn_export_include=DelReplyH_conn_export.h \
- -Wb,svnt_export_macro=DELREPLYH_SVNT_Export \
- -Wb,svnt_export_include=DelReplyH_svnt_export.h \
- -Wb,skel_export_macro=DELREPLYH_SKEL_Export \
- -Wb,skel_export_include=DelReplyH_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- DelReplyHA.idl
- }
-}
-
-project(AMI_DelReplyH_lemae_gen) : ciaoidldefaults {
- after += AMI_DelReplyH_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=DELREPLYH_LEM_STUB_Export \
- -Wb,stub_export_include=DelReplyH_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- DelReplyHAE.idl
- }
-}
-
-project(AMI_DelReplyH_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_DelReplyH_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = DelReplyH_stub
- dynamicflags += DELREPLYH_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- DelReplyHC.cpp
- DelReplyHAC.cpp
- }
-
- Header_Files {
- DelReplyHC.h
- DelReplyH_stub_export.h
-}
-
- Inline_Files {
- DelReplyHC.inl
- }
-}
-
-project(AMI_DelReplyH_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_DelReplyH_lem_gen AMI_DelReplyH_stub AMI_DelReplyH_lemae_gen AMI_DelReplyH_skel
- libs += DelReplyH_stub DelReplyH_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = DelReplyH_lem_stub
- dynamicflags += DELREPLYH_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- DelReplyHEC.cpp
- DelReplyHAEC.cpp
- }
-
- Header_Files {
- DelReplyHEC.h
- DelReplyH_lem_stub_export.h
-}
-
- Inline_Files {
- DelReplyHEC.inl
- }
-}
-
-project(AMI_DelReplyH_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_DelReplyH_stub
- sharedname = DelReplyH_skel
- libs += DelReplyH_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += DELREPLYH_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- DelReplyHS.cpp
- DelReplyHAS.cpp
- }
-
- Header_Files {
- DelReplyHS.h
-
- DelReplyH_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_DelReplyH_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_DelReplyH_lem_stub DelReplyH_Base_AMI_stub AMI_DelReplyH_skel AMI_DelReplyH_lema_gen AMI_DelReplyH_lemae_gen
- sharedname = DelReplyH_conn
- libs += DelReplyH_stub DelReplyH_skel DelReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += DELREPLYH_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyHA_conn.cpp
- }
-
- Header_Files {
- DelReplyHA_conn.h
- DelReplyH_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_DelReplyH_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_DelReplyH_lem_stub DelReplyH_Base_AMI_stub AMI_DelReplyH_skel AMI_DelReplyH_lema_gen AMI_DelReplyH_lemae_gen AMI_DelReplyH_conn
- sharedname = DelReplyH_svnt
- libs += DelReplyH_stub DelReplyH_skel DelReplyH_lem_stub DelReplyH_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += DELREPLYH_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyHA_svnt.cpp
- }
-
- Header_Files {
- DelReplyHA_svnt.h
- DelReplyHA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/.gitignore
deleted file mode 100644
index 747d0cc71c6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/DelReplyH_ReceiverE.idl
-/DelReplyH_Receiver_exec_export.h
-/DelReplyH_Receiver_lem_stub_export.h
-/DelReplyH_Receiver_stub_export.h
-/DelReplyH_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver.idl b/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver.idl
deleted file mode 100644
index a95470aaddf..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef DELREPLYH_RECEIVER_IDL
-#define DELREPLYH_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/DelReplyH.idl"
-
-module DelReplyH
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver.mpc
deleted file mode 100644
index 8036398669c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p DelReplyH_Base DelReplyH_Receiver"
-
-project(AMI_DelReplyH_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_DelReplyH_idl_gen
- idlflags += -Wb,stub_export_macro=DELREPLYH_RECEIVER_STUB_Export \
- -Wb,stub_export_include=DelReplyH_Receiver_stub_export.h \
- -Wb,skel_export_macro=DELREPLYH_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=DelReplyH_Receiver_svnt_export.h \
- -Wb,exec_export_macro=DELREPLYH_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=DelReplyH_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- DelReplyH_Receiver.idl
- }
-}
-
-project(AMI_DelReplyH_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_DelReplyH_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=DELREPLYH_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=DelReplyH_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- DelReplyH_ReceiverE.idl
- }
-}
-
-project(AMI_DelReplyH_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_DelReplyH_Base_Receiver_lem_gen AMI_DelReplyH_Base_Receiver_stub AMI_DelReplyH_stub
- libs += DelReplyH_stub DelReplyH_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = DelReplyH_Receiver_lem_stub
- dynamicflags += DELREPLYH_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyH_ReceiverEC.cpp
- }
-
- Header_Files {
- DelReplyH_ReceiverEC.h
- DelReplyH_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- DelReplyH_ReceiverEC.inl
- }
-}
-
-project(AMI_DelReplyH_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_DelReplyH_Base_Receiver_idl_gen AMI_DelReplyH_stub
- libs += DelReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = DelReplyH_Receiver_stub
- dynamicflags += DELREPLYH_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyH_ReceiverC.cpp
- }
-
- Header_Files {
- DelReplyH_ReceiverC.h
- DelReplyH_Receiver_stub_export.h
- }
-
- Inline_Files {
- DelReplyH_ReceiverC.inl
- }
-}
-
-project(AMI_DelReplyH_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_DelReplyH_Base_Receiver_l_stub AMI_DelReplyH_Base_Receiver_stub AMI_DelReplyH_stub AMI_DelReplyH_lem_stub
- sharedname = DelReplyH_Receiver_exec
- libs += DelReplyH_Receiver_stub DelReplyH_Receiver_lem_stub DelReplyH_stub DelReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += DELREPLYH_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyH_Receiver_exec.cpp
- }
-
- Header_Files {
- DelReplyH_Receiver_exec.h
- DelReplyH_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_DelReplyH_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_DelReplyH_Base_skel AMI_DelReplyH_Base_Receiver_l_stub AMI_DelReplyH_stub AMI_DelReplyH_skel AMI_DelReplyH_lem_stub
- sharedname = DelReplyH_Receiver_svnt
- libs += DelReplyH_Receiver_stub DelReplyH_Receiver_lem_stub \
- DelReplyH_skel \
- DelReplyH_stub DelReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += DELREPLYH_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyH_ReceiverS.cpp
- DelReplyH_Receiver_svnt.cpp
- }
-
- Header_Files {
- DelReplyH_ReceiverS.h
- DelReplyH_Receiver_svnt.h
- DelReplyH_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver_exec.cpp
deleted file mode 100644
index 7bb457254b2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver_exec.cpp
+++ /dev/null
@@ -1,151 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "DelReplyH_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_DelReplyH_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::DelReplyH::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::DelReplyH::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::DelReplyH::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * in_str,
- ::CORBA::String_out answer)
- {
- if (ACE_OS::strlen (in_str) == 0)
- {
- DelReplyH::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = CORBA::string_dup ("This is my answer : Hi");
- return 1;
- }
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::DelReplyH::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::DelReplyH::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::DelReplyH::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::DelReplyH::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_DelReplyH_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver_exec.h
deleted file mode 100644
index 2048324bd18..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Receiver/DelReplyH_Receiver_exec.h
+++ /dev/null
@@ -1,127 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_DELREPLYH_RECEIVER_EXEC_FMXHV6_H_
-#define CIAO_DELREPLYH_RECEIVER_EXEC_FMXHV6_H_
-
-
-#include "DelReplyH_ReceiverEC.h"
-#include "DelReplyH_Receiver_exec_export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-
-namespace CIAO_DelReplyH_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::DelReplyH::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::DelReplyH::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from DelReplyH::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::DelReplyH::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::DelReplyH::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::DelReplyH::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::DelReplyH::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" DELREPLYH_RECEIVER_EXEC_Export::Components::EnterpriseComponent_ptr
- create_DelReplyH_Receiver_Impl (void);
-}
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/.gitignore
deleted file mode 100644
index 79c6184872d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/DelReplyH_SenderE.idl
-/DelReplyH_Sender_exec_export.h
-/DelReplyH_Sender_lem_stub_export.h
-/DelReplyH_Sender_stub_export.h
-/DelReplyH_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender.idl b/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender.idl
deleted file mode 100644
index b26a817331d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef DELREPLYH_SENDER_IDL
-#define DELREPLYH_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/DelReplyH.idl"
-
-#pragma ciao ami4ccm receptacle "DelReplyH::Sender::run_my_foo"
-
-module DelReplyH
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender.mpc b/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender.mpc
deleted file mode 100644
index fdd51fd53d1..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p DelReplyH_Base DelReplyH_Sender"
-
-project(AMI_DelReplyH_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_DelReplyH_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=DELREPLYH_SENDER_STUB_Export \
- -Wb,stub_export_include=DelReplyH_Sender_stub_export.h \
- -Wb,skel_export_macro=DELREPLYH_SENDER_SVNT_Export \
- -Wb,skel_export_include=DelReplyH_Sender_svnt_export.h \
- -Wb,exec_export_macro=DELREPLYH_SENDER_EXEC_Export \
- -Wb,exec_export_include=DelReplyH_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- DelReplyH_Sender.idl
- }
-}
-
-project(AMI_DelReplyH_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_DelReplyH_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=DELREPLYH_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=DelReplyH_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- DelReplyH_SenderE.idl
- }
-}
-
-project(AMI_DelReplyH_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_DelReplyH_Base_Sender_lem_gen AMI_DelReplyH_stub Conn_DelReplyH_Base_stub
- libs += DelReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = DelReplyH_Sender_lem_stub
- dynamicflags += DELREPLYH_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyH_SenderEC.cpp
- }
-
- Header_Files {
- DelReplyH_SenderEC.h
- DelReplyH_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- DelReplyH_SenderEC.inl
- }
-}
-
-project(AMI_DelReplyH_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_DelReplyH_Base_Sender_idl_gen AMI_DelReplyH_Base_stub AMI_DelReplyH_stub Conn_DelReplyH_Base_stub
- libs += DelReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = DelReplyH_Sender_stub
- dynamicflags += DELREPLYH_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyH_SenderC.cpp
- }
-
- Header_Files {
- DelReplyH_SenderC.h
- DelReplyH_Sender_stub_export.h
- }
-
- Inline_Files {
- DelReplyH_SenderC.inl
- }
-}
-
-project(AMI_DelReplyH_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_DelReplyH_Base_Sender_lem_stub AMI_DelReplyH_Base_Sender_stub AMI_DelReplyH_Base_exec Conn_DelReplyH_Base_stub AMI_DelReplyH_lem_stub
- sharedname = DelReplyH_Sender_exec
- libs += DelReplyH_Sender_stub DelReplyH_Sender_lem_stub DelReplyH_stub DelReplyH_stub DelReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += DELREPLYH_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyH_Sender_exec.cpp
- }
-
- Header_Files {
- DelReplyH_Sender_exec.h
- DelReplyH_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_DelReplyH_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_DelReplyH_Base_skel AMI_DelReplyH_Base_Sender_lem_stub AMI_DelReplyH_Base_Sender_stub AMI_DelReplyH_Base_exec AMI_DelReplyH_skel
- sharedname = DelReplyH_Sender_svnt
- libs += DelReplyH_Sender_stub DelReplyH_Sender_lem_stub \
- DelReplyH_skel \
- DelReplyH_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += DELREPLYH_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- DelReplyH_SenderS.cpp
- DelReplyH_Sender_svnt.cpp
- }
-
- Header_Files {
- DelReplyH_SenderS.h
- DelReplyH_Sender_svnt.h
- DelReplyH_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender_exec.cpp
deleted file mode 100644
index 56d76aae5b3..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender_exec.cpp
+++ /dev/null
@@ -1,241 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "DelReplyH_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_DelReplyH_Sender_Impl
-{
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::DelReplyH::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_callbacks,
- Atomic_UShort &nr_exceptions)
- : context_(::DelReplyH::CCM_Sender_Context::_duplicate (context)),
- nr_callbacks_(nr_callbacks),
- nr_exceptions_(nr_exceptions)
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::DelReplyH::AMI4CCM_MyFoo_var my_foo_ami_ =
- this->context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- //Invoke Asynchronous calls
- //test with replyhandler.
- ::DelReplyH::AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_callbacks_,
- this->nr_exceptions_);
-
- my_foo_ami_->sendc_foo(cb.in(),
- "Do something asynchronous");
-
- }
- //Invoke Asynchronous calls to test exception handling
- ::DelReplyH::AMI4CCM_MyFooReplyHandler_var cb2 =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_callbacks_,
- this->nr_exceptions_);
-
- my_foo_ami_->sendc_foo (cb2.in (), "");
-
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::DelReplyH::CCM_Sender_Context_ptr context)
- : context_(::DelReplyH::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::DelReplyH::MyFoo_var my_foo_ami_ =
- this->context_->get_connection_run_my_foo ();
-
- //run some synch calls
- try
- {
- CORBA::String_var answer;
- my_foo_ami_->foo("synchronous call", answer.out ());
- ACE_DEBUG ((LM_DEBUG, "OK: SYNCH foo returns <%C>.\n",
- answer.in ()));
- }
- catch (const DelReplyH::InternalError& )
- {
- ACE_ERROR ((LM_ERROR, "ERROR: SYNCH foo(): "
- "Unexpected return.\n"));
- }
- return 0;
- }
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void)
- : asynch_foo_gen (0),
- synch_foo_gen (0),
- nr_callbacks_ (0),
- nr_exceptions_ (0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::DelReplyH::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_callbacks_,
- this->nr_exceptions_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in());
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (this->nr_callbacks_.value() != 0)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Not all ReplyHandlers were "
- "deleted, %d left.\n",
- this->nr_callbacks_.value ()));
- }
- if (this->nr_exceptions_.value() != 1)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Wrong number of exceptions received. "
- "Expected : 1, Received = %u.\n",
- this->nr_exceptions_.value()));
- }
- if ((this->nr_callbacks_.value() == 0) &&
- (this->nr_exceptions_.value() == 1))
- {
- ACE_DEBUG ((LM_DEBUG,
- "OK: All constructed ReplyHandlers were deleted.\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_callbacks,
- Atomic_UShort &nr_exceptions)
- : nr_callbacks_ (nr_callbacks),
- nr_exceptions_ (nr_exceptions)
- {
- ACE_DEBUG ((LM_DEBUG,"CONSTRUCTOR replyhandle\n"));
- ++this->nr_callbacks_;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- ACE_DEBUG ((LM_DEBUG,"DESTRUCTOR replyhandle\n"));
- --this->nr_callbacks_;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long /* ami_return_val */,
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: ASYNCH foo() returns answer: %C.\n", answer));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- ++this->nr_exceptions_;
- }
-
- extern "C" DELREPLYH_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_DelReplyH_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender_exec.h
deleted file mode 100644
index fb624a351af..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/Sender/DelReplyH_Sender_exec.h
+++ /dev/null
@@ -1,157 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_DELREPLYH_SENDER_EXEC_9OZUBT_H_
-#define CIAO_DELREPLYH_SENDER_EXEC_9OZUBT_H_
-
-#include /**/ "ace/pre.h"
-
-#include "DelReplyH_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "DelReplyH_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_DelReplyH_Sender_Impl
-{
-
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::DelReplyH::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_callbacks,
- Atomic_UShort &nr_exceptions);
-
- virtual int svc (void);
-
- private:
- ::DelReplyH::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_callbacks_;
- Atomic_UShort &nr_exceptions_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::DelReplyH::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::DelReplyH::CCM_Sender_Context_var context_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::DelReplyH::CCM_Sender_Context_var ciao_context_;
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_callbacks_;
- Atomic_UShort nr_exceptions_;
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::DelReplyH::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_UShort &nr_callbacks,
- Atomic_UShort &nr_exceptions);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_callbacks_;
- Atomic_UShort &nr_exceptions_;
- };
-
- extern "C" DELREPLYH_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_DelReplyH_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/DelReplyH/descriptors/Plan.cdp
deleted file mode 100644
index 49213c4afa9..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="DelReplyH_ReceiverHomeImplementation">
- <name>DelReplyH_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="DelReplyH_Receiver_ExecArtifact"/>
- <artifact xmi:idref="DelReplyH_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>DelReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>DelReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="DelReplyH_SenderHomeImplementation">
- <name>DelReplyH_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="DelReplyH_Sender_ExecArtifact"/>
- <artifact xmi:idref="DelReplyH_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>DelReplyH.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>DelReplyH.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="DelReplyH_AMIHomeImplementation">
- <name>DelReplyH_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="DelReplyH_AMI_ExecArtifact"/>
- <artifact xmi:idref="DelReplyH_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>DelReplyH.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>DelReplyH.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.Receiver">
- <name>DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="DelReplyH_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.Sender">
- <name>DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="DelReplyH_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.AMI">
- <name>DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="DelReplyH_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="DelReplyH.ComponentImplementations.DelReplyHImplementation.DelReplyH.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="DelReplyH_AMI_SvntArtifact">
- <name>DelReplyH.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>DelReplyH_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="DelReplyH_AMI_ExecArtifact">
- <name>DelReplyH.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>DelReplyH_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_AMI_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="DelReplyH_Receiver_SvntArtifact">
- <name>DelReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>DelReplyH_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="DelReplyH_Receiver_ExecArtifact">
- <name>DelReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>DelReplyH_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="DelReplyH_Sender_SvntArtifact">
- <name>DelReplyH.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>DelReplyH_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="DelReplyH_Sender_ExecArtifact">
- <name>DelReplyH.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>DelReplyH_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_DelReplyH_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/DelReplyH/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/DelReplyH/descriptors/run_test.pl
deleted file mode 100755
index 5fc3a8f8324..00000000000
--- a/CIAO/connectors/ami4ccm/tests/DelReplyH/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/.gitignore b/CIAO/connectors/ami4ccm/tests/Exceptions/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/Exceptions/Base/.gitignore
deleted file mode 100644
index 922a1c645fb..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/ExceptionTA.idl
-/ExceptionTAE.idl
-/ExceptionTA_conn.cpp
-/ExceptionTA_conn.h
-/ExceptionTE.idl
-/ExceptionT_conn_export.h
-/ExceptionT_exec_export.h
-/ExceptionT_lem_stub_export.h
-/ExceptionT_skel_export.h
-/ExceptionT_stub_export.h
-/ExceptionT_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl b/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl
deleted file mode 100644
index f3316b59c7a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.idl
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef EXCEPTION_T_IDL
-#define EXCEPTION_T_IDL
-
-#pragma ciao lem "Base/ExceptionTE.idl"
-#pragma ciao ami4ccm interface "ExceptionT::MyFoo"
-#pragma ciao lem "Base/ExceptionTAE.idl"
-#pragma ciao ami4ccm idl "Base/ExceptionTA.idl"
-
-module ExceptionT
-{
- exception InternalError
- {
- long id;
- string error_string;
- string test;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, out string answer)
- raises (InternalError);
- void hello (out long answer)
- raises (InternalError);
-
- attribute short rw_attrib
- getraises (InternalError)
- setraises (InternalError);
-
- readonly attribute short ro_attrib
- raises (InternalError);
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.mpc b/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.mpc
deleted file mode 100644
index 2c8176499dc..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Base/ExceptionT.mpc
+++ /dev/null
@@ -1,192 +0,0 @@
-project(AMI_ExceptionT_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=EXCEPTION_T_STUB_Export \
- -Wb,stub_export_include=ExceptionT_stub_export.h \
- -Wb,skel_export_macro=EXCEPTION_T_SKEL_Export \
- -Wb,skel_export_include=ExceptionT_skel_export.h \
- -Wb,conn_export_macro=EXCEPTION_T_CONN_Export \
- -Wb,conn_export_include=ExceptionT_conn_export.h \
- -Wb,exec_export_macro=EXCEPTION_T_EXEC_Export \
- -Wb,exec_export_include=ExceptionT_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- ExceptionT.idl
- }
-}
-
-project(AMI_ExceptionT_lem_gen) : ciaoidldefaults {
- after += AMI_ExceptionT_idl_gen AMI_ExceptionT_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=EXCEPTION_T_LEM_STUB_Export \
- -Wb,export_include=ExceptionT_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- ExceptionTE.idl
- }
-}
-
-project(AMI_ExceptionT_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_ExceptionT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=EXCEPTION_T_STUB_Export \
- -Wb,stub_export_include=ExceptionT_stub_export.h \
- -Wb,conn_export_macro=EXCEPTION_T_CONN_Export \
- -Wb,conn_export_include=ExceptionT_conn_export.h \
- -Wb,svnt_export_macro=EXCEPTION_T_SVNT_Export \
- -Wb,svnt_export_include=ExceptionT_svnt_export.h \
- -Wb,skel_export_macro=EXCEPTION_T_SKEL_Export \
- -Wb,skel_export_include=ExceptionT_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- ExceptionTA.idl
- }
-}
-
-project(AMI_ExceptionT_lemae_gen) : ciaoidldefaults {
- after += AMI_ExceptionT_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=EXCEPTION_T_LEM_STUB_Export \
- -Wb,stub_export_include=ExceptionT_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- ExceptionTAE.idl
- }
-}
-
-project(AMI_ExceptionT_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_ExceptionT_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = ExceptionT_stub
- dynamicflags += EXCEPTION_T_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ExceptionTC.cpp
- ExceptionTAC.cpp
- }
-
- Header_Files {
- ExceptionTC.h
- ExceptionT_stub_export.h
-}
-
- Inline_Files {
- ExceptionTC.inl
- }
-}
-
-project(AMI_ExceptionT_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_ExceptionT_lem_gen AMI_ExceptionT_stub AMI_ExceptionT_lemae_gen AMI_ExceptionT_skel
- libs += ExceptionT_stub ExceptionT_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = ExceptionT_lem_stub
- dynamicflags += EXCEPTION_T_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ExceptionTEC.cpp
- ExceptionTAEC.cpp
- }
-
- Header_Files {
- ExceptionTEC.h
- ExceptionT_lem_stub_export.h
-}
-
- Inline_Files {
- ExceptionTEC.inl
- }
-}
-
-project(AMI_ExceptionT_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_ExceptionT_stub
- sharedname = ExceptionT_skel
- libs += ExceptionT_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += EXCEPTION_T_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ExceptionTS.cpp
- ExceptionTAS.cpp
- }
-
- Header_Files {
- ExceptionTS.h
-
- ExceptionT_skel_export.h
- }
-
- Inline_Files {
-
- }
-}
-
-project(AMI_ExceptionT_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_ExceptionT_lem_stub ExceptionT_Base_AMI_stub AMI_ExceptionT_skel AMI_ExceptionT_lema_gen AMI_ExceptionT_lemae_gen
- sharedname = ExceptionT_conn
- libs += ExceptionT_stub ExceptionT_skel ExceptionT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += EXCEPTION_T_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionTA_conn.cpp
- }
-
- Header_Files {
- ExceptionTA_conn.h
- ExceptionT_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_ExceptionT_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_ExceptionT_lem_stub ExceptionT_Base_AMI_stub AMI_ExceptionT_skel AMI_ExceptionT_lema_gen AMI_ExceptionT_lemae_gen AMI_ExceptionT_conn
- sharedname = ExceptionT_svnt
- libs += ExceptionT_stub ExceptionT_skel ExceptionT_lem_stub ExceptionT_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += EXCEPTION_T_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionTA_svnt.cpp
- }
-
- Header_Files {
- ExceptionTA_svnt.h
- ExceptionTA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/.gitignore
deleted file mode 100644
index 4fbad2cb5e5..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/ExceptionT_ReceiverE.idl
-/ExceptionT_Receiver_exec_export.h
-/ExceptionT_Receiver_lem_stub_export.h
-/ExceptionT_Receiver_stub_export.h
-/ExceptionT_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver.idl b/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver.idl
deleted file mode 100644
index f07aca3b30b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef EXCEPTION_T_RECEIVER_IDL
-#define EXCEPTION_T_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/ExceptionT.idl"
-
-module ExceptionT
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver.mpc
deleted file mode 100644
index c7a34340234..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p ExceptionT_Base ExceptionT_Receiver"
-
-project(AMI_ExceptionT_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_ExceptionT_idl_gen
- idlflags += -Wb,stub_export_macro=EXCEPTION_T_RECEIVER_STUB_Export \
- -Wb,stub_export_include=ExceptionT_Receiver_stub_export.h \
- -Wb,skel_export_macro=EXCEPTION_T_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=ExceptionT_Receiver_svnt_export.h \
- -Wb,exec_export_macro=EXCEPTION_T_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=ExceptionT_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- ExceptionT_Receiver.idl
- }
-}
-
-project(AMI_ExceptionT_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_ExceptionT_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=EXCEPTION_T_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=ExceptionT_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- ExceptionT_ReceiverE.idl
- }
-}
-
-project(AMI_ExceptionT_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_ExceptionT_Base_Receiver_lem_gen AMI_ExceptionT_Base_Receiver_stub AMI_ExceptionT_stub
- libs += ExceptionT_stub ExceptionT_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ExceptionT_Receiver_lem_stub
- dynamicflags += EXCEPTION_T_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionT_ReceiverEC.cpp
- }
-
- Header_Files {
- ExceptionT_ReceiverEC.h
- ExceptionT_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- ExceptionT_ReceiverEC.inl
- }
-}
-
-project(AMI_ExceptionT_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_ExceptionT_Base_Receiver_idl_gen AMI_ExceptionT_stub
- libs += ExceptionT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ExceptionT_Receiver_stub
- dynamicflags += EXCEPTION_T_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionT_ReceiverC.cpp
- }
-
- Header_Files {
- ExceptionT_ReceiverC.h
- ExceptionT_Receiver_stub_export.h
- }
-
- Inline_Files {
- ExceptionT_ReceiverC.inl
- }
-}
-
-project(AMI_ExceptionT_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_ExceptionT_Base_Receiver_l_stub AMI_ExceptionT_Base_Receiver_stub AMI_ExceptionT_stub AMI_ExceptionT_lem_stub
- sharedname = ExceptionT_Receiver_exec
- libs += ExceptionT_Receiver_stub ExceptionT_Receiver_lem_stub ExceptionT_stub ExceptionT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += EXCEPTION_T_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionT_Receiver_exec.cpp
- }
-
- Header_Files {
- ExceptionT_Receiver_exec.h
- ExceptionT_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_ExceptionT_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_ExceptionT_Base_skel AMI_ExceptionT_Base_Receiver_l_stub AMI_ExceptionT_stub AMI_ExceptionT_skel AMI_ExceptionT_lem_stub
- sharedname = ExceptionT_Receiver_svnt
- libs += ExceptionT_Receiver_stub ExceptionT_Receiver_lem_stub \
- ExceptionT_skel \
- ExceptionT_stub ExceptionT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += EXCEPTION_T_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionT_ReceiverS.cpp
- ExceptionT_Receiver_svnt.cpp
- }
-
- Header_Files {
- ExceptionT_ReceiverS.h
- ExceptionT_Receiver_svnt.h
- ExceptionT_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp
deleted file mode 100644
index 0b6d2a12799..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.cpp
+++ /dev/null
@@ -1,215 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "ExceptionT_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_ExceptionT_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::ExceptionT::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::ExceptionT::CCM_Receiver_Context::_duplicate (ctx)),
- get_rw_ (true),
- get_ro_ (true)
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::ExceptionT::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * in_str,
- ::CORBA::String_out answer)
- {
- if (ACE_OS::strlen (in_str) == 0)
- {
- ExceptionT::InternalError ex (42, "Rec.Exc.foo",
- "thrown by receiver");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = CORBA::string_dup ("This is my answer : Hi");
- return ACE_OS::rand () % 100;
- }
- }
-
- void
- do_my_foo_exec_i::hello (::CORBA::Long_out answer)
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = ACE_OS::rand () % 100;
- //always an exception is thrown
- ExceptionT::InternalError ex (42, "Rec.Exc.hello",
- "thrown by receiver");
- throw ex;
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::rw_attrib (void)
- {
- // this->get_rw_ is always true, so always an exception is thrown.
- if (this->get_rw_)
- {
- ExceptionT::InternalError ex (42, "Rec.Exc.get_rw_attrib",
- "thrown by receiver");
- throw ex;
- }
- else
- {
- return ACE_OS::rand () % 100;
- }
- }
-
- void
- do_my_foo_exec_i::rw_attrib(::CORBA::Short new_value)
- {
- if (new_value == 0)
- {
- //throw internal excep
- ExceptionT::InternalError ex (42, "Rec.Exc.set_rw_attrib",
- "thrown by receiver");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- }
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::ro_attrib (void)
- {
- // this->get_ro_ is always true, so always an exception is thrown.
- if (this->get_ro_)
- {
- ExceptionT::InternalError ex (42, "Rec.Exc.ro_attrib",
- "thrown by receiver");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- }
- return ACE_OS::rand () % 100;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::ExceptionT::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::ExceptionT::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::ExceptionT::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::ExceptionT::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_ExceptionT_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.h
deleted file mode 100644
index e4f6ce3b801..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Receiver/ExceptionT_Receiver_exec.h
+++ /dev/null
@@ -1,137 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_EXCEPTIONT_RECEIVER_EXEC_LMPZLZ_H_
-#define CIAO_EXCEPTIONT_RECEIVER_EXEC_LMPZLZ_H_
-
-#include "ExceptionT_ReceiverEC.h"
-#include "ExceptionT_Receiver_exec_export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-
-namespace CIAO_ExceptionT_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
- class do_my_foo_exec_i
- : public virtual ::ExceptionT::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::ExceptionT::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from ExceptionT::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::String_out answer);
-
- virtual
- void hello (::CORBA::Long_out answer);
-
- virtual
- ::CORBA::Short rw_attrib (void);
-
- virtual
- void rw_attrib (::CORBA::Short rw_attrib);
-
- virtual
- ::CORBA::Short ro_attrib (void);
- //@}
-
- private:
- ::ExceptionT::CCM_Receiver_Context_var ciao_context_;
- bool get_rw_;
- bool get_ro_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::ExceptionT::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::ExceptionT::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::ExceptionT::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
-
- extern "C" EXCEPTION_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ExceptionT_Receiver_Impl (void);
-}
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/.gitignore
deleted file mode 100644
index 7d93f99f043..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/ExceptionT_SenderE.idl
-/ExceptionT_Sender_exec_export.h
-/ExceptionT_Sender_lem_stub_export.h
-/ExceptionT_Sender_stub_export.h
-/ExceptionT_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender.idl b/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender.idl
deleted file mode 100644
index cfec3871768..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef EXCEPTION_T_SENDER_IDL
-#define EXCEPTION_T_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/ExceptionT.idl"
-
-#pragma ciao ami4ccm receptacle "ExceptionT::Sender::run_my_foo"
-
-module ExceptionT
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender.mpc b/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender.mpc
deleted file mode 100644
index 2fbad2110f6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p ExceptionT_Base ExceptionT_Sender"
-
-project(AMI_ExceptionT_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_ExceptionT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=EXCEPTION_T_SENDER_STUB_Export \
- -Wb,stub_export_include=ExceptionT_Sender_stub_export.h \
- -Wb,skel_export_macro=EXCEPTION_T_SENDER_SVNT_Export \
- -Wb,skel_export_include=ExceptionT_Sender_svnt_export.h \
- -Wb,exec_export_macro=EXCEPTION_T_SENDER_EXEC_Export \
- -Wb,exec_export_include=ExceptionT_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- ExceptionT_Sender.idl
- }
-}
-
-project(AMI_ExceptionT_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_ExceptionT_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=EXCEPTION_T_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=ExceptionT_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- ExceptionT_SenderE.idl
- }
-}
-
-project(AMI_ExceptionT_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_ExceptionT_Base_Sender_lem_gen AMI_ExceptionT_stub Conn_ExceptionT_Base_stub
- libs += ExceptionT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ExceptionT_Sender_lem_stub
- dynamicflags += EXCEPTION_T_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionT_SenderEC.cpp
- }
-
- Header_Files {
- ExceptionT_SenderEC.h
- ExceptionT_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- ExceptionT_SenderEC.inl
- }
-}
-
-project(AMI_ExceptionT_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_ExceptionT_Base_Sender_idl_gen AMI_ExceptionT_Base_stub AMI_ExceptionT_stub Conn_ExceptionT_Base_stub
- libs += ExceptionT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ExceptionT_Sender_stub
- dynamicflags += EXCEPTION_T_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionT_SenderC.cpp
- }
-
- Header_Files {
- ExceptionT_SenderC.h
- ExceptionT_Sender_stub_export.h
- }
-
- Inline_Files {
- ExceptionT_SenderC.inl
- }
-}
-
-project(AMI_ExceptionT_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_ExceptionT_Base_Sender_lem_stub AMI_ExceptionT_Base_Sender_stub AMI_ExceptionT_Base_exec Conn_ExceptionT_Base_stub AMI_ExceptionT_lem_stub
- sharedname = ExceptionT_Sender_exec
- libs += ExceptionT_Sender_stub ExceptionT_Sender_lem_stub ExceptionT_stub ExceptionT_stub ExceptionT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += EXCEPTION_T_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionT_Sender_exec.cpp
- }
-
- Header_Files {
- ExceptionT_Sender_exec.h
- ExceptionT_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_ExceptionT_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_ExceptionT_Base_skel AMI_ExceptionT_Base_Sender_lem_stub AMI_ExceptionT_Base_Sender_stub AMI_ExceptionT_Base_exec AMI_ExceptionT_skel
- sharedname = ExceptionT_Sender_svnt
- libs += ExceptionT_Sender_stub ExceptionT_Sender_lem_stub \
- ExceptionT_skel \
- ExceptionT_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += EXCEPTION_T_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ExceptionT_SenderS.cpp
- ExceptionT_Sender_svnt.cpp
- }
-
- Header_Files {
- ExceptionT_SenderS.h
- ExceptionT_Sender_svnt.h
- ExceptionT_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp
deleted file mode 100644
index b739d2b9dd0..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.cpp
+++ /dev/null
@@ -1,390 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "ExceptionT_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_ExceptionT_Sender_Impl
-{
- CORBA::Short nr_of_received = 0;
- CORBA::Short nr_of_syn_received = 0;
-
- void HandleException (
- long id,
- const char* error_string,
- const char* test,
- const char* func)
- {
- if (id != 42)
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender: unexpected ID received in except "
- "handler <%u> <%C> (%C)\n",
- id, error_string,func));
- return;
- }
- if (ACE_OS::strcmp (test, "thrown by receiver") != 0)
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (%s): unexpected string received in"
- " except handler <%s>\n",
- func, test));
- return;
- }
- ACE_DEBUG ((LM_DEBUG, "Sender: Caught correct exception <%u,"
- "%C> for %C\n",
- id, error_string, func));
- ++nr_of_received;
- }
-
- void HandleException (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder,
- const char* func)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const ExceptionT::InternalError& ex)
- {
- CIAO_ExceptionT_Sender_Impl::HandleException (ex.id,
- ex.error_string.in (),
- ex.test.in(), func);
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
- }
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::ExceptionT::CCM_Sender_Context_ptr context)
- : context_(::ExceptionT::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::ExceptionT::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- ::ExceptionT::AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i ();
-
- //Invoke Asynchronous calls to test exception handling
- //for this test, hello , get_ro_attrib and get_rw_attrib functions of
- //receiver always sent back a exception
- my_foo_ami_->sendc_hello (cb.in());
- my_foo_ami_->sendc_get_rw_attrib(cb.in());
- my_foo_ami_->sendc_get_ro_attrib(cb.in());
- my_foo_ami_->sendc_foo (cb.in(), "");
- my_foo_ami_->sendc_set_rw_attrib(cb.in(), 0);
- }
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::ExceptionT::CCM_Sender_Context_ptr context)
- : context_(::ExceptionT::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::ExceptionT::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
-
- //run synch calls
- CORBA::String_var out_str;
- try
- {
- my_foo_ami_->foo ("Do something synchronous",
- out_str.out ());
- }
- catch (const ExceptionT::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::foo: "
- "Unexpected exception.\n"));
- }
- try
- {
- my_foo_ami_->foo ("", out_str);
- }
- catch (const ExceptionT::InternalError& ex)
- {
- //expected exception
- HandleException (ex.id, ex.error_string.in (), ex.test.in(),
- "foo (syn)");
- ++nr_of_syn_received;
-
- }
- try
- {
- CORBA::Long answer;
- my_foo_ami_->hello (answer);
- }
- catch (const ExceptionT::InternalError& ex)
- {
- //expected exception
- HandleException (ex.id, ex.error_string.in (), ex.test.in(),
- "hello (syn)");
- ++nr_of_syn_received;
- }
- try
- {
- my_foo_ami_->rw_attrib ();
- }
- catch (const ExceptionT::InternalError& ex)
- {
- //expected exception
- HandleException (ex.id, ex.error_string.in (), ex.test.in(),
- "get_rw_attrib (syn)");
- ++nr_of_syn_received;
- }
- try
- {
- my_foo_ami_->rw_attrib (0);
- }
- catch (const ExceptionT::InternalError& ex)
- {
- //expected exception
- HandleException (ex.id, ex.error_string.in (), ex.test.in(),
- "set_rw_attrib (syn)");
- ++nr_of_syn_received;
- }
- try
- {
- my_foo_ami_->ro_attrib ();
- }
- catch (const ExceptionT::InternalError& ex)
- {
- HandleException (ex.id, ex.error_string.in (), ex.test.in(),
- "ro_attrib (syn)");
- ++nr_of_syn_received;
- }
-
- return 0;
- }
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen (0),
- synch_foo_gen (0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::ExceptionT::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in ());
- asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in ());
- synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- CORBA::Short nr_of_asyn = nr_of_received - nr_of_syn_received;
- if (nr_of_asyn != 5)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
- " exceptions for asynchronous calls"
- "Expected: 5, Received: %u.\n",
- nr_of_asyn));
- }
- if (nr_of_syn_received != 5)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
- " exceptions for synchronous calls"
- "Expected: 5, Received: %u.\n",
- nr_of_syn_received));
- }
- if ((nr_of_asyn == 5) && (nr_of_syn_received == 5))
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Received the expected number of"
- " exceptions for asynchronous and "
- "synchronous calls\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long /* ami_return_val */,
- const char * /* answer */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::foo: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "FOO (asyn)");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello (
- ::CORBA::Long /* answer */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::hello: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "HELLO (asyn)");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short /* rw_attrib */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::get_rw_attrib : "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "get_rw_attrib (asyn)");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::set_rw_attrib: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "SET_RW_ATTRIB (asyn)");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short /* ro_attrib */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::get_ro_attrib: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "RO_ATTRIB (asyn)");
- }
-
- extern "C" EXCEPTION_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ExceptionT_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.h
deleted file mode 100644
index a312317cf6f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/Sender/ExceptionT_Sender_exec.h
+++ /dev/null
@@ -1,186 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_EXCEPTIONT_SENDER_EXEC_4QC1XJ_H_
-#define CIAO_EXCEPTIONT_SENDER_EXEC_4QC1XJ_H_
-
-#include /**/ "ace/pre.h"
-
-#include "ExceptionT_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "ExceptionT_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_ExceptionT_Sender_Impl
-{
-
- void HandleException (
- long id,
- const char* error_string,
- const char* test,
- const char* func);
-
- void HandleException (
- ::Messaging::ExceptionHolder * excep_holder,
- const char* func);
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::ExceptionT::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::ExceptionT::CCM_Sender_Context_var context_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::ExceptionT::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::ExceptionT::CCM_Sender_Context_var context_;
- };
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::ExceptionT::CCM_Sender_Context_var ciao_context_;
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::ExceptionT::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- hello (
- ::CORBA::Long answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" EXCEPTION_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ExceptionT_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/Exceptions/descriptors/Plan.cdp
deleted file mode 100644
index 890211c449e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="ExceptionT_ReceiverHomeImplementation">
- <name>ExceptionT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="ExceptionT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="ExceptionT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ExceptionT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ExceptionT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="ExceptionT_SenderHomeImplementation">
- <name>ExceptionT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="ExceptionT_Sender_ExecArtifact"/>
- <artifact xmi:idref="ExceptionT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ExceptionT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ExceptionT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="ExceptionT_AMIHomeImplementation">
- <name>ExceptionT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="ExceptionT_AMI_ExecArtifact"/>
- <artifact xmi:idref="ExceptionT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ExceptionT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ExceptionT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.Receiver">
- <name>ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="ExceptionT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.Sender">
- <name>ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="ExceptionT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.AMI">
- <name>ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="ExceptionT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ExceptionT.ComponentImplementations.ExceptionTImplementation.ExceptionT.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="ExceptionT_AMI_SvntArtifact">
- <name>ExceptionT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>ExceptionT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ExceptionT_AMI_ExecArtifact">
- <name>ExceptionT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>ExceptionT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ExceptionT_Receiver_SvntArtifact">
- <name>ExceptionT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>ExceptionT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ExceptionT_Receiver_ExecArtifact">
- <name>ExceptionT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>ExceptionT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ExceptionT_Sender_SvntArtifact">
- <name>ExceptionT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>ExceptionT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ExceptionT_Sender_ExecArtifact">
- <name>ExceptionT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>ExceptionT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ExceptionT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/Exceptions/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/Exceptions/descriptors/run_test.pl
deleted file mode 100755
index ffa2672cbe5..00000000000
--- a/CIAO/connectors/ami4ccm/tests/Exceptions/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 60 seconds to allow task to complete\n";
-sleep (60);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/.gitignore b/CIAO/connectors/ami4ccm/tests/GetComp/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Base/GetComp.idl b/CIAO/connectors/ami4ccm/tests/GetComp/Base/GetComp.idl
deleted file mode 100644
index e078435b41e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Base/GetComp.idl
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef GETCOMP_T_IDL
-#define GETCOMP_T_IDL
-
-#pragma ciao lem "Base/GetCompE.idl"
-#pragma ciao ami4ccm interface "GetComp::MyFoo"
-#pragma ciao lem "Base/GetCompAE.idl"
-#pragma ciao ami4ccm idl "Base/GetCompA.idl"
-
-module GetComp
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, out string answer)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Base/GetComp.mpc b/CIAO/connectors/ami4ccm/tests/GetComp/Base/GetComp.mpc
deleted file mode 100644
index 5811f788877..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Base/GetComp.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_GetComp_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=GETCOMP_T_STUB_Export \
- -Wb,stub_export_include=GetComp_stub_export.h \
- -Wb,skel_export_macro=GETCOMP_T_SKEL_Export \
- -Wb,skel_export_include=GetComp_skel_export.h \
- -Wb,conn_export_macro=GETCOMP_T_CONN_Export \
- -Wb,conn_export_include=GetComp_conn_export.h \
- -Wb,exec_export_macro=GETCOMP_T_EXEC_Export \
- -Wb,exec_export_include=GetComp_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- GetComp.idl
- }
-}
-
-project(AMI_GetComp_lem_gen) : ciaoidldefaults {
- after += AMI_GetComp_idl_gen AMI_GetComp_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=GETCOMP_T_LEM_STUB_Export \
- -Wb,export_include=GetComp_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- GetCompE.idl
- }
-}
-
-project(AMI_GetComp_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_GetComp_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=GETCOMP_T_STUB_Export \
- -Wb,stub_export_include=GetComp_stub_export.h \
- -Wb,conn_export_macro=GETCOMP_T_CONN_Export \
- -Wb,conn_export_include=GetComp_conn_export.h \
- -Wb,svnt_export_macro=GETCOMP_T_SVNT_Export \
- -Wb,svnt_export_include=GetComp_svnt_export.h \
- -Wb,skel_export_macro=GETCOMP_T_SKEL_Export \
- -Wb,skel_export_include=GetComp_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- GetCompA.idl
- }
-}
-
-project(AMI_GetComp_lemae_gen) : ciaoidldefaults {
- after += AMI_GetComp_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=GETCOMP_T_LEM_STUB_Export \
- -Wb,stub_export_include=GetComp_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- GetCompAE.idl
- }
-}
-
-project(AMI_GetComp_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_GetComp_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = GetComp_stub
- dynamicflags += GETCOMP_T_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- GetCompC.cpp
- GetCompAC.cpp
- }
-
- Header_Files {
- GetCompC.h
- GetComp_stub_export.h
-}
-
- Inline_Files {
- GetCompC.inl
- }
-}
-
-project(AMI_GetComp_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_GetComp_lem_gen AMI_GetComp_stub AMI_GetComp_lemae_gen AMI_GetComp_skel
- libs += GetComp_stub GetComp_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = GetComp_lem_stub
- dynamicflags += GETCOMP_T_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- GetCompEC.cpp
- GetCompAEC.cpp
- }
-
- Header_Files {
- GetCompEC.h
- GetComp_lem_stub_export.h
-}
-
- Inline_Files {
- GetCompEC.inl
- }
-}
-
-project(AMI_GetComp_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_GetComp_stub
- sharedname = GetComp_skel
- libs += GetComp_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += GETCOMP_T_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- GetCompS.cpp
- GetCompAS.cpp
- }
-
- Header_Files {
- GetCompS.h
-
- GetComp_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_GetComp_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_GetComp_lem_stub GetComp_Base_AMI_stub AMI_GetComp_skel AMI_GetComp_lema_gen AMI_GetComp_lemae_gen
- sharedname = GetComp_conn
- libs += GetComp_stub GetComp_skel GetComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += GETCOMP_T_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetCompA_conn.cpp
- }
-
- Header_Files {
- GetCompA_conn.h
- GetComp_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_GetComp_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_GetComp_lem_stub GetComp_Base_AMI_stub AMI_GetComp_skel AMI_GetComp_lema_gen AMI_GetComp_lemae_gen AMI_GetComp_conn
- sharedname = GetComp_svnt
- libs += GetComp_stub GetComp_skel GetComp_lem_stub GetComp_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += GETCOMP_T_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetCompA_svnt.cpp
- }
-
- Header_Files {
- GetCompA_svnt.h
- GetCompA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver.idl b/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver.idl
deleted file mode 100644
index 64e6f7046b5..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef GETCOMP_T_RECEIVER_IDL
-#define GETCOMP_T_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/GetComp.idl"
-
-module GetComp
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver.mpc
deleted file mode 100644
index 699148e8a95..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p GetComp_Base GetComp_Receiver"
-
-project(AMI_GetCom_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_GetComp_idl_gen
- idlflags += -Wb,stub_export_macro=GETCOMP_T_RECEIVER_STUB_Export \
- -Wb,stub_export_include=GetComp_Receiver_stub_export.h \
- -Wb,skel_export_macro=GETCOMP_T_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=GetComp_Receiver_svnt_export.h \
- -Wb,exec_export_macro=GETCOMP_T_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=GetComp_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- GetComp_Receiver.idl
- }
-}
-
-project(AMI_GetCom_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_GetCom_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=GETCOMP_T_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=GetComp_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- GetComp_ReceiverE.idl
- }
-}
-
-project(AMI_GetComp_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_GetCom_Base_Receiver_lem_gen AMI_GetComp_Base_Receiver_stub AMI_GetComp_stub
- libs += GetComp_stub GetComp_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = GetComp_Receiver_lem_stub
- dynamicflags += GETCOMP_T_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetComp_ReceiverEC.cpp
- }
-
- Header_Files {
- GetComp_ReceiverEC.h
- GetComp_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- GetComp_ReceiverEC.inl
- }
-}
-
-project(AMI_GetComp_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_GetCom_Base_Receiver_idl_gen AMI_GetComp_stub
- libs += GetComp_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = GetComp_Receiver_stub
- dynamicflags += GETCOMP_T_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetComp_ReceiverC.cpp
- }
-
- Header_Files {
- GetComp_ReceiverC.h
- GetComp_Receiver_stub_export.h
- }
-
- Inline_Files {
- GetComp_ReceiverC.inl
- }
-}
-
-project(AMI_GetComp_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_GetComp_Base_Receiver_l_stub AMI_GetComp_Base_Receiver_stub AMI_GetComp_stub AMI_GetComp_lem_stub
- sharedname = GetComp_Receiver_exec
- libs += GetComp_Receiver_stub GetComp_Receiver_lem_stub GetComp_stub GetComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += GETCOMP_T_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetComp_Receiver_exec.cpp
- }
-
- Header_Files {
- GetComp_Receiver_exec.h
- GetComp_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_GetComp_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_GetComp_Base_skel AMI_GetComp_Base_Receiver_l_stub AMI_GetComp_stub AMI_GetComp_skel AMI_GetComp_lem_stub
- sharedname = GetComp_Receiver_svnt
- libs += GetComp_Receiver_stub GetComp_Receiver_lem_stub \
- GetComp_skel \
- GetComp_stub GetComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += GETCOMP_T_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetComp_ReceiverS.cpp
- GetComp_Receiver_svnt.cpp
- }
-
- Header_Files {
- GetComp_ReceiverS.h
- GetComp_Receiver_svnt.h
- GetComp_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver_exec.cpp
deleted file mode 100644
index b188dd14433..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver_exec.cpp
+++ /dev/null
@@ -1,142 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "GetComp_Receiver_exec.h"
-
-namespace CIAO_GetComp_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::GetComp::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::GetComp::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::GetComp::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * /*in_str*/,
- ::CORBA::String_out answer)
- {
- answer = CORBA::string_dup ("This is my answer : Hi");
- return 1;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::GetComp::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::GetComp::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::GetComp::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::GetComp::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" GETCOMP_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_GetComp_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver_exec.h
deleted file mode 100644
index 6fed85ee0bc..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Receiver/GetComp_Receiver_exec.h
+++ /dev/null
@@ -1,130 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_GETCOMP_RECEIVER_EXEC_ILLRIY_H_
-#define CIAO_GETCOMP_RECEIVER_EXEC_ILLRIY_H_
-
-#include /**/ "ace/pre.h"
-
-#include "GetComp_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "GetComp_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_GetComp_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::GetComp::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::GetComp::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from GetComp::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::GetComp::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::GetComp::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::GetComp::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::GetComp::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" GETCOMP_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_GetComp_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender.idl b/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender.idl
deleted file mode 100644
index 5868aad537c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef GETCOMP_T_SENDER_IDL
-#define GETCOMP_T_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/GetComp.idl"
-
-#pragma ciao ami4ccm receptacle "GetComp::Sender::run_my_foo"
-
-module GetComp
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender.mpc b/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender.mpc
deleted file mode 100644
index 22d65e3f761..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p GetComp_Base GetComp_Sender"
-
-project(AMI_GetComp_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_GetComp_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=GETCOMP_T_SENDER_STUB_Export \
- -Wb,stub_export_include=GetComp_Sender_stub_export.h \
- -Wb,skel_export_macro=GETCOMP_T_SENDER_SVNT_Export \
- -Wb,skel_export_include=GetComp_Sender_svnt_export.h \
- -Wb,exec_export_macro=GETCOMP_T_SENDER_EXEC_Export \
- -Wb,exec_export_include=GetComp_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- GetComp_Sender.idl
- }
-}
-
-project(AMI_GetComp_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_GetComp_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=GETCOMP_T_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=GetComp_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- GetComp_SenderE.idl
- }
-}
-
-project(AMI_GetComp_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_GetComp_Base_Sender_lem_gen AMI_GetComp_stub Conn_GetComp_Base_stub
- libs += GetComp_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = GetComp_Sender_lem_stub
- dynamicflags += GETCOMP_T_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetComp_SenderEC.cpp
- }
-
- Header_Files {
- GetComp_SenderEC.h
- GetComp_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- GetComp_SenderEC.inl
- }
-}
-
-project(AMI_GetComp_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_GetComp_Base_Sender_idl_gen AMI_GetComp_Base_stub AMI_GetComp_stub Conn_GetComp_Base_stub
- libs += GetComp_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = GetComp_Sender_stub
- dynamicflags += GETCOMP_T_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetComp_SenderC.cpp
- }
-
- Header_Files {
- GetComp_SenderC.h
- GetComp_Sender_stub_export.h
- }
-
- Inline_Files {
- GetComp_SenderC.inl
- }
-}
-
-project(AMI_GetComp_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_GetComp_Base_Sender_lem_stub AMI_GetComp_Base_Sender_stub AMI_GetComp_Base_exec Conn_GetComp_Base_stub AMI_GetComp_lem_stub
- sharedname = GetComp_Sender_exec
- libs += GetComp_Sender_stub GetComp_Sender_lem_stub GetComp_stub GetComp_stub GetComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += GETCOMP_T_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetComp_Sender_exec.cpp
- }
-
- Header_Files {
- GetComp_Sender_exec.h
- GetComp_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_GetComp_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_GetComp_Base_skel AMI_GetComp_Base_Sender_lem_stub AMI_GetComp_Base_Sender_stub AMI_GetComp_Base_exec AMI_GetComp_skel
- sharedname = GetComp_Sender_svnt
- libs += GetComp_Sender_stub GetComp_Sender_lem_stub \
- GetComp_skel \
- GetComp_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += GETCOMP_T_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- GetComp_SenderS.cpp
- GetComp_Sender_svnt.cpp
- }
-
- Header_Files {
- GetComp_SenderS.h
- GetComp_Sender_svnt.h
- GetComp_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender_exec.cpp
deleted file mode 100644
index ae18b1a8889..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender_exec.cpp
+++ /dev/null
@@ -1,206 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "GetComp_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_GetComp_Sender_Impl
-{
- CORBA::Boolean GetComponent = false;
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void){
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
- int
- Sender_exec_i::get_component(void)
- {
- ACE_OS::sleep (3);
-
- ::GetComp::AMI4CCM_MyFoo_var my_foo_ami_ =
- this->ciao_context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, ACE_TEXT ("ERROR Sender (ASYNCH)")
- ACE_TEXT (" :\tmy_foo_ami is NIL !\n")));
- return 1;
- }
-
- CORBA::Object_var cmp;
- try
- {
- cmp = my_foo_ami_->_get_component ();
- if (::CORBA::is_nil (cmp.in ()))
- {
- GetComp::InternalError ex (1, "Unable to get component interface");
- throw ex;
- }
- }
- catch (const GetComp::InternalError& ex)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("ERROR: Sender:")
- ACE_TEXT ("caught InternalError exception: retval <%C>\n"),
- ex.error_string.in()));
- return 1;
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("ERROR: Sender :")
- ACE_TEXT ("Unable to get component interface\n")));
- return 1;
- }
-
- try
- {
- ::GetComp::AMI4CCM_MyFoo_Connector::CCM_AMI4CCM_Connector_var conn =
- ::GetComp::AMI4CCM_MyFoo_Connector::CCM_AMI4CCM_Connector::_narrow (cmp.in ());
-
- if (::CORBA::is_nil (conn.in ()))
- {
- GetComp::InternalError ex (1, "Narrowed connector is nil.\n");
- throw ex;
- }
- }
- catch (const GetComp::InternalError& ex)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("ERROR: Sender:")
- ACE_TEXT ("caught InternalError exception: retval <%C>\n"),
- ex.error_string.in()));
- return 1;
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("ERROR: Sender:")
- ACE_TEXT ("Unable to narrow connector interface\n")));
- return 1;
- }
- return 0;
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::GetComp::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- if (get_component()== 0)
- {
- GetComponent = true;
- }
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (GetComponent != true)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("ERROR:")
- ACE_TEXT (" Sender not possible to get component\n")));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT ("OK: Sender, possible to get component \n")));
- }
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long /* ami_return_val */,
- const char * /* answer */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" GETCOMP_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_GetComp_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender_exec.h
deleted file mode 100644
index 4c5ba6c5832..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/Sender/GetComp_Sender_exec.h
+++ /dev/null
@@ -1,119 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_GETCOMP_SENDER_EXEC_FENJU5_H_
-#define CIAO_GETCOMP_SENDER_EXEC_FENJU5_H_
-
-#include /**/ "ace/pre.h"
-
-#include "GetComp_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "GetComp_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_GetComp_Sender_Impl
-{
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::GetComp::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
- virtual int get_component(void);
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::GetComp::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" GETCOMP_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_GetComp_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/GetComp/descriptors/Plan.cdp
deleted file mode 100644
index 9745da1f98b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="GetComp_ReceiverHomeImplementation">
- <name>GetComp_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="GetComp_Receiver_ExecArtifact"/>
- <artifact xmi:idref="GetComp_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>GetComp.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>GetComp.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="GetComp_SenderHomeImplementation">
- <name>GetComp_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="GetComp_Sender_ExecArtifact"/>
- <artifact xmi:idref="GetComp_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>GetComp.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>GetComp.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="GetComp_AMIHomeImplementation">
- <name>GetComp_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="GetComp_AMI_ExecArtifact"/>
- <artifact xmi:idref="GetComp_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>GetComp.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>GetComp.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="GetComp.ComponentImplementations.GetCompImplementation.GetComp.Receiver">
- <name>GetComp.ComponentImplementations.GetCompImplementation.GetComp.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="GetComp_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="GetComp.ComponentImplementations.GetCompImplementation.GetComp.Sender">
- <name>GetComp.ComponentImplementations.GetCompImplementation.GetComp.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="GetComp_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="GetComp.ComponentImplementations.GetCompImplementation.GetComp.AMI">
- <name>GetComp.ComponentImplementations.GetCompImplementation.GetComp.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="GetComp_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="GetComp.ComponentImplementations.GetCompImplementation.GetComp.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="GetComp.ComponentImplementations.GetCompImplementation.GetComp.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="GetComp.ComponentImplementations.GetCompImplementation.GetComp.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="GetComp.ComponentImplementations.GetCompImplementation.GetComp.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="GetComp.ComponentImplementations.GetCompImplementation.GetComp.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="GetComp.ComponentImplementations.GetCompImplementation.GetComp.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="GetComp_AMI_SvntArtifact">
- <name>GetComp.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>GetComp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="GetComp_AMI_ExecArtifact">
- <name>GetComp.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>GetComp_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="GetComp_Receiver_SvntArtifact">
- <name>GetComp.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>GetComp_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="GetComp_Receiver_ExecArtifact">
- <name>GetComp.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>GetComp_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="GetComp_Sender_SvntArtifact">
- <name>GetComp.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>GetComp_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="GetComp_Sender_ExecArtifact">
- <name>GetComp.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>GetComp_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_GetComp_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/GetComp/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/GetComp/descriptors/run_test.pl
deleted file mode 100755
index ccfd5124591..00000000000
--- a/CIAO/connectors/ami4ccm/tests/GetComp/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 15 seconds to allow task to complete\n";
-sleep (15);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/IDL_Test/.gitignore b/CIAO/connectors/ami4ccm/tests/IDL_Test/.gitignore
deleted file mode 100644
index e81c10e9797..00000000000
--- a/CIAO/connectors/ami4ccm/tests/IDL_Test/.gitignore
+++ /dev/null
@@ -1,12 +0,0 @@
-/HelloA.idl
-/HelloAE.idl
-/HelloA_conn.cpp
-/HelloA_conn.h
-/HelloE.idl
-/Hello_conn_export.h
-/Hello_exec_export.h
-/Hello_lem_stub_export.h
-/Hello_skel_export.h
-/Hello_stub_export.h
-/Hello_svnt_export.h
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/IDL_Test/AMI4CCM_IDLTest.mpc b/CIAO/connectors/ami4ccm/tests/IDL_Test/AMI4CCM_IDLTest.mpc
deleted file mode 100644
index 18616452f3a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/IDL_Test/AMI4CCM_IDLTest.mpc
+++ /dev/null
@@ -1,193 +0,0 @@
-project(AMI4CCM_IDL_Test_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_STUB_Export \
- -Wb,stub_export_include=Hello_stub_export.h \
- -Wb,skel_export_macro=HELLO_SKEL_Export \
- -Wb,skel_export_include=Hello_skel_export.h \
- -Wb,conn_export_macro=HELLO_CONN_Export \
- -Wb,conn_export_include=Hello_conn_export.h \
- -Wb,exec_export_macro=HELLO_EXEC_Export \
- -Wb,exec_export_include=Hello_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- Hello.idl
- }
-}
-
-project(AMI4CCM_IDL_Test_lem_gen) : ciaoidldefaults {
- after += AMI4CCM_IDL_Test_idl_gen AMI4CCM_IDL_Test_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=HELLO_LEM_STUB_Export \
- -Wb,export_include=Hello_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- HelloE.idl
- }
-}
-
-project(AMI4CCM_IDL_Test_lema_gen) : ciaoidldefaults, typecode {
- after += AMI4CCM_IDL_Test_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_STUB_Export \
- -Wb,stub_export_include=Hello_stub_export.h \
- -Wb,conn_export_macro=HELLO_CONN_Export \
- -Wb,conn_export_include=Hello_conn_export.h \
- -Wb,svnt_export_macro=HELLO_SVNT_Export \
- -Wb,svnt_export_include=Hello_svnt_export.h \
- -Wb,skel_export_macro=HELLO_SKEL_Export \
- -Wb,skel_export_include=Hello_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- HelloA.idl
- }
-}
-
-project(AMI4CCM_IDL_Test_lemae_gen) : ciaoidldefaults {
- after += AMI4CCM_IDL_Test_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- HelloAE.idl
- }
-}
-
-project(AMI4CCM_IDL_Test_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI4CCM_IDL_Test_lem_gen AMI4CCM_IDL_Test_lema_gen
- libs +=
- libout = lib
- libpaths += lib
- includes += .
-
- sharedname = Hello_stub
- dynamicflags += HELLO_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloC.cpp
- HelloAC.cpp
- }
-
- Header_Files {
- HelloC.h
- Hello_stub_export.h
-}
-
- Inline_Files {
- HelloC.inl
- }
-}
-
-project(AMI4CCM_IDL_Test_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI4CCM_IDL_Test_stub AMI4CCM_IDL_Test_exec
- sharedname = Hello_skel
- libs += Hello_stub
- libout = lib
- libpaths += lib
- includes += .
-
- dynamicflags += HELLO_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloS.cpp
- HelloAS.cpp
- }
-
- Header_Files {
- HelloS.h
- HelloAS.h
- Hello_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI4CCM_IDL_Test_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI4CCM_IDL_Test_lem_gen AMI4CCM_IDL_Test_stub AMI4CCM_IDL_Test_lemae_gen AMI4CCM_IDL_Test_skel
- libs += Hello_stub Hello_skel
- libout = lib
- libpaths += lib
- includes += .
-
- sharedname = Hello_lem_stub
- dynamicflags += HELLO_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloEC.cpp
- HelloAEC.cpp
- }
-
- Header_Files {
- HelloEC.h
- Hello_lem_stub_export.h
-}
-
- Inline_Files {
- HelloEC.inl
- }
-}
-
-project(AMI4CCM_IDL_Test_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI4CCM_IDL_Test_lem_stub Hello_Base_AMI_stub AMI4CCM_IDL_Test_skel AMI4CCM_IDL_Test_lema_gen AMI4CCM_IDL_Test_lemae_gen
-// requires += dummy_label
- sharedname = Hello_conn
- libs += Hello_stub Hello_skel Hello_lem_stub
- libpaths += lib
- libout = lib
- dynamicflags += HELLO_CONN_BUILD_DLL
- includes += .
- IDL_Files {
- }
-
- Source_Files {
- HelloA_conn.cpp
- }
-
- Header_Files {
- HelloA_conn.h
- Hello_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI4CCM_IDL_Test_svnt) : ciao_servant, ami, ami4ccm_servant {
-// requires += dummy_label
- after += AMI4CCM_IDL_Test_lem_stub Hello_Base_AMI_stub AMI4CCM_IDL_Test_skel AMI4CCM_IDL_Test_lema_gen AMI4CCM_IDL_Test_lemae_gen AMI4CCM_IDL_Test_conn
- sharedname = Hello_svnt
- libs += Hello_stub Hello_skel Hello_lem_stub Hello_conn
- libpaths += lib
- libout = lib
- dynamicflags += HELLO_SVNT_BUILD_DLL
- includes += .
- IDL_Files {
- }
-
- Source_Files {
- HelloA_svnt.cpp
- }
-
- Header_Files {
- HelloA_svnt.h
- HelloA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello.idl b/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello.idl
deleted file mode 100644
index ea368e162e3..00000000000
--- a/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello.idl
+++ /dev/null
@@ -1,127 +0,0 @@
-#ifndef HELLO_IDL
-#define HELLO_IDL
-
-#pragma ciao lem "HelloE.idl"
-#pragma ciao lem "HelloAE.idl"
-#pragma ciao ami4ccm interface "Hello::MyFoo"
-#pragma ciao ami4ccm interface "Hello::MyDerived"
-#pragma ciao ami4ccm interface "Hello::MyBar"
-#pragma ciao ami4ccm interface "Foo::MyFoo"
-#pragma ciao ami4ccm interface "Foo::MyBar"
-#pragma ciao ami4ccm interface "Bar::One"
-#pragma ciao ami4ccm interface "Bar::Two"
-#pragma ciao ami4ccm interface "Bar::Three"
-
-#pragma ciao ami4ccm idl "HelloA.idl"
-
-module Hello
-{
- enum test_enum
- {
- ZERO,
- ONE,
- TWO
- };
-
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- interface MyFoo
- {
- oneway void foo_oneway (in string in_str);
-
- long foo_return (in string in_str, out string answer)
- raises (InternalError);
- void foo_no_return (in string in_str, out string answer)
- raises (InternalError);
- void hello (out long answer)
- raises (InternalError);
- void no_answer (in string in_str)
- raises (InternalError);
- test_enum enum_return(in string in_str)
- raises (InternalError);
- void enum_no_return(in string in_str,
- in test_enum in_test,
- out test_enum out_test)
- raises (InternalError);
-
- attribute short rw_attrib
- getraises (InternalError)
- setraises (InternalError);
-
- readonly attribute short ro_attrib
- raises (InternalError);
- };
-
- interface MyDerived : MyFoo
- {
- long do_someting (in string str);
- attribute long my_attribute;
- };
-
- interface MyBar : MyDerived
- {
- double bar_return (in string in_str, in string answer)
- raises (InternalError);
- void bye (out long answer, out double db)
- raises (InternalError);
- attribute short rw_bar_attrib
- getraises (InternalError)
- setraises (InternalError);
- readonly attribute short ro_bar_attrib
- raises (InternalError);
- };
-
- interface X
- {
- void mydosomething (in string str);
- };
-};
-
-module Foo
-{
- struct TestTopic
- {
- string key;
- long x;
- };
-
- interface MyFoo
- {
- long myop (in TestTopic topic);
- };
-
- interface MyBar : MyFoo
- {
- TestTopic mybarop (in string str, in long lg, out double db);
- };
-
-};
-
-module Bar
-{
- struct TestTopic
- {
- string key;
- long x;
- };
-
- interface One
- {
- long myop (in TestTopic topic);
- };
-
- interface Two
- {
- TestTopic mybarop (in string str, in long lg, out double db);
- };
-
- interface Three : One, Two
- {
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello_Component.idl b/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello_Component.idl
deleted file mode 100644
index a012fa29e58..00000000000
--- a/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello_Component.idl
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef HELLO_SENDER_IDL
-#define HELLO_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Hello.idl"
-#pragma ciao ami4ccm idl "HelloA.idl"
-
-#pragma ciao ami4ccm receptacle "Hello::Sender::run_my_foo"
-#pragma ciao ami4ccm receptacle "Hello::Sender::run_my_derived"
-#pragma ciao ami4ccm receptacle "Hello::Sender::run_mybar"
-#pragma ciao ami4ccm receptacle "Hello::Sender::run_three"
-
-#pragma ciao ami4ccm receptacle "Hello::Sender::m_run_my_foo"
-#pragma ciao ami4ccm receptacle "Hello::Sender::m_run_my_derived"
-#pragma ciao ami4ccm receptacle "Hello::Sender::m_run_mybar"
-#pragma ciao ami4ccm receptacle "Hello::Sender::m_run_three"
-
-#pragma ciao ami4ccm receptacle "Bar::SecondSender::run_my_foo"
-
-module Hello
-{
- component Sender
- {
- uses MyFoo run_my_foo;
- uses MyDerived run_my_derived;
- uses MyBar run_mybar;
- uses ::Bar::Three run_three;
-
- uses multiple MyFoo m_run_my_foo;
- uses multiple MyDerived m_run_my_derived;
- uses multiple MyBar m_run_mybar;
- uses multiple Bar::Three m_run_three;
-
- provides MyFoo my_foo;
- provides Bar::Three my_three;
- provides X myx;
- };
-};
-
-module Bar
-{
- component SecondSender
- {
- uses Hello::MyFoo run_my_foo;
- uses multiple Hello::MyFoo m_run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello_Component.mpc b/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello_Component.mpc
deleted file mode 100644
index 7cf2d9226ca..00000000000
--- a/CIAO/connectors/ami4ccm/tests/IDL_Test/Hello_Component.mpc
+++ /dev/null
@@ -1,137 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p Hello_Base Hello_Component"
-
-project(AMI4CCM_ITB_Hello_Comp_idl_gen) : componentidldefaults {
- after += Conn_Hello_Base_idl_gen AMI4CCM_IDL_Test_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_SENDER_STUB_Export \
- -Wb,stub_export_include=Hello_Component_stub_export.h \
- -Wb,skel_export_macro=HELLO_SENDER_SVNT_Export \
- -Wb,skel_export_include=Hello_Component_svnt_export.h \
- -Wb,exec_export_macro=HELLO_SENDER_EXEC_Export \
- -Wb,exec_export_include=Hello_Component_exec_export.h \
- -I.. -GC -Gex
-
- IDL_Files {
- Hello_Component.idl
- }
-}
-
-project(AMI4CCM_ITB_Hello_Comp_lem_gen) : ciaoidldefaults {
- after += AMI4CCM_ITB_Hello_Comp_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_Component_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- Hello_ComponentE.idl
- }
-}
-
-project(AMI4CCM_ITB_Hello_Comp_lem_stub) : ccm_svnt, ami {
- after += AMI4CCM_ITB_Hello_Comp_lem_gen AMI4CCM_IDL_Test_stub Conn_Hello_Base_stub AMI4CCM_ITB_Hello_Comp_stub
- libs += Hello_stub Hello_Component_stub
- libpaths += lib
- libout = lib
- sharedname = Hello_Component_lem_stub
- dynamicflags += HELLO_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ComponentEC.cpp
- }
-
- Header_Files {
- Hello_ComponentEC.h
- Hello_Component_lem_stub_export.h
- }
-
- Inline_Files {
- Hello_ComponentEC.inl
- }
-}
-
-project(AMI4CCM_ITB_Hello_Comp_stub) : ccm_stub, ami {
- after += AMI4CCM_ITB_Hello_Comp_idl_gen AMI4CCM_ITB_stub AMI4CCM_IDL_Test_stub Conn_Hello_Base_stub
- libs += Hello_stub
- libpaths += lib
- libout = lib
-
- sharedname = Hello_Component_stub
- dynamicflags += HELLO_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ComponentC.cpp
- }
-
- Header_Files {
- Hello_ComponentC.h
- Hello_Component_stub_export.h
- }
-
- Inline_Files {
- Hello_ComponentC.inl
- }
-}
-
-project(AMI4CCM_ITB_Hello_Comp_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI4CCM_ITB_Hello_Comp_lem_stub AMI4CCM_ITB_Hello_Comp_stub AMI4CCM_ITB_exec Conn_Hello_Base_stub AMI4CCM_IDL_Test_lem_stub
- sharedname = Hello_Component_exec
- libs += Hello_Component_stub Hello_Component_lem_stub Hello_stub Hello_stub Hello_lem_stub
- libpaths += lib
- libout = lib
-
- dynamicflags += HELLO_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_Component_exec.cpp
- }
-
- Header_Files {
- Hello_Component_exec.h
- Hello_Component_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI4CCM_ITB_Hello_Comp_svnt) : ciao_servant, ami {
- after += AMI4CCM_ITB_skel AMI4CCM_ITB_Hello_Comp_lem_stub AMI4CCM_ITB_Hello_Comp_stub AMI4CCM_ITB_exec AMI4CCM_IDL_Test_skel
- sharedname = Hello_Component_svnt
- libs += Hello_Component_stub Hello_Component_lem_stub \
- Hello_skel \
- Hello_lem_stub \
- Hello_stub
- libpaths += lib
- libout = lib
-
- dynamicflags += HELLO_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ComponentS.cpp
- Hello_Component_svnt.cpp
- }
-
- Header_Files {
- Hello_ComponentS.h
- Hello_Component_svnt.h
- Hello_Component_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/IDL_Test/run_test.pl b/CIAO/connectors/ami4ccm/tests/IDL_Test/run_test.pl
deleted file mode 100755
index 4d5ccc46d8f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/IDL_Test/run_test.pl
+++ /dev/null
@@ -1,25 +0,0 @@
-
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-$found = 0 ;
-open (I_FILE, "Hello_Component_exec.cpp") ;
-while( <I_FILE> ){
- chomp ;
- if( $_ =~ /sendc/ ){
- $found = 1 ;
- last ;
- }
-}
-
-if( $found == 1 ){
- print STDERR "ERROR: Found sendc in generated code\n";
- $status = 1 ;
-} else {
- print STDERR "Generated code ok\n";
-}
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/.gitignore b/CIAO/connectors/ami4ccm/tests/InterInArgs/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/.gitignore
deleted file mode 100644
index 7d87aba48e6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/InterInArgsTA.idl
-/InterInArgsTAE.idl
-/InterInArgsTA_conn.cpp
-/InterInArgsTA_conn.h
-/InterInArgsTE.idl
-/InterInArgsT_conn_export.h
-/InterInArgsT_exec_export.h
-/InterInArgsT_lem_stub_export.h
-/InterInArgsT_skel_export.h
-/InterInArgsT_stub_export.h
-/InterInArgsT_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/InterInArgsT.idl b/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/InterInArgsT.idl
deleted file mode 100644
index cba284a9027..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/InterInArgsT.idl
+++ /dev/null
@@ -1,81 +0,0 @@
-#ifndef INTERINARGS_T_IDL
-#define INTERINARGS_T_IDL
-
-#pragma ciao lem "Base/InterInArgsTE.idl"
-#pragma ciao ami4ccm interface "InterInArgsT::MyFoo"
-#pragma ciao lem "Base/InterInArgsTAE.idl"
-#pragma ciao ami4ccm idl "Base/InterInArgsTA.idl"
-
-module InterInArgsT
-{
- const short update_val = 999;
-
- typedef short short_array[5];
-
- // Mixed struct
- struct TestTopic {
- string key;
- long x;
- };
-
- // String struct
- struct TopicString {
- string key;
- string x_str;
- };
-
- // Array
- struct TopicArray {
- string key;
- short_array x_array;
- };
-
- typedef TopicArray TestArray[5];
-
- // Union
- union X_Union switch (short) {
- case 0:
- string x_test;
- case 1:
- long x_long;
- };
-
- // Sequence
- struct test {
- short x_test;
- string x_teststr;
- };
- typedef sequence<test> test_seq;
-
- enum test_enum
- {
- ZERO,
- ONE,
- TWO
- };
-
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, in long cmd, out string answer)
- raises (InternalError);
- void var_ins (in string in_str, out string answer, in double cmd)
- raises (InternalError);
- void var_div_ins (in TestTopic test_topic, in TopicString topic_str,
- in TestArray topic_arr, out string answer)
- raises (InternalError);
- void var_div2_ins (in X_Union topic_union, in test_seq seq,
- out string answer)
- raises (InternalError);
- void enum_in(out string answer, in test_enum in_test)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/InterInArgsT.mpc b/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/InterInArgsT.mpc
deleted file mode 100644
index 9c6750e2415..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Base/InterInArgsT.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_InterInArgsT_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINARGS_T_STUB_Export \
- -Wb,stub_export_include=InterInArgsT_stub_export.h \
- -Wb,skel_export_macro=INTERINARGS_T_SKEL_Export \
- -Wb,skel_export_include=InterInArgsT_skel_export.h \
- -Wb,conn_export_macro=INTERINARGS_T_CONN_Export \
- -Wb,conn_export_include=InterInArgsT_conn_export.h \
- -Wb,exec_export_macro=INTERINARGS_T_EXEC_Export \
- -Wb,exec_export_include=InterInArgsT_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- InterInArgsT.idl
- }
-}
-
-project(AMI_InterInArgsT_lem_gen) : ciaoidldefaults {
- after += AMI_InterInArgsT_idl_gen AMI_InterInArgsT_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=INTERINARGS_T_LEM_STUB_Export \
- -Wb,export_include=InterInArgsT_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- InterInArgsTE.idl
- }
-}
-
-project(AMI_InterInArgsT_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_InterInArgsT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINARGS_T_STUB_Export \
- -Wb,stub_export_include=InterInArgsT_stub_export.h \
- -Wb,conn_export_macro=INTERINARGS_T_CONN_Export \
- -Wb,conn_export_include=InterInArgsT_conn_export.h \
- -Wb,svnt_export_macro=INTERINARGS_T_SVNT_Export \
- -Wb,svnt_export_include=InterInArgsT_svnt_export.h \
- -Wb,skel_export_macro=INTERINARGS_T_SKEL_Export \
- -Wb,skel_export_include=InterInArgsT_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- InterInArgsTA.idl
- }
-}
-
-project(AMI_InterInArgsT_lemae_gen) : ciaoidldefaults {
- after += AMI_InterInArgsT_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINARGS_T_LEM_STUB_Export \
- -Wb,stub_export_include=InterInArgsT_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- InterInArgsTAE.idl
- }
-}
-
-project(AMI_InterInArgsT_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_InterInArgsT_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterInArgsT_stub
- dynamicflags += INTERINARGS_T_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsTC.cpp
- InterInArgsTAC.cpp
- }
-
- Header_Files {
- InterInArgsTC.h
- InterInArgsT_stub_export.h
-}
-
- Inline_Files {
- InterInArgsTC.inl
- }
-}
-
-project(AMI_InterInArgsT_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterInArgsT_lem_gen AMI_InterInArgsT_stub AMI_InterInArgsT_lemae_gen AMI_InterInArgsT_skel
- libs += InterInArgsT_stub InterInArgsT_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterInArgsT_lem_stub
- dynamicflags += INTERINARGS_T_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsTEC.cpp
- InterInArgsTAEC.cpp
- }
-
- Header_Files {
- InterInArgsTEC.h
- InterInArgsT_lem_stub_export.h
-}
-
- Inline_Files {
- InterInArgsTEC.inl
- }
-}
-
-project(AMI_InterInArgsT_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_InterInArgsT_stub
- sharedname = InterInArgsT_skel
- libs += InterInArgsT_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += INTERINARGS_T_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsTS.cpp
- InterInArgsTAS.cpp
- }
-
- Header_Files {
- InterInArgsTS.h
-
- InterInArgsT_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterInArgsT_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterInArgsT_lem_stub InterInArgsT_Base_AMI_stub AMI_InterInArgsT_skel AMI_InterInArgsT_lema_gen AMI_InterInArgsT_lemae_gen
- sharedname = InterInArgsT_conn
- libs += InterInArgsT_stub InterInArgsT_skel InterInArgsT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINARGS_T_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsTA_conn.cpp
- }
-
- Header_Files {
- InterInArgsTA_conn.h
- InterInArgsT_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterInArgsT_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_InterInArgsT_lem_stub InterInArgsT_Base_AMI_stub AMI_InterInArgsT_skel AMI_InterInArgsT_lema_gen AMI_InterInArgsT_lemae_gen AMI_InterInArgsT_conn
- sharedname = InterInArgsT_svnt
- libs += InterInArgsT_stub InterInArgsT_skel InterInArgsT_lem_stub InterInArgsT_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINARGS_T_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsTA_svnt.cpp
- }
-
- Header_Files {
- InterInArgsTA_svnt.h
- InterInArgsTA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/.gitignore
deleted file mode 100644
index c9e272fdd59..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/InterInArgsT_ReceiverE.idl
-/InterInArgsT_Receiver_exec_export.h
-/InterInArgsT_Receiver_lem_stub_export.h
-/InterInArgsT_Receiver_stub_export.h
-/InterInArgsT_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver.idl b/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver.idl
deleted file mode 100644
index b233217e4c6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef INTERINARGS_T_RECEIVER_IDL
-#define INTERINARGS_T_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterInArgsT.idl"
-
-module InterInArgsT
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver.mpc
deleted file mode 100644
index cf24d5f5c1b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterInArgsT_Base InterInArgsT_Receiver"
-
-project(AMI_InArgsT_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_InterInArgsT_idl_gen
- idlflags += -Wb,stub_export_macro=INTERINARGS_T_RECEIVER_STUB_Export \
- -Wb,stub_export_include=InterInArgsT_Receiver_stub_export.h \
- -Wb,skel_export_macro=INTERINARGS_T_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=InterInArgsT_Receiver_svnt_export.h \
- -Wb,exec_export_macro=INTERINARGS_T_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=InterInArgsT_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- InterInArgsT_Receiver.idl
- }
-}
-
-project(AMI_InArgsT_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_InArgsT_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINARGS_T_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=InterInArgsT_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterInArgsT_ReceiverE.idl
- }
-}
-
-project(AMI_InterInArgsT_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_InArgsT_Base_Receiver_lem_gen AMI_InterInArgsT_Base_Receiver_stub AMI_InterInArgsT_stub
- libs += InterInArgsT_stub InterInArgsT_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterInArgsT_Receiver_lem_stub
- dynamicflags += INTERINARGS_T_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsT_ReceiverEC.cpp
- }
-
- Header_Files {
- InterInArgsT_ReceiverEC.h
- InterInArgsT_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- InterInArgsT_ReceiverEC.inl
- }
-}
-
-project(AMI_InterInArgsT_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_InArgsT_Base_Receiver_idl_gen AMI_InterInArgsT_stub
- libs += InterInArgsT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterInArgsT_Receiver_stub
- dynamicflags += INTERINARGS_T_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsT_ReceiverC.cpp
- }
-
- Header_Files {
- InterInArgsT_ReceiverC.h
- InterInArgsT_Receiver_stub_export.h
- }
-
- Inline_Files {
- InterInArgsT_ReceiverC.inl
- }
-}
-
-project(AMI_InterInArgsT_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_InterInArgsT_Base_Receiver_l_stub AMI_InterInArgsT_Base_Receiver_stub AMI_InterInArgsT_stub AMI_InterInArgsT_lem_stub
- sharedname = InterInArgsT_Receiver_exec
- libs += InterInArgsT_Receiver_stub InterInArgsT_Receiver_lem_stub InterInArgsT_stub InterInArgsT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINARGS_T_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsT_Receiver_exec.cpp
- }
-
- Header_Files {
- InterInArgsT_Receiver_exec.h
- InterInArgsT_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterInArgsT_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_InterInArgsT_Base_skel AMI_InterInArgsT_Base_Receiver_l_stub AMI_InterInArgsT_stub AMI_InterInArgsT_skel AMI_InterInArgsT_lem_stub
- sharedname = InterInArgsT_Receiver_svnt
- libs += InterInArgsT_Receiver_stub InterInArgsT_Receiver_lem_stub \
- InterInArgsT_skel \
- InterInArgsT_stub InterInArgsT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINARGS_T_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsT_ReceiverS.cpp
- InterInArgsT_Receiver_svnt.cpp
- }
-
- Header_Files {
- InterInArgsT_ReceiverS.h
- InterInArgsT_Receiver_svnt.h
- InterInArgsT_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver_exec.cpp
deleted file mode 100644
index 50fe5517419..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver_exec.cpp
+++ /dev/null
@@ -1,278 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterInArgsT_Receiver_exec.h"
-
-namespace CIAO_InterInArgsT_Receiver_Impl
-{
- CORBA::UShort nr_of_received = 0;
- CORBA::UShort update_val = InterInArgsT::update_val;
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::InterInArgsT::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::InterInArgsT::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::InterInArgsT::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * in_str,::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- if (ACE_OS::strlen (in_str) == 0)
- {
- InterInArgsT::InternalError ex (cmd + update_val,
- "foo thrown by receiver");
- throw ex;
- }
- else
- {
- answer = CORBA::string_dup ("This is my answer : Hi");
- ++nr_of_received;
- return (cmd + update_val);
- }
- }
-
- void
- do_my_foo_exec_i::var_ins (const char * /*in_str*/,
- ::CORBA::String_out answer,
- ::CORBA::Double cmd)
- {
- if ( cmd != 1.6)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_ins: "
- "received the wrong double, expected 1.6,"
- " received %2.2f\n",
- cmd));
- }
- else
- {
- ++nr_of_received;
- }
- answer = CORBA::string_alloc(20);
- ACE_OS::sprintf(answer,"double was %2.2f",cmd);
- }
-
- void
- do_my_foo_exec_i::var_div_ins (
- const ::InterInArgsT::TestTopic &test_topic,
- const ::InterInArgsT::TopicString &topic_str,
- const ::InterInArgsT::TestArray topic_arr,
- ::CORBA::String_out answer)
- {
- CORBA::Boolean error = false;
- if ((ACE_OS::strcmp (test_topic.key, "aaa") != 0) || (test_topic.x != 10))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key 'aaa', x = 10,"
- " received key '%C' , x = %u\n",
- test_topic.key.in(),test_topic.x));
- error = true;
- }
- if ((ACE_OS::strcmp (topic_str.key, "bbb") != 0) ||
- (ACE_OS::strcmp (topic_str.x_str, "ccc") != 0))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key 'bbb', x = 'ccc',"
- " received key '%C' , x = %C\n",
- topic_str.key.in() ,topic_str.x_str.in()));
- error = true;
- }
- if ((ACE_OS::strcmp (topic_arr[0].key, "ddd") != 0) ||
- (topic_arr[1].x_array[2] != 102))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key 'ddd', elem 102"
- " received key '%C', elem %u\n",
- topic_arr[0].key.in(),topic_arr[1].x_array[2] ));
- error = true;
- }
- answer = CORBA::string_dup ("This is my answer from var_div_ins");
- if(error == false)
- {
- ++nr_of_received;
- }
- }
-
- void
- do_my_foo_exec_i::var_div2_ins (const ::InterInArgsT::X_Union &topic_union,
- const ::InterInArgsT::test_seq &seq,
- ::CORBA::String_out answer)
- {
- CORBA::Boolean error = false;
- if (topic_union.x_long() != 11)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div2_ins: "
- "received the wrong union, "
- "expected x = 11,"
- " received x = %u\n",
- topic_union.x_long()));
- error = true;
- }
- if ((ACE_OS::strcmp (seq[0].x_teststr, "fff") != 0)||
- ( seq[0].x_test != 12))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div2_ins: "
- "received the wrong struct, "
- "expected key 'fff', x = 10,"
- " received key '%C' , x = %u\n",
- seq[0].x_teststr.in(),seq[0].x_test));
- error = true;
- }
- answer = CORBA::string_dup ("This is my answer from var_div2_ins");
- if(error == false)
- {
- ++nr_of_received;
- }
- }
-
- void
- do_my_foo_exec_i::enum_in (::CORBA::String_out answer,
- InterInArgsT::test_enum in_test)
- {
- if ( in_test != InterInArgsT::ONE)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::enum_in: "
- "received the wrong enum value, expected ONE,"
- " received %u\n",
- in_test));
- }
- else
- {
- ++nr_of_received;
- }
- answer = CORBA::string_dup ("This is my answer from enum_in");
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::InterInArgsT::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::InterInArgsT::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::InterInArgsT::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterInArgsT::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- if (nr_of_received == 6)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Receiver received all expected data"
- " from syn- and asynchronous calls\n"));
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Receiver didn't receive all"
- " expected data (%u of 6)"
- " from syn- and asynchronous calls\n",
- nr_of_received));
- }
- }
-
- extern "C" INTERINARGS_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterInArgsT_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver_exec.h
deleted file mode 100644
index 5f391b33df0..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Receiver/InterInArgsT_Receiver_exec.h
+++ /dev/null
@@ -1,151 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTERINARGST_RECEIVER_EXEC_K9F0UK_H_
-#define CIAO_INTERINARGST_RECEIVER_EXEC_K9F0UK_H_
-
-#include /**/ "ace/pre.h"
-
-#include "InterInArgsT_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterInArgsT_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_InterInArgsT_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::InterInArgsT::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::InterInArgsT::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from InterInArgsT::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer);
-
- virtual
- void var_ins (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Double cmd);
-
- virtual
- void var_div_ins (const ::InterInArgsT::TestTopic & test_topic,
- const ::InterInArgsT::TopicString & topic_str,
- const ::InterInArgsT::TestArray topic_arr,
- ::CORBA::String_out answer);
-
- virtual
- void var_div2_ins (const ::InterInArgsT::X_Union & topic_union,
- const ::InterInArgsT::test_seq & seq,
- ::CORBA::String_out answer);
-
- virtual
- void enum_in (::CORBA::String_out answer,
- ::InterInArgsT::test_enum in_test);
- //@}
-
- private:
- ::InterInArgsT::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::InterInArgsT::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::InterInArgsT::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::InterInArgsT::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" INTERINARGS_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterInArgsT_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/.gitignore
deleted file mode 100644
index bcf271ba60d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/InterInArgsT_SenderE.idl
-/InterInArgsT_Sender_exec_export.h
-/InterInArgsT_Sender_lem_stub_export.h
-/InterInArgsT_Sender_stub_export.h
-/InterInArgsT_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender.idl b/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender.idl
deleted file mode 100644
index 3a342a58fbd..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef INTERINARGS_T_SENDER_IDL
-#define INTERINARGS_T_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterInArgsT.idl"
-
-#pragma ciao ami4ccm receptacle "InterInArgsT::Sender::run_my_foo"
-
-module InterInArgsT
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender.mpc b/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender.mpc
deleted file mode 100644
index c280c62041e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterInArgsT_Base InterInArgsT_Sender"
-
-project(AMI_InterInArgsT_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_InterInArgsT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINARGS_T_SENDER_STUB_Export \
- -Wb,stub_export_include=InterInArgsT_Sender_stub_export.h \
- -Wb,skel_export_macro=INTERINARGS_T_SENDER_SVNT_Export \
- -Wb,skel_export_include=InterInArgsT_Sender_svnt_export.h \
- -Wb,exec_export_macro=INTERINARGS_T_SENDER_EXEC_Export \
- -Wb,exec_export_include=InterInArgsT_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- InterInArgsT_Sender.idl
- }
-}
-
-project(AMI_InterInArgsT_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_InterInArgsT_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINARGS_T_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=InterInArgsT_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterInArgsT_SenderE.idl
- }
-}
-
-project(AMI_InterInArgsT_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_InterInArgsT_Base_Sender_lem_gen AMI_InterInArgsT_stub Conn_InterInArgsT_Base_stub
- libs += InterInArgsT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterInArgsT_Sender_lem_stub
- dynamicflags += INTERINARGS_T_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsT_SenderEC.cpp
- }
-
- Header_Files {
- InterInArgsT_SenderEC.h
- InterInArgsT_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- InterInArgsT_SenderEC.inl
- }
-}
-
-project(AMI_InterInArgsT_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_InterInArgsT_Base_Sender_idl_gen AMI_InterInArgsT_Base_stub AMI_InterInArgsT_stub Conn_InterInArgsT_Base_stub
- libs += InterInArgsT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterInArgsT_Sender_stub
- dynamicflags += INTERINARGS_T_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsT_SenderC.cpp
- }
-
- Header_Files {
- InterInArgsT_SenderC.h
- InterInArgsT_Sender_stub_export.h
- }
-
- Inline_Files {
- InterInArgsT_SenderC.inl
- }
-}
-
-project(AMI_InterInArgsT_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_InterInArgsT_Base_Sender_lem_stub AMI_InterInArgsT_Base_Sender_stub AMI_InterInArgsT_Base_exec Conn_InterInArgsT_Base_stub AMI_InterInArgsT_lem_stub
- sharedname = InterInArgsT_Sender_exec
- libs += InterInArgsT_Sender_stub InterInArgsT_Sender_lem_stub InterInArgsT_stub InterInArgsT_stub InterInArgsT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINARGS_T_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsT_Sender_exec.cpp
- }
-
- Header_Files {
- InterInArgsT_Sender_exec.h
- InterInArgsT_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterInArgsT_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_InterInArgsT_Base_skel AMI_InterInArgsT_Base_Sender_lem_stub AMI_InterInArgsT_Base_Sender_stub AMI_InterInArgsT_Base_exec AMI_InterInArgsT_skel
- sharedname = InterInArgsT_Sender_svnt
- libs += InterInArgsT_Sender_stub InterInArgsT_Sender_lem_stub \
- InterInArgsT_skel \
- InterInArgsT_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINARGS_T_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInArgsT_SenderS.cpp
- InterInArgsT_Sender_svnt.cpp
- }
-
- Header_Files {
- InterInArgsT_SenderS.h
- InterInArgsT_Sender_svnt.h
- InterInArgsT_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.cpp
deleted file mode 100644
index 24f64ef426d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.cpp
+++ /dev/null
@@ -1,366 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterInArgsT_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_InterInArgsT_Sender_Impl
-{
- CORBA::Short nr_of_excep_received = 0;
- CORBA::UShort update_val = InterInArgsT::update_val;
- CORBA::UShort cmd_synch_ok = 1;
- CORBA::UShort cmd_synch_nok = 2;
- CORBA::UShort cmd_asynch_ok = 3;
- CORBA::UShort cmd_asynch_nok = 4;
-
- void HandleException (
- long id,
- long expect_id,
- const char* error_string,
- const char* func)
- {
- //expected exception
- if ( id == expect_id)
- {
- ACE_DEBUG ((LM_DEBUG, "Sender: Caught correct exception <%u,"
- "%C> for %C\n",
- id, error_string, func));
- ++nr_of_excep_received;
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender: wrong exception received"
- " for %C\n", func));
- }
- }
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::InterInArgsT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterInArgsT::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::InterInArgsT::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- ::InterInArgsT::CCM_AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_of_received_);
- //Invoke Asynchronous calls to test
- my_foo_ami_->sendc_foo ( cb.in(),"Hi", cmd_asynch_ok);
- //this shoukd invoke a exception
- my_foo_ami_->sendc_foo (cb.in(), "", cmd_asynch_nok);
- my_foo_ami_->sendc_var_ins (cb.in(), "Here a double for you.", 1.6);
-
- InterInArgsT::TestTopic test_topic;
- test_topic.key = "aaa";
- test_topic.x = 10;
- InterInArgsT::TopicString topic_str;
- topic_str.key = "bbb";
- topic_str.x_str = "ccc";
- InterInArgsT::TestArray topic_arr;
- for ( CORBA::UShort i = 0; i < 5; i ++)
- {
- topic_arr[i].key = CORBA::string_dup("ddd");
- for (CORBA::UShort y = 0; y < 5; y ++)
- {
- topic_arr[i].x_array[y] = i * 100 + y ;
- }
- }
- my_foo_ami_->sendc_var_div_ins (cb.in(), test_topic,topic_str,topic_arr);
-
- InterInArgsT::X_Union topic_union;
- topic_union.x_long(11);
- InterInArgsT::test ttt;
- ttt.x_test = 12;
- ttt.x_teststr = "fff" ;
- InterInArgsT::test_seq seq;
- seq.length(2);
- seq[0] = ttt;
-
- my_foo_ami_->sendc_var_div2_ins (cb.in(), topic_union, seq);
- InterInArgsT::test_enum in_test;
- in_test = ::InterInArgsT::ONE;
- my_foo_ami_->sendc_enum_in(cb.in(), in_test);
- }
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::InterInArgsT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterInArgsT::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ::InterInArgsT::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
-
- ACE_OS::sleep (3);
- //run some synch calls
- CORBA::String_var out_str;
- try
- {
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- cmd_synch_ok ,
- out_str.out ());
- if (result == (update_val + cmd_synch_ok))
- {
- ++this->nr_of_received_;
- }
- }
- catch (const InterInArgsT::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::foo: "
- "Unexpected exception.\n"));
- }
- try
- {
- my_foo_ami_->foo ("",cmd_synch_nok, out_str);
- }
- catch (const InterInArgsT::InternalError& ex)
- {
- HandleException (ex.id, (update_val + cmd_synch_nok),ex.error_string.in(),
- "synch foo");
- }
- return 0;
- }
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void)
- : asynch_foo_gen (0),
- synch_foo_gen (0),
- nr_of_received_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterInArgsT::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in(),
- this->nr_of_received_);
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1); }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (nr_of_excep_received != 2)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
- " exceptions"
- "Expected: 2, Received: %u.\n",
- nr_of_excep_received));
- }
- if (this->nr_of_received_.value() != 6)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Sender not received the expected number"
- " of callbacks and returns for syn- and "
- "asynchronous calls. Expected: 6,"
- " Received: %u.\n",
- this->nr_of_received_.value()));
- }
- if ((this->nr_of_received_.value() == 6) && (nr_of_excep_received == 2))
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Sender received the expected number of"
- " callbacks and exceptions for syn- and "
- "asynchronous calls\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_(nr_of_received)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * /*answer*/)
- {
- if ( ami_return_val == ( cmd_asynch_ok + update_val ))
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder * excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const InterInArgsT::InternalError& ex)
- {
- CIAO_InterInArgsT_Sender_Impl::HandleException (ex.id,
- (cmd_asynch_nok + update_val),
- ex.error_string.in(), "asynch foo");
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_ins (
- const char * /*answer*/)
- {
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_ins_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div_ins (const char * /* answer */)
- {
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div_ins_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div2_ins (const char * /* answer */)
- {
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div2_ins_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::enum_in (const char * /* answer */)
- {
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::enum_in_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" INTERINARGS_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterInArgsT_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.h
deleted file mode 100644
index c9d0b7e8d84..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/Sender/InterInArgsT_Sender_exec.h
+++ /dev/null
@@ -1,175 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTERINARGST_SENDER_EXEC_XOE8WS_H_
-#define CIAO_INTERINARGST_SENDER_EXEC_XOE8WS_H_
-
-#include /**/ "ace/pre.h"
-#include "ace/Task.h"
-#include "InterInArgsT_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterInArgsT_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_InterInArgsT_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Common exception handlers
- void HandleException (
- long id,
- long expect_id,
- const char* error_string,
- const char* func);
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::InterInArgsT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received_);
-
- virtual int svc (void);
-
- private:
- ::InterInArgsT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::InterInArgsT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received_);
-
- virtual int svc (void);
-
- private:
- ::InterInArgsT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::InterInArgsT::CCM_Sender_Context_var ciao_context_;
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_of_received_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::InterInArgsT::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_UShort &nr_of_received_);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual
- void foo (::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual
- void foo_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void var_ins (const char * answer);
-
- virtual
- void var_ins_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void var_div_ins (const char * answer);
-
- virtual
- void var_div_ins_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void var_div2_ins (const char * answer);
-
- virtual
- void var_div2_ins_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void enum_in (const char * answer);
-
- virtual
- void enum_in_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
- };
-
- extern "C" INTERINARGS_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterInArgsT_Sender_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/InterInArgs/descriptors/Plan.cdp
deleted file mode 100644
index c20ab631e4f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="InterInArgsT_ReceiverHomeImplementation">
- <name>InterInArgsT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterInArgsT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="InterInArgsT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInArgsT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInArgsT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterInArgsT_SenderHomeImplementation">
- <name>InterInArgsT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterInArgsT_Sender_ExecArtifact"/>
- <artifact xmi:idref="InterInArgsT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInArgsT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInArgsT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterInArgsT_AMIHomeImplementation">
- <name>InterInArgsT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterInArgsT_AMI_ExecArtifact"/>
- <artifact xmi:idref="InterInArgsT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInArgsT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInArgsT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.Receiver">
- <name>InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="InterInArgsT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.Sender">
- <name>InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterInArgsT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.AMI">
- <name>InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterInArgsT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterInArgsT.ComponentImplementations.InterInArgsTImplementation.InterInArgsT.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="InterInArgsT_AMI_SvntArtifact">
- <name>InterInArgsT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterInArgsT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInArgsT_AMI_ExecArtifact">
- <name>InterInArgsT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterInArgsT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInArgsT_Receiver_SvntArtifact">
- <name>InterInArgsT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>InterInArgsT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInArgsT_Receiver_ExecArtifact">
- <name>InterInArgsT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>InterInArgsT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInArgsT_Sender_SvntArtifact">
- <name>InterInArgsT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>InterInArgsT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInArgsT_Sender_ExecArtifact">
- <name>InterInArgsT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>InterInArgsT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInArgsT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/InterInArgs/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/InterInArgs/descriptors/run_test.pl
deleted file mode 100755
index 752c80f81d6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInArgs/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Base/InterInOutT.idl b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Base/InterInOutT.idl
deleted file mode 100644
index ca36ea71350..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Base/InterInOutT.idl
+++ /dev/null
@@ -1,81 +0,0 @@
-#ifndef INTERINOUT_T_IDL
-#define INTERINOUT_T_IDL
-
-#pragma ciao lem "Base/InterInOutTE.idl"
-#pragma ciao ami4ccm interface "InterInOutT::MyFoo"
-#pragma ciao lem "Base/InterInOutTAE.idl"
-#pragma ciao ami4ccm idl "Base/InterInOutTA.idl"
-
-module InterInOutT
-{
- const short update_val = 999;
-
- typedef short short_array[5];
-
- // Mixed struct
- struct TestTopic {
- string key;
- long x;
- };
-
- // String struct
- struct TopicString {
- string key;
- string x_str;
- };
-
- // Array
- struct TopicArray {
- string key;
- short_array x_array;
- };
-
- typedef TopicArray TestArray[5];
-
- // Union
- union X_Union switch (short) {
- case 0:
- string x_test;
- case 1:
- long x_long;
- };
-
- // Sequence
- struct test {
- short x_test;
- string x_teststr;
- };
- typedef sequence<test> test_seq;
-
- enum test_enum
- {
- ZERO,
- ONE,
- TWO
- };
-
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, inout long cmd, inout string answer)
- raises (InternalError);
- void var_ins (in string in_str, out string answer, inout double cmd)
- raises (InternalError);
- void var_div_ins (inout TestTopic test_topic, inout TopicString topic_str,
- inout TestArray topic_arr, inout string answer)
- raises (InternalError);
- void var_div2_ins (inout X_Union topic_union, inout test_seq seq,
- out string answer)
- raises (InternalError);
- void enum_in(out string answer, inout test_enum in_test)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Base/InterInOutT.mpc b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Base/InterInOutT.mpc
deleted file mode 100644
index 446fec794b5..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Base/InterInOutT.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_InterInOutT_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINOUT_T_STUB_Export \
- -Wb,stub_export_include=InterInOutT_stub_export.h \
- -Wb,skel_export_macro=INTERINOUT_T_SKEL_Export \
- -Wb,skel_export_include=InterInOutT_skel_export.h \
- -Wb,conn_export_macro=INTERINOUT_T_CONN_Export \
- -Wb,conn_export_include=InterInOutT_conn_export.h \
- -Wb,exec_export_macro=INTERINOUT_T_EXEC_Export \
- -Wb,exec_export_include=InterInOutT_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- InterInOutT.idl
- }
-}
-
-project(AMI_InterInOutT_lem_gen) : ciaoidldefaults {
- after += AMI_InterInOutT_idl_gen AMI_InterInOutT_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=INTERINOUT_T_LEM_STUB_Export \
- -Wb,export_include=InterInOutT_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- InterInOutTE.idl
- }
-}
-
-project(AMI_InterInOutT_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_InterInOutT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINOUT_T_STUB_Export \
- -Wb,stub_export_include=InterInOutT_stub_export.h \
- -Wb,conn_export_macro=INTERINOUT_T_CONN_Export \
- -Wb,conn_export_include=InterInOutT_conn_export.h \
- -Wb,svnt_export_macro=INTERINOUT_T_SVNT_Export \
- -Wb,svnt_export_include=InterInOutT_svnt_export.h \
- -Wb,skel_export_macro=INTERINOUT_T_SKEL_Export \
- -Wb,skel_export_include=InterInOutT_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- InterInOutTA.idl
- }
-}
-
-project(AMI_InterInOutT_lemae_gen) : ciaoidldefaults {
- after += AMI_InterInOutT_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINOUT_T_LEM_STUB_Export \
- -Wb,stub_export_include=InterInOutT_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- InterInOutTAE.idl
- }
-}
-
-project(AMI_InterInOutT_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_InterInOutT_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterInOutT_stub
- dynamicflags += INTERINOUT_T_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterInOutTC.cpp
- InterInOutTAC.cpp
- }
-
- Header_Files {
- InterInOutTC.h
- InterInOutT_stub_export.h
-}
-
- Inline_Files {
- InterInOutTC.inl
- }
-}
-
-project(AMI_InterInOutT_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterInOutT_lem_gen AMI_InterInOutT_stub AMI_InterInOutT_lemae_gen AMI_InterInOutT_skel
- libs += InterInOutT_stub InterInOutT_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterInOutT_lem_stub
- dynamicflags += INTERINOUT_T_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterInOutTEC.cpp
- InterInOutTAEC.cpp
- }
-
- Header_Files {
- InterInOutTEC.h
- InterInOutT_lem_stub_export.h
-}
-
- Inline_Files {
- InterInOutTEC.inl
- }
-}
-
-project(AMI_InterInOutT_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_InterInOutT_stub
- sharedname = InterInOutT_skel
- libs += InterInOutT_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += INTERINOUT_T_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterInOutTS.cpp
- InterInOutTAS.cpp
- }
-
- Header_Files {
- InterInOutTS.h
-
- InterInOutT_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterInOutT_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterInOutT_lem_stub InterInOutT_Base_AMI_stub AMI_InterInOutT_skel AMI_InterInOutT_lema_gen AMI_InterInOutT_lemae_gen
- sharedname = InterInOutT_conn
- libs += InterInOutT_stub InterInOutT_skel InterInOutT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINOUT_T_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutTA_conn.cpp
- }
-
- Header_Files {
- InterInOutTA_conn.h
- InterInOutT_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterInOutT_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_InterInOutT_lem_stub InterInOutT_Base_AMI_stub AMI_InterInOutT_skel AMI_InterInOutT_lema_gen AMI_InterInOutT_lemae_gen AMI_InterInOutT_conn
- sharedname = InterInOutT_svnt
- libs += InterInOutT_stub InterInOutT_skel InterInOutT_lem_stub InterInOutT_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINOUT_T_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutTA_svnt.cpp
- }
-
- Header_Files {
- InterInOutTA_svnt.h
- InterInOutTA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver.idl b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver.idl
deleted file mode 100644
index 4606361276d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef INTERINOUT_T_RECEIVER_IDL
-#define INTERINOUT_T_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterInOutT.idl"
-
-module InterInOutT
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver.mpc
deleted file mode 100644
index ab234f36888..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterInOutT_Base InterInOutT_Receiver"
-
-project(AMI_InOutT_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_InterInOutT_idl_gen
- idlflags += -Wb,stub_export_macro=INTERINOUT_T_RECEIVER_STUB_Export \
- -Wb,stub_export_include=InterInOutT_Receiver_stub_export.h \
- -Wb,skel_export_macro=INTERINOUT_T_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=InterInOutT_Receiver_svnt_export.h \
- -Wb,exec_export_macro=INTERINOUT_T_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=InterInOutT_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- InterInOutT_Receiver.idl
- }
-}
-
-project(AMI_InOutT_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_InOutT_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINOUT_T_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=InterInOutT_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterInOutT_ReceiverE.idl
- }
-}
-
-project(AMI_InterInOutT_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_InOutT_Base_Receiver_lem_gen AMI_InterInOutT_Base_Receiver_stub AMI_InterInOutT_stub
- libs += InterInOutT_stub InterInOutT_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterInOutT_Receiver_lem_stub
- dynamicflags += INTERINOUT_T_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutT_ReceiverEC.cpp
- }
-
- Header_Files {
- InterInOutT_ReceiverEC.h
- InterInOutT_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- InterInOutT_ReceiverEC.inl
- }
-}
-
-project(AMI_InterInOutT_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_InOutT_Base_Receiver_idl_gen AMI_InterInOutT_stub
- libs += InterInOutT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterInOutT_Receiver_stub
- dynamicflags += INTERINOUT_T_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutT_ReceiverC.cpp
- }
-
- Header_Files {
- InterInOutT_ReceiverC.h
- InterInOutT_Receiver_stub_export.h
- }
-
- Inline_Files {
- InterInOutT_ReceiverC.inl
- }
-}
-
-project(AMI_InterInOutT_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_InterInOutT_Base_Receiver_l_stub AMI_InterInOutT_Base_Receiver_stub AMI_InterInOutT_stub AMI_InterInOutT_lem_stub
- sharedname = InterInOutT_Receiver_exec
- libs += InterInOutT_Receiver_stub InterInOutT_Receiver_lem_stub InterInOutT_stub InterInOutT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINOUT_T_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutT_Receiver_exec.cpp
- }
-
- Header_Files {
- InterInOutT_Receiver_exec.h
- InterInOutT_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterInOutT_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_InterInOutT_Base_skel AMI_InterInOutT_Base_Receiver_l_stub AMI_InterInOutT_stub AMI_InterInOutT_skel AMI_InterInOutT_lem_stub
- sharedname = InterInOutT_Receiver_svnt
- libs += InterInOutT_Receiver_stub InterInOutT_Receiver_lem_stub \
- InterInOutT_skel \
- InterInOutT_stub InterInOutT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINOUT_T_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutT_ReceiverS.cpp
- InterInOutT_Receiver_svnt.cpp
- }
-
- Header_Files {
- InterInOutT_ReceiverS.h
- InterInOutT_Receiver_svnt.h
- InterInOutT_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver_exec.cpp
deleted file mode 100644
index 31805222d0c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver_exec.cpp
+++ /dev/null
@@ -1,302 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterInOutT_Receiver_exec.h"
-
-namespace CIAO_InterInOutT_Receiver_Impl
-{
- CORBA::UShort nr_of_received = 0;
- CORBA::UShort update_val = InterInOutT::update_val;
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::InterInOutT::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::InterInOutT::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::InterInOutT::MyFoo
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * in_str,::CORBA::Long &cmd,
- char * &answer)
- {
- CORBA::String_var test = CORBA::string_dup (answer);
- if (ACE_OS::strcmp (answer, "Hi from sender") != 0)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::foo: "
- "received the wrong string answer,"
- " expected 'Hi from sender',"
- " received <%C>\n",
- test.in()));
- }
- else if (ACE_OS::strlen (in_str) == 0)
- {
- InterInOutT::InternalError ex (cmd + update_val,
- "foo thrown by receiver");
- throw ex;
- }
- else
- {
- CORBA::string_free (answer);
- answer = CORBA::string_dup ("Hi from receiver");
- ++nr_of_received;
- cmd = cmd + update_val;
- }
- return cmd;
- }
-
- void
- do_my_foo_exec_i::var_ins (const char * /*in_str*/,
- ::CORBA::String_out answer,
- ::CORBA::Double_out cmd)
- {
- if ( cmd != 1.6)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_ins: "
- "received the wrong double, expected 1.6,"
- " received %2.2f\n",
- cmd));
- }
- else
- {
- ++nr_of_received;
- }
- answer = CORBA::string_alloc(20);
- ACE_OS::sprintf(answer,"double was %2.2f",cmd);
- cmd = 3.2;
- }
-
- void
- do_my_foo_exec_i::var_div_ins (::InterInOutT::TestTopic &test_topic,
- ::InterInOutT::TopicString &topic_str,
- ::InterInOutT::TestArray topic_arr,
- char * &answer)
- {
- CORBA::Boolean error = false;
- if ((ACE_OS::strcmp (test_topic.key, "aaa") != 0) || (test_topic.x != 10))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key 'aaa', x = 10,"
- " received key '%C' , x = %u\n",
- test_topic.key.in(),test_topic.x));
- error = true;
- }
-
- if ((ACE_OS::strcmp (topic_str.key, "bbb") != 0) ||
- (ACE_OS::strcmp (topic_str.x_str, "ccc") != 0))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key 'bbb', x = 'ccc',"
- " received key '%C' , x = %C\n",
- topic_str.key.in() ,topic_str.x_str.in()));
- error = true;
- }
-
- if ((ACE_OS::strcmp (topic_arr[0].key, "ddd") != 0) ||
- (topic_arr[1].x_array[2] != 102))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key 'ddd', elem 102"
- " received key '%C', elem %u\n",
- topic_arr[0].key.in(),topic_arr[1].x_array[2] ));
- error = true;
- }
-
- CORBA::string_free (answer);
- answer = CORBA::string_dup ("This is my answer from var_div_ins");
- if(error == false)
- {
- test_topic.key = CORBA::string_dup("111");
- test_topic.x = 111;
- topic_str.key = CORBA::string_dup("222");
- topic_str.x_str = CORBA::string_dup("333");
- topic_arr[0].key = CORBA::string_dup("444");
- topic_arr[1].x_array[2] = 444;
- ++nr_of_received;
- }
- }
-
- void
- do_my_foo_exec_i::var_div2_ins (::InterInOutT::X_Union &topic_union,
- ::InterInOutT::test_seq &seq,
- CORBA::String_out answer)
- {
- CORBA::Boolean error = false;
- if (topic_union.x_long() != 11)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div2_ins: "
- "received the wrong union, "
- "expected x = 11,"
- " received x = %u\n",
- topic_union.x_long()));
- error = true;
- }
- if ((ACE_OS::strcmp (seq[0].x_teststr, "fff") != 0)||
- (seq[0].x_test != 12))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div2_ins: "
- "received the wrong struct, "
- "expected key 'fff', x = 10,"
- " received key '%C' , x = %u\n",
- seq[0].x_teststr.in(),seq[0].x_test));
- error = true;
- }
- if (error == false)
- {
- topic_union.x_long(555);
- seq[0].x_teststr = CORBA::string_dup("666");
- seq[0].x_test = 666;
- answer = CORBA::string_dup ("This is my answer from var_div2_ins");
- ++nr_of_received;
- }
- }
-
- void
- do_my_foo_exec_i::enum_in (::CORBA::String_out answer,
- InterInOutT::test_enum &in_test)
- {
- if (in_test != InterInOutT::ONE)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::enum_in: "
- "received the wrong enum value, expected ONE,"
- " received %u\n",
- in_test));
- }
- else
- {
- ++nr_of_received;
- in_test = InterInOutT::TWO;
- }
- answer = CORBA::string_dup ("This is my answer from enum_in");
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::InterInOutT::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::InterInOutT::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::InterInOutT::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterInOutT::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- if (nr_of_received == 6)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Receiver received all expected data"
- " from syn- and asynchronous calls\n"));
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Receiver didn't receive all"
- " expected data (%u of 6)"
- " from syn- and asynchronous calls\n",
- nr_of_received));
- } }
-
- extern "C" INTERINOUT_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterInOutT_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver_exec.h
deleted file mode 100644
index e9d3d189fdd..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Receiver/InterInOutT_Receiver_exec.h
+++ /dev/null
@@ -1,151 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTERINOUTT_RECEIVER_EXEC_SRFAZH_H_
-#define CIAO_INTERINOUTT_RECEIVER_EXEC_SRFAZH_H_
-
-#include /**/ "ace/pre.h"
-
-#include "InterInOutT_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterInOutT_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_InterInOutT_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::InterInOutT::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::InterInOutT::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from InterInOutT::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long & cmd,
- char *& answer);
-
- virtual
- void var_ins (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Double & cmd);
-
- virtual
- void var_div_ins (::InterInOutT::TestTopic & test_topic,
- ::InterInOutT::TopicString & topic_str,
- ::InterInOutT::TestArray topic_arr,
- char *& answer);
-
- virtual
- void var_div2_ins (::InterInOutT::X_Union & topic_union,
- ::InterInOutT::test_seq & seq,
- ::CORBA::String_out answer);
-
- virtual
- void enum_in (::CORBA::String_out answer,
- ::InterInOutT::test_enum & in_test);
- //@}
-
- private:
- ::InterInOutT::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::InterInOutT::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::InterInOutT::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::InterInOutT::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" INTERINOUT_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterInOutT_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender.idl b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender.idl
deleted file mode 100644
index 8b0459297cf..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef INTERINOUT_T_SENDER_IDL
-#define INTERINOUT_T_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterInOutT.idl"
-
-#pragma ciao ami4ccm receptacle "InterInOutT::Sender::run_my_foo"
-
-module InterInOutT
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender.mpc b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender.mpc
deleted file mode 100644
index cfd661e2a72..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterInOutT_Base InterInOutT_Sender"
-
-project(AMI_InterInOutT_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_InterInOutT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINOUT_T_SENDER_STUB_Export \
- -Wb,stub_export_include=InterInOutT_Sender_stub_export.h \
- -Wb,skel_export_macro=INTERINOUT_T_SENDER_SVNT_Export \
- -Wb,skel_export_include=InterInOutT_Sender_svnt_export.h \
- -Wb,exec_export_macro=INTERINOUT_T_SENDER_EXEC_Export \
- -Wb,exec_export_include=InterInOutT_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- InterInOutT_Sender.idl
- }
-}
-
-project(AMI_InterInOutT_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_InterInOutT_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERINOUT_T_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=InterInOutT_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterInOutT_SenderE.idl
- }
-}
-
-project(AMI_InterInOutT_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_InterInOutT_Base_Sender_lem_gen AMI_InterInOutT_stub Conn_InterInOutT_Base_stub
- libs += InterInOutT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterInOutT_Sender_lem_stub
- dynamicflags += INTERINOUT_T_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutT_SenderEC.cpp
- }
-
- Header_Files {
- InterInOutT_SenderEC.h
- InterInOutT_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- InterInOutT_SenderEC.inl
- }
-}
-
-project(AMI_InterInOutT_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_InterInOutT_Base_Sender_idl_gen AMI_InterInOutT_Base_stub AMI_InterInOutT_stub Conn_InterInOutT_Base_stub
- libs += InterInOutT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterInOutT_Sender_stub
- dynamicflags += INTERINOUT_T_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutT_SenderC.cpp
- }
-
- Header_Files {
- InterInOutT_SenderC.h
- InterInOutT_Sender_stub_export.h
- }
-
- Inline_Files {
- InterInOutT_SenderC.inl
- }
-}
-
-project(AMI_InterInOutT_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_InterInOutT_Base_Sender_lem_stub AMI_InterInOutT_Base_Sender_stub AMI_InterInOutT_Base_exec Conn_InterInOutT_Base_stub AMI_InterInOutT_lem_stub
- sharedname = InterInOutT_Sender_exec
- libs += InterInOutT_Sender_stub InterInOutT_Sender_lem_stub InterInOutT_stub InterInOutT_stub InterInOutT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINOUT_T_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutT_Sender_exec.cpp
- }
-
- Header_Files {
- InterInOutT_Sender_exec.h
- InterInOutT_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterInOutT_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_InterInOutT_Base_skel AMI_InterInOutT_Base_Sender_lem_stub AMI_InterInOutT_Base_Sender_stub AMI_InterInOutT_Base_exec AMI_InterInOutT_skel
- sharedname = InterInOutT_Sender_svnt
- libs += InterInOutT_Sender_stub InterInOutT_Sender_lem_stub \
- InterInOutT_skel \
- InterInOutT_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERINOUT_T_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterInOutT_SenderS.cpp
- InterInOutT_Sender_svnt.cpp
- }
-
- Header_Files {
- InterInOutT_SenderS.h
- InterInOutT_Sender_svnt.h
- InterInOutT_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender_exec.cpp
deleted file mode 100644
index 9c366ea45fa..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender_exec.cpp
+++ /dev/null
@@ -1,457 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterInOutT_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_InterInOutT_Sender_Impl
-{
- CORBA::Short nr_of_excep_received = 0;
- CORBA::UShort update_val = InterInOutT::update_val;
- CORBA::UShort cmd_synch_ok = 1;
- CORBA::UShort cmd_synch_nok = 2;
- CORBA::UShort cmd_asynch_ok = 3;
- CORBA::UShort cmd_asynch_nok = 4;
-
- void HandleException (
- long id,
- long expect_id,
- const char* error_string,
- const char* func)
- {
- //expected exception
- if ( id == expect_id)
- {
- ACE_DEBUG ((LM_DEBUG, "Sender: Caught correct exception <%u,"
- "%C> for %C\n",
- id, error_string, func));
- ++nr_of_excep_received;
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender: wrong exception received"
- " for %C\n", func));
- }
- }
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::InterInOutT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterInOutT::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::InterInOutT::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- ::InterInOutT::AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_of_received_);
-
- CORBA::Long l_cmd = 3;
- CORBA::String_var answer = CORBA::string_dup("Hi from sender");
- //Invoke Asynchronous calls to test
- my_foo_ami_->sendc_foo ( cb.in (),
- "Do something synchronous", l_cmd, answer.inout());
-
- //this should invoke a exception
- l_cmd = 4;
- my_foo_ami_->sendc_foo ( cb.in (),
- "", l_cmd, answer.inout());
- my_foo_ami_->sendc_var_ins( cb.in (),
- "Here a double for you.", 1.6);
-
- InterInOutT::TestTopic test_topic;
- test_topic.key = "aaa";
- test_topic.x = 10;
- InterInOutT::TopicString topic_str;
- topic_str.key = "bbb";
- topic_str.x_str = "ccc";
- InterInOutT::TestArray topic_arr;
- for ( CORBA::UShort i = 0; i < 5; i ++)
- {
- topic_arr[i].key = CORBA::string_dup("ddd");
- for (CORBA::UShort y = 0; y < 5; y ++)
- {
- topic_arr[i].x_array[y] = i * 100 + y ;
- }
- }
- my_foo_ami_->sendc_var_div_ins ( cb.in (),
- test_topic,topic_str,topic_arr, answer);
-
- InterInOutT::X_Union topic_union;
- topic_union.x_long(11);
- InterInOutT::test ttt;
- ttt.x_test = 12;
- ttt.x_teststr = "fff" ;
- InterInOutT::test_seq seq;
- seq.length(2);
- seq[0] = ttt;
-
- my_foo_ami_->sendc_var_div2_ins ( cb.in (),
- topic_union, seq);
- InterInOutT::test_enum in_test;
- in_test = ::InterInOutT::ONE;
- my_foo_ami_->sendc_enum_in( cb.in (),
- in_test);
- }
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::InterInOutT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterInOutT::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
-
- //run some synch calls
- ::InterInOutT::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
- CORBA::String_var answer = CORBA::string_dup("Hi from sender");
- CORBA::Long l_cmd = 1;
- try
- {
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- l_cmd ,
- answer.inout ());
- if ((result == (update_val + cmd_synch_ok)) &&
- (ACE_OS::strcmp (answer.in(), "Hi from receiver") == 0))
- {
- ++this->nr_of_received_;
- }
- }
- catch (const InterInOutT::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::foo: "
- "Unexpected exception.\n"));
- }
- try
- {
- l_cmd = 2;
- answer = CORBA::string_dup("Hi from sender");
- my_foo_ami_->foo ("",l_cmd, answer.inout());
- }
- catch (const InterInOutT::InternalError& ex)
- {
- HandleException (ex.id, (update_val + cmd_synch_nok),
- ex.error_string.in(),
- "synch foo");
- }
- return 0;
- }
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen (0),
- synch_foo_gen (0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterInOutT::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in(),
- this->nr_of_received_);
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1); }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (nr_of_excep_received != 2)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
- " exceptions"
- "Expected: 2, Received: %u.\n",
- nr_of_excep_received));
- }
- if (this->nr_of_received_.value() != 6)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Sender not received the expected number"
- " of callbacks and returns for syn- and "
- "asynchronous calls. Expected: 6,"
- " Received: %u.\n",
- this->nr_of_received_.value()));
- }
- if ((this->nr_of_received_.value() == 6) && (nr_of_excep_received == 2))
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Sender received the expected number of"
- " callbacks and exceptions for syn- and "
- "asynchronous calls\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_(nr_of_received)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo ( ::CORBA::Long ami_return_val,
- ::CORBA::Long l_cmd,
- const char * answer)
- {
- if (( ami_return_val == ( cmd_asynch_ok + update_val )) &&
- ( l_cmd == ami_return_val) &&
- ( ACE_OS::strcmp (answer, "Hi from receiver") == 0))
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep ( ::CCM_AMI::ExceptionHolder * excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const InterInOutT::InternalError& ex)
- {
- CIAO_InterInOutT_Sender_Impl::HandleException (ex.id, (cmd_asynch_nok + update_val),
- ex.error_string.in(), "asynch foo");
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_ins (const char * /* answer */,
- ::CORBA::Double cmd )
- {
- if (cmd == 3.2)
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_ins_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div_ins (
- const InterInOutT::TestTopic &test_topic,
- const InterInOutT::TopicString &topic_str,
- const InterInOutT::TestArray topic_arr,
- const char * /*answer*/)
- {
- CORBA::Boolean error = false;
- if ((ACE_OS::strcmp (test_topic.key, "111") != 0) || (test_topic.x != 111))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key '111', x = 111,"
- " received key '%C' , x = %u\n",
- test_topic.key.in(),test_topic.x));
- error = true;
- }
-
- if ((ACE_OS::strcmp (topic_str.key, "222") != 0) ||
- (ACE_OS::strcmp (topic_str.x_str, "333") != 0))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key '222', x = '333',"
- " received key '%C' , x = %C\n",
- topic_str.key.in() ,topic_str.x_str.in()));
- error = true;
- }
-
- if ((ACE_OS::strcmp (topic_arr[0].key, "444") != 0) ||
- (topic_arr[1].x_array[2] != 444))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div_ins: "
- "received the wrong struct, "
- "expected key '444', elem 444"
- " received key '%C', elem %u\n",
- topic_arr[0].key.in(),topic_arr[1].x_array[2] ));
- error = true;
- }
-
- if(error == false)
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div_ins_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div2_ins (const InterInOutT::X_Union &x_uni,
- const InterInOutT::test_seq &seq,
- const char * /*answer*/)
- {
- CORBA::Boolean error = false;
- if (x_uni.x_long() != 555)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div2_ins: "
- "received the wrong union, "
- "expected x = 555,"
- " received x = %u\n",
- x_uni.x_long()));
- error = true;
- }
- if ((ACE_OS::strcmp (seq[0].x_teststr, "666") != 0)||
- (seq[0].x_test != 666))
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::var_div2_ins: "
- "received the wrong struct, "
- "expected key '666', x = 666,"
- " received key '%C' , x = %u\n",
- seq[0].x_teststr.in(),seq[0].x_test));
- error = true;
- }
- if(error == false)
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div2_ins_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder )
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::enum_in (const char * /*answer*/,
- InterInOutT::test_enum test_enum)
- {
- if ( test_enum != InterInOutT::TWO)
- {
- ACE_ERROR ((LM_ERROR, "MyFoo_exec_i::enum_in: "
- "received the wrong enum value, expected TWO,"
- " received %u\n",
- test_enum));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::enum_in_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
-
- extern "C" INTERINOUT_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterInOutT_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender_exec.h
deleted file mode 100644
index a1cabb94032..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/Sender/InterInOutT_Sender_exec.h
+++ /dev/null
@@ -1,187 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTERINOUTT_SENDER_EXEC_FSBIFS_H_
-#define CIAO_INTERINOUTT_SENDER_EXEC_FSBIFS_H_
-
-#include /**/ "ace/pre.h"
-#include "ace/Task.h"
-#include "InterInOutT_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterInOutT_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_InterInOutT_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Common exception handlers
- void HandleException (
- long id,
- long expect_id,
- const char* error_string,
- const char* func);
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::InterInOutT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received_);
-
- virtual int svc (void);
-
- private:
- ::InterInOutT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::InterInOutT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received_);
-
- virtual int svc (void);
-
- private:
- ::InterInOutT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::InterInOutT::CCM_Sender_Context_var ciao_context_;
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_of_received_;
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::InterInOutT::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_UShort &nr_of_received_);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual
- void foo (::CORBA::Long ami_return_val,
- ::CORBA::Long cmd,
- const char * answer);
-
- virtual
- void foo_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void var_ins (const char * answer,
- ::CORBA::Double cmd);
-
- virtual
- void var_ins_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void var_div_ins (const ::InterInOutT::TestTopic & test_topic,
- const ::InterInOutT::TopicString & topic_str,
- const ::InterInOutT::TestArray topic_arr,
- const char * answer);
-
- virtual
- void var_div_ins_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void var_div2_ins (const ::InterInOutT::X_Union & topic_union,
- const ::InterInOutT::test_seq & seq,
- const char * answer);
-
- virtual
- void var_div2_ins_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void enum_in (const char * answer,
- ::InterInOutT::test_enum in_test);
-
- virtual
- void enum_in_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
- };
-
- extern "C" INTERINOUT_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterInOutT_Sender_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/descriptors/Plan.cdp
deleted file mode 100644
index 510528d32c4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="InterInOutT_ReceiverHomeImplementation">
- <name>InterInOutT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterInOutT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="InterInOutT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInOutT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInOutT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterInOutT_SenderHomeImplementation">
- <name>InterInOutT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterInOutT_Sender_ExecArtifact"/>
- <artifact xmi:idref="InterInOutT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInOutT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInOutT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterInOutT_AMIHomeImplementation">
- <name>InterInOutT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterInOutT_AMI_ExecArtifact"/>
- <artifact xmi:idref="InterInOutT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInOutT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterInOutT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.Receiver">
- <name>InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="InterInOutT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.Sender">
- <name>InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterInOutT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.AMI">
- <name>InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterInOutT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterInOutT.ComponentImplementations.InterInOutTImplementation.InterInOutT.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="InterInOutT_AMI_SvntArtifact">
- <name>InterInOutT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterInOutT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInOutT_AMI_ExecArtifact">
- <name>InterInOutT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterInOutT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInOutT_Receiver_SvntArtifact">
- <name>InterInOutT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>InterInOutT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInOutT_Receiver_ExecArtifact">
- <name>InterInOutT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>InterInOutT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInOutT_Sender_SvntArtifact">
- <name>InterInOutT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>InterInOutT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterInOutT_Sender_ExecArtifact">
- <name>InterInOutT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>InterInOutT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterInOutT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/InterInOutArgs/descriptors/run_test.pl
deleted file mode 100755
index 72bb46f1ea2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterInOutArgs/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/.gitignore b/CIAO/connectors/ami4ccm/tests/InterMulti/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/InterMulti/Base/.gitignore
deleted file mode 100644
index 8c667f760c5..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/InterMultiA.idl
-/InterMultiAE.idl
-/InterMultiA_conn.cpp
-/InterMultiA_conn.h
-/InterMultiE.idl
-/InterMulti_conn_export.h
-/InterMulti_exec_export.h
-/InterMulti_lem_stub_export.h
-/InterMulti_skel_export.h
-/InterMulti_stub_export.h
-/InterMulti_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Base/InterMulti.idl b/CIAO/connectors/ami4ccm/tests/InterMulti/Base/InterMulti.idl
deleted file mode 100644
index 863814f03f3..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Base/InterMulti.idl
+++ /dev/null
@@ -1,39 +0,0 @@
-#ifndef INTERMULTI_IDL
-#define INTERMULTI_IDL
-
-#pragma ciao lem "Base/InterMultiE.idl"
-#pragma ciao ami4ccm interface "InterMulti::One"
-#pragma ciao ami4ccm interface "InterMulti::Two"
-#pragma ciao ami4ccm interface "InterMulti::Three"
-#pragma ciao lem "Base/InterMultiAE.idl"
-#pragma ciao ami4ccm idl "Base/InterMultiA.idl"
-
-module InterMulti
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interfaces
- interface One
- {
- long foo (in string in_str, in long cmd, out string answer)
- raises (InternalError);
- };
- interface Two
- {
- void bar (in long cmd, out string answer)
- raises (InternalError);
- };
-
- //multiple inheritance
- interface Three: One, Two
- {
- void plus (in long cmd, out string answer)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Base/InterMulti.mpc b/CIAO/connectors/ami4ccm/tests/InterMulti/Base/InterMulti.mpc
deleted file mode 100644
index bb55e1d8bbd..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Base/InterMulti.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_InterMulti_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERMULTI_STUB_Export \
- -Wb,stub_export_include=InterMulti_stub_export.h \
- -Wb,skel_export_macro=INTERMULTI_SKEL_Export \
- -Wb,skel_export_include=InterMulti_skel_export.h \
- -Wb,conn_export_macro=INTERMULTI_CONN_Export \
- -Wb,conn_export_include=InterMulti_conn_export.h \
- -Wb,exec_export_macro=INTERMULTI_EXEC_Export \
- -Wb,exec_export_include=InterMulti_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- InterMulti.idl
- }
-}
-
-project(AMI_InterMulti_lem_gen) : ciaoidldefaults {
- after += AMI_InterMulti_idl_gen AMI_InterMulti_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=INTERMULTI_LEM_STUB_Export \
- -Wb,export_include=InterMulti_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- InterMultiE.idl
- }
-}
-
-project(AMI_InterMulti_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_InterMulti_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERMULTI_STUB_Export \
- -Wb,stub_export_include=InterMulti_stub_export.h \
- -Wb,conn_export_macro=INTERMULTI_CONN_Export \
- -Wb,conn_export_include=InterMulti_conn_export.h \
- -Wb,svnt_export_macro=INTERMULTI_SVNT_Export \
- -Wb,svnt_export_include=InterMulti_svnt_export.h \
- -Wb,skel_export_macro=INTERMULTI_SKEL_Export \
- -Wb,skel_export_include=InterMulti_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- InterMultiA.idl
- }
-}
-
-project(AMI_InterMulti_lemae_gen) : ciaoidldefaults {
- after += AMI_InterMulti_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERMULTI_LEM_STUB_Export \
- -Wb,stub_export_include=InterMulti_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- InterMultiAE.idl
- }
-}
-
-project(AMI_InterMulti_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_InterMulti_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterMulti_stub
- dynamicflags += INTERMULTI_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterMultiC.cpp
- InterMultiAC.cpp
- }
-
- Header_Files {
- InterMultiC.h
- InterMulti_stub_export.h
-}
-
- Inline_Files {
- InterMultiC.inl
- }
-}
-
-project(AMI_InterMulti_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterMulti_lem_gen AMI_InterMulti_stub AMI_InterMulti_lemae_gen AMI_InterMulti_skel
- libs += InterMulti_stub InterMulti_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterMulti_lem_stub
- dynamicflags += INTERMULTI_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterMultiEC.cpp
- InterMultiAEC.cpp
- }
-
- Header_Files {
- InterMultiEC.h
- InterMulti_lem_stub_export.h
-}
-
- Inline_Files {
- InterMultiEC.inl
- }
-}
-
-project(AMI_InterMulti_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_InterMulti_stub
- sharedname = InterMulti_skel
- libs += InterMulti_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += INTERMULTI_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterMultiS.cpp
- InterMultiAS.cpp
- }
-
- Header_Files {
- InterMultiS.h
-
- InterMulti_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterMulti_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterMulti_lem_stub InterMulti_Base_AMI_stub AMI_InterMulti_skel AMI_InterMulti_lema_gen AMI_InterMulti_lemae_gen
- sharedname = InterMulti_conn
- libs += InterMulti_stub InterMulti_skel InterMulti_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERMULTI_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMultiA_conn.cpp
- }
-
- Header_Files {
- InterMultiA_conn.h
- InterMulti_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterMulti_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_InterMulti_lem_stub InterMulti_Base_AMI_stub AMI_InterMulti_skel AMI_InterMulti_lema_gen AMI_InterMulti_lemae_gen AMI_InterMulti_conn
- sharedname = InterMulti_svnt
- libs += InterMulti_stub InterMulti_skel InterMulti_lem_stub InterMulti_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERMULTI_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMultiA_svnt.cpp
- }
-
- Header_Files {
- InterMultiA_svnt.h
- InterMultiA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/.gitignore
deleted file mode 100644
index f15dc33a1f4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/InterMulti_ReceiverE.idl
-/InterMulti_Receiver_exec_export.h
-/InterMulti_Receiver_lem_stub_export.h
-/InterMulti_Receiver_stub_export.h
-/InterMulti_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver.idl b/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver.idl
deleted file mode 100644
index 3fe5a72655e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver.idl
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef INTERMULTI_RECEIVER_IDL
-#define INTERMULTI_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterMulti.idl"
-
-module InterMulti
-{
- component Receiver
- {
- /// Provides
- provides One do_my_one;
- provides Two do_my_two;
- provides Three do_my_three;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver.mpc
deleted file mode 100644
index 965ebad6de6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterMulti_Base InterMulti_Receiver"
-
-project(AMI_InterMulti_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_InterMulti_idl_gen
- idlflags += -Wb,stub_export_macro=INTERMULTI_RECEIVER_STUB_Export \
- -Wb,stub_export_include=InterMulti_Receiver_stub_export.h \
- -Wb,skel_export_macro=INTERMULTI_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=InterMulti_Receiver_svnt_export.h \
- -Wb,exec_export_macro=INTERMULTI_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=InterMulti_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- InterMulti_Receiver.idl
- }
-}
-
-project(AMI_InterMulti_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_InterMulti_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERMULTI_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=InterMulti_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterMulti_ReceiverE.idl
- }
-}
-
-project(AMI_InterMulti_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_InterMulti_Base_Receiver_lem_gen AMI_InterMulti_Base_Receiver_stub AMI_InterMulti_stub
- libs += InterMulti_stub InterMulti_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterMulti_Receiver_lem_stub
- dynamicflags += INTERMULTI_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMulti_ReceiverEC.cpp
- }
-
- Header_Files {
- InterMulti_ReceiverEC.h
- InterMulti_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- InterMulti_ReceiverEC.inl
- }
-}
-
-project(AMI_InterMulti_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_InterMulti_Base_Receiver_idl_gen AMI_InterMulti_stub
- libs += InterMulti_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterMulti_Receiver_stub
- dynamicflags += INTERMULTI_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMulti_ReceiverC.cpp
- }
-
- Header_Files {
- InterMulti_ReceiverC.h
- InterMulti_Receiver_stub_export.h
- }
-
- Inline_Files {
- InterMulti_ReceiverC.inl
- }
-}
-
-project(AMI_InterMulti_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_InterMulti_Base_Receiver_l_stub AMI_InterMulti_Base_Receiver_stub AMI_InterMulti_stub AMI_InterMulti_lem_stub
- sharedname = InterMulti_Receiver_exec
- libs += InterMulti_Receiver_stub InterMulti_Receiver_lem_stub InterMulti_stub InterMulti_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERMULTI_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMulti_Receiver_exec.cpp
- }
-
- Header_Files {
- InterMulti_Receiver_exec.h
- InterMulti_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterMulti_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_InterMulti_Base_skel AMI_InterMulti_Base_Receiver_l_stub AMI_InterMulti_stub AMI_InterMulti_skel AMI_InterMulti_lem_stub
- sharedname = InterMulti_Receiver_svnt
- libs += InterMulti_Receiver_stub InterMulti_Receiver_lem_stub \
- InterMulti_skel \
- InterMulti_stub InterMulti_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERMULTI_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMulti_ReceiverS.cpp
- InterMulti_Receiver_svnt.cpp
- }
-
- Header_Files {
- InterMulti_ReceiverS.h
- InterMulti_Receiver_svnt.h
- InterMulti_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver_exec.cpp
deleted file mode 100644
index 4f4f8c8e443..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver_exec.cpp
+++ /dev/null
@@ -1,315 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterMulti_Receiver_exec.h"
-
-namespace CIAO_InterMulti_Receiver_Impl
-{
- CORBA::UShort nr_of_received = 0;
-
- /**
- * Facet Executor Implementation Class: do_my_one_exec_i
- */
-
- do_my_one_exec_i::do_my_one_exec_i (
- ::InterMulti::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::InterMulti::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_one_exec_i::~do_my_one_exec_i (void)
- {
- }
-
- // Operations from ::InterMulti::One
-
- ::CORBA::Long
- do_my_one_exec_i::foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- ACE_DEBUG ((LM_DEBUG, "Receiver: one_foo, in_str = %C"
- " cmd = <%u>\n",
- in_str, cmd));
- if (cmd != 1)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Receiver ONE::foo,"
- " origin not 1, but <%u>\n",
- cmd));
- }
- else
- {
- ++nr_of_received;
- }
- answer = CORBA::string_dup ("answer foo one");
- return cmd;
- }
-
- /**
- * Facet Executor Implementation Class: do_my_two_exec_i
- */
-
- do_my_two_exec_i::do_my_two_exec_i (
- ::InterMulti::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::InterMulti::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_two_exec_i::~do_my_two_exec_i (void)
- {
- }
-
- // Operations from ::InterMulti::Two
-
- void
- do_my_two_exec_i::bar (::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- ACE_DEBUG ((LM_DEBUG, "Receiver: two_bar,"
- " cmd = <%u>\n",
- cmd));
- if (cmd != 2)
- {
- ACE_ERROR ((LM_ERROR, "ERROR Receiver: TWO::bar,"
- " origin not 2, but <%u>\n",
- cmd));
- }
- else
- {
- ++nr_of_received;
- }
- answer = CORBA::string_dup ("answer bar two");
- }
-
- /**
- * Facet Executor Implementation Class: do_my_three_exec_i
- */
-
- do_my_three_exec_i::do_my_three_exec_i (
- ::InterMulti::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::InterMulti::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_three_exec_i::~do_my_three_exec_i (void)
- {
- }
-
- // Operations from ::InterMulti::Three
-
- void
- do_my_three_exec_i::bar (::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- ACE_DEBUG ((LM_DEBUG, "Receiver: three_bar,"
- " cmd = <%u>\n",
- cmd));
- if (cmd != 3)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Receiver Three::bar,"
- " origin not 3, but <%u>\n",
- cmd));
- }
- else
- {
- ++nr_of_received;
- }
- answer = CORBA::string_dup ("answer bar three");
- }
-
- ::CORBA::Long
- do_my_three_exec_i::foo (const char * in_str,::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- ACE_DEBUG ((LM_DEBUG, "Receiver: three_foo, in_str = %C"
- " cmd = <%u>\n",
- in_str, cmd));
- if (cmd != 3)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Receiver THREE::foo,"
- " origin not 3, but <%u>\n",
- cmd));
- }
- else
- {
- ++nr_of_received;
- }
- answer = CORBA::string_dup ("answer foo three");
- return 3;
- }
-
- void
- do_my_three_exec_i::plus (::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- ACE_DEBUG ((LM_DEBUG, "Receiver: three_plus,"
- " cmd = <%u>\n",
- cmd));
- ++nr_of_received;
- answer = CORBA::string_dup ("answer plus three");
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::InterMulti::CCM_One_ptr
- Receiver_exec_i::get_do_my_one (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_one_.in ()))
- {
- do_my_one_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_one_exec_i (
- this->ciao_context_.in ()),
- ::InterMulti::CCM_One::_nil ());
-
- this->ciao_do_my_one_ = tmp;
- }
-
- return
- ::InterMulti::CCM_One::_duplicate (
- this->ciao_do_my_one_.in ());
- }
-
- ::InterMulti::CCM_Two_ptr
- Receiver_exec_i::get_do_my_two (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_two_.in ()))
- {
- do_my_two_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_two_exec_i (
- this->ciao_context_.in ()),
- ::InterMulti::CCM_Two::_nil ());
-
- this->ciao_do_my_two_ = tmp;
- }
-
- return
- ::InterMulti::CCM_Two::_duplicate (
- this->ciao_do_my_two_.in ());
- }
-
- ::InterMulti::CCM_Three_ptr
- Receiver_exec_i::get_do_my_three (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_three_.in ()))
- {
- do_my_three_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_three_exec_i (
- this->ciao_context_.in ()),
- ::InterMulti::CCM_Three::_nil ());
-
- this->ciao_do_my_three_ = tmp;
- }
-
- return
- ::InterMulti::CCM_Three::_duplicate (
- this->ciao_do_my_three_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterMulti::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- if (nr_of_received != 7)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
- "correct calls"
- "Expected: 7, Received: %u.\n",
- nr_of_received));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Receiver received the expected "
- "number of correct calls. "
- "Expected: 7, Received: %u.\n",
- nr_of_received));
- } }
-
- extern "C" INTERMULTI_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterMulti_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver_exec.h
deleted file mode 100644
index 6a6859fea7e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Receiver/InterMulti_Receiver_exec.h
+++ /dev/null
@@ -1,197 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTERMULTI_RECEIVER_EXEC_GUFSW6_H_
-#define CIAO_INTERMULTI_RECEIVER_EXEC_GUFSW6_H_
-
-#include /**/ "ace/pre.h"
-
-#include "InterMulti_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterMulti_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_InterMulti_Receiver_Impl
-{
- /**
- * Provider Executor Implementation Class: do_my_one_exec_i
- */
-
- class do_my_one_exec_i
- : public virtual ::InterMulti::CCM_One,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_one_exec_i (
- ::InterMulti::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_one_exec_i (void);
-
- //@{
- /** Operations and attributes from InterMulti::One. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::InterMulti::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Provider Executor Implementation Class: do_my_two_exec_i
- */
-
- class do_my_two_exec_i
- : public virtual ::InterMulti::CCM_Two,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_two_exec_i (
- ::InterMulti::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_two_exec_i (void);
-
- //@{
- /** Operations and attributes from InterMulti::Two. */
-
- virtual
- void bar (::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::InterMulti::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Provider Executor Implementation Class: do_my_three_exec_i
- */
-
- class do_my_three_exec_i
- : public virtual ::InterMulti::CCM_Three,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_three_exec_i (
- ::InterMulti::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_three_exec_i (void);
-
- //@{
- /** Operations and attributes from InterMulti::Three. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer);
-
- virtual
- void bar (::CORBA::Long cmd,
- ::CORBA::String_out answer);
-
- virtual
- void plus (::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::InterMulti::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::InterMulti::CCM_One_ptr
- get_do_my_one (void);
-
- virtual ::InterMulti::CCM_Two_ptr
- get_do_my_two (void);
-
- virtual ::InterMulti::CCM_Three_ptr
- get_do_my_three (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::InterMulti::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::InterMulti::CCM_One_var ciao_do_my_one_;
- ::InterMulti::CCM_Two_var ciao_do_my_two_;
- ::InterMulti::CCM_Three_var ciao_do_my_three_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" INTERMULTI_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterMulti_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/.gitignore
deleted file mode 100644
index b4a094fde4c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/InterMulti_SenderE.idl
-/InterMulti_Sender_exec_export.h
-/InterMulti_Sender_lem_stub_export.h
-/InterMulti_Sender_stub_export.h
-/InterMulti_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender.idl b/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender.idl
deleted file mode 100644
index ea17f183764..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender.idl
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef INTERMULTI_SENDER_IDL
-#define INTERMULTI_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterMulti.idl"
-
-#pragma ciao ami4ccm receptacle "InterMulti::Sender::run_my_one"
-#pragma ciao ami4ccm receptacle "InterMulti::Sender::run_my_two"
-#pragma ciao ami4ccm receptacle "InterMulti::Sender::run_my_three"
-
-module InterMulti
-{
- component Sender
- {
- /// For synchronous invocation
- uses One run_my_one;
- uses Two run_my_two;
- uses Three run_my_three;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender.mpc b/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender.mpc
deleted file mode 100644
index 7c2b6d0eb15..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterMulti_Base InterMulti_Sender"
-
-project(AMI_InterMulti_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_InterMulti_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERMULTI_SENDER_STUB_Export \
- -Wb,stub_export_include=InterMulti_Sender_stub_export.h \
- -Wb,skel_export_macro=INTERMULTI_SENDER_SVNT_Export \
- -Wb,skel_export_include=InterMulti_Sender_svnt_export.h \
- -Wb,exec_export_macro=INTERMULTI_SENDER_EXEC_Export \
- -Wb,exec_export_include=InterMulti_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- InterMulti_Sender.idl
- }
-}
-
-project(AMI_InterMulti_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_InterMulti_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERMULTI_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=InterMulti_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterMulti_SenderE.idl
- }
-}
-
-project(AMI_InterMulti_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_InterMulti_Base_Sender_lem_gen AMI_InterMulti_stub Conn_InterMulti_Base_stub
- libs += InterMulti_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterMulti_Sender_lem_stub
- dynamicflags += INTERMULTI_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMulti_SenderEC.cpp
- }
-
- Header_Files {
- InterMulti_SenderEC.h
- InterMulti_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- InterMulti_SenderEC.inl
- }
-}
-
-project(AMI_InterMulti_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_InterMulti_Base_Sender_idl_gen AMI_InterMulti_Base_stub AMI_InterMulti_stub Conn_InterMulti_Base_stub
- libs += InterMulti_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterMulti_Sender_stub
- dynamicflags += INTERMULTI_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMulti_SenderC.cpp
- }
-
- Header_Files {
- InterMulti_SenderC.h
- InterMulti_Sender_stub_export.h
- }
-
- Inline_Files {
- InterMulti_SenderC.inl
- }
-}
-
-project(AMI_InterMulti_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_InterMulti_Base_Sender_lem_stub AMI_InterMulti_Base_Sender_stub AMI_InterMulti_Base_exec Conn_InterMulti_Base_stub AMI_InterMulti_lem_stub
- sharedname = InterMulti_Sender_exec
- libs += InterMulti_Sender_stub InterMulti_Sender_lem_stub InterMulti_stub InterMulti_stub InterMulti_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERMULTI_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMulti_Sender_exec.cpp
- }
-
- Header_Files {
- InterMulti_Sender_exec.h
- InterMulti_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterMulti_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_InterMulti_Base_skel AMI_InterMulti_Base_Sender_lem_stub AMI_InterMulti_Base_Sender_stub AMI_InterMulti_Base_exec AMI_InterMulti_skel
- sharedname = InterMulti_Sender_svnt
- libs += InterMulti_Sender_stub InterMulti_Sender_lem_stub \
- InterMulti_skel \
- InterMulti_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERMULTI_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterMulti_SenderS.cpp
- InterMulti_Sender_svnt.cpp
- }
-
- Header_Files {
- InterMulti_SenderS.h
- InterMulti_Sender_svnt.h
- InterMulti_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender_exec.cpp
deleted file mode 100644
index 9cf19bf4e3e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender_exec.cpp
+++ /dev/null
@@ -1,410 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterMulti_Sender_exec.h"
-
-namespace CIAO_InterMulti_Sender_Impl
-{
- //============================================================
- // Worker thread for asynchronous invocations for One
- //============================================================
- asynch_one_generator::asynch_one_generator (
- ::InterMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterMulti::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_ (nr_of_received)
- {
- }
-
- int asynch_one_generator::svc ()
- {
- ::InterMulti::AMI4CCM_One_var my_one_ami_ =
- context_->get_connection_sendc_run_my_one();
-
- ::InterMulti::AMI4CCM_OneReplyHandler_var cb =
- new AMI4CCM_OneReplyHandler_run_my_one_i (
- this->nr_of_received_);
-
- //Invoke Asynchronous calls to test
- my_one_ami_->sendc_foo ( cb.in(),
- "Hi from asynch call ONE::foo", 1);
- return 0;
- }
-
- //============================================================
- // Worker thread for asynchronous invocations for Two
- //============================================================
- asynch_two_generator::asynch_two_generator (
- ::InterMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterMulti::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_ (nr_of_received)
- {
- }
-
- int asynch_two_generator::svc ()
- {
- ::InterMulti::AMI4CCM_Two_var my_two_ami_ =
- context_->get_connection_sendc_run_my_two();
-
- if (CORBA::is_nil (my_two_ami_.in ()))
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (ASYNCH) :my_two_ami_ is NIL !\n"));
- return 1;
- }
- else
- {
- ::InterMulti::AMI4CCM_TwoReplyHandler_var cb =
- new AMI4CCM_TwoReplyHandler_run_my_two_i (
- this->nr_of_received_);
-
- //Invoke Asynchronous calls to test
- my_two_ami_->sendc_bar ( cb.in(), 2);
- }
- return 0;
- }
-
- //============================================================
- // Worker thread for asynchronous invocations for Three
- //============================================================
- asynch_three_generator::asynch_three_generator (
- ::InterMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterMulti::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_ (nr_of_received)
- {
- }
-
- int asynch_three_generator::svc ()
- {
- ::InterMulti::AMI4CCM_Three_var my_three_ami_ =
- context_->get_connection_sendc_run_my_three();
-
- if (CORBA::is_nil (my_three_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (ASYNCH) :my_three_ami_ is NIL !\n"));
- return 1;
- }
- else
- {
- ::InterMulti::AMI4CCM_ThreeReplyHandler_var cb =
- new AMI4CCM_ThreeReplyHandler_run_my_three_i (
- this->nr_of_received_);
-
- //Invoke Asynchronous calls to test
- my_three_ami_->sendc_plus(cb.in (), 3);
- // derived from CLASS ONE
- my_three_ami_->sendc_foo ( cb.in (),"hoi", 3);
- // derived fron CLASS TWO
- my_three_ami_->sendc_bar ( cb.in (), 3);
- }
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for One
- //============================================================
- synch_one_generator::synch_one_generator (
- ::InterMulti::CCM_Sender_Context_ptr context)
- : context_(::InterMulti::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_one_generator::svc ()
- {
- ::InterMulti::One_var my_one_ami_ =
- context_->get_connection_run_my_one ();
-
- CORBA::String_var answer;
- CORBA::Long result = my_one_ami_->foo (
- "Synchronous call foo from class One",
- 1,
- answer.out ());
- if (result != 1)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (SYNCH) : CLASS One foo !\n"));
- }
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for One
- //============================================================
- synch_three_generator::synch_three_generator (
- ::InterMulti::CCM_Sender_Context_ptr context)
- : context_(::InterMulti::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_three_generator::svc ()
- {
- ::InterMulti::Three_var my_three_ami_ =
- context_->get_connection_run_my_three ();
-
- ::CORBA::String_var answer;
- CORBA::Long result = my_three_ami_->foo (
- "Synchronous call foo from class Three, "
- " derived from class ONE",
- 3 ,
- answer.out ());
- if (result != 3)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (SYNCH) : CLASS Three foo !\n"));
- }
- return 0;
- }
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void)
- : nr_of_received_ (0),
- asynch_one_gen (0),
- synch_one_gen (0),
- asynch_two_gen (0),
- asynch_three_gen (0),
- synch_three_gen (0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterMulti::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_one_gen =
- new asynch_one_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->asynch_one_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->asynch_two_gen =
- new asynch_two_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->asynch_two_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->asynch_three_gen =
- new asynch_three_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->asynch_three_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
-
- this->synch_one_gen =
- new synch_one_generator (this->ciao_context_.in());
- this->synch_one_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_three_gen =
- new synch_three_generator (this->ciao_context_.in());
- this->synch_three_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1); }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (this->nr_of_received_.value() != 5)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Did not get all callbacks for"
- "derived classes."
- " Received = %u of 5\n",
- this->nr_of_received_.value()));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG,
- "OK: All messages received back by Sender\n"));
- }
- delete this->asynch_one_gen;
- this->asynch_one_gen = 0;
- delete this->synch_one_gen;
- this->synch_one_gen = 0;
- delete this->asynch_two_gen;
- this->asynch_two_gen = 0;
- delete this->asynch_three_gen;
- this->asynch_three_gen = 0;
- delete this->synch_three_gen;
- this->synch_three_gen = 0;
- }
-
-
- AMI4CCM_OneReplyHandler_run_my_one_i::AMI4CCM_OneReplyHandler_run_my_one_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_(nr_of_received)
- {
- }
-
- AMI4CCM_OneReplyHandler_run_my_one_i::~AMI4CCM_OneReplyHandler_run_my_one_i (void)
- {
- }
-
- void
- AMI4CCM_OneReplyHandler_run_my_one_i::foo (::CORBA::Long /* ami_return_val */,
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Get asynchronous callback from ONE::foo,"
- " answer = <%C>\n",
- answer));
- ++this->nr_of_received_; }
-
- void
- AMI4CCM_OneReplyHandler_run_my_one_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
-
- AMI4CCM_TwoReplyHandler_run_my_two_i::AMI4CCM_TwoReplyHandler_run_my_two_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_(nr_of_received)
-
- {
- }
-
- AMI4CCM_TwoReplyHandler_run_my_two_i::~AMI4CCM_TwoReplyHandler_run_my_two_i (void)
- {
- }
-
- void
- AMI4CCM_TwoReplyHandler_run_my_two_i::bar (const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Get asynchronous callback from TWO::bar,"
- " answer = <%C>\n",
- answer));
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_TwoReplyHandler_run_my_two_i::bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
-
- AMI4CCM_ThreeReplyHandler_run_my_three_i::AMI4CCM_ThreeReplyHandler_run_my_three_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_(nr_of_received)
- {
- }
-
- AMI4CCM_ThreeReplyHandler_run_my_three_i::~AMI4CCM_ThreeReplyHandler_run_my_three_i (void)
- {
- }
-
- void
- AMI4CCM_ThreeReplyHandler_run_my_three_i::foo (::CORBA::Long /* ami_return_val */,
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Get asynchronous callback from THREE::foo,"
- " answer = <%C>\n",
- answer));
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_ThreeReplyHandler_run_my_three_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_ThreeReplyHandler_run_my_three_i::bar (const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Get asynchronous callback from THREE::bar,"
- " answer = <%C>\n",
- answer));
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_ThreeReplyHandler_run_my_three_i::bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_ThreeReplyHandler_run_my_three_i::plus (const char * answer )
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Get asynchronous callback from THREE::plus,"
- " answer = <%C>\n",
- answer));
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_ThreeReplyHandler_run_my_three_i::plus_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" INTERMULTI_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterMulti_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender_exec.h
deleted file mode 100644
index d6a453f7544..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/Sender/InterMulti_Sender_exec.h
+++ /dev/null
@@ -1,261 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTERMULTI_SENDER_EXEC_QPLRQR_H_
-#define CIAO_INTERMULTI_SENDER_EXEC_QPLRQR_H_
-
-#include /**/ "ace/pre.h"
-
-#include "InterMulti_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterMulti_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_InterMulti_Sender_Impl
-{
-
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker threads for asynchronous invocations
- class asynch_one_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_one_generator (::InterMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received);
-
- virtual int svc (void);
-
- private:
- ::InterMulti::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
-
- class asynch_two_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_two_generator (::InterMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received);
-
- virtual int svc (void);
-
- private:
- ::InterMulti::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
-
- };
-
- class asynch_three_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_three_generator (::InterMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received);
-
- virtual int svc (void);
-
- private:
- ::InterMulti::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /// Worker threads for synchronous invocations
- class synch_one_generator : public virtual ACE_Task_Base
- {
- public:
- synch_one_generator (::InterMulti::CCM_Sender_Context_ptr context);
- virtual int svc (void);
-
- private:
- ::InterMulti::CCM_Sender_Context_var context_;
- };
-
- class synch_two_generator : public virtual ACE_Task_Base
- {
- public:
- synch_two_generator (::InterMulti::CCM_Sender_Context_ptr context);
- virtual int svc (void);
-
- private:
- ::InterMulti::CCM_Sender_Context_var context_;
-
- };
- class synch_three_generator : public virtual ACE_Task_Base
- {
- public:
- synch_three_generator (::InterMulti::CCM_Sender_Context_ptr context);
- virtual int svc (void);
-
- private:
- ::InterMulti::CCM_Sender_Context_var context_;
-
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::InterMulti::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_of_received_;
- asynch_one_generator* asynch_one_gen;
- synch_one_generator* synch_one_gen;
- asynch_two_generator* asynch_two_gen;
- asynch_three_generator* asynch_three_gen;
- synch_three_generator* synch_three_gen;
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
-
- class AMI4CCM_OneReplyHandler_run_my_one_i
- : public ::InterMulti::CCM_AMI4CCM_OneReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_OneReplyHandler_run_my_one_i (Atomic_UShort &nr_of_received_);
- virtual ~AMI4CCM_OneReplyHandler_run_my_one_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
-
- };
-
- class AMI4CCM_TwoReplyHandler_run_my_two_i
- : public ::InterMulti::CCM_AMI4CCM_TwoReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_TwoReplyHandler_run_my_two_i (Atomic_UShort &nr_of_received_);
- virtual ~AMI4CCM_TwoReplyHandler_run_my_two_i (void);
-
- virtual void
- bar (
- const char * answer);
-
- virtual void
- bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
-
- };
-
- class AMI4CCM_ThreeReplyHandler_run_my_three_i
- : public ::InterMulti::CCM_AMI4CCM_ThreeReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_ThreeReplyHandler_run_my_three_i (Atomic_UShort &nr_of_received_);
- virtual ~AMI4CCM_ThreeReplyHandler_run_my_three_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- bar (
- const char * answer);
-
- virtual void
- bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- plus (
- const char * answer);
-
- virtual void
- plus_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
-
- };
-
- extern "C" INTERMULTI_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterMulti_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/Plan.cdp
deleted file mode 100644
index 85cfa99f412..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/Plan.cdp
+++ /dev/null
@@ -1,679 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="InterMulti_ReceiverHomeImplementation">
- <name>InterMulti_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_Receiver_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterMulti_SenderHomeImplementation">
- <name>InterMulti_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_Sender_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-<!-- conn one-->
- <implementation xmi:id="InterMulti_AMIOneHomeImplementation">
- <name>InterMulti_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_AMIOne_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_AMIOne_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
- <!-- conn two-->
- <implementation xmi:id="InterMulti_AMITwoHomeImplementation">
- <name>InterMulti_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_AMITwo_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_AMITwo_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Two_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Two_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
- <!-- conn one-->
- <implementation xmi:id="InterMulti_AMIThreeHomeImplementation">
- <name>InterMulti_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_AMIThree_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_AMIThree_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Three_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Three_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="InterMulti_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterMulti_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterMulti_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterMulti_AMITwoHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterMulti_AMIThreeHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-
-
-
- <connection>
- <name>run_asynch_one_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_two_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_two</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_three_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_three</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_one_connection</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_two_connection</name>
- <internalEndpoint>
- <portName>do_my_two</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_three_connection</name>
- <internalEndpoint>
- <portName>do_my_three</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_one_connection</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_two_connection</name>
- <internalEndpoint>
- <portName>do_my_two</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_two</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_three_connection</name>
- <internalEndpoint>
- <portName>do_my_three</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_three</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="InterMulti_AMIOne_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
- <artifact xmi:id="InterMulti_AMITwo_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Two_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
- <artifact xmi:id="InterMulti_AMIThree_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Three_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_AMIOne_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterMulti_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
- <artifact xmi:id="InterMulti_AMITwo_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterMulti_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_Two_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
- <artifact xmi:id="InterMulti_AMIThree_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterMulti_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_Three_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_Receiver_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_Receiver_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>InterMulti_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_Sender_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_Sender_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>InterMulti_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/PlanSyncPort.cdp b/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/PlanSyncPort.cdp
deleted file mode 100644
index 73a35fd549a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/PlanSyncPort.cdp
+++ /dev/null
@@ -1,736 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="InterMulti_ReceiverHomeImplementation">
- <name>InterMulti_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_Receiver_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterMulti_SenderHomeImplementation">
- <name>InterMulti_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_Sender_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-<!-- conn one-->
- <implementation xmi:id="InterMulti_AMIOneHomeImplementation">
- <name>InterMulti_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_AMIOne_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_AMIOne_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
- <!-- conn two-->
- <implementation xmi:id="InterMulti_AMITwoHomeImplementation">
- <name>InterMulti_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_AMITwo_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_AMITwo_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Two_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Two_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
- <!-- conn one-->
- <implementation xmi:id="InterMulti_AMIThreeHomeImplementation">
- <name>InterMulti_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterMulti_AMIThree_ExecArtifact"/>
- <artifact xmi:idref="InterMulti_AMIThree_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Three_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Three_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="InterMulti_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterMulti_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterMulti_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterMulti_AMITwoHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree">
- <name>InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterMulti_AMIThreeHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-
-
-
- <connection>
- <name>run_asynch_one_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_two_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_two</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_three_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_three</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_one_connection</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_two_connection</name>
- <internalEndpoint>
- <portName>do_my_two</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_three_connection</name>
- <internalEndpoint>
- <portName>do_my_three</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree" />
- </internalEndpoint>
- </connection>
-
- <!--connection>
- <name>synch_one_connection</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- </connection-->
- <!--connection>
- <name>synch_two_connection</name>
- <internalEndpoint>
- <portName>do_my_two</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_two</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- </connection-->
- <!--connection>
- <name>synch_three_connection</name>
- <internalEndpoint>
- <portName>do_my_three</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_three</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- </connection-->
-
-<connection>
- <name>synch_one_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIOne" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_two_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_two</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMITwo" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_three_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_three</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterMulti.ComponentImplementations.InterMultiImplementation.InterMulti.AMIThree" />
- </internalEndpoint>
- </connection>
- <artifact xmi:id="InterMulti_AMIOne_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
- <artifact xmi:id="InterMulti_AMITwo_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Two_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
- <artifact xmi:id="InterMulti_AMIThree_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI4CCM_Three_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_AMIOne_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterMulti_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
- <artifact xmi:id="InterMulti_AMITwo_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterMulti_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_Two_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
- <artifact xmi:id="InterMulti_AMIThree_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterMulti_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_Three_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_Receiver_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_Receiver_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>InterMulti_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_Sender_SvntArtifact">
- <name>InterMulti.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>InterMulti_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterMulti_Sender_ExecArtifact">
- <name>InterMulti.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>InterMulti_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterMulti_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/run_test.pl
deleted file mode 100755
index db1b39e2fc4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterMulti/descriptors/run_test.pl
+++ /dev/null
@@ -1,259 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-if ($#ARGV == -1) {
- opendir(DIR, ".");
- @files = grep(/\.cdp$/,readdir(DIR));
- closedir(DIR);
-}
-else {
- @files = @ARGV;
-}
-
-foreach $file (@files) {
- print "=============================\nStarting test for deployment $file\n================================\n";
-
- # Invoke naming service
-
- $NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
- print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
- $ns_status = $NS->Spawn ();
-
- if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
- }
-
- if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
- }
-
- $ns_running = 1;
- # Set up NamingService environment
- $ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
- # Invoke node daemon.
- print "Invoking node daemon\n";
- $status = run_node_daemons ();
-
- if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
- }
-
- $daemons_running = 1;
-
- # Invoke execution manager.
- print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
- $EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
- $em_status = $EM->Spawn ();
-
- if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
- }
-
- if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-
- $em_running = 1;
-
- # Invoke executor - start the application -.
- print "Invoking executor - launch the application -\n";
-
- print "Start dance_plan_launcher.exe with -x $file -k file://$ior_emfile\n";
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $file -k file://$ior_emfile");
-
- $pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
-
- for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
- }
-
- print "Sleeping 30 seconds to allow task to complete\n";
- sleep (30);
-
- # Invoke executor - stop the application -.
- print "Invoking executor - stop the application -\n";
- print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $file\n";
-
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $file -s");
- $pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
-
- delete_ior_files ();
- kill_open_processes ();
- # Sleep for a couple seconds to make sure everything has a chance to shut down.
- sleep 5;
-}
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/.gitignore b/CIAO/connectors/ami4ccm/tests/InterOutArgs/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/.gitignore
deleted file mode 100644
index 23b7cd4d762..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/InterOutArgsTA.idl
-/InterOutArgsTAE.idl
-/InterOutArgsTA_conn.cpp
-/InterOutArgsTA_conn.h
-/InterOutArgsTE.idl
-/InterOutArgsT_conn_export.h
-/InterOutArgsT_exec_export.h
-/InterOutArgsT_lem_stub_export.h
-/InterOutArgsT_skel_export.h
-/InterOutArgsT_stub_export.h
-/InterOutArgsT_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/InterOutArgsT.idl b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/InterOutArgsT.idl
deleted file mode 100644
index 0a997192cd7..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/InterOutArgsT.idl
+++ /dev/null
@@ -1,77 +0,0 @@
-#ifndef INTEROUTARGS_T_IDL
-#define INTEROUTARGS_T_IDL
-
-#pragma ciao lem "Base/InterOutArgsTE.idl"
-#pragma ciao ami4ccm interface "InterOutArgsT::MyFoo"
-#pragma ciao lem "Base/InterOutArgsTAE.idl"
-#pragma ciao ami4ccm idl "Base/InterOutArgsTA.idl"
-
-module InterOutArgsT
-{
- typedef short short_array[5];
-
- // Mixed struct
- struct TestTopic {
- string key;
- long x;
- };
-
- // String struct
- struct TopicString {
- string key;
- string x_str;
- };
-
- // Array
- struct TopicArray {
- string key;
- short_array x_array;
- };
-
- // Union
- union X_Union switch (short) {
- case 0:
- string x_test;
- case 1:
- long x_long;
- };
-
- // Sequence
- struct test {
- short x_test;
- string x_teststr;
- };
- typedef sequence<test> test_seq;
-
- enum test_enum
- {
- ZERO,
- ONE,
- TWO
- };
-
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- void var_outs (in string in_str, out string answer, out double d_cmd,
- out long l_cmd )
- raises (InternalError);
- void var_div_outs (out TestTopic test_topic, out TopicString topic_str,
- out TopicArray topic_arr)
- raises (InternalError);
- void var_div2_outs (out X_Union x_uni,
- out test_seq seq)
- raises (InternalError);
- void enum_out (out test_enum out_test)
- raises (InternalError);
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/InterOutArgsT.mpc b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/InterOutArgsT.mpc
deleted file mode 100644
index 106d7e3253c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Base/InterOutArgsT.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_InterOutArgsT_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTEROUTARGS_T_STUB_Export \
- -Wb,stub_export_include=InterOutArgsT_stub_export.h \
- -Wb,skel_export_macro=INTEROUTARGS_T_SKEL_Export \
- -Wb,skel_export_include=InterOutArgsT_skel_export.h \
- -Wb,conn_export_macro=INTEROUTARGS_T_CONN_Export \
- -Wb,conn_export_include=InterOutArgsT_conn_export.h \
- -Wb,exec_export_macro=INTEROUTARGS_T_EXEC_Export \
- -Wb,exec_export_include=InterOutArgsT_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- InterOutArgsT.idl
- }
-}
-
-project(AMI_InterOutArgsT_lem_gen) : ciaoidldefaults {
- after += AMI_InterOutArgsT_idl_gen AMI_InterOutArgsT_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=INTEROUTARGS_T_LEM_STUB_Export \
- -Wb,export_include=InterOutArgsT_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- InterOutArgsTE.idl
- }
-}
-
-project(AMI_InterOutArgsT_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_InterOutArgsT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTEROUTARGS_T_STUB_Export \
- -Wb,stub_export_include=InterOutArgsT_stub_export.h \
- -Wb,conn_export_macro=INTEROUTARGS_T_CONN_Export \
- -Wb,conn_export_include=InterOutArgsT_conn_export.h \
- -Wb,svnt_export_macro=INTEROUTARGS_T_SVNT_Export \
- -Wb,svnt_export_include=InterOutArgsT_svnt_export.h \
- -Wb,skel_export_macro=INTEROUTARGS_T_SKEL_Export \
- -Wb,skel_export_include=InterOutArgsT_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- InterOutArgsTA.idl
- }
-}
-
-project(AMI_InterOutArgsT_lemae_gen) : ciaoidldefaults {
- after += AMI_InterOutArgsT_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTEROUTARGS_T_LEM_STUB_Export \
- -Wb,stub_export_include=InterOutArgsT_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- InterOutArgsTAE.idl
- }
-}
-
-project(AMI_InterOutArgsT_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_InterOutArgsT_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterOutArgsT_stub
- dynamicflags += INTEROUTARGS_T_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsTC.cpp
- InterOutArgsTAC.cpp
- }
-
- Header_Files {
- InterOutArgsTC.h
- InterOutArgsT_stub_export.h
-}
-
- Inline_Files {
- InterOutArgsTC.inl
- }
-}
-
-project(AMI_InterOutArgsT_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterOutArgsT_lem_gen AMI_InterOutArgsT_stub AMI_InterOutArgsT_lemae_gen AMI_InterOutArgsT_skel
- libs += InterOutArgsT_stub InterOutArgsT_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterOutArgsT_lem_stub
- dynamicflags += INTEROUTARGS_T_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsTEC.cpp
- InterOutArgsTAEC.cpp
- }
-
- Header_Files {
- InterOutArgsTEC.h
- InterOutArgsT_lem_stub_export.h
-}
-
- Inline_Files {
- InterOutArgsTEC.inl
- }
-}
-
-project(AMI_InterOutArgsT_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_InterOutArgsT_stub
- sharedname = InterOutArgsT_skel
- libs += InterOutArgsT_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += INTEROUTARGS_T_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsTS.cpp
- InterOutArgsTAS.cpp
- }
-
- Header_Files {
- InterOutArgsTS.h
-
- InterOutArgsT_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterOutArgsT_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterOutArgsT_lem_stub InterOutArgsT_Base_AMI_stub AMI_InterOutArgsT_skel AMI_InterOutArgsT_lema_gen AMI_InterOutArgsT_lemae_gen
- sharedname = InterOutArgsT_conn
- libs += InterOutArgsT_stub InterOutArgsT_skel InterOutArgsT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTEROUTARGS_T_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsTA_conn.cpp
- }
-
- Header_Files {
- InterOutArgsTA_conn.h
- InterOutArgsT_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterOutArgsT_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_InterOutArgsT_lem_stub InterOutArgsT_Base_AMI_stub AMI_InterOutArgsT_skel AMI_InterOutArgsT_lema_gen AMI_InterOutArgsT_lemae_gen AMI_InterOutArgsT_conn
- sharedname = InterOutArgsT_svnt
- libs += InterOutArgsT_stub InterOutArgsT_skel InterOutArgsT_lem_stub InterOutArgsT_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTEROUTARGS_T_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsTA_svnt.cpp
- }
-
- Header_Files {
- InterOutArgsTA_svnt.h
- InterOutArgsTA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/.gitignore
deleted file mode 100644
index 64a0fabe24b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/InterOutArgsT_ReceiverE.idl
-/InterOutArgsT_Receiver_exec_export.h
-/InterOutArgsT_Receiver_lem_stub_export.h
-/InterOutArgsT_Receiver_stub_export.h
-/InterOutArgsT_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver.idl b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver.idl
deleted file mode 100644
index 77665baf7ab..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef INTEROUTARGS_T_RECEIVER_IDL
-#define INTEROUTARGS_T_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterOutArgsT.idl"
-
-module InterOutArgsT
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver.mpc
deleted file mode 100644
index 9188019f8c9..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterOutArgsT_Base InterOutArgsT_Receiver"
-
-project(AMI_OutArgsT_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_InterOutArgsT_idl_gen
- idlflags += -Wb,stub_export_macro=INTEROUTARGS_T_RECEIVER_STUB_Export \
- -Wb,stub_export_include=InterOutArgsT_Receiver_stub_export.h \
- -Wb,skel_export_macro=INTEROUTARGS_T_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=InterOutArgsT_Receiver_svnt_export.h \
- -Wb,exec_export_macro=INTEROUTARGS_T_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=InterOutArgsT_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- InterOutArgsT_Receiver.idl
- }
-}
-
-project(AMI_OutArgsT_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_OutArgsT_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTEROUTARGS_T_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=InterOutArgsT_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterOutArgsT_ReceiverE.idl
- }
-}
-
-project(AMI_OutArgsT_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_OutArgsT_Base_Receiver_lem_gen AMI_InterOutArgsT_Base_Receiver_stub AMI_InterOutArgsT_stub
- libs += InterOutArgsT_stub InterOutArgsT_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterOutArgsT_Receiver_lem_stub
- dynamicflags += INTEROUTARGS_T_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsT_ReceiverEC.cpp
- }
-
- Header_Files {
- InterOutArgsT_ReceiverEC.h
- InterOutArgsT_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- InterOutArgsT_ReceiverEC.inl
- }
-}
-
-project(AMI_InterOutArgsT_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_OutArgsT_Base_Receiver_idl_gen AMI_InterOutArgsT_stub
- libs += InterOutArgsT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterOutArgsT_Receiver_stub
- dynamicflags += INTEROUTARGS_T_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsT_ReceiverC.cpp
- }
-
- Header_Files {
- InterOutArgsT_ReceiverC.h
- InterOutArgsT_Receiver_stub_export.h
- }
-
- Inline_Files {
- InterOutArgsT_ReceiverC.inl
- }
-}
-
-project(AMI_InterOutArgsT_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_OutArgsT_Base_Receiver_l_stub AMI_InterOutArgsT_Base_Receiver_stub AMI_InterOutArgsT_stub AMI_InterOutArgsT_lem_stub
- sharedname = InterOutArgsT_Receiver_exec
- libs += InterOutArgsT_Receiver_stub InterOutArgsT_Receiver_lem_stub InterOutArgsT_stub InterOutArgsT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTEROUTARGS_T_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsT_Receiver_exec.cpp
- }
-
- Header_Files {
- InterOutArgsT_Receiver_exec.h
- InterOutArgsT_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterOutArgsT_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_InterOutArgsT_Base_skel AMI_OutArgsT_Base_Receiver_l_stub AMI_InterOutArgsT_stub AMI_InterOutArgsT_skel AMI_InterOutArgsT_lem_stub
- sharedname = InterOutArgsT_Receiver_svnt
- libs += InterOutArgsT_Receiver_stub InterOutArgsT_Receiver_lem_stub \
- InterOutArgsT_skel \
- InterOutArgsT_stub InterOutArgsT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTEROUTARGS_T_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsT_ReceiverS.cpp
- InterOutArgsT_Receiver_svnt.cpp
- }
-
- Header_Files {
- InterOutArgsT_ReceiverS.h
- InterOutArgsT_Receiver_svnt.h
- InterOutArgsT_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver_exec.cpp
deleted file mode 100644
index 13e45fd6855..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver_exec.cpp
+++ /dev/null
@@ -1,188 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterOutArgsT_Receiver_exec.h"
-
-namespace CIAO_InterOutArgsT_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::InterOutArgsT::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::InterOutArgsT::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::InterOutArgsT::MyFoo
-
- void
- do_my_foo_exec_i::var_outs (const char * /* in_str */,
- ::CORBA::String_out answer,
- ::CORBA::Double_out d_cmd,
- ::CORBA::Long_out l_cmd)
- {
- answer = CORBA::string_dup ("This is my answer from var_outs");
- d_cmd = 3.14;
- l_cmd = 100;
- }
-
- void
- do_my_foo_exec_i::var_div_outs (::InterOutArgsT::TestTopic_out test_topic,
- ::InterOutArgsT::TopicString_out topic_str,
- ::InterOutArgsT::TopicArray_out topic_arr)
- {
- InterOutArgsT::TestTopic *new_topic = new InterOutArgsT::TestTopic();
- test_topic = new_topic;
- test_topic->key = CORBA::string_dup("aaa");
- test_topic->x = 10;
-
- topic_str = new InterOutArgsT::TopicString();
- topic_str->key = CORBA::string_dup("bbb");
- topic_str->x_str = CORBA::string_dup("ccc");
-
- topic_arr = new InterOutArgsT::TopicArray();
- topic_arr->key = CORBA::string_dup("ddd");
- for (CORBA::UShort i = 0; i < 5; i ++)
- {
- topic_arr->x_array[i] = i * 100;
- }
- }
-
- void
- do_my_foo_exec_i::var_div2_outs (::InterOutArgsT::X_Union_out x_uni,
- ::InterOutArgsT::test_seq_out seq)
- {
- x_uni = new InterOutArgsT::X_Union();
- x_uni->x_long(11);
-
- InterOutArgsT::test ttt;
- ttt.x_test = 12;
- ttt.x_teststr = CORBA::string_dup("fff") ;
- seq = new InterOutArgsT::test_seq();
- seq->length(2);
- (*seq)[0]= ttt;
- }
-
- void
- do_my_foo_exec_i::enum_out (::InterOutArgsT::test_enum_out out_test)
- {
- out_test = ::InterOutArgsT::ONE;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::InterOutArgsT::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::InterOutArgsT::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::InterOutArgsT::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterOutArgsT::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" INTEROUTARGS_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterOutArgsT_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver_exec.h
deleted file mode 100644
index 5372acfeb14..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Receiver/InterOutArgsT_Receiver_exec.h
+++ /dev/null
@@ -1,144 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTEROUTARGST_RECEIVER_EXEC_WOVGIR_H_
-#define CIAO_INTEROUTARGST_RECEIVER_EXEC_WOVGIR_H_
-
-#include /**/ "ace/pre.h"
-
-#include "InterOutArgsT_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterOutArgsT_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_InterOutArgsT_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::InterOutArgsT::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::InterOutArgsT::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from InterOutArgsT::MyFoo. */
-
- virtual
- void var_outs (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Double_out d_cmd,
- ::CORBA::Long_out l_cmd);
-
- virtual
- void var_div_outs (::InterOutArgsT::TestTopic_out test_topic,
- ::InterOutArgsT::TopicString_out topic_str,
- ::InterOutArgsT::TopicArray_out topic_arr);
-
- virtual
- void var_div2_outs (::InterOutArgsT::X_Union_out x_uni,
- ::InterOutArgsT::test_seq_out seq);
-
- virtual
- void enum_out (::InterOutArgsT::test_enum_out out_test);
- //@}
-
- private:
- ::InterOutArgsT::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::InterOutArgsT::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::InterOutArgsT::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::InterOutArgsT::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" INTEROUTARGS_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterOutArgsT_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/.gitignore
deleted file mode 100644
index b9b1fc19815..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/InterOutArgsT_SenderE.idl
-/InterOutArgsT_Sender_exec_export.h
-/InterOutArgsT_Sender_lem_stub_export.h
-/InterOutArgsT_Sender_stub_export.h
-/InterOutArgsT_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender.idl b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender.idl
deleted file mode 100644
index 840ecf1d9da..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef INTEROUTARGS_T_SENDER_IDL
-#define INTEROUTARGS_T_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterOutArgsT.idl"
-
-#pragma ciao ami4ccm receptacle "InterOutArgsT::Sender::run_my_foo"
-
-module InterOutArgsT
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender.mpc b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender.mpc
deleted file mode 100644
index e7ef8aa6ca6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterOutArgsT_Base InterOutArgsT_Sender"
-
-project(AMI_InterOutArgsT_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_InterOutArgsT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTEROUTARGS_T_SENDER_STUB_Export \
- -Wb,stub_export_include=InterOutArgsT_Sender_stub_export.h \
- -Wb,skel_export_macro=INTEROUTARGS_T_SENDER_SVNT_Export \
- -Wb,skel_export_include=InterOutArgsT_Sender_svnt_export.h \
- -Wb,exec_export_macro=INTEROUTARGS_T_SENDER_EXEC_Export \
- -Wb,exec_export_include=InterOutArgsT_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- InterOutArgsT_Sender.idl
- }
-}
-
-project(AMI_InterOutArgsT_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_InterOutArgsT_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTEROUTARGS_T_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=InterOutArgsT_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterOutArgsT_SenderE.idl
- }
-}
-
-project(AMI_OutArgsT_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_InterOutArgsT_Base_Sender_lem_gen AMI_InterOutArgsT_stub Conn_InterOutArgsT_Base_stub
- libs += InterOutArgsT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterOutArgsT_Sender_lem_stub
- dynamicflags += INTEROUTARGS_T_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsT_SenderEC.cpp
- }
-
- Header_Files {
- InterOutArgsT_SenderEC.h
- InterOutArgsT_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- InterOutArgsT_SenderEC.inl
- }
-}
-
-project(AMI_InterOutArgsT_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_InterOutArgsT_Base_Sender_idl_gen AMI_InterOutArgsT_Base_stub AMI_InterOutArgsT_stub Conn_InterOutArgsT_Base_stub
- libs += InterOutArgsT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterOutArgsT_Sender_stub
- dynamicflags += INTEROUTARGS_T_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsT_SenderC.cpp
- }
-
- Header_Files {
- InterOutArgsT_SenderC.h
- InterOutArgsT_Sender_stub_export.h
- }
-
- Inline_Files {
- InterOutArgsT_SenderC.inl
- }
-}
-
-project(AMI_InterOutArgsT_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_OutArgsT_Base_Sender_lem_stub AMI_InterOutArgsT_Base_Sender_stub AMI_InterOutArgsT_Base_exec Conn_InterOutArgsT_Base_stub AMI_InterOutArgsT_lem_stub
- sharedname = InterOutArgsT_Sender_exec
- libs += InterOutArgsT_Sender_stub InterOutArgsT_Sender_lem_stub InterOutArgsT_stub InterOutArgsT_stub InterOutArgsT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTEROUTARGS_T_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsT_Sender_exec.cpp
- }
-
- Header_Files {
- InterOutArgsT_Sender_exec.h
- InterOutArgsT_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterOutArgsT_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_InterOutArgsT_Base_skel AMI_OutArgsT_Base_Sender_lem_stub AMI_OutArgsT_Base_Sender_stub AMI_InterOutArgsT_Base_exec AMI_InterOutArgsT_skel
- sharedname = InterOutArgsT_Sender_svnt
- libs += InterOutArgsT_Sender_stub InterOutArgsT_Sender_lem_stub \
- InterOutArgsT_skel \
- InterOutArgsT_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTEROUTARGS_T_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterOutArgsT_SenderS.cpp
- InterOutArgsT_Sender_svnt.cpp
- }
-
- Header_Files {
- InterOutArgsT_SenderS.h
- InterOutArgsT_Sender_svnt.h
- InterOutArgsT_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender_exec.cpp
deleted file mode 100644
index f99ffc98895..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender_exec.cpp
+++ /dev/null
@@ -1,379 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterOutArgsT_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_InterOutArgsT_Sender_Impl
-{
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::InterOutArgsT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterOutArgsT::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- if (CORBA::is_nil (context_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tContext is NIL !\n"));
- return 1;
- }
-
- ::InterOutArgsT::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- ::InterOutArgsT::CCM_AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_of_received_);
-
- //Invoke Asynchronous calls to test
- my_foo_ami_->sendc_var_outs ( cb.in (),
- "Send me a double and a long.");
- my_foo_ami_->sendc_var_div_outs (cb.in ());
- my_foo_ami_->sendc_var_div2_outs (cb.in ());
- my_foo_ami_->sendc_enum_out (cb.in ());
- }
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::InterOutArgsT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterOutArgsT::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::InterOutArgsT::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
-
- //run some synch calls
- InterOutArgsT::TestTopic_var test_topic = 0;
- InterOutArgsT::TopicString_var topic_str = 0;
- InterOutArgsT::TopicArray_var topic_arr = 0;
- CORBA::Double d_cmd = 0;
- CORBA::Long l_cmd = 0;
- CORBA::String_var out_str;
- try
- {
- my_foo_ami_->var_outs ("Do something synchronous",
- out_str,
- d_cmd ,
- l_cmd);
- if ( (d_cmd == 3.14 ) && (l_cmd == 100))
- {
- ++this->nr_of_received_;
- }
- }
- catch (const InterOutArgsT::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::var_outs: "
- "Unexpected exception.\n"));
- }
- try
- {
- my_foo_ami_->var_div_outs(test_topic,topic_str,topic_arr);
- if ((ACE_OS::strcmp (test_topic->key, "aaa") == 0) &&
- (test_topic->x == 10))
- {
- ++this->nr_of_received_;
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::var_div_outs: "
- "Unexpected data returned.\n"));
- }
- }
- catch (const InterOutArgsT::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::var_div_outs: "
- "Unexpected exception.\n"));
- }
- return 0;
- }
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void)
- : asynch_foo_gen (0),
- synch_foo_gen (0),
- nr_of_received_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterOutArgsT::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in(),
- this->nr_of_received_);
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1); }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (this->nr_of_received_.value() == 6)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Sender received all expected data"
- " for syn- and asynchronous calls\n"));
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Sender didn't receive all expected data"
- " for syn- and asynchronous calls\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_(nr_of_received)
-
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_outs ( const char * /*answer*/,
- CORBA::Double d_cmd, CORBA::Long l_cmd )
- {
- if (d_cmd != 3.14)
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::var_outs: "
- "received the wrong double, expected 3.14,"
- " received %2.2f\n",
- d_cmd));
- }
- else if (l_cmd != 100)
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::var_outs: "
- "received the wrong double, expected 3.14,"
- " received %lu\n",
- l_cmd));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_outs_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div_outs (
- const InterOutArgsT::TestTopic &test_topic,
- const InterOutArgsT::TopicString &topic_str,
- const InterOutArgsT::TopicArray &topic_arr)
- {
- CORBA::Boolean error = false;
- if ((ACE_OS::strcmp (test_topic.key, "aaa") != 0) || (test_topic.x != 10))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_exec_i::var_div_outs: "
- "received the wrong struct, "
- "expected key 'aaa', x = 10,"
- " received key '%C' , x = %u\n",
- test_topic.key.in(),test_topic.x));
- error = true;
- }
- if (( ACE_OS::strcmp (topic_str.key,"bbb") != 0) ||
- (ACE_OS::strcmp (topic_str.x_str, "ccc") != 0))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_exec_i::var_div_outs: "
- "received the wrong struct, "
- "expected key 'bbb', x = 'ccc',"
- " received key '%C' , x = %C\n",
- topic_str.key.in() ,topic_str.x_str.in()));
- error = true;
- }
- if (( ACE_OS::strcmp (topic_arr.key,"ddd") != 0) ||
- (topic_arr.x_array[1] != 100))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_exec_i::var_div_outs: "
- "received the wrong struct, "
- "expected key 'ddd', second elem 100 ,"
- " received key '%C', second elem %u\n",
- topic_arr.key.in(), topic_arr.x_array[1]));
- error = true;
- }
- if (error == false)
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div_outs_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div2_outs (
- const InterOutArgsT::X_Union &x_uni,
- const InterOutArgsT::test_seq &seq)
- {
- CORBA::Boolean error = false;
-
- if (x_uni.x_long() != 11)
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_exec_i::var_div2_outs: "
- "received the wrong union, "
- "expected x_long = 11,"
- " received x_long = %u\n",
- x_uni.x_long()));
- error = true;
- }
- if (( ACE_OS::strcmp (seq[0].x_teststr, "fff") != 0) ||
- (seq[0].x_test != 12))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_exec_i::var_div2_outs: "
- "received the wrong sequence, "
- "expected key 'fff', x = 12,"
- " received key '%C' , x = %u\n",
- seq[0].x_teststr.in(),seq[0].x_test));
- error = true;
- }
- if (error == false)
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::var_div2_outs_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::enum_out (InterOutArgsT::test_enum test_enum)
- {
- if (test_enum != InterOutArgsT::ONE)
-
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::enum_out: "
- "received the wrong value, expected ONE,"
- " received %u\n",
- test_enum));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::enum_out_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
-
- extern "C" INTEROUTARGS_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterOutArgsT_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender_exec.h
deleted file mode 100644
index 7677dbb1cb8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/Sender/InterOutArgsT_Sender_exec.h
+++ /dev/null
@@ -1,168 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTEROUTARGST_SENDER_EXEC_LH0LDR_H_
-#define CIAO_INTEROUTARGST_SENDER_EXEC_LH0LDR_H_
-
-#include /**/ "ace/pre.h"
-
-#include "InterOutArgsT_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterOutArgsT_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_InterOutArgsT_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::InterOutArgsT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received_);
-
- virtual int svc (void);
-
- private:
- ::InterOutArgsT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::InterOutArgsT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received_);
-
- virtual int svc (void);
-
- private:
- ::InterOutArgsT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::InterOutArgsT::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- Atomic_UShort nr_of_received_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::InterOutArgsT::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_UShort &nr_of_received_);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual
- void var_outs (const char * answer,
- ::CORBA::Double d_cmd,
- ::CORBA::Long l_cmd);
-
- virtual
- void var_outs_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void var_div_outs (const ::InterOutArgsT::TestTopic & test_topic,
- const ::InterOutArgsT::TopicString & topic_str,
- const ::InterOutArgsT::TopicArray & topic_arr);
-
- virtual
- void var_div_outs_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void var_div2_outs (const ::InterOutArgsT::X_Union & x_uni,
- const ::InterOutArgsT::test_seq & seq);
-
- virtual
- void var_div2_outs_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual
- void enum_out (::InterOutArgsT::test_enum out_test);
-
- virtual
- void enum_out_excep (::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
- };
- extern "C" INTEROUTARGS_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterOutArgsT_Sender_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/InterOutArgs/descriptors/Plan.cdp
deleted file mode 100644
index d79662dbaee..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="InterOutArgsT_ReceiverHomeImplementation">
- <name>InterOutArgsT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterOutArgsT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="InterOutArgsT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterOutArgsT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterOutArgsT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterOutArgsT_SenderHomeImplementation">
- <name>InterOutArgsT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterOutArgsT_Sender_ExecArtifact"/>
- <artifact xmi:idref="InterOutArgsT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterOutArgsT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterOutArgsT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterOutArgsT_AMIHomeImplementation">
- <name>InterOutArgsT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterOutArgsT_AMI_ExecArtifact"/>
- <artifact xmi:idref="InterOutArgsT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterOutArgsT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterOutArgsT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.Receiver">
- <name>InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="InterOutArgsT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.Sender">
- <name>InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterOutArgsT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.AMI">
- <name>InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterOutArgsT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterOutArgsT.ComponentImplementations.InterOutArgsTImplementation.InterOutArgsT.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="InterOutArgsT_AMI_SvntArtifact">
- <name>InterOutArgsT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterOutArgsT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterOutArgsT_AMI_ExecArtifact">
- <name>InterOutArgsT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterOutArgsT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_AMI_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterOutArgsT_Receiver_SvntArtifact">
- <name>InterOutArgsT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>InterOutArgsT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterOutArgsT_Receiver_ExecArtifact">
- <name>InterOutArgsT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>InterOutArgsT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterOutArgsT_Sender_SvntArtifact">
- <name>InterOutArgsT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>InterOutArgsT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterOutArgsT_Sender_ExecArtifact">
- <name>InterOutArgsT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>InterOutArgsT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterOutArgsT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/InterOutArgs/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/InterOutArgs/descriptors/run_test.pl
deleted file mode 100755
index 72bb46f1ea2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterOutArgs/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/.gitignore b/CIAO/connectors/ami4ccm/tests/InterReturn/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/InterReturn/Base/.gitignore
deleted file mode 100644
index 61d8acd9de0..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/InterReturnTA.idl
-/InterReturnTAE.idl
-/InterReturnTA_conn.cpp
-/InterReturnTA_conn.h
-/InterReturnTE.idl
-/InterReturnT_conn_export.h
-/InterReturnT_exec_export.h
-/InterReturnT_lem_stub_export.h
-/InterReturnT_skel_export.h
-/InterReturnT_stub_export.h
-/InterReturnT_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl b/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl
deleted file mode 100644
index 830fb08938f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.idl
+++ /dev/null
@@ -1,80 +0,0 @@
-#ifndef INTERRETURN_T_IDL
-#define INTERRETURN_T_IDL
-
-#pragma ciao lem "Base/InterReturnTE.idl"
-#pragma ciao ami4ccm interface "InterReturnT::MyFoo"
-#pragma ciao lem "Base/InterReturnTAE.idl"
-#pragma ciao ami4ccm idl "Base/InterReturnTA.idl"
-
-module InterReturnT
-{
- typedef short short_array[5];
-
- // Mixed struct
- struct TestStruct {
- string key;
- long x;
- };
-
- // Array
- struct TestArr {
- string key;
- short_array x_array;
- };
-
- typedef TestArr TestArray[5];
-
- // Union
- union X_Union switch (short) {
- case 0:
- string x_test;
- case 1:
- long x_long;
- };
-
- // Sequence
- struct test {
- short x_test;
- string x_teststr;
- };
- typedef sequence<test> TestSeq;
-
- enum test_enum
- {
- ZERO,
- ONE,
- TWO
- };
-
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- void ret_void (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- long ret_long (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- double ret_double (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- TestStruct ret_struct ( in string in_str, out string answer,
- out long l_cmd)
- raises (InternalError);
- TestArray ret_array (in string in_str, out string answer,
- out long l_cmd)
- raises (InternalError);
- TestSeq ret_seq (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- X_Union ret_union (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- test_enum ret_enum (in string in_str, out string answer, out long l_cmd)
- raises (InternalError);
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.mpc b/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.mpc
deleted file mode 100644
index 52d4af7f272..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Base/InterReturnT.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_InterReturnT_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERRETURN_T_STUB_Export \
- -Wb,stub_export_include=InterReturnT_stub_export.h \
- -Wb,skel_export_macro=INTERRETURN_T_SKEL_Export \
- -Wb,skel_export_include=InterReturnT_skel_export.h \
- -Wb,conn_export_macro=INTERRETURN_T_CONN_Export \
- -Wb,conn_export_include=InterReturnT_conn_export.h \
- -Wb,exec_export_macro=INTERRETURN_T_EXEC_Export \
- -Wb,exec_export_include=InterReturnT_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- InterReturnT.idl
- }
-}
-
-project(AMI_InterReturnT_lem_gen) : ciaoidldefaults {
- after += AMI_InterReturnT_idl_gen AMI_InterReturnT_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=INTERRETURN_T_LEM_STUB_Export \
- -Wb,export_include=InterReturnT_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- InterReturnTE.idl
- }
-}
-
-project(AMI_InterReturnT_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_InterReturnT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERRETURN_T_STUB_Export \
- -Wb,stub_export_include=InterReturnT_stub_export.h \
- -Wb,conn_export_macro=INTERRETURN_T_CONN_Export \
- -Wb,conn_export_include=InterReturnT_conn_export.h \
- -Wb,svnt_export_macro=INTERRETURN_T_SVNT_Export \
- -Wb,svnt_export_include=InterReturnT_svnt_export.h \
- -Wb,skel_export_macro=INTERRETURN_T_SKEL_Export \
- -Wb,skel_export_include=InterReturnT_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- InterReturnTA.idl
- }
-}
-
-project(AMI_InterReturnT_lemae_gen) : ciaoidldefaults {
- after += AMI_InterReturnT_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERRETURN_T_LEM_STUB_Export \
- -Wb,stub_export_include=InterReturnT_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- InterReturnTAE.idl
- }
-}
-
-project(AMI_InterReturnT_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_InterReturnT_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterReturnT_stub
- dynamicflags += INTERRETURN_T_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterReturnTC.cpp
- InterReturnTAC.cpp
- }
-
- Header_Files {
- InterReturnTC.h
- InterReturnT_stub_export.h
-}
-
- Inline_Files {
- InterReturnTC.inl
- }
-}
-
-project(AMI_InterReturnT_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterReturnT_lem_gen AMI_InterReturnT_stub AMI_InterReturnT_lemae_gen AMI_InterReturnT_skel
- libs += InterReturnT_stub InterReturnT_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = InterReturnT_lem_stub
- dynamicflags += INTERRETURN_T_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterReturnTEC.cpp
- InterReturnTAEC.cpp
- }
-
- Header_Files {
- InterReturnTEC.h
- InterReturnT_lem_stub_export.h
-}
-
- Inline_Files {
- InterReturnTEC.inl
- }
-}
-
-project(AMI_InterReturnT_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_InterReturnT_stub
- sharedname = InterReturnT_skel
- libs += InterReturnT_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += INTERRETURN_T_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- InterReturnTS.cpp
- InterReturnTAS.cpp
- }
-
- Header_Files {
- InterReturnTS.h
-
- InterReturnT_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterReturnT_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_InterReturnT_lem_stub InterReturnT_Base_AMI_stub AMI_InterReturnT_skel AMI_InterReturnT_lema_gen AMI_InterReturnT_lemae_gen
- sharedname = InterReturnT_conn
- libs += InterReturnT_stub InterReturnT_skel InterReturnT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERRETURN_T_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnTA_conn.cpp
- }
-
- Header_Files {
- InterReturnTA_conn.h
- InterReturnT_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterReturnT_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_InterReturnT_lem_stub InterReturnT_Base_AMI_stub AMI_InterReturnT_skel AMI_InterReturnT_lema_gen AMI_InterReturnT_lemae_gen AMI_InterReturnT_conn
- sharedname = InterReturnT_svnt
- libs += InterReturnT_stub InterReturnT_skel InterReturnT_lem_stub InterReturnT_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERRETURN_T_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnTA_svnt.cpp
- }
-
- Header_Files {
- InterReturnTA_svnt.h
- InterReturnTA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/.gitignore
deleted file mode 100644
index 18d38ef529f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/InterReturnT_ReceiverE.idl
-/InterReturnT_Receiver_exec_export.h
-/InterReturnT_Receiver_lem_stub_export.h
-/InterReturnT_Receiver_stub_export.h
-/InterReturnT_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver.idl b/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver.idl
deleted file mode 100644
index a02a5425348..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef INTERRETURN_T_RECEIVER_IDL
-#define INTERRETURN_T_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterReturnT.idl"
-
-module InterReturnT
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver.mpc
deleted file mode 100644
index d3281beefdb..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterReturnT_Base InterReturnT_Receiver"
-
-project(AMI_ReturnT_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_InterReturnT_idl_gen
- idlflags += -Wb,stub_export_macro=INTERRETURN_T_RECEIVER_STUB_Export \
- -Wb,stub_export_include=InterReturnT_Receiver_stub_export.h \
- -Wb,skel_export_macro=INTERRETURN_T_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=InterReturnT_Receiver_svnt_export.h \
- -Wb,exec_export_macro=INTERRETURN_T_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=InterReturnT_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- InterReturnT_Receiver.idl
- }
-}
-
-project(AMI_ReturnT_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_ReturnT_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERRETURN_T_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=InterReturnT_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterReturnT_ReceiverE.idl
- }
-}
-
-project(AMI_ReturnT_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_ReturnT_Base_Receiver_lem_gen AMI_InterReturnT_Base_Receiver_stub AMI_InterReturnT_stub
- libs += InterReturnT_stub InterReturnT_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterReturnT_Receiver_lem_stub
- dynamicflags += INTERRETURN_T_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnT_ReceiverEC.cpp
- }
-
- Header_Files {
- InterReturnT_ReceiverEC.h
- InterReturnT_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- InterReturnT_ReceiverEC.inl
- }
-}
-
-project(AMI_InterReturnT_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_ReturnT_Base_Receiver_idl_gen AMI_InterReturnT_stub
- libs += InterReturnT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterReturnT_Receiver_stub
- dynamicflags += INTERRETURN_T_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnT_ReceiverC.cpp
- }
-
- Header_Files {
- InterReturnT_ReceiverC.h
- InterReturnT_Receiver_stub_export.h
- }
-
- Inline_Files {
- InterReturnT_ReceiverC.inl
- }
-}
-
-project(AMI_InterReturnT_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_ReturnT_Base_Receiver_l_stub AMI_InterReturnT_Base_Receiver_stub AMI_InterReturnT_stub AMI_InterReturnT_lem_stub
- sharedname = InterReturnT_Receiver_exec
- libs += InterReturnT_Receiver_stub InterReturnT_Receiver_lem_stub InterReturnT_stub InterReturnT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERRETURN_T_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnT_Receiver_exec.cpp
- }
-
- Header_Files {
- InterReturnT_Receiver_exec.h
- InterReturnT_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterReturnT_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_InterReturnT_Base_skel AMI_ReturnT_Base_Receiver_l_stub AMI_InterReturnT_stub AMI_InterReturnT_skel AMI_InterReturnT_lem_stub
- sharedname = InterReturnT_Receiver_svnt
- libs += InterReturnT_Receiver_stub InterReturnT_Receiver_lem_stub \
- InterReturnT_skel \
- InterReturnT_stub InterReturnT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERRETURN_T_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnT_ReceiverS.cpp
- InterReturnT_Receiver_svnt.cpp
- }
-
- Header_Files {
- InterReturnT_ReceiverS.h
- InterReturnT_Receiver_svnt.h
- InterReturnT_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver_exec.cpp
deleted file mode 100644
index d63a7fcc2d3..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver_exec.cpp
+++ /dev/null
@@ -1,236 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterReturnT_Receiver_exec.h"
-
-namespace CIAO_InterReturnT_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::InterReturnT::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::InterReturnT::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::InterReturnT::MyFoo
-
- void
- do_my_foo_exec_i::ret_void (const char * /* in_str */,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd )
- {
- answer = CORBA::string_dup ("This is my answer from ret_void");
- l_cmd = 1;
- }
-
- ::CORBA::Long
- do_my_foo_exec_i::ret_long (const char * /* in_str */,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd)
- {
- answer = CORBA::string_dup ("This is my answer from ret_long");
- l_cmd = 2;
- return 200;
- }
-
- ::CORBA::Double
- do_my_foo_exec_i::ret_double (const char * /* in_str */,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd)
- {
- answer = CORBA::string_dup ("This is my answer from ret_double");
- l_cmd = 3;
- return 3.14;
- }
-
- ::InterReturnT::TestStruct *
- do_my_foo_exec_i::ret_struct (const char * /* in_str */,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd)
- {
- answer = CORBA::string_dup ("This is my answer from ret_struct");
- l_cmd = 4;
- InterReturnT::TestStruct *test_struct = new InterReturnT::TestStruct();
- test_struct->key = CORBA::string_dup("aaa");
- test_struct->x = 10;
- return test_struct;
- }
-
- ::InterReturnT::TestArray_slice *
- do_my_foo_exec_i::ret_array (const char * /* in_str */,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd)
- {
- answer = CORBA::string_dup ("This is my answer from ret_array");
- l_cmd = 5;
- InterReturnT::TestArray test_array;
- for ( CORBA::UShort i = 0; i < 5; i ++)
- {
- test_array[i].key = CORBA::string_dup("bbb");
- for (CORBA::UShort y = 0; y < 5; y ++)
- {
- test_array[i].x_array[y] = i * 100 + y ;
- }
- }
- return InterReturnT::TestArray_dup(test_array);
- }
-
- ::InterReturnT::TestSeq *
- do_my_foo_exec_i::ret_seq (const char * /* in_str */,
- ::CORBA::String_out /* answer */,
- ::CORBA::Long_out l_cmd)
- {
- l_cmd = 6;
- InterReturnT::test ttt;
- ttt.x_test = 12;
- ttt.x_teststr = CORBA::string_dup("ccc");
- InterReturnT::TestSeq *seq = new InterReturnT::TestSeq();
- seq->length(2);
- (*seq)[0]= ttt;
- ttt.x_teststr = CORBA::string_dup("ddd");
- (*seq)[1]= ttt;
- return seq;
- }
-
- ::InterReturnT::X_Union *
- do_my_foo_exec_i::ret_union (const char * /* in_str */,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd)
- {
- answer = CORBA::string_dup ("This is my answer from ret_union");
- l_cmd = 7;
- InterReturnT::X_Union *x_uni = new InterReturnT::X_Union();
- x_uni->x_long(11);
- return x_uni;
- }
-
- ::InterReturnT::test_enum
- do_my_foo_exec_i::ret_enum (const char * /* in_str */,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd)
- {
- answer = CORBA::string_dup ("This is my answer from ret_enum");
- l_cmd = 8;
- InterReturnT::test_enum test_enum;
- test_enum = InterReturnT::TWO;
- return test_enum;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::InterReturnT::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::InterReturnT::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::InterReturnT::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterReturnT::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" INTERRETURN_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterReturnT_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver_exec.h
deleted file mode 100644
index 96d81b682c2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Receiver/InterReturnT_Receiver_exec.h
+++ /dev/null
@@ -1,163 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTERRETURNT_RECEIVER_EXEC_1ZDCPF_H_
-#define CIAO_INTERRETURNT_RECEIVER_EXEC_1ZDCPF_H_
-
-#include /**/ "ace/pre.h"
-
-#include "InterReturnT_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterReturnT_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_InterReturnT_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::InterReturnT::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::InterReturnT::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from InterReturnT::MyFoo. */
-
- virtual
- void ret_void (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
-
- virtual
- ::CORBA::Long ret_long (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
-
- virtual
- ::CORBA::Double ret_double (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
-
- virtual
- ::InterReturnT::TestStruct * ret_struct (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
-
- virtual
- ::InterReturnT::TestArray_slice * ret_array (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
-
- virtual
- ::InterReturnT::TestSeq * ret_seq (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
-
- virtual
- ::InterReturnT::X_Union * ret_union (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
-
- virtual
- ::InterReturnT::test_enum ret_enum (const char * in_str,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
- //@}
-
- private:
- ::InterReturnT::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::InterReturnT::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::InterReturnT::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::InterReturnT::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
-
- extern "C" INTERRETURN_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterReturnT_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/.gitignore
deleted file mode 100644
index 43e32d94091..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/InterReturnT_SenderE.idl
-/InterReturnT_Sender_exec_export.h
-/InterReturnT_Sender_lem_stub_export.h
-/InterReturnT_Sender_stub_export.h
-/InterReturnT_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender.idl b/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender.idl
deleted file mode 100644
index 3e44baa364f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef INTERRETURN_T_SENDER_IDL
-#define INTERRETURN_T_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/InterReturnT.idl"
-
-#pragma ciao ami4ccm receptacle "InterReturnT::Sender::run_my_foo"
-
-module InterReturnT
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender.mpc b/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender.mpc
deleted file mode 100644
index 07a6bcb7f80..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p InterReturnT_Base InterReturnT_Sender"
-
-project(AMI_InterReturnT_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_InterReturnT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERRETURN_T_SENDER_STUB_Export \
- -Wb,stub_export_include=InterReturnT_Sender_stub_export.h \
- -Wb,skel_export_macro=INTERRETURN_T_SENDER_SVNT_Export \
- -Wb,skel_export_include=InterReturnT_Sender_svnt_export.h \
- -Wb,exec_export_macro=INTERRETURN_T_SENDER_EXEC_Export \
- -Wb,exec_export_include=InterReturnT_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- InterReturnT_Sender.idl
- }
-}
-
-project(AMI_InterReturnT_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_InterReturnT_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=INTERRETURN_T_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=InterReturnT_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- InterReturnT_SenderE.idl
- }
-}
-
-project(AMI_ReturnT_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_InterReturnT_Base_Sender_lem_gen AMI_InterReturnT_stub Conn_InterReturnT_Base_stub
- libs += InterReturnT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterReturnT_Sender_lem_stub
- dynamicflags += INTERRETURN_T_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnT_SenderEC.cpp
- }
-
- Header_Files {
- InterReturnT_SenderEC.h
- InterReturnT_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- InterReturnT_SenderEC.inl
- }
-}
-
-project(AMI_InterReturnT_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_InterReturnT_Base_Sender_idl_gen AMI_InterReturnT_Base_stub AMI_InterReturnT_stub Conn_InterReturnT_Base_stub
- libs += InterReturnT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = InterReturnT_Sender_stub
- dynamicflags += INTERRETURN_T_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnT_SenderC.cpp
- }
-
- Header_Files {
- InterReturnT_SenderC.h
- InterReturnT_Sender_stub_export.h
- }
-
- Inline_Files {
- InterReturnT_SenderC.inl
- }
-}
-
-project(AMI_InterReturnT_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_ReturnT_Base_Sender_lem_stub AMI_InterReturnT_Base_Sender_stub AMI_InterReturnT_Base_exec Conn_InterReturnT_Base_stub AMI_InterReturnT_lem_stub
- sharedname = InterReturnT_Sender_exec
- libs += InterReturnT_Sender_stub InterReturnT_Sender_lem_stub InterReturnT_stub InterReturnT_stub InterReturnT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERRETURN_T_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnT_Sender_exec.cpp
- }
-
- Header_Files {
- InterReturnT_Sender_exec.h
- InterReturnT_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_InterReturnT_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_InterReturnT_Base_skel AMI_ReturnT_Base_Sender_lem_stub AMI_ReturnT_Base_Sender_stub AMI_InterReturnT_Base_exec AMI_InterReturnT_skel
- sharedname = InterReturnT_Sender_svnt
- libs += InterReturnT_Sender_stub InterReturnT_Sender_lem_stub \
- InterReturnT_skel \
- InterReturnT_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += INTERRETURN_T_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- InterReturnT_SenderS.cpp
- InterReturnT_Sender_svnt.cpp
- }
-
- Header_Files {
- InterReturnT_SenderS.h
- InterReturnT_Sender_svnt.h
- InterReturnT_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender_exec.cpp
deleted file mode 100644
index b5954b11577..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender_exec.cpp
+++ /dev/null
@@ -1,533 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "InterReturnT_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_InterReturnT_Sender_Impl
-{
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::InterReturnT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterReturnT::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::InterReturnT::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- ::InterReturnT::AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_of_received_);
-
- //Invoke Asynchronous calls to test
- my_foo_ami_->sendc_ret_void (cb.in (), "Send me a void." );
- my_foo_ami_->sendc_ret_long (cb.in (),"Send me a long.");
- my_foo_ami_->sendc_ret_double (cb.in (),"Send me a double.");
- my_foo_ami_->sendc_ret_struct (cb.in (), "Send me a struct.");
- my_foo_ami_->sendc_ret_array (cb.in (),"Send me an array.");
- my_foo_ami_->sendc_ret_seq (cb.in (),"Send me a sequence.");
- my_foo_ami_->sendc_ret_union (cb.in (),"Send me a union.");
- my_foo_ami_->sendc_ret_enum (cb.in (),"Send me a enum value.");
-
- }
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::InterReturnT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::InterReturnT::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::InterReturnT::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
-
- //run some synch calls
- InterReturnT::TestStruct_var test_topic = 0;
- InterReturnT::TestArray_var topic_arr = 0;
- CORBA::Long l_cmd = 0;
- CORBA::String_var out_str;
- try
- {
- CORBA::Double ret =
- my_foo_ami_->ret_double ("Send me synch double",out_str, l_cmd);
- if ( (ret == 3.14 ) && (l_cmd == 3))
- {
- ++this->nr_of_received_;
- }
- }
- catch (const InterReturnT::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::ret_double: "
- "Unexpected exception.\n"));
- }
- try
- {
- InterReturnT::TestArray_slice * arr =
- my_foo_ami_->ret_array ("Send me synch array",out_str, l_cmd);
- if ((l_cmd != 5) || (arr[1].x_array[2] != 102))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo synchronous ret_array: "
- "received the wrong long or array, expected 5 "
- "and 102, received %u and %u\n",
- l_cmd, arr[1].x_array[2]));
- }
- else
- {
- ++this->nr_of_received_;
- }
- if (arr)
- {
- InterReturnT::TestArray_free(arr);
- arr = 0;
- }
- }
-
- catch (const InterReturnT::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::ret_array: "
- "Unexpected exception.\n"));
- }
-
-
- InterReturnT::TestStruct_var struct_return_val =
- my_foo_ami_->ret_struct ("Send me synch struct",out_str, l_cmd);
- if (l_cmd != 4)
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_struct: "
- "received the wrong long, expected 4,"
- " received %u\n",
- l_cmd));
- }
- else if ((ACE_OS::strcmp (struct_return_val->key.in(), "aaa") != 0) ||
- (struct_return_val->x != 10))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_struct: "
- "received the struct return, expected 'aaa' "
- "and 10, received %C and %u\n",
- struct_return_val->key.in(),
- struct_return_val->x));
- }
- else
- {
- ++this->nr_of_received_;
- }
-
- const InterReturnT::TestSeq_var seq_return_val =
- my_foo_ami_->ret_seq ("Send me synch struct",out_str, l_cmd);
- if ((l_cmd != 6)|| (CORBA::is_nil(seq_return_val)))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_seq: "
- "received the wrong long, expected 6,"
- " received %u\n",
- l_cmd));
- }
- else
- {
- ++this->nr_of_received_;
- }
-
-
- const InterReturnT::X_Union_var union_return_val =
- my_foo_ami_->ret_union ("Send me synch union",out_str, l_cmd);
- if ((l_cmd != 7) || (union_return_val->x_long() != 11))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_union: "
- "received the wrong long or union, expected 7"
- " and 11, received %u and %u\n",
- l_cmd, union_return_val->x_long()));
- }
-
- else
- {
- ++this->nr_of_received_;
- }
-
- InterReturnT::test_enum enum_return_val =
- my_foo_ami_->ret_enum ("Send me synch enum",out_str, l_cmd);
-
- if ((l_cmd != 8) || (enum_return_val != InterReturnT::TWO))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_enum: "
- "received the wrong long or enum value, expected 8"
- " and TWO, received %u and %u\n",
- l_cmd, enum_return_val));
- }
- else
- {
- ++this->nr_of_received_;
- }
-
- return 0;
- }
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void)
- : asynch_foo_gen (0),
- synch_foo_gen (0),
- nr_of_received_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::InterReturnT::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in(),
- this->nr_of_received_);
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (this->nr_of_received_.value() == 14)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Sender received all expected return data"
- " for syn- and asynchronous calls\n"));
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Sender didn't receive all expected"
- " return data for syn- and asynchronous"
- " calls\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_(nr_of_received)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_void (
- const char * /* answer */,
- ::CORBA::Long l_cmd)
- {
- if (l_cmd != 1)
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_void: "
- "received the wrong long, expected 1,"
- " received %lu\n",
- l_cmd));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_void_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_long (::CORBA::Long ami_return_val ,
- const char * /* answer */,
- ::CORBA::Long l_cmd)
- {
- if ((l_cmd != 2) || (ami_return_val != 200))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_long: "
- "received the wrong longs, expected 2 and 200,"
- " received %lu and %lu\n",
- l_cmd, ami_return_val));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_long_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_double (
- ::CORBA::Double ami_return_val,
- const char * /* answer */,
- ::CORBA::Long l_cmd)
- {
- if ((l_cmd != 3) || (ami_return_val != 3.14))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_double: "
- "received the wrong returns, expected 3 "
- "and 3.14,received %u and %2.2f\n",
- l_cmd, ami_return_val));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_double_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_struct (
- const ::InterReturnT::TestStruct & ami_return_val,
- const char * /* answer */,
- ::CORBA::Long l_cmd)
- {
- if (l_cmd != 4)
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_struct: "
- "received the wrong long, expected 4,"
- " received %u\n",
- l_cmd));
- }
- else if ((ACE_OS::strcmp (ami_return_val.key.in(), "aaa") != 0) ||
- (ami_return_val.x != 10))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_struct: "
- "received the struct return, expected 'aaa' "
- "and 10, received %C and %u\n",
- ami_return_val.key.in(), ami_return_val.x));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_struct_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_array (
- const ::InterReturnT::TestArray ami_return_val,
- const char * /* answer */,
- ::CORBA::Long l_cmd)
- {
- if ((l_cmd != 5) || (ami_return_val[1].x_array[2] != 102))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_array: "
- "received the wrong long or array, expected 5 "
- "and 102,received %u and %u\n",
- l_cmd, ami_return_val[1].x_array[2]));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_array_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_seq (
- const ::InterReturnT::TestSeq & ami_return_val,
- const char * /* answer */,
- ::CORBA::Long l_cmd)
- {
- if (l_cmd != 6)
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_seq: "
- "received the wrong long, expected 6,"
- " received %lu\n",
- l_cmd));
- }
- else if ((ACE_OS::strcmp (ami_return_val[0].x_teststr, "ccc") != 0) ||
- (ami_return_val[1].x_test != 12))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_seq: "
- "didn't receive the expected sequence,"
- " received %C and %lu\n",
- ami_return_val[0].x_teststr.in(),
- ami_return_val[1].x_test));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_seq_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_union (
- const ::InterReturnT::X_Union & ami_return_val,
- const char * /* answer */,
- ::CORBA::Long l_cmd )
- {
- if ((l_cmd != 7) || (ami_return_val.x_long() != 11))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_union: "
- "received the wrong long or union, expected 7"
- " and 11, received %u and %u\n",
- l_cmd, ami_return_val.x_long()));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_union_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_enum (
- ::InterReturnT::test_enum ami_return_val,
- const char * /* answer */,
- ::CORBA::Long l_cmd)
- {
- if ((l_cmd != 8) || (ami_return_val != InterReturnT::TWO))
- {
- ACE_ERROR ((LM_ERROR, "ERROR MyFoo_callback_exec_i::ret_enum: "
- "received the wrong long or enum value, expected 8"
- " and TWO, received %u and %u\n",
- l_cmd, ami_return_val));
- }
- else
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::ret_enum_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" INTERRETURN_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterReturnT_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender_exec.h
deleted file mode 100644
index 131c246af4a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/Sender/InterReturnT_Sender_exec.h
+++ /dev/null
@@ -1,218 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_INTERRETURNT_SENDER_EXEC_GN3CO7_H_
-#define CIAO_INTERRETURNT_SENDER_EXEC_GN3CO7_H_
-
-#include /**/ "ace/pre.h"
-
-#include "InterReturnT_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "InterReturnT_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_InterReturnT_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::InterReturnT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received);
-
- virtual int svc (void);
-
- private:
- ::InterReturnT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::InterReturnT::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received);
-
- virtual int svc (void);
-
- private:
- ::InterReturnT::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::InterReturnT::CCM_Sender_Context_var ciao_context_;
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_of_received_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::InterReturnT::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_UShort &nr_of_received_);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- ret_void (
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- ret_void_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- ret_long (
- ::CORBA::Long ami_return_val,
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- ret_long_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- ret_double (
- ::CORBA::Double ami_return_val,
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- ret_double_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- ret_struct (
- const ::InterReturnT::TestStruct & ami_return_val,
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- ret_struct_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- ret_array (
- const ::InterReturnT::TestArray ami_return_val,
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- ret_array_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- ret_seq (
- const ::InterReturnT::TestSeq & ami_return_val,
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- ret_seq_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- ret_union (
- const ::InterReturnT::X_Union & ami_return_val,
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- ret_union_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- ret_enum (
- ::InterReturnT::test_enum ami_return_val,
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- ret_enum_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
- };
-
- extern "C" INTERRETURN_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_InterReturnT_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/Plan.cdp
deleted file mode 100644
index b953d059da6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/Plan.cdp
+++ /dev/null
@@ -1,375 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="InterReturnT_ReceiverHomeImplementation">
- <name>InterReturnT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterReturnT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="InterReturnT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterReturnT_SenderHomeImplementation">
- <name>InterReturnT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterReturnT_Sender_ExecArtifact"/>
- <artifact xmi:idref="InterReturnT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterReturnT_AMIHomeImplementation">
- <name>InterReturnT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterReturnT_AMI_ExecArtifact"/>
- <artifact xmi:idref="InterReturnT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Receiver">
- <name>InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="InterReturnT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Sender">
- <name>InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterReturnT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI">
- <name>InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterReturnT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Sender" />
- </internalEndpoint>
- </connection>
-
-
- <artifact xmi:id="InterReturnT_AMI_SvntArtifact">
- <name>InterReturnT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterReturnT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_AMI_ExecArtifact">
- <name>InterReturnT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterReturnT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_Receiver_SvntArtifact">
- <name>InterReturnT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>InterReturnT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_Receiver_ExecArtifact">
- <name>InterReturnT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>InterReturnT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_Sender_SvntArtifact">
- <name>InterReturnT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>InterReturnT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_Sender_ExecArtifact">
- <name>InterReturnT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>InterReturnT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/PlanSyncPort.cdp b/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/PlanSyncPort.cdp
deleted file mode 100644
index 0de78c1641e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/PlanSyncPort.cdp
+++ /dev/null
@@ -1,377 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="InterReturnT_ReceiverHomeImplementation">
- <name>InterReturnT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterReturnT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="InterReturnT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterReturnT_SenderHomeImplementation">
- <name>InterReturnT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterReturnT_Sender_ExecArtifact"/>
- <artifact xmi:idref="InterReturnT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="InterReturnT_AMIHomeImplementation">
- <name>InterReturnT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="InterReturnT_AMI_ExecArtifact"/>
- <artifact xmi:idref="InterReturnT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>InterReturnT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Receiver">
- <name>InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="InterReturnT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Sender">
- <name>InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterReturnT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI">
- <name>InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="InterReturnT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="InterReturnT.ComponentImplementations.InterReturnTImplementation.InterReturnT.AMI" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="InterReturnT_AMI_SvntArtifact">
- <name>InterReturnT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>InterReturnT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_AMI_ExecArtifact">
- <name>InterReturnT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>InterReturnT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_Receiver_SvntArtifact">
- <name>InterReturnT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>InterReturnT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_Receiver_ExecArtifact">
- <name>InterReturnT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>InterReturnT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_Sender_SvntArtifact">
- <name>InterReturnT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>InterReturnT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="InterReturnT_Sender_ExecArtifact">
- <name>InterReturnT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>InterReturnT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_InterReturnT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/run_test.pl
deleted file mode 100755
index 948e9f88e0b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/InterReturn/descriptors/run_test.pl
+++ /dev/null
@@ -1,257 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-if ($#ARGV == -1) {
- opendir(DIR, ".");
- @files = grep(/\.cdp$/,readdir(DIR));
- closedir(DIR);
-}
-else {
- @files = @ARGV;
-}
-foreach $file (@files) {
- print "=============================\nStarting test for deployment $file\n================================\n";
-
- # Invoke naming service
-
- $NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
- print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
- $ns_status = $NS->Spawn ();
-
- if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
- }
-
- if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
- }
-
- $ns_running = 1;
- # Set up NamingService environment
- $ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
- # Invoke node daemon.
- print "Invoking node daemon\n";
- $status = run_node_daemons ();
-
- if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
- }
-
- $daemons_running = 1;
-
- # Invoke execution manager.
- print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
- $EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
- $em_status = $EM->Spawn ();
-
- if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
- }
-
- if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-
- $em_running = 1;
-
- # Invoke executor - start the application -.
- print "Invoking executor - launch the application -\n";
-
- print "Start dance_plan_launcher.exe with -x $file -k file://$ior_emfile\n";
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $file -k file://$ior_emfile");
-
- $pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
-
- for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
- }
-
- print "Sleeping 30 seconds to allow task to complete\n";
- sleep (30);
-
- # Invoke executor - stop the application -.
- print "Invoking executor - stop the application -\n";
- print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $file\n";
-
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $file -s");
- $pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
- delete_ior_files ();
- kill_open_processes ();
- # Sleep for a couple seconds to make sure everything has a chance to shut down.
- sleep 5;
-}
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Base/HelloT.idl b/CIAO/connectors/ami4ccm/tests/NoConnection/Base/HelloT.idl
deleted file mode 100644
index e2020190291..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Base/HelloT.idl
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef HELLO_T_IDL
-#define HELLO_T_IDL
-
-#pragma ciao lem "Base/HelloTE.idl"
-#pragma ciao ami4ccm interface "HelloT::MyFoo"
-#pragma ciao lem "Base/HelloTAE.idl"
-#pragma ciao ami4ccm idl "Base/HelloTA.idl"
-
-module HelloT
-{
- // Sender/Receiver interface
- interface MyFoo
- {
- void hello (out string answer);
-
- attribute short rw_attrib;
-
- readonly attribute short ro_attrib;
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Base/HelloT.mpc b/CIAO/connectors/ami4ccm/tests/NoConnection/Base/HelloT.mpc
deleted file mode 100644
index ed67272061f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Base/HelloT.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_HelloT_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_T_STUB_Export \
- -Wb,stub_export_include=HelloT_stub_export.h \
- -Wb,skel_export_macro=HELLO_T_SKEL_Export \
- -Wb,skel_export_include=HelloT_skel_export.h \
- -Wb,conn_export_macro=HELLO_T_CONN_Export \
- -Wb,conn_export_include=HelloT_conn_export.h \
- -Wb,exec_export_macro=HELLO_T_EXEC_Export \
- -Wb,exec_export_include=HelloT_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- HelloT.idl
- }
-}
-
-project(AMI_HelloT_lem_gen) : ciaoidldefaults {
- after += AMI_HelloT_idl_gen AMI_HelloT_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=HELLO_T_LEM_STUB_Export \
- -Wb,export_include=HelloT_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- HelloTE.idl
- }
-}
-
-project(AMI_HelloT_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_HelloT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_T_STUB_Export \
- -Wb,stub_export_include=HelloT_stub_export.h \
- -Wb,conn_export_macro=HELLO_T_CONN_Export \
- -Wb,conn_export_include=HelloT_conn_export.h \
- -Wb,svnt_export_macro=HELLO_T_SVNT_Export \
- -Wb,svnt_export_include=HelloT_svnt_export.h \
- -Wb,skel_export_macro=HELLO_T_SKEL_Export \
- -Wb,skel_export_include=HelloT_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- HelloTA.idl
- }
-}
-
-project(AMI_HelloT_lemae_gen) : ciaoidldefaults {
- after += AMI_HelloT_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_T_LEM_STUB_Export \
- -Wb,stub_export_include=HelloT_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- HelloTAE.idl
- }
-}
-
-project(AMI_HelloT_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_HelloT_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = HelloT_stub
- dynamicflags += HELLO_T_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloTC.cpp
- HelloTAC.cpp
- }
-
- Header_Files {
- HelloTC.h
- HelloT_stub_export.h
-}
-
- Inline_Files {
- HelloTC.inl
- }
-}
-
-project(AMI_HelloT_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_HelloT_lem_gen AMI_HelloT_stub AMI_HelloT_lemae_gen AMI_HelloT_skel
- libs += HelloT_stub HelloT_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = HelloT_lem_stub
- dynamicflags += HELLO_T_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloTEC.cpp
- HelloTAEC.cpp
- }
-
- Header_Files {
- HelloTEC.h
- HelloT_lem_stub_export.h
-}
-
- Inline_Files {
- HelloTEC.inl
- }
-}
-
-project(AMI_HelloT_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_HelloT_stub
- sharedname = HelloT_skel
- libs += HelloT_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += HELLO_T_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloTS.cpp
- HelloTAS.cpp
- }
-
- Header_Files {
- HelloTS.h
-
- HelloT_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_HelloT_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_HelloT_lem_stub HelloT_Base_AMI_stub AMI_HelloT_skel AMI_HelloT_lema_gen AMI_HelloT_lemae_gen
- sharedname = HelloT_conn
- libs += HelloT_stub HelloT_skel HelloT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_T_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloTA_conn.cpp
- }
-
- Header_Files {
- HelloTA_conn.h
- HelloT_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_HelloT_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_HelloT_lem_stub HelloT_Base_AMI_stub AMI_HelloT_skel AMI_HelloT_lema_gen AMI_HelloT_lemae_gen AMI_HelloT_conn
- sharedname = HelloT_svnt
- libs += HelloT_stub HelloT_skel HelloT_lem_stub HelloT_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_T_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloTA_svnt.cpp
- }
-
- Header_Files {
- HelloTA_svnt.h
- HelloTA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver.idl b/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver.idl
deleted file mode 100644
index e4d97c8b3fc..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef HELLO_T_RECEIVER_IDL
-#define HELLO_T_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/HelloT.idl"
-
-module HelloT
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver.mpc
deleted file mode 100644
index 5999953de14..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p HelloT_Base HelloT_Receiver"
-
-project(AMI_HelloT_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_HelloT_idl_gen
- idlflags += -Wb,stub_export_macro=HELLO_T_RECEIVER_STUB_Export \
- -Wb,stub_export_include=HelloT_Receiver_stub_export.h \
- -Wb,skel_export_macro=HELLO_T_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=HelloT_Receiver_svnt_export.h \
- -Wb,exec_export_macro=HELLO_T_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=HelloT_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- HelloT_Receiver.idl
- }
-}
-
-project(AMI_HelloT_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_HelloT_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_T_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=HelloT_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- HelloT_ReceiverE.idl
- }
-}
-
-project(AMI_HelloT_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_HelloT_Base_Receiver_lem_gen AMI_HelloT_Base_Receiver_stub AMI_HelloT_stub
- libs += HelloT_stub HelloT_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = HelloT_Receiver_lem_stub
- dynamicflags += HELLO_T_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloT_ReceiverEC.cpp
- }
-
- Header_Files {
- HelloT_ReceiverEC.h
- HelloT_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- HelloT_ReceiverEC.inl
- }
-}
-
-project(AMI_HelloT_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_HelloT_Base_Receiver_idl_gen AMI_HelloT_stub
- libs += HelloT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = HelloT_Receiver_stub
- dynamicflags += HELLO_T_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloT_ReceiverC.cpp
- }
-
- Header_Files {
- HelloT_ReceiverC.h
- HelloT_Receiver_stub_export.h
- }
-
- Inline_Files {
- HelloT_ReceiverC.inl
- }
-}
-
-project(AMI_HelloT_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_HelloT_Base_Receiver_l_stub AMI_HelloT_Base_Receiver_stub AMI_HelloT_stub AMI_HelloT_lem_stub
- sharedname = HelloT_Receiver_exec
- libs += HelloT_Receiver_stub HelloT_Receiver_lem_stub HelloT_stub HelloT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_T_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloT_Receiver_exec.cpp
- }
-
- Header_Files {
- HelloT_Receiver_exec.h
- HelloT_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_HelloT_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_HelloT_Base_skel AMI_HelloT_Base_Receiver_l_stub AMI_HelloT_stub AMI_HelloT_skel AMI_HelloT_lem_stub
- sharedname = HelloT_Receiver_svnt
- libs += HelloT_Receiver_stub HelloT_Receiver_lem_stub \
- HelloT_skel \
- HelloT_stub HelloT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_T_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloT_ReceiverS.cpp
- HelloT_Receiver_svnt.cpp
- }
-
- Header_Files {
- HelloT_ReceiverS.h
- HelloT_Receiver_svnt.h
- HelloT_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver_exec.cpp
deleted file mode 100644
index 3972ae62806..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver_exec.cpp
+++ /dev/null
@@ -1,160 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "HelloT_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_HelloT_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::HelloT::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::HelloT::CCM_Receiver_Context::_duplicate (ctx)),
- rw_attrib_ (-1)
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::HelloT::MyFoo
-
- void
- do_my_foo_exec_i::hello (::CORBA::String_out answer)
- {
- answer = CORBA::string_dup ("This is my answer : Hi");
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::rw_attrib (void)
- {
- return this->rw_attrib_;
- }
-
- void
- do_my_foo_exec_i::rw_attrib(::CORBA::Short new_value)
- {
- this->rw_attrib_ = new_value;
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::ro_attrib (void)
- {
- return ACE_OS::rand () % 100;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::HelloT::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::HelloT::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::HelloT::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::HelloT::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_HelloT_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver_exec.h
deleted file mode 100644
index 9e843cc2e30..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Receiver/HelloT_Receiver_exec.h
+++ /dev/null
@@ -1,132 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_HELLOT_RECEIVER_EXEC_LMPZLZ_H_
-#define CIAO_HELLOT_RECEIVER_EXEC_LMPZLZ_H_
-
-#include "HelloT_ReceiverEC.h"
-#include "HelloT_Receiver_exec_export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-
-namespace CIAO_HelloT_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
- class do_my_foo_exec_i
- : public virtual ::HelloT::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::HelloT::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from HelloT::MyFoo. */
-
- virtual
- void hello (::CORBA::String_out answer);
-
- virtual
- ::CORBA::Short rw_attrib (void);
-
- virtual
- void rw_attrib (::CORBA::Short rw_attrib);
-
- virtual
- ::CORBA::Short ro_attrib (void);
- //@}
-
- private:
- ::HelloT::CCM_Receiver_Context_var ciao_context_;
- ::CORBA::Short rw_attrib_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::HelloT::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::HelloT::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::HelloT::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
-
- extern "C" HELLO_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_HelloT_Receiver_Impl (void);
-}
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender.idl b/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender.idl
deleted file mode 100644
index 0073d580692..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef HELLO_T_SENDER_IDL
-#define HELLO_T_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/HelloT.idl"
-
-#pragma ciao ami4ccm receptacle "HelloT::Sender::run_my_foo"
-
-module HelloT
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender.mpc b/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender.mpc
deleted file mode 100644
index 0e7b0c8eef3..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p HelloT_Base HelloT_Sender"
-
-project(AMI_HelloT_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_HelloT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_T_SENDER_STUB_Export \
- -Wb,stub_export_include=HelloT_Sender_stub_export.h \
- -Wb,skel_export_macro=HELLO_T_SENDER_SVNT_Export \
- -Wb,skel_export_include=HelloT_Sender_svnt_export.h \
- -Wb,exec_export_macro=HELLO_T_SENDER_EXEC_Export \
- -Wb,exec_export_include=HelloT_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- HelloT_Sender.idl
- }
-}
-
-project(AMI_HelloT_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_HelloT_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_T_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=HelloT_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- HelloT_SenderE.idl
- }
-}
-
-project(AMI_HelloT_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_HelloT_Base_Sender_lem_gen AMI_HelloT_stub Conn_HelloT_Base_stub
- libs += HelloT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = HelloT_Sender_lem_stub
- dynamicflags += HELLO_T_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloT_SenderEC.cpp
- }
-
- Header_Files {
- HelloT_SenderEC.h
- HelloT_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- HelloT_SenderEC.inl
- }
-}
-
-project(AMI_HelloT_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_HelloT_Base_Sender_idl_gen AMI_HelloT_Base_stub AMI_HelloT_stub Conn_HelloT_Base_stub
- libs += HelloT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = HelloT_Sender_stub
- dynamicflags += HELLO_T_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloT_SenderC.cpp
- }
-
- Header_Files {
- HelloT_SenderC.h
- HelloT_Sender_stub_export.h
- }
-
- Inline_Files {
- HelloT_SenderC.inl
- }
-}
-
-project(AMI_HelloT_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_HelloT_Base_Sender_lem_stub AMI_HelloT_Base_Sender_stub AMI_HelloT_Base_exec Conn_HelloT_Base_stub AMI_HelloT_lem_stub
- sharedname = HelloT_Sender_exec
- libs += HelloT_Sender_stub HelloT_Sender_lem_stub HelloT_stub HelloT_stub HelloT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_T_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloT_Sender_exec.cpp
- }
-
- Header_Files {
- HelloT_Sender_exec.h
- HelloT_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_HelloT_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_HelloT_Base_skel AMI_HelloT_Base_Sender_lem_stub AMI_HelloT_Base_Sender_stub AMI_HelloT_Base_exec AMI_HelloT_skel
- sharedname = HelloT_Sender_svnt
- libs += HelloT_Sender_stub HelloT_Sender_lem_stub \
- HelloT_skel \
- HelloT_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_T_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloT_SenderS.cpp
- HelloT_Sender_svnt.cpp
- }
-
- Header_Files {
- HelloT_SenderS.h
- HelloT_Sender_svnt.h
- HelloT_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender_exec.cpp
deleted file mode 100644
index 82bf197ff09..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender_exec.cpp
+++ /dev/null
@@ -1,361 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "HelloT_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_HelloT_Sender_Impl
-{
- CORBA::Short nr_of_asyn_received = 0;
- CORBA::Short nr_of_asyn_called = 0;
- CORBA::Short nr_of_syn_failed = 0;
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::HelloT::CCM_Sender_Context_ptr context)
- : context_(::HelloT::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::HelloT::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- ::HelloT::AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i ();
-
- //Invoke Asynchronous calls
- try
- {
- my_foo_ami_->sendc_hello (cb.in());
- ++nr_of_asyn_called;
- }
- catch (const CORBA::INV_OBJREF& ex)
- {
- if (ex.completed () != CORBA::COMPLETED_NO)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
-
- // expected exception
- }
- try
- {
- my_foo_ami_->sendc_get_rw_attrib(cb.in());
- ++nr_of_asyn_called;
- }
- catch (const CORBA::INV_OBJREF& ex)
- {
- if (ex.completed () != CORBA::COMPLETED_NO)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
-
- // expected exception
- }
- try
- {
- my_foo_ami_->sendc_get_ro_attrib(cb.in());
- ++nr_of_asyn_called;
- }
- catch (const CORBA::INV_OBJREF& ex)
- {
- if (ex.completed () != CORBA::COMPLETED_NO)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
-
- // expected exception
- }
- try
- {
- my_foo_ami_->sendc_set_rw_attrib(cb.in(), 0);
- ++nr_of_asyn_called;
- }
- catch (const CORBA::INV_OBJREF& ex)
- {
- if (ex.completed () != CORBA::COMPLETED_NO)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
-
- // expected exception
- }
- }
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::HelloT::CCM_Sender_Context_ptr context)
- : context_(::HelloT::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::HelloT::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR - NO synchronous connection available."));
- return 0;
- }
-
- CORBA::String_var out_str;
- try
- {
- my_foo_ami_->hello (out_str.out ());
- }
- catch (...)
- {
- ACE_ERROR ((LM_INFO, "Exception on sync call"));
- ++nr_of_syn_failed;
- }
- try
- {
- my_foo_ami_->rw_attrib ();
- }
- catch (...)
- {
- ACE_ERROR ((LM_INFO, "Exception on sync call"));
- ++nr_of_syn_failed;
- }
- try
- {
- my_foo_ami_->rw_attrib (0);
- }
- catch (...)
- {
- ACE_ERROR ((LM_INFO, "Exception on sync call"));
- ++nr_of_syn_failed;
- }
- try
- {
- my_foo_ami_->ro_attrib ();
- }
- catch (...)
- {
- ACE_ERROR ((LM_INFO, "Exception on sync call"));
- ++nr_of_syn_failed;
- }
-
- return 0;
- }
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen(0),
- synch_foo_gen(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::HelloT::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in ());
- asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in ());
- synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (nr_of_asyn_received > 0)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: received unexpected asynchronous responses.\n"));
- }
- if (nr_of_asyn_called > 0)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: unexpectedly succeeded calling asynchronously.\n"));
- }
- if (nr_of_syn_failed > 0)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: unexpected failures calling synchronously.\n"));
- }
-
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello (
- const char * /* answer */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::hello: "
- "Unexpected return.\n"));
- ++nr_of_asyn_received;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr /*excep_holder*/)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::hello_excep: "
- "Unexpected exception.\n"));
- ++nr_of_asyn_received;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short /* rw_attrib */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::get_rw_attrib : "
- "Unexpected return.\n"));
- ++nr_of_asyn_received;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /*excep_holder*/)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::get_rw_attrib_excep: "
- "Unexpected exception.\n"));
- ++nr_of_asyn_received;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::set_rw_attrib: "
- "Unexpected return.\n"));
- ++nr_of_asyn_received;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /*excep_holder*/)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::set_rw_attrib_excep: "
- "Unexpected exception.\n"));
- ++nr_of_asyn_received;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short /* ro_attrib */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::get_ro_attrib: "
- "Unexpected return.\n"));
- ++nr_of_asyn_received;
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /*excep_holder*/)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MyFoo_callback_exec_i::get_ro_attrib_excep: "
- "Unexpected exception.\n"));
- ++nr_of_asyn_received;
- }
-
- extern "C" HELLO_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_HelloT_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender_exec.h
deleted file mode 100644
index bc2f12dc123..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/Sender/HelloT_Sender_exec.h
+++ /dev/null
@@ -1,167 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_HELLOT_SENDER_EXEC_4QC1XJ_H_
-#define CIAO_HELLOT_SENDER_EXEC_4QC1XJ_H_
-
-#include /**/ "ace/pre.h"
-
-#include "HelloT_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "HelloT_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_HelloT_Sender_Impl
-{
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::HelloT::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::HelloT::CCM_Sender_Context_var context_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::HelloT::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::HelloT::CCM_Sender_Context_var context_;
- };
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::HelloT::CCM_Sender_Context_var ciao_context_;
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::HelloT::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- hello (
- const char * answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" HELLO_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_HelloT_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/NoConnection/descriptors/Plan.cdp
deleted file mode 100644
index 0100f817491..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/descriptors/Plan.cdp
+++ /dev/null
@@ -1,376 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="HelloT_ReceiverHomeImplementation">
- <name>HelloT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="HelloT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="HelloT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>HelloT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>HelloT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="HelloT_SenderHomeImplementation">
- <name>HelloT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="HelloT_Sender_ExecArtifact"/>
- <artifact xmi:idref="HelloT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>HelloT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>HelloT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="HelloT_AMIHomeImplementation">
- <name>HelloT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="HelloT_AMI_ExecArtifact"/>
- <artifact xmi:idref="HelloT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>HelloT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>HelloT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="HelloT.ComponentImplementations.HelloTImplementation.HelloT.Receiver">
- <name>HelloT.ComponentImplementations.HelloTImplementation.HelloT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="HelloT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="HelloT.ComponentImplementations.HelloTImplementation.HelloT.Sender">
- <name>HelloT.ComponentImplementations.HelloTImplementation.HelloT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="HelloT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="HelloT.ComponentImplementations.HelloTImplementation.HelloT.AMI">
- <name>HelloT.ComponentImplementations.HelloTImplementation.HelloT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="HelloT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="HelloT.ComponentImplementations.HelloTImplementation.HelloT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="HelloT.ComponentImplementations.HelloTImplementation.HelloT.AMI" />
- </internalEndpoint>
- </connection>
-
- <!-- THIS CONNECTION IS INTENTIONALLY COMMENTED OUT
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="HelloT.ComponentImplementations.HelloTImplementation.HelloT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="HelloT.ComponentImplementations.HelloTImplementation.HelloT.AMI" />
- </internalEndpoint>
- </connection>
- -->
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="HelloT.ComponentImplementations.HelloTImplementation.HelloT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="HelloT.ComponentImplementations.HelloTImplementation.HelloT.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="HelloT_AMI_SvntArtifact">
- <name>HelloT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>HelloT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="HelloT_AMI_ExecArtifact">
- <name>HelloT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>HelloT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="HelloT_Receiver_SvntArtifact">
- <name>HelloT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>HelloT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="HelloT_Receiver_ExecArtifact">
- <name>HelloT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>HelloT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="HelloT_Sender_SvntArtifact">
- <name>HelloT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>HelloT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="HelloT_Sender_ExecArtifact">
- <name>HelloT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>HelloT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_HelloT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/NoConnection/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/NoConnection/descriptors/run_test.pl
deleted file mode 100755
index c96e71c4088..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoConnection/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 20 seconds to allow task to complete\n";
-sleep (20);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/.gitignore b/CIAO/connectors/ami4ccm/tests/NoReplyH/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/.gitignore
deleted file mode 100644
index 66f8fa622be..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/NoReplyHA.idl
-/NoReplyHAE.idl
-/NoReplyHA_conn.cpp
-/NoReplyHA_conn.h
-/NoReplyHE.idl
-/NoReplyH_conn_export.h
-/NoReplyH_exec_export.h
-/NoReplyH_lem_stub_export.h
-/NoReplyH_skel_export.h
-/NoReplyH_stub_export.h
-/NoReplyH_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/NoReplyH.idl b/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/NoReplyH.idl
deleted file mode 100644
index 92f94d76872..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/NoReplyH.idl
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef NOREPLYH_IDL
-#define NOREPLYH_IDL
-
-#pragma ciao lem "Base/NoReplyHE.idl"
-#pragma ciao ami4ccm interface "NoReplyH::MyFoo"
-#pragma ciao lem "Base/NoReplyHAE.idl"
-#pragma ciao ami4ccm idl "Base/NoReplyHA.idl"
-
-module NoReplyH
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, out string answer)
- raises (InternalError);
- void hello (out long answer)
- raises (InternalError);
-
- attribute short rw_attrib
- getraises (InternalError)
- setraises (InternalError);
-
- readonly attribute short ro_attrib
- raises (InternalError);
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/NoReplyH.mpc b/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/NoReplyH.mpc
deleted file mode 100644
index 2beb75478e4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Base/NoReplyH.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_NoReplyH_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=NOREPLYH_STUB_Export \
- -Wb,stub_export_include=NoReplyH_stub_export.h \
- -Wb,skel_export_macro=NOREPLYH_SKEL_Export \
- -Wb,skel_export_include=NoReplyH_skel_export.h \
- -Wb,conn_export_macro=NOREPLYH_CONN_Export \
- -Wb,conn_export_include=NoReplyH_conn_export.h \
- -Wb,exec_export_macro=NOREPLYH_EXEC_Export \
- -Wb,exec_export_include=NoReplyH_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- NoReplyH.idl
- }
-}
-
-project(AMI_NoReplyH_lem_gen) : ciaoidldefaults {
- after += AMI_NoReplyH_idl_gen AMI_NoReplyH_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=NOREPLYH_LEM_STUB_Export \
- -Wb,export_include=NoReplyH_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- NoReplyHE.idl
- }
-}
-
-project(AMI_NoReplyH_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_NoReplyH_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=NOREPLYH_STUB_Export \
- -Wb,stub_export_include=NoReplyH_stub_export.h \
- -Wb,conn_export_macro=NOREPLYH_CONN_Export \
- -Wb,conn_export_include=NoReplyH_conn_export.h \
- -Wb,svnt_export_macro=NOREPLYH_SVNT_Export \
- -Wb,svnt_export_include=NoReplyH_svnt_export.h \
- -Wb,skel_export_macro=NOREPLYH_SKEL_Export \
- -Wb,skel_export_include=NoReplyH_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- NoReplyHA.idl
- }
-}
-
-project(AMI_NoReplyH_lemae_gen) : ciaoidldefaults {
- after += AMI_NoReplyH_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=NOREPLYH_LEM_STUB_Export \
- -Wb,stub_export_include=NoReplyH_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- NoReplyHAE.idl
- }
-}
-
-project(AMI_NoReplyH_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_NoReplyH_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = NoReplyH_stub
- dynamicflags += NOREPLYH_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- NoReplyHC.cpp
- NoReplyHAC.cpp
- }
-
- Header_Files {
- NoReplyHC.h
- NoReplyH_stub_export.h
-}
-
- Inline_Files {
- NoReplyHC.inl
- }
-}
-
-project(AMI_NoReplyH_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_NoReplyH_lem_gen AMI_NoReplyH_stub AMI_NoReplyH_lemae_gen AMI_NoReplyH_skel
- libs += NoReplyH_stub NoReplyH_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = NoReplyH_lem_stub
- dynamicflags += NOREPLYH_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- NoReplyHEC.cpp
- NoReplyHAEC.cpp
- }
-
- Header_Files {
- NoReplyHEC.h
- NoReplyH_lem_stub_export.h
-}
-
- Inline_Files {
- NoReplyHEC.inl
- }
-}
-
-project(AMI_NoReplyH_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_NoReplyH_stub
- sharedname = NoReplyH_skel
- libs += NoReplyH_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += NOREPLYH_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- NoReplyHS.cpp
- NoReplyHAS.cpp
- }
-
- Header_Files {
- NoReplyHS.h
-
- NoReplyH_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_NoReplyH_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_NoReplyH_lem_stub NoReplyH_Base_AMI_stub AMI_NoReplyH_skel AMI_NoReplyH_lema_gen AMI_NoReplyH_lemae_gen
- sharedname = NoReplyH_conn
- libs += NoReplyH_stub NoReplyH_skel NoReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += NOREPLYH_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyHA_conn.cpp
- }
-
- Header_Files {
- NoReplyHA_conn.h
- NoReplyH_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_NoReplyH_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_NoReplyH_lem_stub NoReplyH_Base_AMI_stub AMI_NoReplyH_skel AMI_NoReplyH_lema_gen AMI_NoReplyH_lemae_gen AMI_NoReplyH_conn
- sharedname = NoReplyH_svnt
- libs += NoReplyH_stub NoReplyH_skel NoReplyH_lem_stub NoReplyH_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += NOREPLYH_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyHA_svnt.cpp
- }
-
- Header_Files {
- NoReplyHA_svnt.h
- NoReplyHA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/.gitignore
deleted file mode 100644
index bdd29919c85..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/NoReplyH_ReceiverE.idl
-/NoReplyH_Receiver_exec_export.h
-/NoReplyH_Receiver_lem_stub_export.h
-/NoReplyH_Receiver_stub_export.h
-/NoReplyH_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver.idl b/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver.idl
deleted file mode 100644
index 69973ed826a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef NOREPLYH_RECEIVER_IDL
-#define NOREPLYH_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/NoReplyH.idl"
-
-module NoReplyH
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver.mpc
deleted file mode 100644
index 0455c415edd..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p NoReplyH_Base NoReplyH_Receiver"
-
-project(AMI_NoReplyH_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_NoReplyH_idl_gen
- idlflags += -Wb,stub_export_macro=NOREPLYH_RECEIVER_STUB_Export \
- -Wb,stub_export_include=NoReplyH_Receiver_stub_export.h \
- -Wb,skel_export_macro=NOREPLYH_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=NoReplyH_Receiver_svnt_export.h \
- -Wb,exec_export_macro=NOREPLYH_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=NoReplyH_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- NoReplyH_Receiver.idl
- }
-}
-
-project(AMI_NoReplyH_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_NoReplyH_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=NOREPLYH_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=NoReplyH_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- NoReplyH_ReceiverE.idl
- }
-}
-
-project(AMI_NoReplyH_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_NoReplyH_Base_Receiver_lem_gen AMI_NoReplyH_Base_Receiver_stub AMI_NoReplyH_stub
- libs += NoReplyH_stub NoReplyH_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = NoReplyH_Receiver_lem_stub
- dynamicflags += NOREPLYH_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyH_ReceiverEC.cpp
- }
-
- Header_Files {
- NoReplyH_ReceiverEC.h
- NoReplyH_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- NoReplyH_ReceiverEC.inl
- }
-}
-
-project(AMI_NoReplyH_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_NoReplyH_Base_Receiver_idl_gen AMI_NoReplyH_stub
- libs += NoReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = NoReplyH_Receiver_stub
- dynamicflags += NOREPLYH_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyH_ReceiverC.cpp
- }
-
- Header_Files {
- NoReplyH_ReceiverC.h
- NoReplyH_Receiver_stub_export.h
- }
-
- Inline_Files {
- NoReplyH_ReceiverC.inl
- }
-}
-
-project(AMI_NoReplyH_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_NoReplyH_Base_Receiver_l_stub AMI_NoReplyH_Base_Receiver_stub AMI_NoReplyH_stub AMI_NoReplyH_lem_stub
- sharedname = NoReplyH_Receiver_exec
- libs += NoReplyH_Receiver_stub NoReplyH_Receiver_lem_stub NoReplyH_stub NoReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += NOREPLYH_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyH_Receiver_exec.cpp
- }
-
- Header_Files {
- NoReplyH_Receiver_exec.h
- NoReplyH_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_NoReplyH_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_NoReplyH_Base_skel AMI_NoReplyH_Base_Receiver_l_stub AMI_NoReplyH_stub AMI_NoReplyH_skel AMI_NoReplyH_lem_stub
- sharedname = NoReplyH_Receiver_svnt
- libs += NoReplyH_Receiver_stub NoReplyH_Receiver_lem_stub \
- NoReplyH_skel \
- NoReplyH_stub NoReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += NOREPLYH_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyH_ReceiverS.cpp
- NoReplyH_Receiver_svnt.cpp
- }
-
- Header_Files {
- NoReplyH_ReceiverS.h
- NoReplyH_Receiver_svnt.h
- NoReplyH_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver_exec.cpp
deleted file mode 100644
index afdbef89d97..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver_exec.cpp
+++ /dev/null
@@ -1,210 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "NoReplyH_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_NoReplyH_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::NoReplyH::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &calls)
- : ciao_context_ (
- ::NoReplyH::CCM_Receiver_Context::_duplicate (ctx)),
- attrib_ (0),
- calls_(calls)
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::NoReplyH::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * in_str,
- ::CORBA::String_out answer)
- {
- ++this->calls_;
- if (ACE_OS::strlen (in_str) == 0)
- {
- NoReplyH::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = CORBA::string_dup ("This is my answer : Hi");
- return 1;
- }
- }
-
- void
- do_my_foo_exec_i::hello (::CORBA::Long_out answer)
- {
- ++this->calls_;
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = 4;
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::rw_attrib (void)
- {
- ++this->calls_;
- ACE_OS::sleep (ACE_OS::rand () % 2);
- return 2;
- }
-
- void
- do_my_foo_exec_i::rw_attrib (::CORBA::Short rw_attrib)
- {
- ++this->calls_;
- if (rw_attrib == 0)
- {
- NoReplyH::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- }
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::ro_attrib (void)
- {
- ++this->calls_;
- return 3;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void)
- :calls_(0)
- {
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::NoReplyH::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in (),
- this->calls_),
- ::NoReplyH::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::NoReplyH::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::NoReplyH::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- if (this->calls_.value() != 10)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
- "calls"
- "Expected: 10, Received: %u.\n",
- this->calls_.value()));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Receiver received the expected "
- "number of calls. "
- "Expected: 10, Received: %u.\n",
- this->calls_.value()));
- }
- }
-
- extern "C" NOREPLYH_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_NoReplyH_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver_exec.h
deleted file mode 100644
index bbfc6add7a5..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Receiver/NoReplyH_Receiver_exec.h
+++ /dev/null
@@ -1,142 +0,0 @@
- // -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_NOREPLYH_RECEIVER_EXEC_G46GZJ_H_
-#define CIAO_NOREPLYH_RECEIVER_EXEC_G46GZJ_H_
-
-#include /**/ "ace/pre.h"
-
-#include "NoReplyH_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "NoReplyH_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_NoReplyH_Receiver_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::NoReplyH::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::NoReplyH::CCM_Receiver_Context_ptr ctx, Atomic_UShort &);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from NoReplyH::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::String_out answer);
-
- virtual
- void hello (::CORBA::Long_out answer);
-
- virtual
- ::CORBA::Short rw_attrib (void);
-
- virtual
- void rw_attrib (::CORBA::Short rw_attrib);
-
- virtual
- ::CORBA::Short ro_attrib (void);
- //@}
-
- private:
- ::NoReplyH::CCM_Receiver_Context_var ciao_context_;
- CORBA::Long attrib_;
- Atomic_UShort &calls_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::NoReplyH::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::NoReplyH::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::NoReplyH::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort calls_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
-
- extern "C" NOREPLYH_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_NoReplyH_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/.gitignore
deleted file mode 100644
index 744d3810a46..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/NoReplyH_SenderE.idl
-/NoReplyH_Sender_exec_export.h
-/NoReplyH_Sender_lem_stub_export.h
-/NoReplyH_Sender_stub_export.h
-/NoReplyH_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender.idl b/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender.idl
deleted file mode 100644
index 6558b429398..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef NOREPLYH_SENDER_IDL
-#define NOREPLYH_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/NoReplyH.idl"
-
-#pragma ciao ami4ccm receptacle "NoReplyH::Sender::run_my_foo"
-
-module NoReplyH
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender.mpc b/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender.mpc
deleted file mode 100644
index 9ea5f80ec14..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p NoReplyH_Base NoReplyH_Sender"
-
-project(AMI_NoReplyH_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_NoReplyH_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=NOREPLYH_SENDER_STUB_Export \
- -Wb,stub_export_include=NoReplyH_Sender_stub_export.h \
- -Wb,skel_export_macro=NOREPLYH_SENDER_SVNT_Export \
- -Wb,skel_export_include=NoReplyH_Sender_svnt_export.h \
- -Wb,exec_export_macro=NOREPLYH_SENDER_EXEC_Export \
- -Wb,exec_export_include=NoReplyH_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- NoReplyH_Sender.idl
- }
-}
-
-project(AMI_NoReplyH_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_NoReplyH_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=NOREPLYH_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=NoReplyH_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- NoReplyH_SenderE.idl
- }
-}
-
-project(AMI_NoReplyH_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_NoReplyH_Base_Sender_lem_gen AMI_NoReplyH_stub Conn_NoReplyH_Base_stub
- libs += NoReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = NoReplyH_Sender_lem_stub
- dynamicflags += NOREPLYH_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyH_SenderEC.cpp
- }
-
- Header_Files {
- NoReplyH_SenderEC.h
- NoReplyH_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- NoReplyH_SenderEC.inl
- }
-}
-
-project(AMI_NoReplyH_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_NoReplyH_Base_Sender_idl_gen AMI_NoReplyH_Base_stub AMI_NoReplyH_stub Conn_NoReplyH_Base_stub
- libs += NoReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = NoReplyH_Sender_stub
- dynamicflags += NOREPLYH_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyH_SenderC.cpp
- }
-
- Header_Files {
- NoReplyH_SenderC.h
- NoReplyH_Sender_stub_export.h
- }
-
- Inline_Files {
- NoReplyH_SenderC.inl
- }
-}
-
-project(AMI_NoReplyH_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_NoReplyH_Base_Sender_lem_stub AMI_NoReplyH_Base_Sender_stub AMI_NoReplyH_Base_exec Conn_NoReplyH_Base_stub AMI_NoReplyH_lem_stub
- sharedname = NoReplyH_Sender_exec
- libs += NoReplyH_Sender_stub NoReplyH_Sender_lem_stub NoReplyH_stub NoReplyH_stub NoReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += NOREPLYH_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyH_Sender_exec.cpp
- }
-
- Header_Files {
- NoReplyH_Sender_exec.h
- NoReplyH_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_NoReplyH_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_NoReplyH_Base_skel AMI_NoReplyH_Base_Sender_lem_stub AMI_NoReplyH_Base_Sender_stub AMI_NoReplyH_Base_exec AMI_NoReplyH_skel
- sharedname = NoReplyH_Sender_svnt
- libs += NoReplyH_Sender_stub NoReplyH_Sender_lem_stub \
- NoReplyH_skel \
- NoReplyH_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += NOREPLYH_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- NoReplyH_SenderS.cpp
- NoReplyH_Sender_svnt.cpp
- }
-
- Header_Files {
- NoReplyH_SenderS.h
- NoReplyH_Sender_svnt.h
- NoReplyH_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender_exec.cpp
deleted file mode 100644
index 7bdb81d812a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender_exec.cpp
+++ /dev/null
@@ -1,325 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "NoReplyH_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-
-namespace CIAO_NoReplyH_Sender_Impl
-{
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::NoReplyH::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_received_back)
- : context_(::NoReplyH::CCM_Sender_Context::_duplicate (context)),
- nr_received_back_(nr_received_back)
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::NoReplyH::AMI4CCM_MyFoo_var my_foo_ami_ =
- this->context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- ::NoReplyH::AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_received_back_);
-
- //Invoke Asynchronous calls
- //test with replyhandler.
- my_foo_ami_->sendc_foo ( cb.in (),
- "Do something asynchronous");
-
- //test without replyhandlers.
- my_foo_ami_->sendc_foo ( NoReplyH::AMI4CCM_MyFooReplyHandler::_nil (),
- "Do something asynchronous with no replyhandler");
- my_foo_ami_->sendc_hello (
- NoReplyH::AMI4CCM_MyFooReplyHandler::_nil ());
- my_foo_ami_->sendc_get_rw_attrib (
- NoReplyH::AMI4CCM_MyFooReplyHandler::_nil ());
- my_foo_ami_->sendc_set_rw_attrib (
- NoReplyH::AMI4CCM_MyFooReplyHandler::_nil (), 15);
- my_foo_ami_->sendc_get_ro_attrib (
- NoReplyH::AMI4CCM_MyFooReplyHandler::_nil ());
- }
- //Invoke Asynchronous calls to test exception handling
- //without replyhandlers.
- my_foo_ami_->sendc_foo (
- NoReplyH::AMI4CCM_MyFooReplyHandler::_nil (), "");
- my_foo_ami_->sendc_set_rw_attrib (
- NoReplyH::AMI4CCM_MyFooReplyHandler::_nil (), 0);
-
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::NoReplyH::CCM_Sender_Context_ptr context)
- : context_(::NoReplyH::CCM_Sender_Context::_duplicate (context))
-
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::NoReplyH::MyFoo_var my_foo_ami_ =
- this->context_->get_connection_run_my_foo ();
-
- //run some synch calls
- try
- {
- CORBA::Short rw_attrib = my_foo_ami_->rw_attrib ();
- ACE_DEBUG ((LM_DEBUG, "OK: SYNCH rw_attrib() returns %u.\n",
- rw_attrib));
- }
- catch (const NoReplyH::InternalError& )
- {
- ACE_ERROR ((LM_ERROR, "ERROR: SYNCH rw_attrib(): "
- "Unexpected return.\n"));
- }
- try
- {
- CORBA::Short ro_attrib = my_foo_ami_->ro_attrib ();
- ACE_DEBUG ((LM_DEBUG, "OK: SYNCH ro_attrib() returns %u.\n",
- ro_attrib));
- }
- catch (const NoReplyH::InternalError& )
- {
- ACE_ERROR ((LM_ERROR, "ERROR: SYNCH ro_attrib(): "
- "Unexpected return.\n"));
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- }
- return 0;
- }
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen(0),
- synch_foo_gen(0),
- nr_received_back_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::NoReplyH::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_received_back_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in());
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if(this->nr_received_back_.value() != 1)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Sender doesn't received the expected "
- "number of callbacks"
- "Expected: 1, Received: %u.\n",
- this->nr_received_back_.value()));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Sender received the expected number of "
- "callbacks: %u.\n",
- this->nr_received_back_.value()));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_received_back)
- : nr_received_back_(nr_received_back)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long /* ami_return_val */,
- const char * answer)
- {
- ++this->nr_received_back_;
- ACE_DEBUG ((LM_DEBUG, "OK: ASYNCH foo() returns answer: %C.\n",
- answer));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::foo_excep: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello (
- ::CORBA::Long /* answer */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::hello: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::hello_excep: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short /* rw_attrib */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::get_rw_attrib: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::get_rw_attrib_excep: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::set_rw_attrib: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::set_rw_attrib_excep: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short /* ro_attrib */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::get_ro_attrib: "
- "Unexpected return.\n"));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- // never should come here in this test.
- ACE_ERROR ((LM_ERROR, "ERROR: MI4CCM_MyFooReplyHandler_i::get_ro_attrib_excep: "
- "Unexpected return.\n"));
- }
-
- extern "C" NOREPLYH_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_NoReplyH_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender_exec.h
deleted file mode 100644
index b1ca991cab8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/Sender/NoReplyH_Sender_exec.h
+++ /dev/null
@@ -1,181 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_NOREPLYH_SENDER_EXEC_5F9YOB_H_
-#define CIAO_NOREPLYH_SENDER_EXEC_5F9YOB_H_
-
-#include /**/ "ace/pre.h"
-
-#include "NoReplyH_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "NoReplyH_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_NoReplyH_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::NoReplyH::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_received_back);
-
- virtual int svc (void);
-
- private:
- ::NoReplyH::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_received_back_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::NoReplyH::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::NoReplyH::CCM_Sender_Context_var context_;
- };
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::NoReplyH::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- Atomic_UShort nr_received_back_;
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::NoReplyH::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_UShort &);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- hello (
- ::CORBA::Long answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_received_back_;
-
- };
-
- extern "C" NOREPLYH_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_NoReplyH_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/NoReplyH/descriptors/Plan.cdp
deleted file mode 100644
index 4ef231a4614..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="NoReplyH_ReceiverHomeImplementation">
- <name>NoReplyH_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="NoReplyH_Receiver_ExecArtifact"/>
- <artifact xmi:idref="NoReplyH_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>NoReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>NoReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="NoReplyH_SenderHomeImplementation">
- <name>NoReplyH_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="NoReplyH_Sender_ExecArtifact"/>
- <artifact xmi:idref="NoReplyH_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>NoReplyH.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>NoReplyH.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="NoReplyH_AMIHomeImplementation">
- <name>NoReplyH_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="NoReplyH_AMI_ExecArtifact"/>
- <artifact xmi:idref="NoReplyH_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>NoReplyH.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>NoReplyH.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.Receiver">
- <name>NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="NoReplyH_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.Sender">
- <name>NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="NoReplyH_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.AMI">
- <name>NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="NoReplyH_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="NoReplyH.ComponentImplementations.NoReplyHImplementation.NoReplyH.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="NoReplyH_AMI_SvntArtifact">
- <name>NoReplyH.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>NoReplyH_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="NoReplyH_AMI_ExecArtifact">
- <name>NoReplyH.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>NoReplyH_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_AMI_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="NoReplyH_Receiver_SvntArtifact">
- <name>NoReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>NoReplyH_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="NoReplyH_Receiver_ExecArtifact">
- <name>NoReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>NoReplyH_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="NoReplyH_Sender_SvntArtifact">
- <name>NoReplyH.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>NoReplyH_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="NoReplyH_Sender_ExecArtifact">
- <name>NoReplyH.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>NoReplyH_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_NoReplyH_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/NoReplyH/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/NoReplyH/descriptors/run_test.pl
deleted file mode 100755
index 8acd07c277c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/NoReplyH/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ( 2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/.gitignore b/CIAO/connectors/ami4ccm/tests/OneProcess/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/OneProcess/Base/.gitignore
deleted file mode 100644
index 9c14381c4e2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/OneProcessA.idl
-/OneProcessAE.idl
-/OneProcessA_conn.cpp
-/OneProcessA_conn.h
-/OneProcessE.idl
-/OneProcess_conn_export.h
-/OneProcess_exec_export.h
-/OneProcess_lem_stub_export.h
-/OneProcess_skel_export.h
-/OneProcess_stub_export.h
-/OneProcess_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Base/OneProcess.idl b/CIAO/connectors/ami4ccm/tests/OneProcess/Base/OneProcess.idl
deleted file mode 100644
index 63dac05ef1f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Base/OneProcess.idl
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef ONEPROCESS_IDL
-#define ONEPROCESS_IDL
-
-#pragma ciao lem "Base/OneProcessE.idl"
-#pragma ciao ami4ccm interface "OneProcess::MyFoo"
-#pragma ciao lem "Base/OneProcessAE.idl"
-#pragma ciao ami4ccm idl "Base/OneProcessA.idl"
-
-module OneProcess
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, in long cmd, out string answer)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Base/OneProcess.mpc b/CIAO/connectors/ami4ccm/tests/OneProcess/Base/OneProcess.mpc
deleted file mode 100644
index d95c388d446..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Base/OneProcess.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_OneProcess_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEPROCESS_STUB_Export \
- -Wb,stub_export_include=OneProcess_stub_export.h \
- -Wb,skel_export_macro=ONEPROCESS_SKEL_Export \
- -Wb,skel_export_include=OneProcess_skel_export.h \
- -Wb,conn_export_macro=ONEPROCESS_CONN_Export \
- -Wb,conn_export_include=OneProcess_conn_export.h \
- -Wb,exec_export_macro=ONEPROCESS_EXEC_Export \
- -Wb,exec_export_include=OneProcess_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- OneProcess.idl
- }
-}
-
-project(AMI_OneProcess_lem_gen) : ciaoidldefaults {
- after += AMI_OneProcess_idl_gen AMI_OneProcess_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=ONEPROCESS_LEM_STUB_Export \
- -Wb,export_include=OneProcess_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- OneProcessE.idl
- }
-}
-
-project(AMI_OneProcess_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_OneProcess_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEPROCESS_STUB_Export \
- -Wb,stub_export_include=OneProcess_stub_export.h \
- -Wb,conn_export_macro=ONEPROCESS_CONN_Export \
- -Wb,conn_export_include=OneProcess_conn_export.h \
- -Wb,svnt_export_macro=ONEPROCESS_SVNT_Export \
- -Wb,svnt_export_include=OneProcess_svnt_export.h \
- -Wb,skel_export_macro=ONEPROCESS_SKEL_Export \
- -Wb,skel_export_include=OneProcess_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- OneProcessA.idl
- }
-}
-
-project(AMI_OneProcess_lemae_gen) : ciaoidldefaults {
- after += AMI_OneProcess_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEPROCESS_LEM_STUB_Export \
- -Wb,stub_export_include=OneProcess_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- OneProcessAE.idl
- }
-}
-
-project(AMI_OneProcess_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_OneProcess_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = OneProcess_stub
- dynamicflags += ONEPROCESS_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- OneProcessC.cpp
- OneProcessAC.cpp
- }
-
- Header_Files {
- OneProcessC.h
- OneProcess_stub_export.h
-}
-
- Inline_Files {
- OneProcessC.inl
- }
-}
-
-project(AMI_OneProcess_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_OneProcess_lem_gen AMI_OneProcess_stub AMI_OneProcess_lemae_gen AMI_OneProcess_skel
- libs += OneProcess_stub OneProcess_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = OneProcess_lem_stub
- dynamicflags += ONEPROCESS_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- OneProcessEC.cpp
- OneProcessAEC.cpp
- }
-
- Header_Files {
- OneProcessEC.h
- OneProcess_lem_stub_export.h
-}
-
- Inline_Files {
- OneProcessEC.inl
- }
-}
-
-project(AMI_OneProcess_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_OneProcess_stub
- sharedname = OneProcess_skel
- libs += OneProcess_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += ONEPROCESS_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- OneProcessS.cpp
- OneProcessAS.cpp
- }
-
- Header_Files {
- OneProcessS.h
-
- OneProcess_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_OneProcess_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_OneProcess_lem_stub OneProcess_Base_AMI_stub AMI_OneProcess_skel AMI_OneProcess_lema_gen AMI_OneProcess_lemae_gen
- sharedname = OneProcess_conn
- libs += OneProcess_stub OneProcess_skel OneProcess_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEPROCESS_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcessA_conn.cpp
- }
-
- Header_Files {
- OneProcessA_conn.h
- OneProcess_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_OneProcess_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_OneProcess_lem_stub OneProcess_Base_AMI_stub AMI_OneProcess_skel AMI_OneProcess_lema_gen AMI_OneProcess_lemae_gen AMI_OneProcess_conn
- sharedname = OneProcess_svnt
- libs += OneProcess_stub OneProcess_skel OneProcess_lem_stub OneProcess_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEPROCESS_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcessA_svnt.cpp
- }
-
- Header_Files {
- OneProcessA_svnt.h
- OneProcessA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/.gitignore
deleted file mode 100644
index e997f691181..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/OneProcess_ReceiverE.idl
-/OneProcess_Receiver_exec_export.h
-/OneProcess_Receiver_lem_stub_export.h
-/OneProcess_Receiver_stub_export.h
-/OneProcess_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.idl b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.idl
deleted file mode 100644
index 3c6e8370312..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef ONEPROCESS_RECEIVER_IDL
-#define ONEPROCESS_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/OneProcess.idl"
-
-module OneProcess
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.mpc
deleted file mode 100644
index 69474e0a621..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver.mpc
+++ /dev/null
@@ -1,131 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p OneProcess_Base OneProcess_Receiver"
-
-project(AMI_OneProcess_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_OneProcess_idl_gen
- idlflags += -Wb,stub_export_macro=ONEPROCESS_RECEIVER_STUB_Export \
- -Wb,stub_export_include=OneProcess_Receiver_stub_export.h \
- -Wb,skel_export_macro=ONEPROCESS_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=OneProcess_Receiver_svnt_export.h \
- -Wb,exec_export_macro=ONEPROCESS_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=OneProcess_Receiver_exec_export.h \
- -Glem -I..
- IDL_Files {
- OneProcess_Receiver.idl
- }
-}
-
-project(AMI_OneProcess_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_OneProcess_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEPROCESS_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=OneProcess_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- OneProcess_ReceiverE.idl
- }
-}
-
-project(AMI_OneProcess_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_OneProcess_Base_Receiver_lem_gen AMI_OneProcess_Base_Receiver_stub AMI_OneProcess_stub
- libs += OneProcess_stub OneProcess_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = OneProcess_Receiver_lem_stub
- dynamicflags += ONEPROCESS_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcess_ReceiverEC.cpp
- }
-
- Header_Files {
- OneProcess_ReceiverEC.h
- OneProcess_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- OneProcess_ReceiverEC.inl
- }
-}
-
-project(AMI_OneProcess_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_OneProcess_Base_Receiver_idl_gen AMI_OneProcess_stub
- libs += OneProcess_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = OneProcess_Receiver_stub
- dynamicflags += ONEPROCESS_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcess_ReceiverC.cpp
- }
-
- Header_Files {
- OneProcess_ReceiverC.h
- OneProcess_Receiver_stub_export.h
- }
-
- Inline_Files {
- OneProcess_ReceiverC.inl
- }
-}
-
-project(AMI_OneProcess_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_OneProcess_Base_Receiver_l_stub AMI_OneProcess_Base_Receiver_stub AMI_OneProcess_stub AMI_OneProcess_lem_stub
- sharedname = OneProcess_Receiver_exec
- libs += OneProcess_Receiver_stub OneProcess_Receiver_lem_stub OneProcess_stub OneProcess_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEPROCESS_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcess_Receiver_exec.cpp
- }
-
- Header_Files {
- OneProcess_Receiver_exec.h
- OneProcess_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_OneProcess_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_OneProcess_Base_skel AMI_OneProcess_Base_Receiver_l_stub AMI_OneProcess_stub AMI_OneProcess_skel AMI_OneProcess_lem_stub
- sharedname = OneProcess_Receiver_svnt
- libs += OneProcess_Receiver_stub OneProcess_Receiver_lem_stub \
- OneProcess_skel \
- OneProcess_stub OneProcess_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEPROCESS_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcess_ReceiverS.cpp
- OneProcess_Receiver_svnt.cpp
- }
-
- Header_Files {
- OneProcess_ReceiverS.h
- OneProcess_Receiver_svnt.h
- OneProcess_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.cpp
deleted file mode 100644
index d5a810ed47f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.cpp
+++ /dev/null
@@ -1,152 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "OneProcess_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_OneProcess_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::OneProcess::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::OneProcess::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::OneProcess::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * /* in_str */,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- if (cmd == 1)
- {
- ACE_OS::sleep(2);
- answer = CORBA::string_dup ("ASYNCH answer");
- }
- if (cmd == 2)
- {
- answer = CORBA::string_dup ("SYNCH answer");
- }
- return cmd;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::OneProcess::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::OneProcess::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::OneProcess::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::OneProcess::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ONEPROCESS_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_OneProcess_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.h
deleted file mode 100644
index 7dc5d7be4b7..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Receiver/OneProcess_Receiver_exec.h
+++ /dev/null
@@ -1,131 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_ONEPROCESS_RECEIVER_EXEC_XIUX6C_H_
-#define CIAO_ONEPROCESS_RECEIVER_EXEC_XIUX6C_H_
-
-#include /**/ "ace/pre.h"
-
-#include "OneProcess_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "OneProcess_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_OneProcess_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::OneProcess::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::OneProcess::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from OneProcess::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::OneProcess::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::OneProcess::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::OneProcess::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::OneProcess::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" ONEPROCESS_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_OneProcess_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/.gitignore
deleted file mode 100644
index 7c5170e4cf2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/OneProcess_SenderE.idl
-/OneProcess_Sender_exec_export.h
-/OneProcess_Sender_lem_stub_export.h
-/OneProcess_Sender_stub_export.h
-/OneProcess_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender.idl b/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender.idl
deleted file mode 100644
index 40a01d136ee..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef ONEPROCESS_SENDER_IDL
-#define ONEPROCESS_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/OneProcess.idl"
-
-#pragma ciao ami4ccm receptacle "OneProcess::Sender::run_my_foo"
-
-module OneProcess
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender.mpc b/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender.mpc
deleted file mode 100644
index 34648144487..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p OneProcess_Base OneProcess_Sender"
-
-project(AMI_OneProcess_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_OneProcess_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEPROCESS_SENDER_STUB_Export \
- -Wb,stub_export_include=OneProcess_Sender_stub_export.h \
- -Wb,skel_export_macro=ONEPROCESS_SENDER_SVNT_Export \
- -Wb,skel_export_include=OneProcess_Sender_svnt_export.h \
- -Wb,exec_export_macro=ONEPROCESS_SENDER_EXEC_Export \
- -Wb,exec_export_include=OneProcess_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- OneProcess_Sender.idl
- }
-}
-
-project(AMI_OneProcess_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_OneProcess_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEPROCESS_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=OneProcess_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- OneProcess_SenderE.idl
- }
-}
-
-project(AMI_OneProcess_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_OneProcess_Base_Sender_lem_gen AMI_OneProcess_stub Conn_OneProcess_Base_stub
- libs += OneProcess_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = OneProcess_Sender_lem_stub
- dynamicflags += ONEPROCESS_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcess_SenderEC.cpp
- }
-
- Header_Files {
- OneProcess_SenderEC.h
- OneProcess_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- OneProcess_SenderEC.inl
- }
-}
-
-project(AMI_OneProcess_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_OneProcess_Base_Sender_idl_gen AMI_OneProcess_Base_stub AMI_OneProcess_stub Conn_OneProcess_Base_stub
- libs += OneProcess_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = OneProcess_Sender_stub
- dynamicflags += ONEPROCESS_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcess_SenderC.cpp
- }
-
- Header_Files {
- OneProcess_SenderC.h
- OneProcess_Sender_stub_export.h
- }
-
- Inline_Files {
- OneProcess_SenderC.inl
- }
-}
-
-project(AMI_OneProcess_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_OneProcess_Base_Sender_lem_stub AMI_OneProcess_Base_Sender_stub AMI_OneProcess_Base_exec Conn_OneProcess_Base_stub AMI_OneProcess_lem_stub
- sharedname = OneProcess_Sender_exec
- libs += OneProcess_Sender_stub OneProcess_Sender_lem_stub OneProcess_stub OneProcess_stub OneProcess_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEPROCESS_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcess_Sender_exec.cpp
- }
-
- Header_Files {
- OneProcess_Sender_exec.h
- OneProcess_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_OneProcess_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_OneProcess_Base_skel AMI_OneProcess_Base_Sender_lem_stub AMI_OneProcess_Base_Sender_stub AMI_OneProcess_Base_exec AMI_OneProcess_skel
- sharedname = OneProcess_Sender_svnt
- libs += OneProcess_Sender_stub OneProcess_Sender_lem_stub \
- OneProcess_skel \
- OneProcess_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEPROCESS_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneProcess_SenderS.cpp
- OneProcess_Sender_svnt.cpp
- }
-
- Header_Files {
- OneProcess_SenderS.h
- OneProcess_Sender_svnt.h
- OneProcess_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender_exec.cpp
deleted file mode 100644
index 34c27908d87..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender_exec.cpp
+++ /dev/null
@@ -1,293 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "OneProcess_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-
-namespace CIAO_OneProcess_Sender_Impl
-{
- Atomic_UShort nr_of_sent = 0;
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::OneProcess::CCM_Sender_Context_ptr context,
- Atomic_Boolean &asynch)
- : context_(::OneProcess::CCM_Sender_Context::_duplicate (context)),
- asynch_(asynch)
-
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep(3);
- ::OneProcess::AMI4CCM_MyFoo_var my_foo_ami_ =
- this->context_->get_connection_sendc_run_my_foo();
-
- ::OneProcess::AMI4CCM_MyFooReplyHandler_var cb0 =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->asynch_);
- ::OneProcess::AMI4CCM_MyFooReplyHandler_var cb1 =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->asynch_);
- ::OneProcess::AMI4CCM_MyFooReplyHandler_var cb2 =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->asynch_);
- ::OneProcess::AMI4CCM_MyFooReplyHandler_var cb3 =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->asynch_);
- ::OneProcess::AMI4CCM_MyFooReplyHandler_var cb4 =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->asynch_);
-
- for (int i = 0; i < 5; ++i)
- {
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :"
- "\tfoo_ami is NIL !\n"));
- return 1;
- }
- // sender, receiver and connector in one node: asynchronous callbacks
- // should become received synchronous.
- if (this->asynch_.value() == true)
- {
- //expect to have receive an answer before you come here again.
- //if asynch == true, error because no answer received in
- //MyFoo_callback_exec_i::foo
- ACE_ERROR ((LM_ERROR, "ERROR: not received synchronous answer "
- "for asynchronous call\n"));
- }
- else
- {
- ++nr_of_sent;
- //Invoke Asynchronous calls to test
- if (i == 0)
- {
- this->asynch_ = true;
- my_foo_ami_->sendc_foo ( cb0.in(),"Hi 1", 1);
- }
- else if (i == 1)
- {
- this->asynch_ = true;
- my_foo_ami_->sendc_foo ( cb1.in(),"Hi 2", 1);
- }
- else if (i == 2)
- {
- this->asynch_ = true;
- my_foo_ami_->sendc_foo ( cb2.in(),"Hi 3", 1);
- }
- else if (i == 3)
- {
- this->asynch_ = true;
- my_foo_ami_->sendc_foo ( cb3.in(),"Hi 4", 1);
- }
- else if (i == 4)
- {
- this->asynch_ = true;
- my_foo_ami_->sendc_foo ( cb4.in(),"Hi 5", 1);
- }
- }
- }
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::OneProcess::CCM_Sender_Context_ptr context)
- : context_(::OneProcess::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep(3);
- ::OneProcess::MyFoo_var my_foo_ami_ =
- this->context_->get_connection_run_my_foo ();
-
- CORBA::Boolean wait = false;
- for (int i = 0; i < 3; ++i)
- {
- //run some synch calls
- try
- {
- CORBA::String_var answer;
- if( wait==true)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: NOT RECEIVED SYNCHRONOUS answer.\n"));
- }
- wait = true;
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- 2 ,
- answer.out ());
- if ( result == 2)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: RECEIVED SYNCHRONOUS answer <%C>\n",
- answer.in ()));
- wait = false;
- }
- }
- catch (const OneProcess::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::foo: "
- "Unexpected exception.\n"));
- }
- ACE_OS::sleep(1);
- }
- return 0;
- }
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen(0),
- synch_foo_gen(0),
- asynch_(false)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::OneProcess::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->asynch_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in());
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if ((this->asynch_.value() == true) || (nr_of_sent.value() != 5))
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: All in one proces worked asynchronous, "
- "this was not expected!\n"));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG,
- "OK: All in one proces worked synchronous as expected\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_Boolean &asynch)
- : asynch_(asynch)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * /* answer */)
- {
- if (ami_return_val == 1)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: GET ASYNCHRONOUS CALLBACK, \n"));
- this->asynch_ = false;
- }
- if (ami_return_val == 2)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: GET ASYNCHRONOUS CALLBACK "
- "FROM SYNCHRONOUS SENT MESSAGE\n"));
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" ONEPROCESS_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_OneProcess_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender_exec.h
deleted file mode 100644
index f2dabd4136e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/Sender/OneProcess_Sender_exec.h
+++ /dev/null
@@ -1,148 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_ONEPROCESS_SENDER_EXEC_MFMTWV_H_
-#define CIAO_ONEPROCESS_SENDER_EXEC_MFMTWV_H_
-
-#include /**/ "ace/pre.h"
-
-#include "OneProcess_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "OneProcess_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_OneProcess_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::Boolean > Atomic_Boolean;
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::OneProcess::CCM_Sender_Context_ptr context,
- Atomic_Boolean &asynch);
-
- virtual int svc (void);
-
- private:
- ::OneProcess::CCM_Sender_Context_var context_;
- Atomic_Boolean &asynch_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::OneProcess::CCM_Sender_Context_ptr context);
- virtual int svc (void);
-
- private:
- ::OneProcess::CCM_Sender_Context_var context_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::OneProcess::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- Atomic_Boolean asynch_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::OneProcess::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_Boolean &asynch);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_Boolean &asynch_;
-
- };
-
- extern "C" ONEPROCESS_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_OneProcess_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/OneProcess/descriptors/Plan.cdp
deleted file mode 100644
index 14a2b49dd65..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="OneProcess_ReceiverHomeImplementation">
- <name>OneProcess_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="OneProcess_Receiver_ExecArtifact"/>
- <artifact xmi:idref="OneProcess_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneProcess.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneProcess.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="OneProcess_SenderHomeImplementation">
- <name>OneProcess_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="OneProcess_Sender_ExecArtifact"/>
- <artifact xmi:idref="OneProcess_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneProcess.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneProcess.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="OneProcess_AMIHomeImplementation">
- <name>OneProcess_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="OneProcess_AMI_ExecArtifact"/>
- <artifact xmi:idref="OneProcess_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneProcess.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneProcess.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.Receiver">
- <name>OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.Receiver</name>
- <node>AllInOne</node>
- <source/>
- <implementation xmi:idref="OneProcess_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.Sender">
- <name>OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.Sender</name>
- <node>AllInOne</node>
- <source/>
- <implementation xmi:idref="OneProcess_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.AMI">
- <name>OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.AMI</name>
- <node>AllInOne</node>
- <source/>
- <implementation xmi:idref="OneProcess_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="OneProcess.ComponentImplementations.OneProcessImplementation.OneProcess.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="OneProcess_AMI_SvntArtifact">
- <name>OneProcess.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>OneProcess_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneProcess_AMI_ExecArtifact">
- <name>OneProcess.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>OneProcess_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneProcess_Receiver_SvntArtifact">
- <name>OneProcess.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>OneProcess_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneProcess_Receiver_ExecArtifact">
- <name>OneProcess.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>OneProcess_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneProcess_Sender_SvntArtifact">
- <name>OneProcess.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>OneProcess_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneProcess_Sender_ExecArtifact">
- <name>OneProcess.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>OneProcess_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneProcess_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/OneProcess/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/OneProcess/descriptors/run_test.pl
deleted file mode 100755
index 51d32223619..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneProcess/descriptors/run_test.pl
+++ /dev/null
@@ -1,244 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-#@nodenames = ( "Sender", "Receiver" );
-@nodenames = ( "AllInOne");
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/.gitignore b/CIAO/connectors/ami4ccm/tests/OneReplyH/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/.gitignore
deleted file mode 100644
index a238cfdb595..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/OneReplyHA.idl
-/OneReplyHAE.idl
-/OneReplyHA_conn.cpp
-/OneReplyHA_conn.h
-/OneReplyHE.idl
-/OneReplyH_conn_export.h
-/OneReplyH_exec_export.h
-/OneReplyH_lem_stub_export.h
-/OneReplyH_skel_export.h
-/OneReplyH_stub_export.h
-/OneReplyH_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/OneReplyH.idl b/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/OneReplyH.idl
deleted file mode 100644
index ae50eec2191..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/OneReplyH.idl
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef ONEREPLYH_T_IDL
-#define ONEREPLYH_T_IDL
-
-#pragma ciao lem "Base/OneReplyHE.idl"
-#pragma ciao ami4ccm interface "OneReplyH::MyFoo"
-#pragma ciao lem "Base/OneReplyHAE.idl"
-#pragma ciao ami4ccm idl "Base/OneReplyHA.idl"
-
-module OneReplyH
-{
-
- const short cmd_synch_foo_ok = 1;
- const short cmd_synch_foo_nok = 2;
- const short cmd_asynch_foo_ok = 3;
- const short cmd_asynch_foo_nok = 4;
- const short cmd_synch_bar_ok = 5;
- const short cmd_synch_bar_nok = 6;
- const short cmd_asynch_bar_ok = 7;
- const short cmd_asynch_bar_nok = 8;
-
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, in long cmd, out string answer)
- raises (InternalError);
- void bar (in string in_str, in long cmd, out string answer, out long l_cmd)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/OneReplyH.mpc b/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/OneReplyH.mpc
deleted file mode 100644
index 290f7ff1edb..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Base/OneReplyH.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_OneReplyH_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEREPLYH_T_STUB_Export \
- -Wb,stub_export_include=OneReplyH_stub_export.h \
- -Wb,skel_export_macro=ONEREPLYH_T_SKEL_Export \
- -Wb,skel_export_include=OneReplyH_skel_export.h \
- -Wb,conn_export_macro=ONEREPLYH_T_CONN_Export \
- -Wb,conn_export_include=OneReplyH_conn_export.h \
- -Wb,exec_export_macro=ONEREPLYH_T_EXEC_Export \
- -Wb,exec_export_include=OneReplyH_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- OneReplyH.idl
- }
-}
-
-project(AMI_OneReplyH_lem_gen) : ciaoidldefaults {
- after += AMI_OneReplyH_idl_gen AMI_OneReplyH_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=ONEREPLYH_T_LEM_STUB_Export \
- -Wb,export_include=OneReplyH_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- OneReplyHE.idl
- }
-}
-
-project(AMI_OneReplyH_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_OneReplyH_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEREPLYH_T_STUB_Export \
- -Wb,stub_export_include=OneReplyH_stub_export.h \
- -Wb,conn_export_macro=ONEREPLYH_T_CONN_Export \
- -Wb,conn_export_include=OneReplyH_conn_export.h \
- -Wb,svnt_export_macro=ONEREPLYH_T_SVNT_Export \
- -Wb,svnt_export_include=OneReplyH_svnt_export.h \
- -Wb,skel_export_macro=ONEREPLYH_T_SKEL_Export \
- -Wb,skel_export_include=OneReplyH_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- OneReplyHA.idl
- }
-}
-
-project(AMI_OneReplyH_lemae_gen) : ciaoidldefaults {
- after += AMI_OneReplyH_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEREPLYH_T_LEM_STUB_Export \
- -Wb,stub_export_include=OneReplyH_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- OneReplyHAE.idl
- }
-}
-
-project(AMI_OneReplyH_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_OneReplyH_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = OneReplyH_stub
- dynamicflags += ONEREPLYH_T_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- OneReplyHC.cpp
- OneReplyHAC.cpp
- }
-
- Header_Files {
- OneReplyHC.h
- OneReplyH_stub_export.h
-}
-
- Inline_Files {
- OneReplyHC.inl
- }
-}
-
-project(AMI_OneReplyH_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_OneReplyH_lem_gen AMI_OneReplyH_stub AMI_OneReplyH_lemae_gen AMI_OneReplyH_skel
- libs += OneReplyH_stub OneReplyH_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = OneReplyH_lem_stub
- dynamicflags += ONEREPLYH_T_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- OneReplyHEC.cpp
- OneReplyHAEC.cpp
- }
-
- Header_Files {
- OneReplyHEC.h
- OneReplyH_lem_stub_export.h
-}
-
- Inline_Files {
- OneReplyHEC.inl
- }
-}
-
-project(AMI_OneReplyH_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_OneReplyH_stub
- sharedname = OneReplyH_skel
- libs += OneReplyH_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += ONEREPLYH_T_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- OneReplyHS.cpp
- OneReplyHAS.cpp
- }
-
- Header_Files {
- OneReplyHS.h
-
- OneReplyH_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_OneReplyH_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_OneReplyH_lem_stub OneReplyH_Base_AMI_stub AMI_OneReplyH_skel AMI_OneReplyH_lema_gen AMI_OneReplyH_lemae_gen
- sharedname = OneReplyH_conn
- libs += OneReplyH_stub OneReplyH_skel OneReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEREPLYH_T_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyHA_conn.cpp
- }
-
- Header_Files {
- OneReplyHA_conn.h
- OneReplyH_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_OneReplyH_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_OneReplyH_lem_stub OneReplyH_Base_AMI_stub AMI_OneReplyH_skel AMI_OneReplyH_lema_gen AMI_OneReplyH_lemae_gen AMI_OneReplyH_conn
- sharedname = OneReplyH_svnt
- libs += OneReplyH_stub OneReplyH_skel OneReplyH_lem_stub OneReplyH_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEREPLYH_T_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyHA_svnt.cpp
- }
-
- Header_Files {
- OneReplyHA_svnt.h
- OneReplyHA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/.gitignore
deleted file mode 100644
index 4cda43d012a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/OneReplyH_ReceiverE.idl
-/OneReplyH_Receiver_exec_export.h
-/OneReplyH_Receiver_lem_stub_export.h
-/OneReplyH_Receiver_stub_export.h
-/OneReplyH_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver.idl b/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver.idl
deleted file mode 100644
index 1ce93c3ed9c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef ONEREPLYH_T_RECEIVER_IDL
-#define ONEREPLYH_T_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/OneReplyH.idl"
-
-module OneReplyH
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver.mpc
deleted file mode 100644
index ac45051ab56..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p OneReplyH_Base OneReplyH_Receiver"
-
-project(AMI_OneRep_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_OneReplyH_idl_gen
- idlflags += -Wb,stub_export_macro=ONEREPLYH_T_RECEIVER_STUB_Export \
- -Wb,stub_export_include=OneReplyH_Receiver_stub_export.h \
- -Wb,skel_export_macro=ONEREPLYH_T_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=OneReplyH_Receiver_svnt_export.h \
- -Wb,exec_export_macro=ONEREPLYH_T_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=OneReplyH_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- OneReplyH_Receiver.idl
- }
-}
-
-project(AMI_OneRep_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_OneRep_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEREPLYH_T_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=OneReplyH_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- OneReplyH_ReceiverE.idl
- }
-}
-
-project(AMI_OneReplyH_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_OneRep_Base_Receiver_lem_gen AMI_OneReplyH_Base_Receiver_stub AMI_OneReplyH_stub
- libs += OneReplyH_stub OneReplyH_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = OneReplyH_Receiver_lem_stub
- dynamicflags += ONEREPLYH_T_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyH_ReceiverEC.cpp
- }
-
- Header_Files {
- OneReplyH_ReceiverEC.h
- OneReplyH_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- OneReplyH_ReceiverEC.inl
- }
-}
-
-project(AMI_OneReplyH_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_OneRep_Base_Receiver_idl_gen AMI_OneReplyH_stub
- libs += OneReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = OneReplyH_Receiver_stub
- dynamicflags += ONEREPLYH_T_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyH_ReceiverC.cpp
- }
-
- Header_Files {
- OneReplyH_ReceiverC.h
- OneReplyH_Receiver_stub_export.h
- }
-
- Inline_Files {
- OneReplyH_ReceiverC.inl
- }
-}
-
-project(AMI_OneReplyH_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_OneReplyH_Base_Receiver_l_stub AMI_OneReplyH_Base_Receiver_stub AMI_OneReplyH_stub AMI_OneReplyH_lem_stub
- sharedname = OneReplyH_Receiver_exec
- libs += OneReplyH_Receiver_stub OneReplyH_Receiver_lem_stub OneReplyH_stub OneReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEREPLYH_T_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyH_Receiver_exec.cpp
- }
-
- Header_Files {
- OneReplyH_Receiver_exec.h
- OneReplyH_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_OneReplyH_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_OneReplyH_Base_skel AMI_OneReplyH_Base_Receiver_l_stub AMI_OneReplyH_stub AMI_OneReplyH_skel AMI_OneReplyH_lem_stub
- sharedname = OneReplyH_Receiver_svnt
- libs += OneReplyH_Receiver_stub OneReplyH_Receiver_lem_stub \
- OneReplyH_skel \
- OneReplyH_stub OneReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEREPLYH_T_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyH_ReceiverS.cpp
- OneReplyH_Receiver_svnt.cpp
- }
-
- Header_Files {
- OneReplyH_ReceiverS.h
- OneReplyH_Receiver_svnt.h
- OneReplyH_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver_exec.cpp
deleted file mode 100644
index 134d15024b2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver_exec.cpp
+++ /dev/null
@@ -1,170 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "OneReplyH_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_OneReplyH_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::OneReplyH::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::OneReplyH::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::OneReplyH::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- if (ACE_OS::strlen (in_str) == 0)
- {
- OneReplyH::InternalError ex (cmd,"foo thrown by receiver");
- throw ex;
- }
- else
- {
- answer = CORBA::string_dup ("This is my answer : Hi");
- return cmd;
- }
- }
-
- void
- do_my_foo_exec_i::bar (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd)
- {
- if (ACE_OS::strlen (in_str) == 0)
- {
- OneReplyH::InternalError ex (cmd,"bar thrown by receiver");
- throw ex;
- }
- else
- {
- answer = CORBA::string_dup("hi from receiver.");
- l_cmd = cmd;
- }
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void){
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::OneReplyH::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::OneReplyH::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::OneReplyH::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::OneReplyH::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ONEREPLYH_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_OneReplyH_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver_exec.h
deleted file mode 100644
index 0deb6e181b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Receiver/OneReplyH_Receiver_exec.h
+++ /dev/null
@@ -1,137 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_ONEREPLYH_RECEIVER_EXEC_6ZK29Q_H_
-#define CIAO_ONEREPLYH_RECEIVER_EXEC_6ZK29Q_H_
-
-#include /**/ "ace/pre.h"
-
-#include "OneReplyH_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "OneReplyH_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_OneReplyH_Receiver_Impl
-{
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::OneReplyH::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::OneReplyH::CCM_Receiver_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from OneReplyH::MyFoo. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer);
-
- virtual
- void bar (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer,
- ::CORBA::Long_out l_cmd);
- //@}
-
- private:
- ::OneReplyH::CCM_Receiver_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::OneReplyH::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::OneReplyH::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::OneReplyH::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" ONEREPLYH_T_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_OneReplyH_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/.gitignore
deleted file mode 100644
index 5e9472c664c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/OneReplyH_SenderE.idl
-/OneReplyH_Sender_exec_export.h
-/OneReplyH_Sender_lem_stub_export.h
-/OneReplyH_Sender_stub_export.h
-/OneReplyH_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender.idl b/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender.idl
deleted file mode 100644
index c79e67aa9a8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef ONEREPLYH_T_SENDER_IDL
-#define ONEREPLYH_T_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/OneReplyH.idl"
-
-#pragma ciao ami4ccm receptacle "OneReplyH::Sender::run_my_foo"
-
-module OneReplyH
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender.mpc b/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender.mpc
deleted file mode 100644
index ac195d708e4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p OneReplyH_Base OneReplyH_Sender"
-
-project(AMI_OneReplyH_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_OneReplyH_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEREPLYH_T_SENDER_STUB_Export \
- -Wb,stub_export_include=OneReplyH_Sender_stub_export.h \
- -Wb,skel_export_macro=ONEREPLYH_T_SENDER_SVNT_Export \
- -Wb,skel_export_include=OneReplyH_Sender_svnt_export.h \
- -Wb,exec_export_macro=ONEREPLYH_T_SENDER_EXEC_Export \
- -Wb,exec_export_include=OneReplyH_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- OneReplyH_Sender.idl
- }
-}
-
-project(AMI_OneReplyH_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_OneReplyH_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=ONEREPLYH_T_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=OneReplyH_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- OneReplyH_SenderE.idl
- }
-}
-
-project(AMI_OneReplyH_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_OneReplyH_Base_Sender_lem_gen AMI_OneReplyH_stub Conn_OneReplyH_Base_stub
- libs += OneReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = OneReplyH_Sender_lem_stub
- dynamicflags += ONEREPLYH_T_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyH_SenderEC.cpp
- }
-
- Header_Files {
- OneReplyH_SenderEC.h
- OneReplyH_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- OneReplyH_SenderEC.inl
- }
-}
-
-project(AMI_OneReplyH_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_OneReplyH_Base_Sender_idl_gen AMI_OneReplyH_Base_stub AMI_OneReplyH_stub Conn_OneReplyH_Base_stub
- libs += OneReplyH_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = OneReplyH_Sender_stub
- dynamicflags += ONEREPLYH_T_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyH_SenderC.cpp
- }
-
- Header_Files {
- OneReplyH_SenderC.h
- OneReplyH_Sender_stub_export.h
- }
-
- Inline_Files {
- OneReplyH_SenderC.inl
- }
-}
-
-project(AMI_OneReplyH_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_OneReplyH_Base_Sender_lem_stub AMI_OneReplyH_Base_Sender_stub AMI_OneReplyH_Base_exec Conn_OneReplyH_Base_stub AMI_OneReplyH_lem_stub
- sharedname = OneReplyH_Sender_exec
- libs += OneReplyH_Sender_stub OneReplyH_Sender_lem_stub OneReplyH_stub OneReplyH_stub OneReplyH_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEREPLYH_T_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyH_Sender_exec.cpp
- }
-
- Header_Files {
- OneReplyH_Sender_exec.h
- OneReplyH_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_OneReplyH_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_OneReplyH_Base_skel AMI_OneReplyH_Base_Sender_lem_stub AMI_OneReplyH_Base_Sender_stub AMI_OneReplyH_Base_exec AMI_OneReplyH_skel
- sharedname = OneReplyH_Sender_svnt
- libs += OneReplyH_Sender_stub OneReplyH_Sender_lem_stub \
- OneReplyH_skel \
- OneReplyH_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += ONEREPLYH_T_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- OneReplyH_SenderS.cpp
- OneReplyH_Sender_svnt.cpp
- }
-
- Header_Files {
- OneReplyH_SenderS.h
- OneReplyH_Sender_svnt.h
- OneReplyH_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender_exec.cpp
deleted file mode 100644
index 7d3cc436b3d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender_exec.cpp
+++ /dev/null
@@ -1,340 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "OneReplyH_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-
-namespace CIAO_OneReplyH_Sender_Impl
-{
- CORBA::Short nr_of_excep_received = 0;
-
- void HandleException (
- long id,
- long expect_id,
- const char* /*error_string*/,
- const char* func)
- {
- //expected exception
- if ( id == expect_id)
- {
- ++nr_of_excep_received;
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender: wrong exception received"
- " for %C\n", func));
- }
- }
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::OneReplyH::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::OneReplyH::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- cb_ = new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_of_received_);
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::OneReplyH::AMI4CCM_MyFoo_var my_foo_ami_ =
- this->context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Sender (ASYNCH) :\tfoo_ami is NIL !\n"));
- return 1;
- }
- else
- {
- //Invoke Asynchronous calls ,test with one replyhandler.
- my_foo_ami_->sendc_foo ( this->cb_.in(), "Hi from foo 1",
- OneReplyH::cmd_asynch_foo_ok);
- //this should invoke a exception
- my_foo_ami_->sendc_foo ( this->cb_.in(), "",
- OneReplyH::cmd_asynch_foo_nok);
- my_foo_ami_->sendc_foo ( this->cb_.in(), "Hi from foo 2",
- OneReplyH::cmd_asynch_foo_ok);
- my_foo_ami_->sendc_bar ( this->cb_.in(), "Hi from bar",
- OneReplyH::cmd_asynch_bar_ok);
- my_foo_ami_->sendc_foo ( this->cb_.in(), "Hi from foo 3",
- OneReplyH::cmd_asynch_foo_ok);
-
- //this should invoke a exception
- my_foo_ami_->sendc_bar ( this->cb_.in(), "", OneReplyH::cmd_asynch_bar_nok);
- }
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::OneReplyH::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::OneReplyH::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received)
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::OneReplyH::MyFoo_var my_foo_ami_ =
- this->context_->get_connection_run_my_foo ();
-
- //run some synch calls
- CORBA::String_var out_str;
- CORBA::Long l_cmd = 0;
- try
- {
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- OneReplyH::cmd_synch_foo_ok,
- out_str.out ());
- if ( result == OneReplyH::cmd_synch_foo_ok)
- {
- ++this->nr_of_received_;
- }
- }
- catch (const OneReplyH::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::foo: "
- "Unexpected exception.\n"));
- }
- try
- {
- my_foo_ami_->foo ("",OneReplyH::cmd_synch_foo_nok, out_str);
- }
- catch (const OneReplyH::InternalError& ex)
- {
- HandleException (ex.id, OneReplyH::cmd_synch_foo_nok,
- ex.error_string.in(),
- "synch foo");
- }
- try
- {
- my_foo_ami_->bar ("Do something synchronous",
- OneReplyH::cmd_synch_bar_ok,
- out_str, l_cmd);
- if ( l_cmd == OneReplyH::cmd_synch_bar_ok)
- {
- ++this->nr_of_received_;
- }
- }
- catch (const OneReplyH::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::bar: "
- "Unexpected exception.\n"));
- }
- try
- {
- my_foo_ami_->bar ( "", OneReplyH::cmd_synch_bar_nok, out_str, l_cmd);
- }
- catch (const OneReplyH::InternalError& ex)
- {
- HandleException (ex.id, OneReplyH::cmd_synch_bar_nok,
- ex.error_string.in(),
- "synch bar");
- }
- return 0;
- }
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen(0),
- synch_foo_gen(0),
- nr_of_received_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::OneReplyH::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in(),
- this->nr_of_received_);
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1); }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (nr_of_excep_received != 4)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: not received the expected number of"
- " exceptions"
- "Expected: 4, Received: %u.\n",
- nr_of_excep_received));
- }
- if (this->nr_of_received_.value() != 6)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Sender not received the expected number"
- " of callbacks and returns for syn- and "
- "asynchronous calls. Expected: 6,"
- " Received: %u.\n",
- this->nr_of_received_.value()));
- }
- if ((this->nr_of_received_.value() == 6) && (nr_of_excep_received == 4))
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Sender received the expected number of"
- " callbacks and exceptions for syn- and "
- "asynchronous calls\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_ (nr_of_received)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * /* answer */)
- {
- if ( ami_return_val == OneReplyH::cmd_asynch_foo_ok)
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const OneReplyH::InternalError& ex)
- {
- CIAO_OneReplyH_Sender_Impl::HandleException (ex.id,
- OneReplyH::cmd_asynch_foo_nok,
- ex.error_string.in(), "asynch foo");
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::bar (
- const char * /* answer */,
- ::CORBA::Long l_cmd)
- {
- if ( l_cmd == OneReplyH::cmd_asynch_bar_ok )
- {
- ++this->nr_of_received_;
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const OneReplyH::InternalError& ex)
- {
- CIAO_OneReplyH_Sender_Impl::HandleException (ex.id, OneReplyH::cmd_asynch_bar_nok,
- ex.error_string.in(), "asynch bar");
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected exception:");
- }
- }
-
- extern "C" ONEREPLYH_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_OneReplyH_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender_exec.h
deleted file mode 100644
index b30c3036300..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/Sender/OneReplyH_Sender_exec.h
+++ /dev/null
@@ -1,170 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_ONEREPLYH_SENDER_EXEC_QDXBFS_H_
-#define CIAO_ONEREPLYH_SENDER_EXEC_QDXBFS_H_
-
-#include /**/ "ace/pre.h"
-
-#include "OneReplyH_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "OneReplyH_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_OneReplyH_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Common exception handlers
- void HandleException (
- long id,
- long expect_id,
- const char* error_string,
- const char* func);
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::OneReplyH::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received_);
-
- virtual int svc (void);
-
- private:
- ::OneReplyH::CCM_Sender_Context_var context_;
- ::OneReplyH::AMI4CCM_MyFooReplyHandler_var cb_;
- Atomic_UShort &nr_of_received_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::OneReplyH::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received_);
-
- virtual int svc (void);
-
- private:
- ::OneReplyH::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::OneReplyH::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- Atomic_UShort nr_of_received_;
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::OneReplyH::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (Atomic_UShort &);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- bar (
- const char * answer,
- ::CORBA::Long l_cmd);
-
- virtual void
- bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
- };
-
- extern "C" ONEREPLYH_T_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_OneReplyH_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/OneReplyH/descriptors/Plan.cdp
deleted file mode 100644
index 2d42f067db2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="OneReplyH_ReceiverHomeImplementation">
- <name>OneReplyH_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="OneReplyH_Receiver_ExecArtifact"/>
- <artifact xmi:idref="OneReplyH_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="OneReplyH_SenderHomeImplementation">
- <name>OneReplyH_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="OneReplyH_Sender_ExecArtifact"/>
- <artifact xmi:idref="OneReplyH_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneReplyH.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneReplyH.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="OneReplyH_AMIHomeImplementation">
- <name>OneReplyH_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="OneReplyH_AMI_ExecArtifact"/>
- <artifact xmi:idref="OneReplyH_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneReplyH.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>OneReplyH.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.Receiver">
- <name>OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="OneReplyH_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.Sender">
- <name>OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="OneReplyH_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.AMI">
- <name>OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="OneReplyH_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="OneReplyH.ComponentImplementations.OneReplyHImplementation.OneReplyH.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="OneReplyH_AMI_SvntArtifact">
- <name>OneReplyH.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>OneReplyH_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneReplyH_AMI_ExecArtifact">
- <name>OneReplyH.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>OneReplyH_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneReplyH_Receiver_SvntArtifact">
- <name>OneReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>OneReplyH_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneReplyH_Receiver_ExecArtifact">
- <name>OneReplyH.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>OneReplyH_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneReplyH_Sender_SvntArtifact">
- <name>OneReplyH.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>OneReplyH_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="OneReplyH_Sender_ExecArtifact">
- <name>OneReplyH.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>OneReplyH_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_OneReplyH_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/OneReplyH/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/OneReplyH/descriptors/run_test.pl
deleted file mode 100755
index 72bb46f1ea2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/OneReplyH/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl b/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl
deleted file mode 100644
index 456dcd1f829..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.idl
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef PRAGMAT_IDL
-#define PRAGMAT_IDL
-
-#pragma ciao lem "Base/PragmaTE.idl"
-#pragma ami4ccm interface "PragmaT::MyFoo"
-#pragma ciao lem "Base/PragmaTAE.idl"
-#pragma ami4ccm idl "Base/PragmaTA.idl"
-
-module PragmaT
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, out string answer)
- raises (InternalError);
- void hello (out long answer)
- raises (InternalError);
-
- attribute short rw_attrib
- getraises (InternalError)
- setraises (InternalError);
-
- readonly attribute short ro_attrib
- raises (InternalError);
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.mpc b/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.mpc
deleted file mode 100644
index ee11910389e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Base/PragmaT.mpc
+++ /dev/null
@@ -1,191 +0,0 @@
-project(AMI_PragmaT_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=PRAGMAT_STUB_Export \
- -Wb,stub_export_include=PragmaT_stub_export.h \
- -Wb,skel_export_macro=PRAGMAT_SKEL_Export \
- -Wb,skel_export_include=PragmaT_skel_export.h \
- -Wb,conn_export_macro=PRAGMAT_CONN_Export \
- -Wb,conn_export_include=PragmaT_conn_export.h \
- -Wb,exec_export_macro=PRAGMAT_EXEC_Export \
- -Wb,exec_export_include=PragmaT_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- PragmaT.idl
- }
-}
-
-project(AMI_PragmaT_lem_gen) : ciaoidldefaults {
- after += AMI_PragmaT_idl_gen AMI_PragmaT_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=PRAGMAT_LEM_STUB_Export \
- -Wb,export_include=PragmaT_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- PragmaTE.idl
- }
-}
-
-project(AMI_PragmaT_lema_gen) : ciaoidldefaults {
- after += AMI_PragmaT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=PRAGMAT_STUB_Export \
- -Wb,stub_export_include=PragmaT_stub_export.h \
- -Wb,conn_export_macro=PRAGMAT_CONN_Export \
- -Wb,conn_export_include=PragmaT_conn_export.h \
- -Wb,svnt_export_macro=PRAGMAT_SVNT_Export \
- -Wb,svnt_export_include=PragmaT_svnt_export.h \
- -Wb,skel_export_macro=PRAGMAT_SKEL_Export \
- -Wb,skel_export_include=PragmaT_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- PragmaTA.idl
- }
-}
-
-project(AMI_PragmaT_lemae_gen) : ciaoidldefaults {
- after += AMI_PragmaT_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=PRAGMAT_LEM_STUB_Export \
- -Wb,stub_export_include=PragmaT_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- PragmaTAE.idl
- }
-}
-
-project(AMI_PragmaT_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_PragmaT_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = PragmaT_stub
- dynamicflags += PRAGMAT_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- PragmaTC.cpp
- PragmaTAC.cpp
- }
-
- Header_Files {
- PragmaTC.h
- PragmaT_stub_export.h
-}
-
- Inline_Files {
- PragmaTC.inl
- }
-}
-
-project(AMI_PragmaT_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_PragmaT_lem_gen AMI_PragmaT_stub AMI_PragmaT_lemae_gen AMI_PragmaT_skel
- libs += PragmaT_stub PragmaT_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = PragmaT_lem_stub
- dynamicflags += PRAGMAT_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- PragmaTEC.cpp
- PragmaTAEC.cpp
- }
-
- Header_Files {
- PragmaTEC.h
- PragmaT_lem_stub_export.h
-}
-
- Inline_Files {
- PragmaTEC.inl
- }
-}
-
-project(AMI_PragmaT_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_PragmaT_stub
- sharedname = PragmaT_skel
- libs += PragmaT_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += PRAGMAT_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- PragmaTS.cpp
- PragmaTAS.cpp
- }
-
- Header_Files {
- PragmaTS.h
- PragmaT_skel_export.h
- }
-
- Inline_Files {
- PragmaTS.inl
- }
-}
-
-project(AMI_PragmaT_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_PragmaT_lem_stub PragmaT_Base_AMI_stub AMI_PragmaT_skel AMI_PragmaT_lema_gen AMI_PragmaT_lemae_gen
- sharedname = PragmaT_conn
- libs += PragmaT_stub PragmaT_skel PragmaT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += PRAGMAT_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaTA_conn.cpp
- }
-
- Header_Files {
- PragmaTA_conn.h
- PragmaT_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_PragmaT_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_PragmaT_lem_stub PragmaT_Base_AMI_stub AMI_PragmaT_skel AMI_PragmaT_lema_gen AMI_PragmaT_lemae_gen AMI_PragmaT_conn
- sharedname = PragmaT_svnt
- libs += PragmaT_stub PragmaT_skel PragmaT_lem_stub PragmaT_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += PRAGMAT_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaTA_svnt.cpp
- }
-
- Header_Files {
- PragmaTA_svnt.h
- PragmaTA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/README b/CIAO/connectors/ami4ccm/tests/PragmaT/README
deleted file mode 100644
index cb0bd1370dd..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/README
+++ /dev/null
@@ -1,7 +0,0 @@
-This test is used to test the use of the new pragma's.
-
-Instead of '#PRAGMA ciao ami4ccm interface' , '#PRAGMA ciao ami4ccm receptacle' and
-'#PRAGMA ciao ami4ccm idl' the new pragma's, according to the ami4ccm spec are used:
-'#PRAGMA ami4ccm interface' , '#PRAGMA ami4ccm receptacle' and
-'#PRAGMA ami4ccm idl'
-
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver.idl b/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver.idl
deleted file mode 100644
index c98d382f11e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef PRAGMAT_RECEIVER_IDL
-#define PRAGMAT_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/PragmaT.idl"
-
-module PragmaT
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver.mpc
deleted file mode 100644
index 563ad55bba1..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p PragmaT_Base PragmaT_Receiver"
-
-project(AMI_PTB_PragmaT_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_PragmaT_idl_gen
- idlflags += -Wb,stub_export_macro=PRAGMAT_RECEIVER_STUB_Export \
- -Wb,stub_export_include=PragmaT_Receiver_stub_export.h \
- -Wb,skel_export_macro=PRAGMAT_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=PragmaT_Receiver_svnt_export.h \
- -Wb,exec_export_macro=PRAGMAT_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=PragmaT_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- PragmaT_Receiver.idl
- }
-}
-
-project(AMI_PTB_PragmaT_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_PTB_PragmaT_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=PRAGMAT_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=PragmaT_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- PragmaT_ReceiverE.idl
- }
-}
-
-project(AMI_PTB_PragmaT_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_PTB_PragmaT_Receiver_lem_gen AMI_PTB_PragmaT_Receiver_stub AMI_PragmaT_stub
- libs += PragmaT_stub PragmaT_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = PragmaT_Receiver_lem_stub
- dynamicflags += PRAGMAT_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaT_ReceiverEC.cpp
- }
-
- Header_Files {
- PragmaT_ReceiverEC.h
- PragmaT_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- PragmaT_ReceiverEC.inl
- }
-}
-
-project(AMI_PTB_PragmaT_Receiver_stub) : ccm_stub, messaging {
- after += AMI_PTB_PragmaT_Receiver_idl_gen AMI_PragmaT_stub
- libs += PragmaT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = PragmaT_Receiver_stub
- dynamicflags += PRAGMAT_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaT_ReceiverC.cpp
- }
-
- Header_Files {
- PragmaT_ReceiverC.h
- PragmaT_Receiver_stub_export.h
- }
-
- Inline_Files {
- PragmaT_ReceiverC.inl
- }
-}
-
-project(AMI_PTB_PragmaT_Receiver_exec) : ciao_executor, messaging {
- after += AMI_PTB_PragmaT_Receiver_l_stub AMI_PTB_PragmaT_Receiver_stub AMI_PragmaT_stub AMI_PragmaT_lem_stub
- sharedname = PragmaT_Receiver_exec
- libs += PragmaT_Receiver_stub PragmaT_Receiver_lem_stub PragmaT_stub PragmaT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += PRAGMAT_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaT_Receiver_exec.cpp
- }
-
- Header_Files {
- PragmaT_Receiver_exec.h
- PragmaT_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_PTB_PragmaT_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_PragmaT_Base_skel AMI_PTB_PragmaT_Receiver_l_stub AMI_PragmaT_stub AMI_PragmaT_skel AMI_PragmaT_lem_stub
- sharedname = PragmaT_Receiver_svnt
- libs += PragmaT_Receiver_stub PragmaT_Receiver_lem_stub \
- PragmaT_skel \
- PragmaT_stub PragmaT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += PRAGMAT_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaT_ReceiverS.cpp
- PragmaT_Receiver_svnt.cpp
- }
-
- Header_Files {
- PragmaT_ReceiverS.h
- PragmaT_Receiver_svnt.h
- PragmaT_Receiver_svnt_export.h
- }
-
- Inline_Files {
- PragmaT_ReceiverS.inl
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver_exec.cpp
deleted file mode 100644
index 1d618f57f74..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver_exec.cpp
+++ /dev/null
@@ -1,164 +0,0 @@
-// -*- C++ -*-
-#include "PragmaT_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_PragmaT_Receiver_Impl
-{
- MyFoo_exec_i::MyFoo_exec_i (
- ::PragmaT::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::PragmaT::CCM_Receiver_Context::_duplicate (ctx)),
- get_rw_ (false),
- get_ro_ (false)
- {
- }
-
- MyFoo_exec_i::~MyFoo_exec_i (void)
- {
- }
-
- ::CORBA::Long
- MyFoo_exec_i::foo (const char * in_str, ::CORBA::String_out answer)
- {
- if (ACE_OS::strlen (in_str) == 0)
- {
- PragmaT::InternalError ex (42, "PragmaT world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = CORBA::string_dup ("This is my answer : Hi");
- return ACE_OS::rand () % 100;
- }
- }
-
- void
- MyFoo_exec_i::hello (::CORBA::Long_out answer)
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = ACE_OS::rand () % 100;
- }
-
- ::CORBA::Short
- MyFoo_exec_i::rw_attrib ()
- {
- if (this->get_rw_)
- {
- this->get_rw_ = false;
- PragmaT::InternalError ex (42, "PragmaT world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- this->get_rw_ = true;
- }
- return ACE_OS::rand () % 100;
- }
-
- void
- MyFoo_exec_i::rw_attrib (::CORBA::Short new_value)
- {
- if (new_value == 0)
- {
- PragmaT::InternalError ex (42, "PragmaT world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- }
- }
-
- CORBA::Short
- MyFoo_exec_i::ro_attrib ()
- {
- if (this->get_ro_)
- {
- this->get_ro_ = false;
- PragmaT::InternalError ex (42, "PragmaT world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- this->get_ro_ = true;
- }
- return ACE_OS::rand () % 100;
- }
-
- Receiver_exec_i::Receiver_exec_i (void)
- {
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- ::PragmaT::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- MyFoo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- MyFoo_exec_i (
- this->context_.in ()),
- ::PragmaT::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::PragmaT::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->context_ = ::PragmaT::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_PragmaT_AMI_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_RETURN (
- retval,
- Receiver_exec_i,
- ::Components::EnterpriseComponent::_nil ());
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver_exec.h
deleted file mode 100644
index 16c4019986e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Receiver/PragmaT_Receiver_exec.h
+++ /dev/null
@@ -1,68 +0,0 @@
-// -*- C++ -*-
-#ifndef CIAO_PRAGMAT_RECEIVER_EXEC_H_
-#define CIAO_PRAGMAT_RECEIVER_EXEC_H_
-
-#include "PragmaT_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-#include "PragmaT_Receiver_exec_export.h"
-
-namespace CIAO_PragmaT_Receiver_Impl
-{
- class MyFoo_exec_i
- : public virtual ::PragmaT::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- MyFoo_exec_i (::PragmaT::CCM_Receiver_Context_ptr ctx);
- virtual ~MyFoo_exec_i (void);
-
- virtual ::CORBA::Long foo (const char * in_str, ::CORBA::String_out answer);
-
- virtual void hello (::CORBA::Long_out answer);
-
- virtual ::CORBA::Short rw_attrib ();
-
- virtual void rw_attrib (::CORBA::Short new_value);
-
- virtual CORBA::Short ro_attrib ();
- private:
- ::PragmaT::CCM_Receiver_Context_var ciao_context_;
- bool get_rw_;
- bool get_ro_;
- };
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- virtual ::PragmaT::CCM_MyFoo_ptr get_do_my_foo (void);
-
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete (void);
-
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
-
- private:
- ::PragmaT::CCM_Receiver_Context_var context_;
- ::PragmaT::CCM_MyFoo_var ciao_do_my_foo_;
-
- };
-
- extern "C" PRAGMAT_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_PragmaT_AMI_Receiver_Impl (void);
-}
-
-#endif /* ifndef */
-
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender.idl b/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender.idl
deleted file mode 100644
index 9cf40bb9230..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef PRAGMAT_SENDER_IDL
-#define PRAGMAT_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/PragmaT.idl"
-
-#pragma ami4ccm receptacle "PragmaT::Sender::run_my_foo"
-
-module PragmaT
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender.mpc b/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender.mpc
deleted file mode 100644
index 2d26735edd4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender.mpc
+++ /dev/null
@@ -1,134 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p PragmaT_Base PragmaT_Sender"
-
-project(AMI_PTB_PragmaT_Sender_idl_gen) : componentidldefaults {
- after += AMI_PragmaT_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=PRAGMAT_SENDER_STUB_Export \
- -Wb,stub_export_include=PragmaT_Sender_stub_export.h \
- -Wb,skel_export_macro=PRAGMAT_SENDER_SVNT_Export \
- -Wb,skel_export_include=PragmaT_Sender_svnt_export.h \
- -Wb,exec_export_macro=PRAGMAT_SENDER_EXEC_Export \
- -Wb,exec_export_include=PragmaT_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- PragmaT_Sender.idl
- }
-}
-
-project(AMI_PTB_PragmaT_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_PTB_PragmaT_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=PRAGMAT_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=PragmaT_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- PragmaT_SenderE.idl
- }
-}
-
-project(AMI_PTB_PragmaT_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_PTB_PragmaT_Sender_lem_gen AMI_PragmaT_stub Conn_PragmaT_Base_stub
- libs += PragmaT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = PragmaT_Sender_lem_stub
- dynamicflags += PRAGMAT_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaT_SenderEC.cpp
- }
-
- Header_Files {
- PragmaT_SenderEC.h
- PragmaT_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- PragmaT_SenderEC.inl
- }
-}
-
-project(AMI_PTB_PragmaT_Sender_stub) : ccm_stub, ami {
- after += AMI_PTB_PragmaT_Sender_idl_gen AMI_PragmaT_Base_stub AMI_PragmaT_stub Conn_PragmaT_Base_stub
- libs += PragmaT_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = PragmaT_Sender_stub
- dynamicflags += PRAGMAT_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaT_SenderC.cpp
- }
-
- Header_Files {
- PragmaT_SenderC.h
- PragmaT_Sender_stub_export.h
- }
-
- Inline_Files {
- PragmaT_SenderC.inl
- }
-}
-
-project(AMI_PTB_PragmaT_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_PTB_PragmaT_Sender_lem_stub AMI_PTB_PragmaT_Sender_stub AMI_PragmaT_Base_exec Conn_PragmaT_Base_stub AMI_PragmaT_lem_stub
- sharedname = PragmaT_Sender_exec
- libs += PragmaT_Sender_stub PragmaT_Sender_lem_stub PragmaT_stub PragmaT_stub PragmaT_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += PRAGMAT_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaT_Sender_exec.cpp
- }
-
- Header_Files {
- PragmaT_Sender_exec.h
- PragmaT_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_PTB_PragmaT_Sender_svnt) : ciao_servant, ami {
- after += AMI_PragmaT_Base_skel AMI_PTB_PragmaT_Sender_lem_stub AMI_PTB_PragmaT_Sender_stub AMI_PragmaT_Base_exec AMI_PragmaT_skel
- sharedname = PragmaT_Sender_svnt
- libs += PragmaT_Sender_stub PragmaT_Sender_lem_stub \
- PragmaT_skel \
- PragmaT_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += PRAGMAT_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- PragmaT_SenderS.cpp
- PragmaT_Sender_svnt.cpp
- }
-
- Header_Files {
- PragmaT_SenderS.h
- PragmaT_Sender_svnt.h
- PragmaT_Sender_svnt_export.h
- }
-
- Inline_Files {
- PragmaT_SenderS.inl
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender_exec.cpp
deleted file mode 100644
index 0bb16e1fabf..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender_exec.cpp
+++ /dev/null
@@ -1,400 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "PragmaT_Sender_exec.h"
-
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_PragmaT_Sender_Impl
-{
- void HandleException (
- long id,
- const char* error_string,
- const char* func)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (%C) :\tCallback except from AMI.\n"),
- func));
- if (id != 42)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR (%C) :\tReceived unexpected ID received")
- ACE_TEXT(" in except handler.\n"),
- func));
- return;
- }
- if (ACE_OS::strcmp (error_string, "PragmaT world") != 0)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR (%C) :\tReceived unexpected error string")
- ACE_TEXT(" received in except handler.\n"),
- func));
- return;
- }
- }
-
- void HandleException (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder,
- const char* func)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (%C) :\tHandle except AMI\n"), func));
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const PragmaT::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender: Caught the correct except type")
- ACE_TEXT(" <%u> <%C>\n"),
- ex.id, ex.error_string.in ()));
- HandleException (ex.id, ex.error_string.in (), func);
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- }
- }
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::PragmaT::CCM_Sender_Context_ptr context)
- : context_(::PragmaT::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::PragmaT::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR Sender (ASYNCH) :")
- ACE_TEXT("\tfoo_ami is NIL !!!\n")));
- return 1;
- }
- ::PragmaT::CCM_AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i ();
-
- for (int i = 0; i < 5; ++i)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :")
- ACE_TEXT("\tInvoke Asynchronous calls\n")));
- my_foo_ami_->sendc_foo (cb.in (),
- "Do something asynchronous");
- my_foo_ami_->sendc_hello (cb.in ());
- my_foo_ami_->sendc_get_rw_attrib(cb.in ());
- my_foo_ami_->sendc_get_rw_attrib(cb.in ());
- my_foo_ami_->sendc_set_rw_attrib(cb.in (), 15);
- my_foo_ami_->sendc_get_ro_attrib(cb.in ());
- my_foo_ami_->sendc_get_ro_attrib(cb.in ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked Asynchronous calls\n")));
- }
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoke Asynchronous calls ")
- ACE_TEXT("to test except handling\n")));
- my_foo_ami_->sendc_foo (cb.in (), "");
- my_foo_ami_->sendc_set_rw_attrib(cb.in (), 0);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked Asynchronous call.\n")));
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::PragmaT::CCM_Sender_Context_ptr context)
- : context_(::PragmaT::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::PragmaT::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
-
- //run synch calls
- CORBA::String_var out_str;
- for (int i = 0; i < 5; ++i)
- {
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- out_str.out ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call (FOO)")
- ACE_TEXT(" result <%u> answer <%C>\n"), result, out_str.in ()));
-
- CORBA::Long answer;
- my_foo_ami_->hello (answer);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(PRAGMAT) answer <%u>\n"), answer));
-
- try
- {
- CORBA::Short rw_attrib = my_foo_ami_->rw_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(GET_RW_ATTRIB) answer <%u>\n"), rw_attrib));
- }
- catch (const PragmaT::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
-
- try
- {
- my_foo_ami_->rw_attrib (15);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(SET_RW_ATTRIB) to <15>\n")));
- }
- catch (const PragmaT::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
-
- try
- {
- CORBA::Short ro_attrib = my_foo_ami_->ro_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(GET_RO_ATTRIB) answer <%u>\n"), ro_attrib));
- }
- catch (const PragmaT::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- }
- try
- {
- CORBA::Long result = my_foo_ami_->foo ("", out_str.out ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH) :\tInvoked synchronous call result ")
- ACE_TEXT("<%u> answer <%C>\n"), result, out_str.in ()));
- }
- catch (const PragmaT::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught : ")
- ACE_TEXT("<%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- try
- {
- my_foo_ami_->rw_attrib (0);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH) :\tInvoked synchronous call rw_attrib\n")));
- }
- catch (const PragmaT::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH RW_ATTRIB) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- }
- return 0;
- }
-
- //============================================================
- // Component Executor Implementation Class: Sender_exec_i
- //============================================================
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen_(0),
- synch_foo_gen_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes.
-
- // Port operations.
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->context_ =
- ::PragmaT::CCM_Sender_Context::_narrow (ctx);
- if ( ::CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen_ =
- new asynch_foo_generator (this->context_.in ());
- this->asynch_foo_gen_->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- this->synch_foo_gen_ =
- new synch_foo_generator (this->context_.in());
- this->synch_foo_gen_->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- delete this->asynch_foo_gen_;
- this->asynch_foo_gen_ = 0;
- delete this->synch_foo_gen_;
- this->synch_foo_gen_ = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (FOO) :\tCallback from AMI: result <%u> ")
- ACE_TEXT("answer <%C>\n"), ami_return_val, answer));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "FOO");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello (
- ::CORBA::Long answer)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (FOO) :\tCallback from AMI (PRAGMAT) :")
- ACE_TEXT(" answer <%u>\n"), answer));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "PRAGMAT");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short ami_return_val)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RW_ATTRIB) :\tCallback from AMI (RW_ATTRIB):")
- ACE_TEXT(" answer <%u>\n"), ami_return_val));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "GET RW_ATTRIB");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RW_ATTRIB) :\tCallback from ")
- ACE_TEXT("AMI (RW_ATTRIB)\n")));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "SET_RW_ATTRIB");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short ro_attrib)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RO_ATTRIB) :\tCallback from AMI ")
- ACE_TEXT("(RO_ATTRIB) : answer <%u>\n"), ro_attrib));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "RO_ATTRIB");
- }
-
- extern "C" PRAGMAT_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_PragmaT_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender_exec.h
deleted file mode 100644
index 3356b1e4a6b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/Sender/PragmaT_Sender_exec.h
+++ /dev/null
@@ -1,184 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_PRAGMAT_SENDER_EXEC_JDPMZZ_H_
-#define CIAO_PRAGMAT_SENDER_EXEC_JDPMZZ_H_
-
-#include /**/ "ace/pre.h"
-
-#include "PragmaT_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "PragmaT_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_PragmaT_Sender_Impl
-{
- /// Common exception handlers
- void HandleException (
- long id,
- const char* error_string,
- const char* func);
-
- void HandleException (
- ::Messaging::ExceptionHolder * excep_holder,
- const char* func);
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::PragmaT::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::PragmaT::CCM_Sender_Context_var context_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::PragmaT::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::PragmaT::CCM_Sender_Context_var context_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- ::PragmaT::CCM_Sender_Context_var context_;
- asynch_foo_generator* asynch_foo_gen_;
- synch_foo_generator* synch_foo_gen_;
- //@}
-
- //@{
- /** User defined private operations. */
- private:
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::PragmaT::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- hello (
- ::CORBA::Long answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" PRAGMAT_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_PragmaT_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/PragmaT/descriptors/Plan.cdp
deleted file mode 100644
index af361bc6dea..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="PragmaT_ReceiverHomeImplementation">
- <name>PragmaT_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="PragmaT_Receiver_ExecArtifact"/>
- <artifact xmi:idref="PragmaT_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>PragmaT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>PragmaT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="PragmaT_SenderHomeImplementation">
- <name>PragmaT_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="PragmaT_Sender_ExecArtifact"/>
- <artifact xmi:idref="PragmaT_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>PragmaT.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>PragmaT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="PragmaT_AMIHomeImplementation">
- <name>PragmaT_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="PragmaT_AMI_ExecArtifact"/>
- <artifact xmi:idref="PragmaT_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>PragmaT.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>PragmaT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.Receiver">
- <name>PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="PragmaT_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.Sender">
- <name>PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="PragmaT_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.AMI">
- <name>PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="PragmaT_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="PragmaT.ComponentImplementations.PragmaTImplementation.PragmaT.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="PragmaT_AMI_SvntArtifact">
- <name>PragmaT.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>PragmaT_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="PragmaT_AMI_ExecArtifact">
- <name>PragmaT.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>PragmaT_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="PragmaT_Receiver_SvntArtifact">
- <name>PragmaT.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>PragmaT_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="PragmaT_Receiver_ExecArtifact">
- <name>PragmaT.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>PragmaT_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="PragmaT_Sender_SvntArtifact">
- <name>PragmaT.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>PragmaT_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="PragmaT_Sender_ExecArtifact">
- <name>PragmaT.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>PragmaT_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_PragmaT_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/PragmaT/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/PragmaT/descriptors/run_test.pl
deleted file mode 100755
index 479936299d4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/PragmaT/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 2;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior");
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 90 seconds to allow task to complete\n";
-sleep (90);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/.gitignore b/CIAO/connectors/ami4ccm/tests/SimplexMulti/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.idl b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.idl
deleted file mode 100644
index c54d0b5a533..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.idl
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef USESSM_IDL
-#define USESSM_IDL
-
-#pragma ciao lem "Base/UsesSME.idl"
-#pragma ciao ami4ccm interface "UsesSM::One"
-#pragma ciao ami4ccm interface "UsesSM::Two"
-#pragma ciao lem "Base/UsesSMAE.idl"
-//needed for uses multiple
-#pragma ciao ami4ccm idl "Base/UsesSMA.idl"
-
-module UsesSM
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interfaces
- interface One
- {
- long foo (in string in_str, in long cmd, out string answer)
- raises (InternalError);
- };
- interface Two
- {
- void bar (in long cmd, out string answer)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.mpc b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.mpc
deleted file mode 100644
index ec8b63e6789..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.mpc
+++ /dev/null
@@ -1,192 +0,0 @@
-project(AMI_UsesSM_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESSM_STUB_Export \
- -Wb,stub_export_include=UsesSM_stub_export.h \
- -Wb,skel_export_macro=USESSM_SKEL_Export \
- -Wb,skel_export_include=UsesSM_skel_export.h \
- -Wb,conn_export_macro=USESSM_CONN_Export \
- -Wb,conn_export_include=UsesSM_conn_export.h \
- -Wb,exec_export_macro=USESSM_EXEC_Export \
- -Wb,exec_export_include=UsesSM_exec_export.h \
- -I.. -GM -Gxhcn
-
-
- IDL_Files {
- UsesSM.idl
- }
-}
-
-project(AMI_UsesSM_lem_gen) : ciaoidldefaults {
- after += AMI_UsesSM_idl_gen AMI_UsesSM_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=USESSM_LEM_STUB_Export \
- -Wb,export_include=UsesSM_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- UsesSME.idl
- }
-}
-
-project(AMI_UsesSM_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_UsesSM_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESSM_STUB_Export \
- -Wb,stub_export_include=UsesSM_stub_export.h \
- -Wb,conn_export_macro=USESSM_CONN_Export \
- -Wb,conn_export_include=UsesSM_conn_export.h \
- -Wb,svnt_export_macro=USESSM_SVNT_Export \
- -Wb,svnt_export_include=UsesSM_svnt_export.h \
- -Wb,skel_export_macro=USESSM_SKEL_Export \
- -Wb,skel_export_include=UsesSM_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- UsesSMA.idl
- }
-}
-
-project(AMI_UsesSM_lemae_gen) : ciaoidldefaults {
- after += AMI_UsesSM_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESSM_LEM_STUB_Export \
- -Wb,stub_export_include=UsesSM_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- UsesSMAE.idl
- }
-}
-
-project(AMI_UsesSM_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_UsesSM_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = UsesSM_stub
- dynamicflags += USESSM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- UsesSMC.cpp
- UsesSMAC.cpp
- }
-
- Header_Files {
- UsesSMC.h
- UsesSM_stub_export.h
-}
-
- Inline_Files {
- UsesSMC.inl
- }
-}
-
-project(AMI_UsesSM_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_UsesSM_lem_gen AMI_UsesSM_stub AMI_UsesSM_lemae_gen AMI_UsesSM_skel
- libs += UsesSM_stub UsesSM_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = UsesSM_lem_stub
- dynamicflags += USESSM_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- UsesSMEC.cpp
- UsesSMAEC.cpp
- }
-
- Header_Files {
- UsesSMEC.h
- UsesSM_lem_stub_export.h
-}
-
- Inline_Files {
- UsesSMEC.inl
- }
-}
-
-project(AMI_UsesSM_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_UsesSM_stub
- sharedname = UsesSM_skel
- libs += UsesSM_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += USESSM_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- UsesSMS.cpp
- UsesSMAS.cpp
- }
-
- Header_Files {
- UsesSMS.h
-
- UsesSM_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_UsesSM_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_UsesSM_lem_stub UsesSM_Base_AMI_stub AMI_UsesSM_skel AMI_UsesSM_lema_gen AMI_UsesSM_lemae_gen
- sharedname = UsesSM_conn
- libs += UsesSM_stub UsesSM_skel UsesSM_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESSM_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSMA_conn.cpp
- }
-
- Header_Files {
- UsesSMA_conn.h
- UsesSM_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_UsesSM_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_UsesSM_lem_stub UsesSM_Base_AMI_stub AMI_UsesSM_skel AMI_UsesSM_lema_gen AMI_UsesSM_lemae_gen AMI_UsesSM_conn
- sharedname = UsesSM_svnt
- libs += UsesSM_stub UsesSM_skel UsesSM_lem_stub UsesSM_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESSM_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSMA_svnt.cpp
- }
-
- Header_Files {
- UsesSMA_svnt.h
- UsesSMA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver.idl b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver.idl
deleted file mode 100644
index b2133fdcb08..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver.idl
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef USESSM_RECEIVER_IDL
-#define USESSM_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/UsesSM.idl"
-
-module UsesSM
-{
- component Receiver
- {
- /// Provides
- provides One do_my_one;
- provides Two do_my_two;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver.mpc
deleted file mode 100644
index 5612bf116be..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p UsesSM_Base UsesSM_Receiver"
-
-project(AMI_UsesSM_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_UsesSM_idl_gen
- idlflags += -Wb,stub_export_macro=USESSM_RECEIVER_STUB_Export \
- -Wb,stub_export_include=UsesSM_Receiver_stub_export.h \
- -Wb,skel_export_macro=USESSM_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=UsesSM_Receiver_svnt_export.h \
- -Wb,exec_export_macro=USESSM_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=UsesSM_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- UsesSM_Receiver.idl
- }
-}
-
-project(AMI_UsesSM_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_UsesSM_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESSM_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=UsesSM_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- UsesSM_ReceiverE.idl
- }
-}
-
-project(AMI_UsesSM_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_UsesSM_Base_Receiver_lem_gen AMI_UsesSM_Base_Receiver_stub AMI_UsesSM_stub
- libs += UsesSM_stub UsesSM_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = UsesSM_Receiver_lem_stub
- dynamicflags += USESSM_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSM_ReceiverEC.cpp
- }
-
- Header_Files {
- UsesSM_ReceiverEC.h
- UsesSM_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- UsesSM_ReceiverEC.inl
- }
-}
-
-project(AMI_UsesSM_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_UsesSM_Base_Receiver_idl_gen AMI_UsesSM_stub
- libs += UsesSM_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = UsesSM_Receiver_stub
- dynamicflags += USESSM_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSM_ReceiverC.cpp
- }
-
- Header_Files {
- UsesSM_ReceiverC.h
- UsesSM_Receiver_stub_export.h
- }
-
- Inline_Files {
- UsesSM_ReceiverC.inl
- }
-}
-
-project(AMI_UsesSM_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_UsesSM_Base_Receiver_l_stub AMI_UsesSM_Base_Receiver_stub AMI_UsesSM_stub AMI_UsesSM_lem_stub
- sharedname = UsesSM_Receiver_exec
- libs += UsesSM_Receiver_stub UsesSM_Receiver_lem_stub UsesSM_stub UsesSM_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESSM_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSM_Receiver_exec.cpp
- }
-
- Header_Files {
- UsesSM_Receiver_exec.h
- UsesSM_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_UsesSM_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_UsesSM_Base_skel AMI_UsesSM_Base_Receiver_l_stub AMI_UsesSM_stub AMI_UsesSM_skel AMI_UsesSM_lem_stub
- sharedname = UsesSM_Receiver_svnt
- libs += UsesSM_Receiver_stub UsesSM_Receiver_lem_stub \
- UsesSM_skel \
- UsesSM_stub UsesSM_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESSM_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSM_ReceiverS.cpp
- UsesSM_Receiver_svnt.cpp
- }
-
- Header_Files {
- UsesSM_ReceiverS.h
- UsesSM_Receiver_svnt.h
- UsesSM_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver_exec.cpp
deleted file mode 100644
index 23cc4900c5f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver_exec.cpp
+++ /dev/null
@@ -1,230 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "UsesSM_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_UsesSM_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_one_exec_i
- */
-
- do_my_one_exec_i::do_my_one_exec_i (
- ::UsesSM::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &nr_of_one_received)
- : ciao_context_ (
- ::UsesSM::CCM_Receiver_Context::_duplicate (ctx)),
- nr_of_one_received_(nr_of_one_received)
- {
- }
-
- do_my_one_exec_i::~do_my_one_exec_i (void)
- {
- }
-
- // Operations from ::UsesSM::One
-
- ::CORBA::Long
- do_my_one_exec_i::foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- // sleep to make it possible to test asynchronous behavior.
- ACE_OS::sleep(2);
- ++this->nr_of_one_received_;
- answer = CORBA::string_dup (in_str);
- return cmd;
- }
-
- /**
- * Facet Executor Implementation Class: do_my_two_exec_i
- */
-
- do_my_two_exec_i::do_my_two_exec_i (
- ::UsesSM::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &nr_of_two_received)
- : ciao_context_ (
- ::UsesSM::CCM_Receiver_Context::_duplicate (ctx)),
- nr_of_two_received_(nr_of_two_received)
- {
- }
-
- do_my_two_exec_i::~do_my_two_exec_i (void)
- {
- }
-
- // Operations from ::UsesSM::Two
-
- void
- do_my_two_exec_i::bar (::CORBA::Long /* cmd */,
- ::CORBA::String_out answer)
- {
- ++this->nr_of_two_received_;
- answer = CORBA::string_dup ("answer TWO::bar");
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void)
- : nr_of_one_received_(0),
- nr_of_two_received_(0)
- {
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::UsesSM::CCM_One_ptr
- Receiver_exec_i::get_do_my_one (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_one_.in ()))
- {
- do_my_one_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_one_exec_i (
- this->ciao_context_.in (),
- this->nr_of_one_received_),
- ::UsesSM::CCM_One::_nil ());
-
- this->ciao_do_my_one_ = tmp;
- }
-
- return
- ::UsesSM::CCM_One::_duplicate (
- this->ciao_do_my_one_.in ());
- }
-
- ::UsesSM::CCM_Two_ptr
- Receiver_exec_i::get_do_my_two (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_two_.in ()))
- {
- do_my_two_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_two_exec_i (
- this->ciao_context_.in (),
- this->nr_of_two_received_),
- ::UsesSM::CCM_Two::_nil ());
-
- this->ciao_do_my_two_ = tmp;
- }
-
- return
- ::UsesSM::CCM_Two::_duplicate (
- this->ciao_do_my_two_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::UsesSM::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- //this receiver instance received my_one foo, or this is a receiver instance
- //that received my_two bar .
- if (((this->nr_of_one_received_.value() == 2) &&
- (this->nr_of_two_received_.value() == 0)) ||
- ((this->nr_of_two_received_.value() == 3) &&
- (this->nr_of_one_received_.value() == 0)))
- {
- if (this->nr_of_one_received_.value() == 2)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Receiver received the expected "
- "number of correct calls for foo (%u/2).\n",
- this->nr_of_one_received_.value()));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Receiver received the expected "
- "number of correct calls for bar (%u/3).\n",
- this->nr_of_two_received_.value()));
- }
- }
- else
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Receiver didn't receive the expected "
- "number of correct calls.\n"
- "Expected 2 calls for foo but received %u or \n"
- "Expected 3 calls for bar but received %u.\n",
- this->nr_of_one_received_.value(),
- this->nr_of_two_received_.value()));
-
- }
- }
-
- extern "C" USESSM_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_UsesSM_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver_exec.h
deleted file mode 100644
index 0ebd23dd9a3..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Receiver/UsesSM_Receiver_exec.h
+++ /dev/null
@@ -1,167 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_USESSM_RECEIVER_EXEC_ZOKDRU_H_
-#define CIAO_USESSM_RECEIVER_EXEC_ZOKDRU_H_
-
-#include /**/ "ace/pre.h"
-
-#include "UsesSM_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "UsesSM_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_UsesSM_Receiver_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /**
- * Provider Executor Implementation Class: do_my_one_exec_i
- */
-
- class do_my_one_exec_i
- : public virtual ::UsesSM::CCM_One,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_one_exec_i (
- ::UsesSM::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &nr_of_one_received);
- virtual ~do_my_one_exec_i (void);
-
- //@{
- /** Operations and attributes from UsesSM::One. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::UsesSM::CCM_Receiver_Context_var ciao_context_;
- Atomic_UShort &nr_of_one_received_;
-
- };
-
- /**
- * Provider Executor Implementation Class: do_my_two_exec_i
- */
-
- class do_my_two_exec_i
- : public virtual ::UsesSM::CCM_Two,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_two_exec_i (
- ::UsesSM::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &nr_of_two_received);
- virtual ~do_my_two_exec_i (void);
-
- //@{
- /** Operations and attributes from UsesSM::Two. */
-
- virtual
- void bar (::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::UsesSM::CCM_Receiver_Context_var ciao_context_;
- Atomic_UShort &nr_of_two_received_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::UsesSM::CCM_One_ptr
- get_do_my_one (void);
-
- virtual ::UsesSM::CCM_Two_ptr
- get_do_my_two (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::UsesSM::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::UsesSM::CCM_One_var ciao_do_my_one_;
- ::UsesSM::CCM_Two_var ciao_do_my_two_;
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_of_one_received_;
- Atomic_UShort nr_of_two_received_;
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" USESSM_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_UsesSM_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender.idl b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender.idl
deleted file mode 100644
index f084fdb7443..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender.idl
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef USESSM_SENDER_IDL
-#define USESSM_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/UsesSM.idl"
-
-#pragma ciao ami4ccm receptacle "UsesSM::Sender::run_my_um_one"
-#pragma ciao ami4ccm receptacle "UsesSM::Sender::run_my_two"
-#pragma ciao ami4ccm receptacle "UsesSM::Sender::s_run_my_um_one"
-#pragma ciao ami4ccm receptacle "UsesSM::Sender::m_run_my_two"
-
-module UsesSM
-{
- component Sender
- {
- /// For synchronous invocation
- uses multiple One run_my_um_one;
- uses Two run_my_two;
- uses One s_run_my_um_one;
- uses multiple Two m_run_my_two;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender.mpc b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender.mpc
deleted file mode 100644
index 7e47112496d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p UsesSM_Base UsesSM_Sender"
-
-project(AMI_UsesSM_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_UsesSM_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESSM_SENDER_STUB_Export \
- -Wb,stub_export_include=UsesSM_Sender_stub_export.h \
- -Wb,skel_export_macro=USESSM_SENDER_SVNT_Export \
- -Wb,skel_export_include=UsesSM_Sender_svnt_export.h \
- -Wb,exec_export_macro=USESSM_SENDER_EXEC_Export \
- -Wb,exec_export_include=UsesSM_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- UsesSM_Sender.idl
- }
-}
-
-project(AMI_UsesSM_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_UsesSM_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESSM_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=UsesSM_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- UsesSM_SenderE.idl
- }
-}
-
-project(AMI_UsesSM_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_UsesSM_Base_Sender_lem_gen AMI_UsesSM_stub AMI_UsesSM_Base_Sender_stub
- libs += UsesSM_stub UsesSM_Sender_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = UsesSM_Sender_lem_stub
- dynamicflags += USESSM_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSM_SenderEC.cpp
- }
-
- Header_Files {
- UsesSM_SenderEC.h
- UsesSM_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- UsesSM_SenderEC.inl
- }
-}
-
-project(AMI_UsesSM_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_UsesSM_Base_Sender_idl_gen AMI_UsesSM_Base_stub AMI_UsesSM_stub
- libs += UsesSM_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = UsesSM_Sender_stub
- dynamicflags += USESSM_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSM_SenderC.cpp
- }
-
- Header_Files {
- UsesSM_SenderC.h
- UsesSM_Sender_stub_export.h
- }
-
- Inline_Files {
- UsesSM_SenderC.inl
- }
-}
-
-project(AMI_UsesSM_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_UsesSM_Base_Sender_lem_stub AMI_UsesSM_Base_Sender_stub AMI_UsesSM_Base_exec AMI_UsesSM_lem_stub
- sharedname = UsesSM_Sender_exec
- libs += UsesSM_Sender_stub UsesSM_Sender_lem_stub UsesSM_stub UsesSM_stub UsesSM_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESSM_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSM_Sender_exec.cpp
- }
-
- Header_Files {
- UsesSM_Sender_exec.h
- UsesSM_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_UsesSM_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_UsesSM_Base_skel AMI_UsesSM_Base_Sender_lem_stub AMI_UsesSM_Base_Sender_stub AMI_UsesSM_Base_exec AMI_UsesSM_skel
- sharedname = UsesSM_Sender_svnt
- libs += UsesSM_Sender_stub UsesSM_Sender_lem_stub \
- UsesSM_skel \
- UsesSM_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESSM_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesSM_SenderS.cpp
- UsesSM_Sender_svnt.cpp
- }
-
- Header_Files {
- UsesSM_SenderS.h
- UsesSM_Sender_svnt.h
- UsesSM_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender_exec.cpp
deleted file mode 100644
index ace2ce02c67..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender_exec.cpp
+++ /dev/null
@@ -1,371 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "UsesSM_Sender_exec.h"
-
-namespace CIAO_UsesSM_Sender_Impl
-{
- CORBA::Boolean asynch = false;
-
- //============================================================
- // Worker thread for asynchronous invocations for One (multiple)
- // and Two (simplex)
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::UsesSM::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received,
- Atomic_UShort &nr_of_sent)
- : context_(::UsesSM::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received),
- nr_of_sent_(nr_of_sent)
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- // multiple
- ::UsesSM::Sender::sendc_run_my_um_oneConnections_var my_one_ami_ =
- context_->get_connections_sendc_run_my_um_one();
- // simplex
- ::UsesSM::AMI4CCM_Two_var my_two_ami_ =
- context_->get_connection_sendc_run_my_two();
-
- if (my_one_ami_->length () == 0)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (ASYNCH) :my_one_ami_ is NIL !\n"));
- return 1;
- }
- if (CORBA::is_nil (my_two_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (ASYNCH) :my_two_ami_ is NIL !\n"));
- return 1;
- }
- // Invoke Asynchronous calls to test
- for (CORBA::ULong i = 0; i < my_one_ami_->length (); ++i)
- {
- ::UsesSM::AMI4CCM_OneReplyHandler_var cb_one =
- new AMI4CCM_OneReplyHandler_run_my_um_one_i (
- this->nr_of_received_,
- this->nr_of_sent_);
-
- CORBA::String_var test;
- switch (i)
- {
- case 0:
- test = CORBA::string_dup ("Asynch. foo call one");
- break;
- case 1:
- test = CORBA::string_dup ("Asynch. foo call two");
- break;
- case 2:
- test = CORBA::string_dup ("Asynch. foo call three");
- break;
- default:
- break;
- }
- ++this->nr_of_sent_;
- my_one_ami_[i].objref->sendc_foo (cb_one.in (),
- test.in (),
- i);
- ACE_DEBUG ((LM_DEBUG, "Sender (ASYNCH) : send <%C> !\n",
- test.in ()));
- // There is more than 1 message sent, without receiving callbacks,
- // so it is asynchronous
- if (this->nr_of_sent_.value() > 1)
- {
- asynch = true;
- }
- ACE_DEBUG ((LM_DEBUG,
- "Sender (ASYNCH) : send asynch call bar <%u>!\n", i));
- ::UsesSM::AMI4CCM_TwoReplyHandler_var cb_two =
- new AMI4CCM_TwoReplyHandler_run_my_two_i (
- this->nr_of_received_);
- my_two_ami_->sendc_bar ( cb_two.in (), i);
- }
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for One
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::UsesSM::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::UsesSM::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_ (nr_of_received)
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ::UsesSM::Sender::run_my_um_oneConnections_var my_one_ami_ =
- context_->get_connections_run_my_um_one ();
-
- for(CORBA::ULong i = 0; i < my_one_ami_->length(); ++i)
- {
- CORBA::String_var test;
- switch (i)
- {
- case 0:
- test = CORBA::string_dup ("Synch. call 0.");
- break;
- case 1:
- test = CORBA::string_dup ("Synch. call 1");
- break;
- case 2:
- test = CORBA::string_dup ("Synch. call 2");
- break;
- default:
- break;
- }
-
- ACE_DEBUG ((LM_DEBUG,"Sender (SYNCH) : send <%C> !\n",
- test.in ()));
-
- CORBA::String_var answer;
- CORBA::ULong result = my_one_ami_[i].objref->foo( test,
- i,
- answer.out ());
- if (result != i)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (SYNCH) : CLASS One foo !\n"));
- }
- else
- {
- ++this->nr_of_received_;
- ACE_DEBUG ((LM_DEBUG,
- "Sender (SYNCH) : received answer = <%C> !\n",
- answer.in ()));
- }
- }
- return 0;
- }
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void) :
- synch_foo_gen(0),
- asynch_foo_gen(0),
- nr_of_received_(0),
- nr_of_sent_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::UsesSM::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_of_received_,
- this->nr_of_sent_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in (),
- this->nr_of_received_);
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (asynch == false)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: Uses multiple test not asynchronous!\n"));
- }
- if (this->nr_of_received_.value() != 9)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Did not get all callbacks from "
- "multiple ports."
- " Received = %u of 9\n",
- this->nr_of_received_.value()));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG,
- "OK: All messages received back by Sender\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
-
- AMI4CCM_OneReplyHandler_run_my_um_one_i::AMI4CCM_OneReplyHandler_run_my_um_one_i (
- Atomic_UShort &nr_of_received,
- Atomic_UShort &nr_of_sent)
- : nr_of_received_(nr_of_received),
- nr_of_sent_(nr_of_sent)
- {
- }
-
- AMI4CCM_OneReplyHandler_run_my_um_one_i::~AMI4CCM_OneReplyHandler_run_my_um_one_i (void)
- {
- }
-
- void
- AMI4CCM_OneReplyHandler_run_my_um_one_i::foo (
- ::CORBA::Long /* ami_return_val */,
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG, "Sender: Get asynchronous callback from foo,"
- " answer = <%C>\n",
- answer));
- ++this->nr_of_received_;
- --this->nr_of_sent_;
- }
-
- void
- AMI4CCM_OneReplyHandler_run_my_um_one_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- AMI4CCM_TwoReplyHandler_run_my_two_i::AMI4CCM_TwoReplyHandler_run_my_two_i (
- Atomic_UShort &nr_of_received)
- : nr_of_received_(nr_of_received)
- {
- }
-
- AMI4CCM_TwoReplyHandler_run_my_two_i::~AMI4CCM_TwoReplyHandler_run_my_two_i (void)
- {
- }
-
- void
- AMI4CCM_TwoReplyHandler_run_my_two_i::bar (
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG, "Sender: Get asynchronous callback from bar,"
- " answer = <%C>\n",
- answer));
- ++this->nr_of_received_;
- }
-
- void
- AMI4CCM_TwoReplyHandler_run_my_two_i::bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- AMI4CCM_OneReplyHandler_s_run_my_um_one_i::AMI4CCM_OneReplyHandler_s_run_my_um_one_i (void)
- {
- }
-
- AMI4CCM_OneReplyHandler_s_run_my_um_one_i::~AMI4CCM_OneReplyHandler_s_run_my_um_one_i (void)
- {
- }
-
- void
- AMI4CCM_OneReplyHandler_s_run_my_um_one_i::foo (
- ::CORBA::Long /* ami_return_val */,
- const char * /* answer */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_OneReplyHandler_s_run_my_um_one_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- AMI4CCM_TwoReplyHandler_m_run_my_two_i::AMI4CCM_TwoReplyHandler_m_run_my_two_i (void)
- {
- }
-
- AMI4CCM_TwoReplyHandler_m_run_my_two_i::~AMI4CCM_TwoReplyHandler_m_run_my_two_i (void)
- {
- }
-
- void
- AMI4CCM_TwoReplyHandler_m_run_my_two_i::bar (
- const char * /* answer */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_TwoReplyHandler_m_run_my_two_i::bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" USESSM_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_UsesSM_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender_exec.h
deleted file mode 100644
index 7593aba1d1a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/Sender/UsesSM_Sender_exec.h
+++ /dev/null
@@ -1,210 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_USESSM_SENDER_EXEC_U17LTA_H_
-#define CIAO_USESSM_SENDER_EXEC_U17LTA_H_
-
-#include /**/ "ace/pre.h"
-
-#include "UsesSM_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "UsesSM_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_UsesSM_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker threads for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::UsesSM::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received,
- Atomic_UShort &nr_of_sent);
- virtual int svc (void);
-
- private:
- ::UsesSM::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- Atomic_UShort &nr_of_sent_;
- };
-
- /// Worker threads for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::UsesSM::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received);
- virtual int svc (void);
-
- private:
- ::UsesSM::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::UsesSM::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- synch_foo_generator* synch_foo_gen;
- asynch_foo_generator* asynch_foo_gen;
- Atomic_UShort nr_of_received_;
- Atomic_UShort nr_of_sent_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
-
- class AMI4CCM_OneReplyHandler_run_my_um_one_i
- : public ::UsesSM::CCM_AMI4CCM_OneReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_OneReplyHandler_run_my_um_one_i (
- Atomic_UShort &nr_of_received_,
- Atomic_UShort &nr_of_sent_);
- virtual ~AMI4CCM_OneReplyHandler_run_my_um_one_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
- Atomic_UShort &nr_of_sent_;
-
- };
-
- class AMI4CCM_TwoReplyHandler_run_my_two_i
- : public ::UsesSM::CCM_AMI4CCM_TwoReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_TwoReplyHandler_run_my_two_i (Atomic_UShort &);
- virtual ~AMI4CCM_TwoReplyHandler_run_my_two_i (void);
-
- virtual void
- bar (
- const char * answer);
-
- virtual void
- bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
-
- };
-
- class AMI4CCM_OneReplyHandler_s_run_my_um_one_i
- : public ::UsesSM::CCM_AMI4CCM_OneReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_OneReplyHandler_s_run_my_um_one_i (void);
- virtual ~AMI4CCM_OneReplyHandler_s_run_my_um_one_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- class AMI4CCM_TwoReplyHandler_m_run_my_two_i
- : public ::UsesSM::CCM_AMI4CCM_TwoReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_TwoReplyHandler_m_run_my_two_i (void);
- virtual ~AMI4CCM_TwoReplyHandler_m_run_my_two_i (void);
-
- virtual void
- bar (
- const char * answer);
-
- virtual void
- bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" USESSM_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_UsesSM_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/SimplexMulti/descriptors/Plan.cdp
deleted file mode 100644
index d8d8cdc8939..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/descriptors/Plan.cdp
+++ /dev/null
@@ -1,697 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="UsesSM_ReceiverHomeImplementation">
- <name>UsesSM_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesSM_Receiver_ExecArtifact"/>
- <artifact xmi:idref="UsesSM_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesSM.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesSM.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="UsesSM_SenderHomeImplementation">
- <name>UsesSM_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesSM_Sender_ExecArtifact"/>
- <artifact xmi:idref="UsesSM_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesSM.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesSM.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
-<!-- conn one-->
- <implementation xmi:id="UsesSM_AMIOneHomeImplementation">
- <name>UsesSM_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesSM_AMIOne_ExecArtifact"/>
- <artifact xmi:idref="UsesSM_AMIOne_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI4CCM_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesSM.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesSM.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
- <implementation xmi:id="UsesSM_AMITwoHomeImplementation">
- <name>UsesSM_AMITwoHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesSM_AMITwo_ExecArtifact"/>
- <artifact xmi:idref="UsesSM_AMITwo_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI4CCM_Two_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesSM.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI4CCM_Two_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesSM.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverA">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverA</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesSM_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverB">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverB</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesSM_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverC">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverC</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesSM_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverS">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverS</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesSM_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesSM_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneA">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneA</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesSM_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneB">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneB</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesSM_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneC">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneC</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesSM_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMITwoS">
- <name>UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMITwoS</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesSM_AMITwoHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_one_connectionA</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneA" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_one_connectionB</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneB" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_one_connectionC</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneC" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_two_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_two</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMITwoS" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_one_connectionA</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverA" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneA" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_one_connectionB</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverB" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneB" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_one_connectionC</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverC" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMIOneC" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_two_connection</name>
- <internalEndpoint>
- <portName>do_my_two</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverS" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.AMITwoS" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_one_connectionA</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverA" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_one_connectionB</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverB" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_one_connectionC</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.ReceiverC" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesSM.ComponentImplementations.UsesSMImplementation.UsesSM.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="UsesSM_AMIOne_SvntArtifact">
- <name>UsesSM.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>UsesSM_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesSM_AMITwo_SvntArtifact">
- <name>UsesSM.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>UsesSM_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI4CCM_Two_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesSM_AMIOne_ExecArtifact">
- <name>UsesSM.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>UsesSM_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesSM_AMITwo_ExecArtifact">
- <name>UsesSM.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>UsesSM_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI_Two_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-
- <artifact xmi:id="UsesSM_Receiver_SvntArtifact">
- <name>UsesSM.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>UsesSM_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesSM_Receiver_ExecArtifact">
- <name>UsesSM.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>UsesSM_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesSM_Sender_SvntArtifact">
- <name>UsesSM.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>UsesSM_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesSM_Sender_ExecArtifact">
- <name>UsesSM.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>UsesSM_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesSM_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/SimplexMulti/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/SimplexMulti/descriptors/run_test.pl
deleted file mode 100755
index 7eda0bb9439..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SimplexMulti/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/Hello.idl b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/Hello.idl
deleted file mode 100644
index 9cc1ee019da..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/Hello.idl
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef HELLO_IDL
-#define HELLO_IDL
-
-#pragma ciao lem "Base/HelloE.idl"
-#pragma ami4ccm interface "Hello::MyFoo"
-#pragma ciao lem "Base/HelloAE.idl"
-#pragma ami4ccm idl "Base/HelloA.idl"
-
-module Hello
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in string in_str, out string answer)
- raises (InternalError);
- void hello (out long answer)
- raises (InternalError);
-
- attribute short rw_attrib
- getraises (InternalError)
- setraises (InternalError);
-
- readonly attribute short ro_attrib
- raises (InternalError);
- };
-};
-
-#endif
-
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/SyncPortConn.mpc b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/SyncPortConn.mpc
deleted file mode 100644
index 07c05fb9270..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/SyncPortConn.mpc
+++ /dev/null
@@ -1,190 +0,0 @@
-project(SyncPortCon_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_STUB_Export \
- -Wb,stub_export_include=Hello_stub_export.h \
- -Wb,skel_export_macro=HELLO_SKEL_Export \
- -Wb,skel_export_include=Hello_skel_export.h \
- -Wb,conn_export_macro=HELLO_CONN_Export \
- -Wb,conn_export_include=Hello_conn_export.h \
- -Wb,exec_export_macro=HELLO_EXEC_Export \
- -Wb,exec_export_include=Hello_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- Hello.idl
- }
-}
-
-project(SyncPortCon_lem_gen) : ciaoidldefaults {
- after += SyncPortCon_idl_gen SyncPortCon_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=HELLO_LEM_STUB_Export \
- -Wb,export_include=Hello_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- HelloE.idl
- }
-}
-
-project(SyncPortCon_lema_gen) : ciaoidldefaults {
- after += SyncPortCon_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_STUB_Export \
- -Wb,stub_export_include=Hello_stub_export.h \
- -Wb,conn_export_macro=HELLO_CONN_Export \
- -Wb,conn_export_include=Hello_conn_export.h \
- -Wb,svnt_export_macro=HELLO_SVNT_Export \
- -Wb,svnt_export_include=Hello_svnt_export.h \
- -Wb,skel_export_macro=HELLO_SKEL_Export \
- -Wb,skel_export_include=Hello_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- HelloA.idl
- }
-}
-
-project(SyncPortCon_lemae_gen) : ciaoidldefaults {
- after += SyncPortCon_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- HelloAE.idl
- }
-}
-
-project(SyncPortCon_stub) : ccm_stub, ami, ami4ccm_stub {
- after += SyncPortCon_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = Hello_stub
- dynamicflags += HELLO_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloC.cpp
- HelloAC.cpp
- }
-
- Header_Files {
- HelloC.h
- Hello_stub_export.h
-}
-
- Inline_Files {
- HelloC.inl
- }
-}
-
-project(SyncPortCon_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += SyncPortCon_lem_gen SyncPortCon_stub SyncPortCon_lemae_gen SyncPortCon_skel
- libs += Hello_stub Hello_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = Hello_lem_stub
- dynamicflags += HELLO_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloEC.cpp
- HelloAEC.cpp
- }
-
- Header_Files {
- HelloEC.h
- Hello_lem_stub_export.h
-}
-
- Inline_Files {
- HelloEC.inl
- }
-}
-
-project(SyncPortCon_skel) : ciao_executor, ami, ami4ccm_servant {
- after += SyncPortCon_stub
- sharedname = Hello_skel
- libs += Hello_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += HELLO_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- HelloS.cpp
- HelloAS.cpp
- }
-
- Header_Files {
- HelloS.h
- Hello_skel_export.h
- }
-
- Inline_Files {
- HelloS.inl
- }
-}
-
-project(SyncPortCon_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += SyncPortCon_lem_stub Hello_Base_AMIB_stub SyncPortCon_skel SyncPortCon_lema_gen SyncPortCon_lemae_gen
- sharedname = Hello_conn
- libs += Hello_stub Hello_skel Hello_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloA_conn.cpp
- }
-
- Header_Files {
- HelloA_conn.h
- Hello_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(SyncPortCon_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += SyncPortCon_lem_stub Hello_Base_AMIB_stub SyncPortCon_skel SyncPortCon_lema_gen SyncPortCon_lemae_gen SyncPortCon_conn
- sharedname = Hello_svnt
- libs += Hello_stub Hello_skel Hello_lem_stub Hello_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- HelloA_svnt.cpp
- }
-
- Header_Files {
- HelloA_svnt.h
- HelloA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver.idl b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver.idl
deleted file mode 100644
index f7f1ff0006b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef HELLO_RECEIVER_IDL
-#define HELLO_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/Hello.idl"
-
-module Hello
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver.mpc
deleted file mode 100644
index f8e8d96b975..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p Hello_Base Hello_Receiver"
-
-project(SPC_Base_Hello_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += SyncPortCon_idl_gen
- idlflags += -Wb,stub_export_macro=HELLO_RECEIVER_STUB_Export \
- -Wb,stub_export_include=Hello_Receiver_stub_export.h \
- -Wb,skel_export_macro=HELLO_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=Hello_Receiver_svnt_export.h \
- -Wb,exec_export_macro=HELLO_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=Hello_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- Hello_Receiver.idl
- }
-}
-
-project(SPC_Base_Hello_Receiver_lem_gen) : ciaoidldefaults {
- after += SPC_Base_Hello_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- Hello_ReceiverE.idl
- }
-}
-
-project(SPC_Base_Hello_Receiver_l_stub) : ccm_svnt, messaging {
- after += SPC_Base_Hello_Receiver_lem_gen SyncPortCon_Base_Hello_Receiver_stub SyncPortCon_stub
- libs += Hello_stub Hello_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Hello_Receiver_lem_stub
- dynamicflags += HELLO_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ReceiverEC.cpp
- }
-
- Header_Files {
- Hello_ReceiverEC.h
- Hello_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- Hello_ReceiverEC.inl
- }
-}
-
-project(SyncPortCon_Base_Hello_Receiver_stub) : ccm_stub, messaging {
- after += SPC_Base_Hello_Receiver_idl_gen SyncPortCon_stub
- libs += Hello_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Hello_Receiver_stub
- dynamicflags += HELLO_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ReceiverC.cpp
- }
-
- Header_Files {
- Hello_ReceiverC.h
- Hello_Receiver_stub_export.h
- }
-
- Inline_Files {
- Hello_ReceiverC.inl
- }
-}
-
-project(SyncPortCon_Base_Hello_Receiver_exec) : ciao_executor, messaging {
- after += SPC_Base_Hello_Receiver_l_stub SyncPortCon_Base_Hello_Receiver_stub SyncPortCon_stub SyncPortCon_lem_stub
- sharedname = Hello_Receiver_exec
- libs += Hello_Receiver_stub Hello_Receiver_lem_stub Hello_stub Hello_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_Receiver_exec.cpp
- }
-
- Header_Files {
- Hello_Receiver_exec.h
- Hello_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(SyncPortCon_Base_Hello_Receiver_svnt) : ciao_servant, messaging {
- after += SyncPortCon_Base_skel SPC_Base_Hello_Receiver_l_stub SyncPortCon_stub SyncPortCon_skel SyncPortCon_lem_stub
- sharedname = Hello_Receiver_svnt
- libs += Hello_Receiver_stub Hello_Receiver_lem_stub \
- Hello_skel \
- Hello_stub Hello_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_ReceiverS.cpp
- Hello_Receiver_svnt.cpp
- }
-
- Header_Files {
- Hello_ReceiverS.h
- Hello_Receiver_svnt.h
- Hello_Receiver_svnt_export.h
- }
-
- Inline_Files {
- Hello_ReceiverS.inl
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver_exec.cpp
deleted file mode 100644
index b764c189b0d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver_exec.cpp
+++ /dev/null
@@ -1,142 +0,0 @@
-// -*- C++ -*-
-#include "Hello_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_Hello_Receiver_Impl
-{
- MyFoo_exec_i::MyFoo_exec_i (
- ::Hello::CCM_Receiver_Context_ptr ctx)
- : ciao_context_ (
- ::Hello::CCM_Receiver_Context::_duplicate (ctx))
- {
- }
-
- MyFoo_exec_i::~MyFoo_exec_i (void)
- {
- }
-
- ::CORBA::Long
- MyFoo_exec_i::foo (const char * in_str, ::CORBA::String_out answer)
- {
- if (ACE_OS::strlen (in_str) == 0)
- {
- Hello::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = CORBA::string_dup ("This is my answer : Hi");
- return ACE_OS::rand () % 100;
- }
- }
-
- void
- MyFoo_exec_i::hello (::CORBA::Long_out answer)
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = ACE_OS::rand () % 100;
- }
-
- ::CORBA::Short
- MyFoo_exec_i::rw_attrib ()
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- return ACE_OS::rand () % 100;
- }
-
- void
- MyFoo_exec_i::rw_attrib (::CORBA::Short new_value)
- {
- if (new_value == 0)
- {
- Hello::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- }
- }
-
- CORBA::Short
- MyFoo_exec_i::ro_attrib ()
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- return ACE_OS::rand () % 100;
- }
-
- Receiver_exec_i::Receiver_exec_i (void)
- {
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- ::Hello::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- MyFoo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- MyFoo_exec_i (
- this->context_.in ()),
- ::Hello::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::Hello::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->context_ = ::Hello::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_Hello_AMI_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_RETURN (
- retval,
- Receiver_exec_i,
- ::Components::EnterpriseComponent::_nil ());
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver_exec.h
deleted file mode 100644
index 3193b13a9b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Receiver/Hello_Receiver_exec.h
+++ /dev/null
@@ -1,66 +0,0 @@
-// -*- C++ -*-
-#ifndef CIAO_HELLO_RECEIVER_EXEC_H_
-#define CIAO_HELLO_RECEIVER_EXEC_H_
-
-#include "Hello_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-#include "Hello_Receiver_exec_export.h"
-
-namespace CIAO_Hello_Receiver_Impl
-{
- class MyFoo_exec_i
- : public virtual ::Hello::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- MyFoo_exec_i (::Hello::CCM_Receiver_Context_ptr ctx);
- virtual ~MyFoo_exec_i (void);
-
- virtual ::CORBA::Long foo (const char * in_str, ::CORBA::String_out answer);
-
- virtual void hello (::CORBA::Long_out answer);
-
- virtual ::CORBA::Short rw_attrib ();
-
- virtual void rw_attrib (::CORBA::Short new_value);
-
- virtual CORBA::Short ro_attrib ();
- private:
- ::Hello::CCM_Receiver_Context_var ciao_context_;
- };
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- virtual ::Hello::CCM_MyFoo_ptr get_do_my_foo (void);
-
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete (void);
-
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
-
- private:
- ::Hello::CCM_Receiver_Context_var context_;
- ::Hello::CCM_MyFoo_var ciao_do_my_foo_;
-
- };
-
- extern "C" HELLO_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_AMI_Receiver_Impl (void);
-}
-
-#endif /* ifndef */
-
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender.idl b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender.idl
deleted file mode 100644
index d30c50afca0..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef HELLO_SENDER_IDL
-#define HELLO_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/Hello.idl"
-
-#pragma ciao ami4ccm receptacle "Hello::Sender::run_my_foo"
-
-module Hello
-{
- component Sender
- {
- /// For synchronous invocation
- uses MyFoo run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender.mpc b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender.mpc
deleted file mode 100644
index 62e1a3f0fb1..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender.mpc
+++ /dev/null
@@ -1,134 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p Hello_Base Hello_Sender"
-
-project(SyncPortCon_Base_Hello_Sender_idl_gen) : componentidldefaults {
- after += SyncPortCon_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_SENDER_STUB_Export \
- -Wb,stub_export_include=Hello_Sender_stub_export.h \
- -Wb,skel_export_macro=HELLO_SENDER_SVNT_Export \
- -Wb,skel_export_include=Hello_Sender_svnt_export.h \
- -Wb,exec_export_macro=HELLO_SENDER_EXEC_Export \
- -Wb,exec_export_include=Hello_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- Hello_Sender.idl
- }
-}
-
-project(SyncPortCon_Base_Hello_Sender_lem_gen) : ciaoidldefaults {
- after += SyncPortCon_Base_Hello_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- Hello_SenderE.idl
- }
-}
-
-project(SPC_Base_Hello_Sender_lem_stub) : ccm_svnt, ami {
- after += SyncPortCon_Base_Hello_Sender_lem_gen SyncPortCon_stub Conn_Hello_Base_stub
- libs += Hello_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Hello_Sender_lem_stub
- dynamicflags += HELLO_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_SenderEC.cpp
- }
-
- Header_Files {
- Hello_SenderEC.h
- Hello_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- Hello_SenderEC.inl
- }
-}
-
-project(SyncPortCon_Base_Hello_Sender_stub) : ccm_stub, ami {
- after += SyncPortCon_Base_Hello_Sender_idl_gen SyncPortCon_Base_stub SyncPortCon_stub Conn_Hello_Base_stub
- libs += Hello_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = Hello_Sender_stub
- dynamicflags += HELLO_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_SenderC.cpp
- }
-
- Header_Files {
- Hello_SenderC.h
- Hello_Sender_stub_export.h
- }
-
- Inline_Files {
- Hello_SenderC.inl
- }
-}
-
-project(SyncPortCon_Base_Hello_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += SPC_Base_Hello_Sender_lem_stub SyncPortCon_Base_Hello_Sender_stub SyncPortCon_Base_exec Conn_Hello_Base_stub SyncPortCon_lem_stub
- sharedname = Hello_Sender_exec
- libs += Hello_Sender_stub Hello_Sender_lem_stub Hello_stub Hello_stub Hello_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_Sender_exec.cpp
- }
-
- Header_Files {
- Hello_Sender_exec.h
- Hello_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(SyncPortCon_Base_Hello_Sender_svnt) : ciao_servant, ami {
- after += SyncPortCon_Base_skel SPC_Base_Hello_Sender_lem_stub SyncPortCon_Base_Hello_Sender_stub SyncPortCon_Base_exec SyncPortCon_skel
- sharedname = Hello_Sender_svnt
- libs += Hello_Sender_stub Hello_Sender_lem_stub \
- Hello_skel \
- Hello_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += HELLO_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- Hello_SenderS.cpp
- Hello_Sender_svnt.cpp
- }
-
- Header_Files {
- Hello_SenderS.h
- Hello_Sender_svnt.h
- Hello_Sender_svnt_export.h
- }
-
- Inline_Files {
- Hello_SenderS.inl
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender_exec.cpp
deleted file mode 100644
index 6ac11387a25..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender_exec.cpp
+++ /dev/null
@@ -1,400 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Hello_Sender_exec.h"
-
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_Hello_Sender_Impl
-{
- void HandleException (
- long id,
- const char* error_string,
- const char* func)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (%C) :\tCallback except from AMI.\n"),
- func));
- if (id != 42)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR (%C) :\tReceived unexpected ID received")
- ACE_TEXT(" in except handler.\n"),
- func));
- return;
- }
- if (ACE_OS::strcmp (error_string, "Hello world") != 0)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR (%C) :\tReceived unexpected error string")
- ACE_TEXT(" received in except handler.\n"),
- func));
- return;
- }
- }
-
- void HandleException (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder,
- const char* func)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (%C) :\tHandle except AMI\n"), func));
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender: Caught the correct except type")
- ACE_TEXT(" <%u> <%C>\n"),
- ex.id, ex.error_string.in ()));
- HandleException (ex.id, ex.error_string.in (), func);
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- }
- }
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::Hello::CCM_Sender_Context_ptr context)
- : context_(::Hello::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::Hello::AMI4CCM_MyFoo_var my_foo_ami_ =
- context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR Sender (ASYNCH) :")
- ACE_TEXT("\tfoo_ami is NIL !!!\n")));
- return 1;
- }
- ::Hello::CCM_AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i ();
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :")
- ACE_TEXT("\tInvoke Asynchronous calls\n")));
- my_foo_ami_->sendc_foo (cb.in (),
- "Do something asynchronous");
- my_foo_ami_->sendc_hello (cb.in ());
- my_foo_ami_->sendc_get_rw_attrib(cb.in ());
- my_foo_ami_->sendc_set_rw_attrib(cb.in (), 15);
- my_foo_ami_->sendc_get_ro_attrib(cb.in ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked Asynchronous calls\n")));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoke Asynchronous calls ")
- ACE_TEXT("to test except handling\n")));
- my_foo_ami_->sendc_foo (cb.in (), "");
- my_foo_ami_->sendc_set_rw_attrib(cb.in (), 0);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked Asynchronous call.\n")));
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::Hello::CCM_Sender_Context_ptr context)
- : context_(::Hello::CCM_Sender_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (3);
- ::Hello::MyFoo_var my_foo_ami_ =
- context_->get_connection_run_my_foo ();
-
- //run synch calls
- CORBA::String_var out_str;
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- out_str.out ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call (FOO)")
- ACE_TEXT(" result <%u> answer <%C>\n"), result, out_str.in ()));
-
- CORBA::Long answer;
- my_foo_ami_->hello (answer);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(HELLO) answer <%u>\n"), answer));
- try
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH) :\tInvoke synchronous call foo, expect exception \n")));
-
- CORBA::Long result = my_foo_ami_->foo ("", out_str.out ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("ERROR : Sender (SYNCH):\tInvoked synchronous call (FOO)")
- ACE_TEXT(" result <%u> answer <%C>\n"), result, out_str.in ()));
-
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH FOO) :\tExpected Except caught : ")
- ACE_TEXT("<%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- try
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call rw_attrib\n")));
-
- CORBA::Short rw_attrib = my_foo_ami_->rw_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call rw_attrib ")
- ACE_TEXT("(GET_RW_ATTRIB) answer <%u>\n"), rw_attrib));
-
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("ERROR:Sender (SYNCH FOO) :\tUnexpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
-
- try
- {
- my_foo_ami_->rw_attrib (15);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(SET_RW_ATTRIB) to <15>\n")));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("ERROR:Sender (SYNCH FOO) :\tUnexpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
-
- try
- {
- CORBA::Short ro_attrib = my_foo_ami_->ro_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(GET_RO_ATTRIB) answer <%u>\n"), ro_attrib));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("ERROR: Sender (SYNCH FOO) :\tUnexpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- try
- {
- my_foo_ami_->rw_attrib (0);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH) :\tInvoked synchronous call rw_attrib\n")));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH RW_ATTRIB) :\tExpected Except caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- catch (const CORBA::Exception& ex)
- {
- ex._tao_print_exception ("ERROR: Caught unexpected except:");
- }
- return 0;
- }
-
- //============================================================
- // Component Executor Implementation Class: Sender_exec_i
- //============================================================
- Sender_exec_i::Sender_exec_i (void) :
- asynch_foo_gen_ (0),
- synch_foo_gen_ (0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes.
-
- // Port operations.
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->context_ =
- ::Hello::CCM_Sender_Context::_narrow (ctx);
- if ( ::CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen_ =
- new asynch_foo_generator (this->context_.in ());
- this->asynch_foo_gen_->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- this->synch_foo_gen_ =
- new synch_foo_generator (this->context_.in());
- this->synch_foo_gen_->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- delete this->asynch_foo_gen_;
- this->asynch_foo_gen_ = 0;
- delete this->synch_foo_gen_;
- this->synch_foo_gen_ = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (FOO) :\tCallback from AMI: result <%u> ")
- ACE_TEXT("answer <%C>\n"), ami_return_val, answer));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "FOO");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello (
- ::CORBA::Long answer)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (FOO) :\tCallback from AMI (HELLO) :")
- ACE_TEXT(" answer <%u>\n"), answer));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "HELLO");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short ami_return_val)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RW_ATTRIB) :\tCallback from AMI (RW_ATTRIB):")
- ACE_TEXT(" answer <%u>\n"), ami_return_val));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "GET RW_ATTRIB");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RW_ATTRIB) :\tCallback from ")
- ACE_TEXT("AMI (RW_ATTRIB)\n")));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "SET_RW_ATTRIB");
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short ro_attrib)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (RO_ATTRIB) :\tCallback from AMI ")
- ACE_TEXT("(RO_ATTRIB) : answer <%u>\n"), ro_attrib));
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- HandleException (excep_holder, "RO_ATTRIB");
- }
-
- extern "C" HELLO_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender_exec.h
deleted file mode 100644
index 96bc8ed84b5..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/Sender/Hello_Sender_exec.h
+++ /dev/null
@@ -1,186 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_HELLO_SENDER_EXEC_JDPMZZ_H_
-#define CIAO_HELLO_SENDER_EXEC_JDPMZZ_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Hello_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "Hello_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_Hello_Sender_Impl
-{
- /// Common exception handlers
- void HandleException (
- long id,
- const char* error_string,
- const char* func);
-
- void HandleException (
- ::Messaging::ExceptionHolder * excep_holder,
- const char* func);
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::Hello::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Hello::CCM_Sender_Context_var context_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::Hello::CCM_Sender_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Hello::CCM_Sender_Context_var context_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
- private:
- ::Hello::CCM_Sender_Context_var context_;
- asynch_foo_generator* asynch_foo_gen_;
- synch_foo_generator* synch_foo_gen_;
-
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::Hello::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- hello (
- ::CORBA::Long answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" HELLO_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/Plan.cdp
deleted file mode 100644
index c74d507a752..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/Plan.cdp
+++ /dev/null
@@ -1,394 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="Hello_ReceiverHomeImplementation">
- <name>Hello_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Receiver_ExecArtifact"/>
- <artifact xmi:idref="Hello_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_SenderHomeImplementation">
- <name>Hello_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Sender_ExecArtifact"/>
- <artifact xmi:idref="Hello_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_AMIHomeImplementation">
- <name>Hello_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_AMI_ExecArtifact"/>
- <artifact xmi:idref="Hello_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="Hello_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <!--connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- </connection-->
-
- <connection>
- <name>run_synch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="Hello_AMI_SvntArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Hello_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_AMI_ExecArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Hello_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_SvntArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>Hello_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_ExecArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>Hello_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_SvntArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>Hello_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_ExecArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>Hello_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/Plan_no_sync_amiconn.cdp b/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/Plan_no_sync_amiconn.cdp
deleted file mode 100644
index 5e4a63db65e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/Plan_no_sync_amiconn.cdp
+++ /dev/null
@@ -1,394 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="Hello_ReceiverHomeImplementation">
- <name>Hello_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Receiver_ExecArtifact"/>
- <artifact xmi:idref="Hello_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_SenderHomeImplementation">
- <name>Hello_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Sender_ExecArtifact"/>
- <artifact xmi:idref="Hello_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_AMIHomeImplementation">
- <name>Hello_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_AMI_ExecArtifact"/>
- <artifact xmi:idref="Hello_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="Hello_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- </connection>
-
- <!--connection>
- <name>run_synch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection-->
-
- <artifact xmi:id="Hello_AMI_SvntArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Hello_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_AMI_ExecArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Hello_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_SvntArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>Hello_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_ExecArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>Hello_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_SvntArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>Hello_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_ExecArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>Hello_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/run_test.pl
deleted file mode 100755
index 69b9341ae7c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/SyncPortConn/descriptors/run_test.pl
+++ /dev/null
@@ -1,264 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-#$ENV{'DANCE_LOG_LEVEL'}=9;
-#$ENV{'CIAO_LOG_LEVEL'}=10;
-#$ENV{'DANCE_TRACE_ENABLE'}=1;
-#$ENV{'CIAO_TRACE_ENABLE'}=1;
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 2;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior");
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-if ($#ARGV == -1) {
- opendir(DIR, ".");
- @files = grep(/\.cdp$/,readdir(DIR));
- closedir(DIR);
-}
-else {
- @files = @ARGV;
-}
-
-create_targets ();
-init_ior_files ();
-
-foreach $file (@files) {
- print "+++++++++++++++++++++++++++++++++++++++++++++++++++\nStarting test for deployment $file\n======================================================\n";
-
- # Invoke naming service
-
- $NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
- print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
- $ns_status = $NS->Spawn ();
-
- if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
- }
-
- if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
- }
-
- $ns_running = 1;
- # Set up NamingService environment
- $ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
- # Invoke node daemon.
- print "Invoking node daemon\n";
- $status = run_node_daemons ();
-
- if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
- }
-
- $daemons_running = 1;
-
- # Invoke execution manager.
- print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
- $EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
- $em_status = $EM->Spawn ();
-
- if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
- }
-
- if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-
- $em_running = 1;
-
- # Invoke executor - start the application -.
- print "Invoking executor - launch the application -\n";
-
- print "Start dance_plan_launcher.exe with -x $file -k file://$ior_emfile\n";
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $file -k file://$ior_emfile");
-
- $pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
-
- for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
- }
-
- print "Sleeping 15 seconds to allow task to complete\n";
- sleep (15);
-
- # Invoke executor - stop the application -.
- print "Invoking executor - stop the application -\n";
- print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $file -s");
- $pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- # exit 1;
- }
- delete_ior_files ();
- kill_open_processes ();
- # Sleep for a couple seconds to make sure everything has a chance to shut down.
- sleep 5;
-}
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp.idl b/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp.idl
deleted file mode 100644
index 2c7ec8b2940..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp.idl
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef THREECOMP_IDL
-#define THREECOMP_IDL
-
-#pragma ciao lem "Base/ThreeCompE.idl"
-#pragma ciao ami4ccm interface "ThreeComp::MyFoo"
-#pragma ciao ami4ccm interface "ThreeComp::State"
-#pragma ciao lem "Base/ThreeCompAE.idl"
-#pragma ciao ami4ccm idl "Base/ThreeCompA.idl"
-
-
-module ThreeComp
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interface
- interface MyFoo
- {
- long foo (in long cmd, out string answer)
- raises (InternalError);
- };
- // Master/Sender interface
- interface State
- {
- long bar (in long cmd, out string answer)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp.mpc b/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp.mpc
deleted file mode 100644
index bec7c29c3a4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp.mpc
+++ /dev/null
@@ -1,216 +0,0 @@
-project(AMI_ThreeComp_no_ami_dl_gen) : componentidldefaults {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_STUB_Export \
- -Wb,stub_export_include=ThreeComp_stub_export.h \
- -Wb,skel_export_macro=THREECOMP_SKEL_Export \
- -Wb,skel_export_include=ThreeComp_skel_export.h \
- -Wb,conn_export_macro=THREECOMP_CONN_Export \
- -Wb,conn_export_include=ThreeComp_conn_export.h \
- -Wb,exec_export_macro=THREECOMP_EXEC_Export \
- -Wb,exec_export_include=ThreeComp_exec_export.h \
- -I..
-
- IDL_Files {
- ThreeComp_no_ami.idl
- }
-}
-project(AMI_ThreeComp_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_STUB_Export \
- -Wb,stub_export_include=ThreeComp_stub_export.h \
- -Wb,skel_export_macro=THREECOMP_SKEL_Export \
- -Wb,skel_export_include=ThreeComp_skel_export.h \
- -Wb,conn_export_macro=THREECOMP_CONN_Export \
- -Wb,conn_export_include=ThreeComp_conn_export.h \
- -Wb,exec_export_macro=THREECOMP_EXEC_Export \
- -Wb,exec_export_include=ThreeComp_exec_export.h \
- -I.. -GM -Gxhcn
-
- IDL_Files {
- ThreeComp.idl
- }
-}
-
-project(AMI_ThreeComp_lem_gen) : ciaoidldefaults {
- after += AMI_ThreeComp_idl_gen AMI_ThreeComp_lema_gen AMI_ThreeComp_no_ami_dl_gen
- custom_only = 1
- idlflags += -Wb,export_macro=THREECOMP_LEM_STUB_Export \
- -Wb,export_include=ThreeComp_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- ThreeCompE.idl
- ThreeComp_no_amiE.idl
- }
-}
-
-project(AMI_ThreeComp_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_ThreeComp_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_STUB_Export \
- -Wb,stub_export_include=ThreeComp_stub_export.h \
- -Wb,conn_export_macro=THREECOMP_CONN_Export \
- -Wb,conn_export_include=ThreeComp_conn_export.h \
- -Wb,svnt_export_macro=THREECOMP_SVNT_Export \
- -Wb,svnt_export_include=ThreeComp_svnt_export.h \
- -Wb,skel_export_macro=THREECOMP_SKEL_Export \
- -Wb,skel_export_include=ThreeComp_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- ThreeCompA.idl
- }
-}
-
-project(AMI_ThreeComp_lemae_gen) : ciaoidldefaults {
- after += AMI_ThreeComp_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_LEM_STUB_Export \
- -Wb,stub_export_include=ThreeComp_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- ThreeCompAE.idl
- }
-}
-
-project(AMI_ThreeComp_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_ThreeComp_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = ThreeComp_stub
- dynamicflags += THREECOMP_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ThreeCompC.cpp
- ThreeCompAC.cpp
- ThreeComp_no_amiC.cpp
- }
-
- Header_Files {
- ThreeCompC.h
- ThreeComp_stub_export.h
- ThreeComp_no_amiC.h
-}
-
- Inline_Files {
- ThreeCompC.inl
- ThreeComp_no_amiC.inl
- }
-}
-
-project(AMI_ThreeComp_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_ThreeComp_lem_gen AMI_ThreeComp_stub AMI_ThreeComp_lemae_gen AMI_ThreeComp_skel
- libs += ThreeComp_stub ThreeComp_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = ThreeComp_lem_stub
- dynamicflags += THREECOMP_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ThreeCompEC.cpp
- ThreeCompAEC.cpp
- ThreeComp_no_amiEC.cpp
- }
-
- Header_Files {
- ThreeCompEC.h
- ThreeComp_lem_stub_export.h
- ThreeComp_no_amiEC.h
-}
-
- Inline_Files {
- ThreeCompEC.inl
- ThreeComp_no_amiEC.inl
- }
-}
-
-project(AMI_ThreeComp_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_ThreeComp_stub
- sharedname = ThreeComp_skel
- libs += ThreeComp_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += THREECOMP_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ThreeCompS.cpp
- ThreeCompAS.cpp
- ThreeComp_no_amiS.cpp
- }
-
- Header_Files {
- ThreeCompS.h
- ThreeComp_no_amiS.h
-
- ThreeComp_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_ThreeComp_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_ThreeComp_lem_stub ThreeComp_Base_AMI_stub AMI_ThreeComp_skel AMI_ThreeComp_lema_gen AMI_ThreeComp_lemae_gen
- sharedname = ThreeComp_conn
- libs += ThreeComp_stub ThreeComp_skel ThreeComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += THREECOMP_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeCompA_conn.cpp
- }
-
- Header_Files {
- ThreeCompA_conn.h
- ThreeComp_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_ThreeComp_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_ThreeComp_lem_stub ThreeComp_Base_AMI_stub AMI_ThreeComp_skel AMI_ThreeComp_lema_gen AMI_ThreeComp_lemae_gen AMI_ThreeComp_conn
- sharedname = ThreeComp_svnt
- libs += ThreeComp_stub ThreeComp_skel ThreeComp_lem_stub ThreeComp_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += THREECOMP_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeCompA_svnt.cpp
- }
-
- Header_Files {
- ThreeCompA_svnt.h
- ThreeCompA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp_no_ami.idl b/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp_no_ami.idl
deleted file mode 100644
index 702224cc6b2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Base/ThreeComp_no_ami.idl
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef THREECOMP_NO_AMI_IDL
-#define THREECOMP_NO_AMI_IDL
-
-#pragma ciao lem "Base/ThreeComp_no_amiE.idl"
-
-module ThreeComp
-{
- // test with no ciao ami4ccm interface, no pragma, see above
- interface MyBar
- {
- long testbar (in long cmd, out string answer);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master.idl b/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master.idl
deleted file mode 100644
index d8db5d6e2d4..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef THREECOMP_MASTER_IDL
-#define THREECOMP_MASTER_IDL
-
-#include <Components.idl>
-
-#include "Base/ThreeComp.idl"
-
-#pragma ciao ami4ccm receptacle "ThreeComp::Master::run_my_state"
-
-module ThreeComp
-{
- component Master
- {
- /// For synchronous invocation
- uses State run_my_state;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master.mpc b/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master.mpc
deleted file mode 100644
index ab86da6e178..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p ThreeComp_Base ThreeComp_Master"
-
-project(AMI_ThreeComp_Base_Master_idl_gen) : componentidldefaults {
- after += AMI_ThreeComp_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_MASTER_STUB_Export \
- -Wb,stub_export_include=ThreeComp_Master_stub_export.h \
- -Wb,skel_export_macro=THREECOMP_MASTER_SVNT_Export \
- -Wb,skel_export_include=ThreeComp_Master_svnt_export.h \
- -Wb,exec_export_macro=THREECOMP_MASTER_EXEC_Export \
- -Wb,exec_export_include=ThreeComp_Master_exec_export.h \
- -I.. -GC
- IDL_Files {
- ThreeComp_Master.idl
- }
-}
-
-project(AMI_ThreeComp_Base_Master_lem_gen) : ciaoidldefaults {
- after += AMI_ThreeComp_Base_Master_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_MASTER_LEM_STUB_Export \
- -Wb,stub_export_include=ThreeComp_Master_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- ThreeComp_MasterE.idl
- }
-}
-
-project(AMI_ThreeComp_Base_Master_lem_stub) : ccm_svnt, ami {
- after += AMI_ThreeComp_Base_Master_lem_gen AMI_ThreeComp_stub Conn_ThreeComp_Base_stub
- libs += ThreeComp_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ThreeComp_Master_lem_stub
- dynamicflags += THREECOMP_MASTER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_MasterEC.cpp
- }
-
- Header_Files {
- ThreeComp_MasterEC.h
- ThreeComp_Master_lem_stub_export.h
- }
-
- Inline_Files {
- ThreeComp_MasterEC.inl
- }
-}
-
-project(AMI_ThreeComp_Base_Master_stub) : ccm_stub, ami {
- after += AMI_ThreeComp_Base_Master_idl_gen AMI_ThreeComp_Base_stub AMI_ThreeComp_stub Conn_ThreeComp_Base_stub
- libs += ThreeComp_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ThreeComp_Master_stub
- dynamicflags += THREECOMP_MASTER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_MasterC.cpp
- }
-
- Header_Files {
- ThreeComp_MasterC.h
- ThreeComp_Master_stub_export.h
- }
-
- Inline_Files {
- ThreeComp_MasterC.inl
- }
-}
-
-project(AMI_ThreeComp_Base_Master_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_ThreeComp_Base_Master_lem_stub AMI_ThreeComp_Base_Master_stub AMI_ThreeComp_Base_exec Conn_ThreeComp_Base_stub AMI_ThreeComp_lem_stub
- sharedname = ThreeComp_Master_exec
- libs += ThreeComp_Master_stub ThreeComp_Master_lem_stub ThreeComp_stub ThreeComp_stub ThreeComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += THREECOMP_MASTER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_Master_exec.cpp
- }
-
- Header_Files {
- ThreeComp_Master_exec.h
- ThreeComp_Master_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_ThreeComp_Base_Master_svnt) : ciao_servant, ami {
- after += AMI_ThreeComp_Base_skel AMI_ThreeComp_Base_Master_lem_stub AMI_ThreeComp_Base_Master_stub AMI_ThreeComp_Base_exec AMI_ThreeComp_skel
- sharedname = ThreeComp_Master_svnt
- libs += ThreeComp_Master_stub ThreeComp_Master_lem_stub \
- ThreeComp_skel \
- ThreeComp_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += THREECOMP_MASTER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_MasterS.cpp
- ThreeComp_Master_svnt.cpp
- }
-
- Header_Files {
- ThreeComp_MasterS.h
- ThreeComp_Master_svnt.h
- ThreeComp_Master_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master_exec.cpp b/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master_exec.cpp
deleted file mode 100644
index 1f8a20e7b47..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master_exec.cpp
+++ /dev/null
@@ -1,252 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "ThreeComp_Master_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-
-namespace CIAO_ThreeComp_Master_Impl
-{
- CORBA::Boolean asynch = false;
- //============================================================
- // Worker thread for asynchronous invocations for State
- //============================================================
- asynch_state_generator::asynch_state_generator (
- ::ThreeComp::CCM_Master_Context_ptr context,
- Atomic_UShort &nr_of_rec,
- Atomic_UShort &nr_of_sent)
- : context_(::ThreeComp::CCM_Master_Context::_duplicate (context)),
- nr_of_rec_(nr_of_rec),
- nr_of_sent_(nr_of_sent)
- {
- }
-
- int asynch_state_generator::svc ()
- {
- ::ThreeComp::AMI4CCM_State_var my_state_ami_ =
- context_->get_connection_sendc_run_my_state();
-
- ACE_OS::sleep(2);
- ::ThreeComp::AMI4CCM_StateReplyHandler_var cb =
- new AMI4CCM_StateReplyHandler_run_my_state_i (
- this->nr_of_rec_,
- this->nr_of_sent_);
-
- if (CORBA::is_nil (my_state_ami_))
- {
- ACE_ERROR ((LM_ERROR, "ERROR Master (ASYNCH) :"
- "\tstate_ami is NIL !\n"));
- return 1;
- }
- //Invoke Asynchronous calls to test
-
- for (int i = 0; i < 3; i ++)
- {
- ++this->nr_of_sent_;
- my_state_ami_->sendc_bar ( cb.in(), 1);
- ACE_DEBUG ((LM_DEBUG, "OK: Master sends ASYNCHRONOUS call to Sender.\n"));
- }
- //there is more than 1 message sent, without receiving callbacks,
- //so it is asynchronous
- if (this->nr_of_sent_.value() > 1)
- {
- asynch = true;
- }
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for State
- //============================================================
- synch_state_generator::synch_state_generator (
- ::ThreeComp::CCM_Master_Context_ptr context)
- : context_(::ThreeComp::CCM_Master_Context::_duplicate (context))
- {
- }
-
- int synch_state_generator::svc ()
- {
- ::ThreeComp::State_var my_state_ami_ =
- context_->get_connection_run_my_state ();
-
- ACE_OS::sleep(1);
- CORBA::Boolean wait = false;
- for (int i = 0; i < 3; ++i)
- {
- // Run some synch calls, answer has to come before the next step.
- CORBA::String_var answer;
- ::CORBA::Long ret = 0;
- try
- {
- if ( wait==true)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: NOT RECEIVED SYNCHRONOUS answer.\n"));
- }
- wait = true;
- ACE_DEBUG ((LM_DEBUG, "OK: Master send SYNCHRONOUS call to Sender.\n"));
- ret = my_state_ami_->bar (2,answer.out());
- if (ret == 2)
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Master received SYNCHRONOUS answer from Sender <%C>\n",
- answer.in ()));
- wait = false;
- }
- }
- catch (const ThreeComp::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_state_generator::state: "
- "Unexpected exception.\n"));
- }
- }
- return 0;
- }
- /**
- * Component Executor Implementation Class: Master_exec_i
- */
-
- Master_exec_i::Master_exec_i (void)
- : asynch_state_gen(0),
- synch_state_gen(0),
- nr_of_rec_ (0),
- nr_of_sent_(0)
- {
- }
-
- Master_exec_i::~Master_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Master_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::ThreeComp::CCM_Master_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Master_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Master_exec_i::ccm_activate (void)
- {
- this->asynch_state_gen =
- new asynch_state_generator (this->ciao_context_.in (),
- this->nr_of_rec_,
- this->nr_of_sent_);
- this->asynch_state_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_state_gen =
- new synch_state_generator (this->ciao_context_.in());
- this->synch_state_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Master_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Master_exec_i::ccm_remove (void)
- {
- if ((asynch == false) || (this->nr_of_rec_.value() != 3))
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: Test not asynchronous or not received back"
- " all requests ( %u/3)!\n",
- this->nr_of_rec_.value() ));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Test Master.\n"));
- }
- delete this->asynch_state_gen;
- this->asynch_state_gen = 0;
- delete this->synch_state_gen;
- this->synch_state_gen = 0;
- }
-
- AMI4CCM_StateReplyHandler_run_my_state_i::AMI4CCM_StateReplyHandler_run_my_state_i (
- Atomic_UShort &nr_of_rec,
- Atomic_UShort &nr_of_sent)
- : nr_of_rec_(nr_of_rec),
- nr_of_sent_(nr_of_sent)
- {
- }
-
- AMI4CCM_StateReplyHandler_run_my_state_i::~AMI4CCM_StateReplyHandler_run_my_state_i (void)
- {
- }
-
- void
- AMI4CCM_StateReplyHandler_run_my_state_i::bar (
- ::CORBA::Long ami_return_val,
- const char * answer)
- {
- if (ami_return_val == 1)
- {
- ++this->nr_of_rec_;
- --this->nr_of_sent_;
- ACE_DEBUG ((LM_DEBUG, "OK: Master get ASYNCHRONOUS callback "
- "from Sender: <%C>.\n",
- answer));
- }
- }
-
- void
- AMI4CCM_StateReplyHandler_run_my_state_i::bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" THREECOMP_MASTER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ThreeComp_Master_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Master_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master_exec.h b/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master_exec.h
deleted file mode 100644
index 20f8136f722..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Master/ThreeComp_Master_exec.h
+++ /dev/null
@@ -1,152 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_THREECOMP_MASTER_EXEC_0MCF2C_H_
-#define CIAO_THREECOMP_MASTER_EXEC_0MCF2C_H_
-
-#include /**/ "ace/pre.h"
-
-#include "ThreeComp_MasterEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "ThreeComp_Master_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_ThreeComp_Master_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker thread for asynchronous invocations
- class asynch_state_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_state_generator (::ThreeComp::CCM_Master_Context_ptr context,
- Atomic_UShort &nr_of_rec,
- Atomic_UShort &nr_of_sent);
-
- virtual int svc (void);
-
- private:
- ::ThreeComp::CCM_Master_Context_var context_;
- Atomic_UShort &nr_of_rec_;
- Atomic_UShort &nr_of_sent_;
-
- };
-
- /// Worker thread for synchronous invocations
- class synch_state_generator : public virtual ACE_Task_Base
- {
- public:
- synch_state_generator (::ThreeComp::CCM_Master_Context_ptr context);
- virtual int svc (void);
-
- private:
- ::ThreeComp::CCM_Master_Context_var context_;
- };
- /*
- * Component Executor Implementation Class: Master_exec_i
- */
-
- class Master_exec_i
- : public virtual Master_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Master_exec_i (void);
- virtual ~Master_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::ThreeComp::CCM_Master_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- asynch_state_generator* asynch_state_gen;
- synch_state_generator* synch_state_gen;
- Atomic_UShort nr_of_rec_;
- Atomic_UShort nr_of_sent_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
- class AMI4CCM_StateReplyHandler_run_my_state_i
- : public ::ThreeComp::CCM_AMI4CCM_StateReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_StateReplyHandler_run_my_state_i (
- Atomic_UShort &nr_of_rec,
- Atomic_UShort &nr_of_sent);
- virtual ~AMI4CCM_StateReplyHandler_run_my_state_i (void);
-
- virtual void
- bar (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- bar_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_rec_;
- Atomic_UShort &nr_of_sent_;
- };
-
- extern "C" THREECOMP_MASTER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ThreeComp_Master_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/README.txt b/CIAO/connectors/ami4ccm/tests/ThreeComp/README.txt
deleted file mode 100644
index 44c114b5eee..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/README.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-This test exists of 3 components.
--Master component which sends asynchronous and synchronous calls to a Sender.
--Sender which recieves asynchronous and synchronous calls from the Master and replies them. Also the
-Sender sends asynchronous and synchronous calls ( uses multiple) to 3 Receivers. So the Sender has
-'uses' and 'provides' ports.
--Receiver which recieves asynchronous and synchronous calls from the Sender and replies them.
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver.idl b/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver.idl
deleted file mode 100644
index efd4c52c819..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef THREECOMP_RECEIVER_IDL
-#define THREECOMP_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/ThreeComp.idl"
-
-module ThreeComp
-{
- component Receiver
- {
- /// Provides
- provides MyFoo do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver.mpc
deleted file mode 100644
index 010c2e09ad1..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p ThreeComp_Base ThreeComp_Receiver"
-
-project(AMI_ThreeComp_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_ThreeComp_idl_gen
- idlflags += -Wb,stub_export_macro=THREECOMP_RECEIVER_STUB_Export \
- -Wb,stub_export_include=ThreeComp_Receiver_stub_export.h \
- -Wb,skel_export_macro=THREECOMP_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=ThreeComp_Receiver_svnt_export.h \
- -Wb,exec_export_macro=THREECOMP_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=ThreeComp_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- ThreeComp_Receiver.idl
- }
-}
-
-project(AMI_ThreeComp_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_ThreeComp_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=ThreeComp_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- ThreeComp_ReceiverE.idl
- }
-}
-
-project(AMI_ThreeComp_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_ThreeComp_Base_Receiver_lem_gen AMI_ThreeComp_Base_Receiver_stub AMI_ThreeComp_stub
- libs += ThreeComp_stub ThreeComp_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ThreeComp_Receiver_lem_stub
- dynamicflags += THREECOMP_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_ReceiverEC.cpp
- }
-
- Header_Files {
- ThreeComp_ReceiverEC.h
- ThreeComp_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- ThreeComp_ReceiverEC.inl
- }
-}
-
-project(AMI_ThreeComp_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_ThreeComp_Base_Receiver_idl_gen AMI_ThreeComp_stub
- libs += ThreeComp_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ThreeComp_Receiver_stub
- dynamicflags += THREECOMP_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_ReceiverC.cpp
- }
-
- Header_Files {
- ThreeComp_ReceiverC.h
- ThreeComp_Receiver_stub_export.h
- }
-
- Inline_Files {
- ThreeComp_ReceiverC.inl
- }
-}
-
-project(AMI_ThreeComp_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_ThreeComp_Base_Receiver_l_stub AMI_ThreeComp_Base_Receiver_stub AMI_ThreeComp_stub AMI_ThreeComp_lem_stub
- sharedname = ThreeComp_Receiver_exec
- libs += ThreeComp_Receiver_stub ThreeComp_Receiver_lem_stub ThreeComp_stub ThreeComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += THREECOMP_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_Receiver_exec.cpp
- }
-
- Header_Files {
- ThreeComp_Receiver_exec.h
- ThreeComp_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_ThreeComp_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_ThreeComp_Base_skel AMI_ThreeComp_Base_Receiver_l_stub AMI_ThreeComp_stub AMI_ThreeComp_skel AMI_ThreeComp_lem_stub
- sharedname = ThreeComp_Receiver_svnt
- libs += ThreeComp_Receiver_stub ThreeComp_Receiver_lem_stub \
- ThreeComp_skel \
- ThreeComp_stub ThreeComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += THREECOMP_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_ReceiverS.cpp
- ThreeComp_Receiver_svnt.cpp
- }
-
- Header_Files {
- ThreeComp_ReceiverS.h
- ThreeComp_Receiver_svnt.h
- ThreeComp_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver_exec.cpp
deleted file mode 100644
index 654a57ecd3e..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver_exec.cpp
+++ /dev/null
@@ -1,169 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "ThreeComp_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_ThreeComp_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_foo_exec_i
- */
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::ThreeComp::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &nr_of_received)
- : ciao_context_ (
- ::ThreeComp::CCM_Receiver_Context::_duplicate (ctx)),
- nr_of_received_(nr_of_received)
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::ThreeComp::MyFoo
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- ACE_OS::sleep(2);
- CORBA::Long ret = 0;
- ++nr_of_received_;
- if (cmd == 10)
- {
- ret = 1;
- }
- if (cmd == 20)
- {
- ret = 2;
- }
- answer = CORBA::string_dup ("Hi from receiver.");
- return ret; }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void)
- :nr_of_received_(0)
- {
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::ThreeComp::CCM_MyFoo_ptr
- Receiver_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in (),
- this->nr_of_received_),
- ::ThreeComp::CCM_MyFoo::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::ThreeComp::CCM_MyFoo::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::ThreeComp::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- // each Receiver has to receive 2 requests.
- if (nr_of_received_.value() != 2)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: Receiver received wrong number of messages"
- " ( %u/2)!\n",
- nr_of_received_.value() ));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: This Receiver works as expected.\n"));
- }
- }
-
- extern "C" THREECOMP_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ThreeComp_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver_exec.h
deleted file mode 100644
index 28d09505f7b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Receiver/ThreeComp_Receiver_exec.h
+++ /dev/null
@@ -1,133 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_THREECOMP_RECEIVER_EXEC_I1LVQG_H_
-#define CIAO_THREECOMP_RECEIVER_EXEC_I1LVQG_H_
-
-#include /**/ "ace/pre.h"
-
-#include "ThreeComp_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "ThreeComp_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_ThreeComp_Receiver_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /**
- * Provider Executor Implementation Class: do_my_foo_exec_i
- */
-
- class do_my_foo_exec_i
- : public virtual ::ThreeComp::CCM_MyFoo,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::ThreeComp::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &nr_of_received);
- virtual ~do_my_foo_exec_i (void);
-
- //@{
- /** Operations and attributes from ThreeComp::MyFoo. */
-
- virtual
- ::CORBA::Long foo (::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::ThreeComp::CCM_Receiver_Context_var ciao_context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::ThreeComp::CCM_MyFoo_ptr
- get_do_my_foo (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::ThreeComp::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::ThreeComp::CCM_MyFoo_var ciao_do_my_foo_;
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_of_received_;
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- extern "C" THREECOMP_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ThreeComp_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender.idl b/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender.idl
deleted file mode 100644
index 60ee17a49a9..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender.idl
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef THREECOMP_SENDER_IDL
-#define THREECOMP_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/ThreeComp.idl"
-#include "Base/ThreeComp_no_ami.idl"
-
-#pragma ciao ami4ccm receptacle "ThreeComp::Sender::run_my_foo"
-
-module ThreeComp
-{
- component Sender
- {
- /// For synchronous invocation
- uses multiple MyFoo run_my_foo;
- provides State do_my_state;
-
- // test for no ami4ccm interface
- provides MyBar do_my_bar;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender.mpc b/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender.mpc
deleted file mode 100644
index 5c5ff3307f9..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p ThreeComp_Base ThreeComp_Sender"
-
-project(AMI_ThreeComp_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_ThreeComp_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_SENDER_STUB_Export \
- -Wb,stub_export_include=ThreeComp_Sender_stub_export.h \
- -Wb,skel_export_macro=THREECOMP_SENDER_SVNT_Export \
- -Wb,skel_export_include=ThreeComp_Sender_svnt_export.h \
- -Wb,exec_export_macro=THREECOMP_SENDER_EXEC_Export \
- -Wb,exec_export_include=ThreeComp_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- ThreeComp_Sender.idl
- }
-}
-
-project(AMI_ThreeComp_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_ThreeComp_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=THREECOMP_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=ThreeComp_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- ThreeComp_SenderE.idl
- }
-}
-
-project(AMI_ThreeComp_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_ThreeComp_Base_Sender_lem_gen AMI_ThreeComp_stub Conn_ThreeComp_Base_stub AMI_ThreeComp_Base_Sender_stub
- libs += ThreeComp_stub ThreeComp_Sender_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ThreeComp_Sender_lem_stub
- dynamicflags += THREECOMP_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_SenderEC.cpp
- }
-
- Header_Files {
- ThreeComp_SenderEC.h
- ThreeComp_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- ThreeComp_SenderEC.inl
- }
-}
-
-project(AMI_ThreeComp_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_ThreeComp_Base_Sender_idl_gen AMI_ThreeComp_Base_stub AMI_ThreeComp_stub Conn_ThreeComp_Base_stub
- libs += ThreeComp_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = ThreeComp_Sender_stub
- dynamicflags += THREECOMP_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_SenderC.cpp
- }
-
- Header_Files {
- ThreeComp_SenderC.h
- ThreeComp_Sender_stub_export.h
- }
-
- Inline_Files {
- ThreeComp_SenderC.inl
- }
-}
-
-project(AMI_ThreeComp_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_ThreeComp_Base_Sender_lem_stub AMI_ThreeComp_Base_Sender_stub AMI_ThreeComp_Base_exec Conn_ThreeComp_Base_stub AMI_ThreeComp_lem_stub
- sharedname = ThreeComp_Sender_exec
- libs += ThreeComp_Sender_stub ThreeComp_Sender_lem_stub ThreeComp_stub ThreeComp_stub ThreeComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += THREECOMP_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_Sender_exec.cpp
- }
-
- Header_Files {
- ThreeComp_Sender_exec.h
- ThreeComp_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_ThreeComp_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_ThreeComp_Base_skel AMI_ThreeComp_Base_Sender_lem_stub AMI_ThreeComp_Base_Sender_stub AMI_ThreeComp_Base_exec AMI_ThreeComp_stub AMI_ThreeComp_lem_stub AMI_ThreeComp_skel
- sharedname = ThreeComp_Sender_svnt
- libs += ThreeComp_Sender_stub ThreeComp_Sender_lem_stub \
- ThreeComp_skel \
- ThreeComp_stub ThreeComp_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += THREECOMP_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- ThreeComp_SenderS.cpp
- ThreeComp_Sender_svnt.cpp
- }
-
- Header_Files {
- ThreeComp_SenderS.h
- ThreeComp_Sender_svnt.h
- ThreeComp_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender_exec.cpp
deleted file mode 100644
index ebfd12e68e2..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender_exec.cpp
+++ /dev/null
@@ -1,344 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "ThreeComp_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_ThreeComp_Sender_Impl
-{
- CORBA::Boolean asynch = false;
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::ThreeComp::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_rec,
- Atomic_UShort &nr_of_sent)
- : context_(::ThreeComp::CCM_Sender_Context::_duplicate (context)),
- nr_of_rec_(nr_of_rec),
- nr_of_sent_(nr_of_sent)
-
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ::ThreeComp::Sender::sendc_run_my_fooConnections_var my_foo_ami_ =
- context_->get_connections_sendc_run_my_foo();
- ::ThreeComp::AMI4CCM_MyFooReplyHandler_var cb =
- new AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- this->nr_of_rec_,
- this->nr_of_sent_);
-
- // Invoke Asynchronous calls to test
- for (CORBA::ULong i = 0; i < my_foo_ami_->length (); ++i)
- {
- ++this->nr_of_sent_;
- my_foo_ami_[i].objref->sendc_foo (cb.in(),
- 10 );
- ACE_DEBUG ((LM_DEBUG, "OK Sender send ASYNCHRONOUS call to Receiver.\n"));
- // There is more than 1 message sent, without receiving callbacks,
- // so it is asynchronous
- if (this->nr_of_sent_.value() > 1)
- {
- asynch = true;
- }
- }
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::ThreeComp::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_rec)
- : context_(::ThreeComp::CCM_Sender_Context::_duplicate (context)),
- nr_of_rec_(nr_of_rec)
- {
- }
-
- int synch_foo_generator::svc ()
- {
-
- ::ThreeComp::Sender::run_my_fooConnections_var my_foo_ami_ =
- context_->get_connections_run_my_foo ();
-
- CORBA::Boolean wait = false;
-
- for(CORBA::ULong i = 0; i < my_foo_ami_->length(); ++i)
- {
- CORBA::String_var answer;
- try
- {
- if ( wait==true)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: Sender didn't receive SYNCHRONOUS answer"
- " from Receiver.\n"));
- }
- wait = true;
- ACE_DEBUG ((LM_DEBUG, "OK Sender send SYNCHRONOUS CALL to Receiver.\n"));
-
- CORBA::ULong result = my_foo_ami_[i].objref->foo( 20,
- answer.out ());
- if (result == 2)
- {
- ACE_DEBUG ((LM_DEBUG, "OK Sender received SYNCHRONOUS answer "
- "from Receiver <%C>\n",
- answer.in ()));
- ++this->nr_of_rec_;
- wait = false;
- }
- }
- catch (const ThreeComp::InternalError&)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: synch_foo_generator::foo: "
- "Unexpected exception.\n"));
- }
- }
- return 0;
- }
- /**
- * Facet Executor Implementation Class: do_my_state_exec_i
- */
-
- do_my_state_exec_i::do_my_state_exec_i (
- ::ThreeComp::CCM_Sender_Context_ptr ctx)
- : ciao_context_ (
- ::ThreeComp::CCM_Sender_Context::_duplicate (ctx))
- {
- }
-
- do_my_state_exec_i::~do_my_state_exec_i (void)
- {
- }
-
- // Operations from ::ThreeComp::State
-
- ::CORBA::Long
- do_my_state_exec_i::bar (::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- ACE_OS::sleep(2);
- answer = CORBA::string_dup ("Hi from sender.");
- return cmd;
- }
-
- /**
- * Facet Executor Implementation Class: do_my_bar_exec_i
- */
-
- do_my_bar_exec_i::do_my_bar_exec_i (
- ::ThreeComp::CCM_Sender_Context_ptr ctx)
- : ciao_context_ (
- ::ThreeComp::CCM_Sender_Context::_duplicate (ctx))
- {
- }
-
- do_my_bar_exec_i::~do_my_bar_exec_i (void)
- {
- }
-
- // Operations from ::ThreeComp::MyBar
-
- ::CORBA::Long
- do_my_bar_exec_i::testbar (::CORBA::Long /* cmd */,
- ::CORBA::String_out /* answer */)
- {
- /* Your code here. */
- return 0;
- }
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void)
- : asynch_foo_gen (0),
- synch_foo_gen (0),
- nr_of_rec_(0),
- nr_of_sent_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::ThreeComp::CCM_State_ptr
- Sender_exec_i::get_do_my_state (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_state_.in ()))
- {
- do_my_state_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_state_exec_i (
- this->ciao_context_.in ()),
- ::ThreeComp::CCM_State::_nil ());
-
- this->ciao_do_my_state_ = tmp;
- }
-
- return
- ::ThreeComp::CCM_State::_duplicate (
- this->ciao_do_my_state_.in ());
- }
-
- ::ThreeComp::CCM_MyBar_ptr
- Sender_exec_i::get_do_my_bar (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_bar_.in ()))
- {
- do_my_bar_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_bar_exec_i (
- this->ciao_context_.in ()),
- ::ThreeComp::CCM_MyBar::_nil ());
-
- this->ciao_do_my_bar_ = tmp;
- }
-
- return
- ::ThreeComp::CCM_MyBar::_duplicate (
- this->ciao_do_my_bar_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::ThreeComp::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- //for connection with Receiver component
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in (),
- this->nr_of_rec_,
- this->nr_of_sent_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in(),
- this->nr_of_rec_);
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1); }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- // each Receiver (total 3, see deployment plan) send back 2 requests.
- if ((asynch == false) || (this->nr_of_rec_.value() != 6) ||
- (this->nr_of_sent_.value() != 0))
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: Test not asynchronous or not received back"
- " all requests ( %u/6)!\n",
- this->nr_of_rec_.value() ));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Sender works as expected.\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_of_rec,
- Atomic_UShort &nr_of_sent)
- : nr_of_rec_(nr_of_rec),
- nr_of_sent_(nr_of_sent)
- {
- }
-
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_ret_val,
- const char * answer )
- {
- ++this->nr_of_rec_;
- if (ami_ret_val == 1 )
- {
- --this->nr_of_sent_;
- ACE_DEBUG ((LM_DEBUG,
- "OK: Sender get ASYNCHRONOUS callback from Receiver: <%C>.\n",
- answer));
- }
- }
-
- void
- AMI4CCM_MyFooReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" THREECOMP_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ThreeComp_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender_exec.h
deleted file mode 100644
index 83c6fbe716c..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/Sender/ThreeComp_Sender_exec.h
+++ /dev/null
@@ -1,214 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_THREECOMP_SENDER_EXEC_G5GGIG_H_
-#define CIAO_THREECOMP_SENDER_EXEC_G5GGIG_H_
-
-#include /**/ "ace/pre.h"
-
-#include "ThreeComp_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "ThreeComp_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-
-#include "ace/Task.h"
-
-namespace CIAO_ThreeComp_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::ThreeComp::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_rec,
- Atomic_UShort &nr_of_sent);
-
- virtual int svc (void);
-
- private:
- ::ThreeComp::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_rec_;
- Atomic_UShort &nr_of_sent_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::ThreeComp::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_rec);
- virtual int svc (void);
-
- private:
- ::ThreeComp::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_rec_;
- };
- /**
- * Provider Executor Implementation Class: do_my_state_exec_i
- */
-
- class do_my_state_exec_i
- : public virtual ::ThreeComp::CCM_State,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_state_exec_i (
- ::ThreeComp::CCM_Sender_Context_ptr ctx);
- virtual ~do_my_state_exec_i (void);
-
- //@{
- /** Operations and attributes from ThreeComp::State. */
-
- virtual
- ::CORBA::Long bar (::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::ThreeComp::CCM_Sender_Context_var ciao_context_;
- };
-
- /**
- * Provider Executor Implementation Class: do_my_bar_exec_i
- */
-
- class do_my_bar_exec_i
- : public virtual ::ThreeComp::CCM_MyBar,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_bar_exec_i (
- ::ThreeComp::CCM_Sender_Context_ptr ctx);
- virtual ~do_my_bar_exec_i (void);
-
- //@{
- /** Operations and attributes from ThreeComp::MyBar. */
-
- virtual
- ::CORBA::Long testbar (::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::ThreeComp::CCM_Sender_Context_var ciao_context_;
- };
-
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::ThreeComp::CCM_State_ptr
- get_do_my_state (void);
-
- virtual ::ThreeComp::CCM_MyBar_ptr
- get_do_my_bar (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::ThreeComp::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::ThreeComp::CCM_State_var ciao_do_my_state_;
- ::ThreeComp::CCM_MyBar_var ciao_do_my_bar_;
- //@}
-
- //@{
- /** User defined members. */
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- Atomic_UShort nr_of_rec_;
- Atomic_UShort nr_of_sent_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
-
- class AMI4CCM_MyFooReplyHandler_run_my_foo_i
- : public ::ThreeComp::CCM_AMI4CCM_MyFooReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFooReplyHandler_run_my_foo_i (
- Atomic_UShort &nr_of_rec,
- Atomic_UShort &nr_of_sent);
- virtual ~AMI4CCM_MyFooReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_rec_;
- Atomic_UShort &nr_of_sent_;
- };
-
- extern "C" THREECOMP_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_ThreeComp_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/ThreeComp/descriptors/Plan.cdp
deleted file mode 100644
index d04f4d4ff67..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/descriptors/Plan.cdp
+++ /dev/null
@@ -1,813 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="ThreeComp_ReceiverHomeImplementation">
- <name>ThreeComp_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="ThreeComp_Receiver_ExecArtifact"/>
- <artifact xmi:idref="ThreeComp_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="ThreeComp_SenderHomeImplementation">
- <name>ThreeComp_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="ThreeComp_Sender_ExecArtifact"/>
- <artifact xmi:idref="ThreeComp_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
-<implementation xmi:id="ThreeComp_MasterHomeImplementation">
- <name>ThreeComp_MasterHomeImplementation</name>
- <source/>
- <artifact xmi:idref="ThreeComp_Master_ExecArtifact"/>
- <artifact xmi:idref="ThreeComp_Master_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_Master_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.MasterArtifacts.Master_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_Master_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.MasterArtifacts.Master_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
-
-
- <implementation xmi:id="ThreeComp_AMIHomeImplementation1">
- <name>ThreeComp_AMIHomeImplementation1</name>
- <source/>
- <artifact xmi:idref="ThreeComp_AMI1_ExecArtifact"/>
- <artifact xmi:idref="ThreeComp_AMI1_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.AMIArtifacts.AMI1_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.AMIArtifacts.AMI1_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
-
-<implementation xmi:id="ThreeComp_AMIHomeImplementation2">
- <name>ThreeComp_AMIHomeImplementation2</name>
- <source/>
- <artifact xmi:idref="ThreeComp_AMI2_ExecArtifact"/>
- <artifact xmi:idref="ThreeComp_AMI2_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI4CCM_State_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.AMIArtifacts.AMI2_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI4CCM_State_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>ThreeComp.ImplementationArtifacts.AMIArtifacts.AMI2_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverA">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverA</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="ThreeComp_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverB">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverB</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="ThreeComp_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverC">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverC</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="ThreeComp_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-
-
- <instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="ThreeComp_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-<instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Master">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Master</name>
- <node>Master</node>
- <source/>
- <implementation xmi:idref="ThreeComp_MasterHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Master.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1A">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1A</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="ThreeComp_AMIHomeImplementation1"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI1.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1B">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1B</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="ThreeComp_AMIHomeImplementation1"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI1.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1C">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1C</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="ThreeComp_AMIHomeImplementation1"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI1.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-<instance xmi:id="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI2">
- <name>ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI2</name>
- <node>Master</node>
- <source/>
- <implementation xmi:idref="ThreeComp_AMIHomeImplementation2"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI2.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-
-
- <connection>
- <name>run_asynch_foo_connectionA</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1A" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_foo_connectionB</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1B" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_foo_connectionC</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1C" />
- </internalEndpoint>
- </connection>
-
-
-<connection>
- <name>run_asynch_state_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_state</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Master" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI2" />
- </internalEndpoint>
- </connection>
-
-
- <connection>
- <name>do_foo_connectionA</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverA" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1A" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_foo_connectionB</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverB" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1B" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_foo_connectionC</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverC" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI1C" />
- </internalEndpoint>
- </connection>
-
-<connection>
- <name>do_state_connection</name>
- <internalEndpoint>
- <portName>do_my_state</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.AMI2" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connectionA</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverA" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_foo_connectionB</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverB" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_foo_connectionC</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.ReceiverC" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender" />
- </internalEndpoint>
- </connection>
-
-<connection>
- <name>synch_state_connection</name>
- <internalEndpoint>
- <portName>do_my_state</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_state</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="ThreeComp.ComponentImplementations.ThreeCompImplementation.ThreeComp.Master" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="ThreeComp_AMI1_SvntArtifact">
- <name>ThreeComp.ImplementationArtifacts.AMIArtifacts.AMI1_svnt</name>
- <source/>
- <node/>
- <location>ThreeComp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI4CCM_MyFoo_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ThreeComp_AMI1_ExecArtifact">
- <name>ThreeComp.ImplementationArtifacts.AMIArtifacts.AMI1_exec</name>
- <source/>
- <node/>
- <location>ThreeComp_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI4CCM_MyFoo_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-
- <artifact xmi:id="ThreeComp_AMI2_SvntArtifact">
- <name>ThreeComp.ImplementationArtifacts.AMIArtifacts.AMI2_svnt</name>
- <source/>
- <node/>
- <location>ThreeComp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI4CCM_State_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ThreeComp_AMI2_ExecArtifact">
- <name>ThreeComp.ImplementationArtifacts.AMIArtifacts.AMI2_exec</name>
- <source/>
- <node/>
- <location>ThreeComp_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI4CCM_State_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-
- <artifact xmi:id="ThreeComp_Receiver_SvntArtifact">
- <name>ThreeComp.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>ThreeComp_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ThreeComp_Receiver_ExecArtifact">
- <name>ThreeComp.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>ThreeComp_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ThreeComp_Sender_SvntArtifact">
- <name>ThreeComp.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>ThreeComp_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ThreeComp_Sender_ExecArtifact">
- <name>ThreeComp.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>ThreeComp_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-<artifact xmi:id="ThreeComp_Master_SvntArtifact">
- <name>ThreeComp.ImplementationArtifacts.MasterArtifacts.Master_svnt</name>
- <source/>
- <node/>
- <location>ThreeComp_Master_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI_MasterHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="ThreeComp_Master_ExecArtifact">
- <name>ThreeComp.ImplementationArtifacts.MasterArtifacts.Master_exec</name>
- <source/>
- <node/>
- <location>ThreeComp_Master_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_ThreeComp_AMI_MasterHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/ThreeComp/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/ThreeComp/descriptors/run_test.pl
deleted file mode 100755
index 8d036bdc559..00000000000
--- a/CIAO/connectors/ami4ccm/tests/ThreeComp/descriptors/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001, 60002 );
-@iorbases = ("Master.ior", "Sender.ior", "Receiver.ior", "AMI1.ior", "AMI2.ior" );
-@iorfiles = 0;
-@nodenames = ( "Master", "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2* $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/.gitignore b/CIAO/connectors/ami4ccm/tests/UsesMulti/.gitignore
deleted file mode 100644
index 502167fa0b8..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/lib
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/.gitignore b/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/.gitignore
deleted file mode 100644
index b99a522f5de..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/.gitignore
+++ /dev/null
@@ -1,11 +0,0 @@
-/UsesMultiA.idl
-/UsesMultiAE.idl
-/UsesMultiA_conn.cpp
-/UsesMultiA_conn.h
-/UsesMultiE.idl
-/UsesMulti_conn_export.h
-/UsesMulti_exec_export.h
-/UsesMulti_lem_stub_export.h
-/UsesMulti_skel_export.h
-/UsesMulti_stub_export.h
-/UsesMulti_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/UsesMulti.idl b/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/UsesMulti.idl
deleted file mode 100644
index 9c7e64b75ff..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/UsesMulti.idl
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef USESMULTI_IDL
-#define USESMULTI_IDL
-
-#pragma ciao lem "Base/UsesMultiE.idl"
-#pragma ciao ami4ccm interface "UsesMulti::One"
-#pragma ciao lem "Base/UsesMultiAE.idl"
-#pragma ciao ami4ccm idl "Base/UsesMultiA.idl"
-
-module UsesMulti
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-
- // Sender/Receiver interfaces
- interface One
- {
- long foo (in string in_str, in long cmd, out string answer)
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/UsesMulti.mpc b/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/UsesMulti.mpc
deleted file mode 100644
index 718be35730f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Base/UsesMulti.mpc
+++ /dev/null
@@ -1,192 +0,0 @@
-project(AMI_UsesMulti_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESMULTI_STUB_Export \
- -Wb,stub_export_include=UsesMulti_stub_export.h \
- -Wb,skel_export_macro=USESMULTI_SKEL_Export \
- -Wb,skel_export_include=UsesMulti_skel_export.h \
- -Wb,conn_export_macro=USESMULTI_CONN_Export \
- -Wb,conn_export_include=UsesMulti_conn_export.h \
- -Wb,exec_export_macro=USESMULTI_EXEC_Export \
- -Wb,exec_export_include=UsesMulti_exec_export.h \
- -I.. -GM -Gxhcn
-
-
- IDL_Files {
- UsesMulti.idl
- }
-}
-
-project(AMI_UsesMulti_lem_gen) : ciaoidldefaults {
- after += AMI_UsesMulti_idl_gen AMI_UsesMulti_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=USESMULTI_LEM_STUB_Export \
- -Wb,export_include=UsesMulti_lem_stub_export.h \
- -I.. -SS -Gxhst
-
- IDL_Files {
- UsesMultiE.idl
- }
-}
-
-project(AMI_UsesMulti_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_UsesMulti_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESMULTI_STUB_Export \
- -Wb,stub_export_include=UsesMulti_stub_export.h \
- -Wb,conn_export_macro=USESMULTI_CONN_Export \
- -Wb,conn_export_include=UsesMulti_conn_export.h \
- -Wb,svnt_export_macro=USESMULTI_SVNT_Export \
- -Wb,svnt_export_include=UsesMulti_svnt_export.h \
- -Wb,skel_export_macro=USESMULTI_SKEL_Export \
- -Wb,skel_export_include=UsesMulti_skel_export.h \
- -I.. -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- UsesMultiA.idl
- }
-}
-
-project(AMI_UsesMulti_lemae_gen) : ciaoidldefaults {
- after += AMI_UsesMulti_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESMULTI_LEM_STUB_Export \
- -Wb,stub_export_include=UsesMulti_lem_stub_export.h \
- -I.. -SS
-
- IDL_Files {
- UsesMultiAE.idl
- }
-}
-
-project(AMI_UsesMulti_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_UsesMulti_lem_gen
- libs +=
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = UsesMulti_stub
- dynamicflags += USESMULTI_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- UsesMultiC.cpp
- UsesMultiAC.cpp
- }
-
- Header_Files {
- UsesMultiC.h
- UsesMulti_stub_export.h
-}
-
- Inline_Files {
- UsesMultiC.inl
- }
-}
-
-project(AMI_UsesMulti_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_UsesMulti_lem_gen AMI_UsesMulti_stub AMI_UsesMulti_lemae_gen AMI_UsesMulti_skel
- libs += UsesMulti_stub UsesMulti_skel
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- sharedname = UsesMulti_lem_stub
- dynamicflags += USESMULTI_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- UsesMultiEC.cpp
- UsesMultiAEC.cpp
- }
-
- Header_Files {
- UsesMultiEC.h
- UsesMulti_lem_stub_export.h
-}
-
- Inline_Files {
- UsesMultiEC.inl
- }
-}
-
-project(AMI_UsesMulti_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_UsesMulti_stub
- sharedname = UsesMulti_skel
- libs += UsesMulti_stub
- libout = ../lib
- libpaths += ../lib
- includes += ..
-
- dynamicflags += USESMULTI_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- UsesMultiS.cpp
- UsesMultiAS.cpp
- }
-
- Header_Files {
- UsesMultiS.h
-
- UsesMulti_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_UsesMulti_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_UsesMulti_lem_stub UsesMulti_Base_AMI_stub AMI_UsesMulti_skel AMI_UsesMulti_lema_gen AMI_UsesMulti_lemae_gen
- sharedname = UsesMulti_conn
- libs += UsesMulti_stub UsesMulti_skel UsesMulti_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESMULTI_CONN_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMultiA_conn.cpp
- }
-
- Header_Files {
- UsesMultiA_conn.h
- UsesMulti_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_UsesMulti_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_UsesMulti_lem_stub UsesMulti_Base_AMI_stub AMI_UsesMulti_skel AMI_UsesMulti_lema_gen AMI_UsesMulti_lemae_gen AMI_UsesMulti_conn
- sharedname = UsesMulti_svnt
- libs += UsesMulti_stub UsesMulti_skel UsesMulti_lem_stub UsesMulti_conn
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESMULTI_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMultiA_svnt.cpp
- }
-
- Header_Files {
- UsesMultiA_svnt.h
- UsesMultiA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/.gitignore b/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/.gitignore
deleted file mode 100644
index ef35c4ef20a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/UsesMulti_ReceiverE.idl
-/UsesMulti_Receiver_exec_export.h
-/UsesMulti_Receiver_lem_stub_export.h
-/UsesMulti_Receiver_stub_export.h
-/UsesMulti_Receiver_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver.idl b/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver.idl
deleted file mode 100644
index a1bd29e47ea..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef USESMULTI_RECEIVER_IDL
-#define USESMULTI_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Base/UsesMulti.idl"
-
-module UsesMulti
-{
- component Receiver
- {
- /// Provides
- provides One do_my_one;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver.mpc b/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver.mpc
deleted file mode 100644
index 21b0ea12933..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver.mpc
+++ /dev/null
@@ -1,132 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p UsesMulti_Base UsesMulti_Receiver"
-
-project(AMI_UsesMulti_Base_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_UsesMulti_idl_gen
- idlflags += -Wb,stub_export_macro=USESMULTI_RECEIVER_STUB_Export \
- -Wb,stub_export_include=UsesMulti_Receiver_stub_export.h \
- -Wb,skel_export_macro=USESMULTI_RECEIVER_SVNT_Export \
- -Wb,skel_export_include=UsesMulti_Receiver_svnt_export.h \
- -Wb,exec_export_macro=USESMULTI_RECEIVER_EXEC_Export \
- -Wb,exec_export_include=UsesMulti_Receiver_exec_export.h \
- -Glem -I..
-
- IDL_Files {
- UsesMulti_Receiver.idl
- }
-}
-
-project(AMI_UsesMulti_Base_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_UsesMulti_Base_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESMULTI_RECEIVER_LEM_STUB_Export \
- -Wb,stub_export_include=UsesMulti_Receiver_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- UsesMulti_ReceiverE.idl
- }
-}
-
-project(AMI_UsesMulti_Base_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_UsesMulti_Base_Receiver_lem_gen AMI_UsesMulti_Base_Receiver_stub AMI_UsesMulti_stub
- libs += UsesMulti_stub UsesMulti_Receiver_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = UsesMulti_Receiver_lem_stub
- dynamicflags += USESMULTI_RECEIVER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMulti_ReceiverEC.cpp
- }
-
- Header_Files {
- UsesMulti_ReceiverEC.h
- UsesMulti_Receiver_lem_stub_export.h
- }
-
- Inline_Files {
- UsesMulti_ReceiverEC.inl
- }
-}
-
-project(AMI_UsesMulti_Base_Receiver_stub) : ccm_stub, messaging {
- after += AMI_UsesMulti_Base_Receiver_idl_gen AMI_UsesMulti_stub
- libs += UsesMulti_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = UsesMulti_Receiver_stub
- dynamicflags += USESMULTI_RECEIVER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMulti_ReceiverC.cpp
- }
-
- Header_Files {
- UsesMulti_ReceiverC.h
- UsesMulti_Receiver_stub_export.h
- }
-
- Inline_Files {
- UsesMulti_ReceiverC.inl
- }
-}
-
-project(AMI_UsesMulti_Base_Receiver_exec) : ciao_executor, messaging {
- after += AMI_UsesMulti_Base_Receiver_l_stub AMI_UsesMulti_Base_Receiver_stub AMI_UsesMulti_stub AMI_UsesMulti_lem_stub
- sharedname = UsesMulti_Receiver_exec
- libs += UsesMulti_Receiver_stub UsesMulti_Receiver_lem_stub UsesMulti_stub UsesMulti_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESMULTI_RECEIVER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMulti_Receiver_exec.cpp
- }
-
- Header_Files {
- UsesMulti_Receiver_exec.h
- UsesMulti_Receiver_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_UsesMulti_Base_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_UsesMulti_Base_skel AMI_UsesMulti_Base_Receiver_l_stub AMI_UsesMulti_stub AMI_UsesMulti_skel AMI_UsesMulti_lem_stub
- sharedname = UsesMulti_Receiver_svnt
- libs += UsesMulti_Receiver_stub UsesMulti_Receiver_lem_stub \
- UsesMulti_skel \
- UsesMulti_stub UsesMulti_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESMULTI_RECEIVER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMulti_ReceiverS.cpp
- UsesMulti_Receiver_svnt.cpp
- }
-
- Header_Files {
- UsesMulti_ReceiverS.h
- UsesMulti_Receiver_svnt.h
- UsesMulti_Receiver_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver_exec.cpp b/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver_exec.cpp
deleted file mode 100644
index c24bdc09c4b..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver_exec.cpp
+++ /dev/null
@@ -1,173 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "UsesMulti_Receiver_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_UsesMulti_Receiver_Impl
-{
-
- /**
- * Facet Executor Implementation Class: do_my_one_exec_i
- */
-
- do_my_one_exec_i::do_my_one_exec_i (
- ::UsesMulti::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &nr_of_received)
- : ciao_context_ (
- ::UsesMulti::CCM_Receiver_Context::_duplicate (ctx)),
- nr_of_received_(nr_of_received)
- {
- }
-
- do_my_one_exec_i::~do_my_one_exec_i (void)
- {
- }
-
- // Operations from ::UsesMulti::One
-
- ::CORBA::Long
- do_my_one_exec_i::foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer)
- {
- ACE_OS::sleep(2);
- if ((cmd < 0) || (cmd > 2))
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Receiver foo,"
- " origin not between 0 and 3, but <%u>\n",
- cmd));
- }
- else
- {
- ++nr_of_received_;
- }
- answer = CORBA::string_dup (in_str);
-
- return cmd;
- }
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- Receiver_exec_i::Receiver_exec_i (void)
- : nr_of_received_(0)
- {
- }
-
- Receiver_exec_i::~Receiver_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::UsesMulti::CCM_One_ptr
- Receiver_exec_i::get_do_my_one (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_one_.in ()))
- {
- do_my_one_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_one_exec_i (
- this->ciao_context_.in (),
- this->nr_of_received_),
- ::UsesMulti::CCM_One::_nil ());
-
- this->ciao_do_my_one_ = tmp;
- }
-
- return
- ::UsesMulti::CCM_One::_duplicate (
- this->ciao_do_my_one_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::UsesMulti::CCM_Receiver_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_exec_i::ccm_remove (void)
- {
- if (nr_of_received_.value() != 2)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Receiver didn't receive the expected "
- "number of correct calls.\n"
- "Expected: 2, Received: %u.\n",
- nr_of_received_.value()));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG, "OK: Receiver received the expected "
- "number of correct calls.\n"
- "Expected: 2, Received: %u.\n",
- nr_of_received_.value()));
- } }
-
- extern "C" USESMULTI_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_UsesMulti_Receiver_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver_exec.h b/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver_exec.h
deleted file mode 100644
index b6bdeb3c260..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Receiver/UsesMulti_Receiver_exec.h
+++ /dev/null
@@ -1,131 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_USESMULTI_RECEIVER_EXEC_BNFVCJ_H_
-#define CIAO_USESMULTI_RECEIVER_EXEC_BNFVCJ_H_
-
-#include /**/ "ace/pre.h"
-
-#include "UsesMulti_ReceiverEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "UsesMulti_Receiver_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_UsesMulti_Receiver_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /**
- * Provider Executor Implementation Class: do_my_one_exec_i
- */
-
- class do_my_one_exec_i
- : public virtual ::UsesMulti::CCM_One,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_one_exec_i (
- ::UsesMulti::CCM_Receiver_Context_ptr ctx,
- Atomic_UShort &nr_of_received);
- virtual ~do_my_one_exec_i (void);
-
- //@{
- /** Operations and attributes from UsesMulti::One. */
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::Long cmd,
- ::CORBA::String_out answer);
- //@}
-
- private:
- ::UsesMulti::CCM_Receiver_Context_var ciao_context_;
- Atomic_UShort &nr_of_received_;
- };
-
- /**
- * Component Executor Implementation Class: Receiver_exec_i
- */
-
- class Receiver_exec_i
- : public virtual Receiver_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_exec_i (void);
- virtual ~Receiver_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- virtual ::UsesMulti::CCM_One_ptr
- get_do_my_one (void);
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
- //@}
-
- private:
- ::UsesMulti::CCM_Receiver_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- ::UsesMulti::CCM_One_var ciao_do_my_one_;
- //@}
-
- //@{
- /** User defined members. */
- Atomic_UShort nr_of_received_;
- //@}
-
- //@{
- /** User defined private operations. */
- //@}
- };
-
- extern "C" USESMULTI_RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_UsesMulti_Receiver_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/.gitignore b/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/.gitignore
deleted file mode 100644
index 14c83941c56..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/UsesMulti_SenderE.idl
-/UsesMulti_Sender_exec_export.h
-/UsesMulti_Sender_lem_stub_export.h
-/UsesMulti_Sender_stub_export.h
-/UsesMulti_Sender_svnt_export.h
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender.idl b/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender.idl
deleted file mode 100644
index 7b91e3e39a9..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef USESMULTI_SENDER_IDL
-#define USESMULTI_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Base/UsesMulti.idl"
-
-#pragma ciao ami4ccm receptacle "UsesMulti::Sender::run_my_um_one"
-
-module UsesMulti
-{
- component Sender
- {
- /// For synchronous invocation
- uses multiple One run_my_um_one;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender.mpc b/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender.mpc
deleted file mode 100644
index 8d28ac61253..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender.mpc
+++ /dev/null
@@ -1,133 +0,0 @@
-// This file is generated with "generate_component_mpc.pl -p UsesMulti_Base UsesMulti_Sender"
-
-project(AMI_UsesMulti_Base_Sender_idl_gen) : componentidldefaults {
- after += AMI_UsesMulti_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESMULTI_SENDER_STUB_Export \
- -Wb,stub_export_include=UsesMulti_Sender_stub_export.h \
- -Wb,skel_export_macro=USESMULTI_SENDER_SVNT_Export \
- -Wb,skel_export_include=UsesMulti_Sender_svnt_export.h \
- -Wb,exec_export_macro=USESMULTI_SENDER_EXEC_Export \
- -Wb,exec_export_include=UsesMulti_Sender_exec_export.h \
- -I.. -GC
-
- IDL_Files {
- UsesMulti_Sender.idl
- }
-}
-
-project(AMI_UsesMulti_Base_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_UsesMulti_Base_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=USESMULTI_SENDER_LEM_STUB_Export \
- -Wb,stub_export_include=UsesMulti_Sender_lem_stub_export.h \
- -SS -Gxhst -I..
-
- IDL_Files {
- UsesMulti_SenderE.idl
- }
-}
-
-project(AMI_UsesMulti_Base_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_UsesMulti_Base_Sender_lem_gen AMI_UsesMulti_stub AMI_UsesMulti_Base_Sender_stub
- libs += UsesMulti_stub UsesMulti_Sender_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = UsesMulti_Sender_lem_stub
- dynamicflags += USESMULTI_SENDER_LEM_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMulti_SenderEC.cpp
- }
-
- Header_Files {
- UsesMulti_SenderEC.h
- UsesMulti_Sender_lem_stub_export.h
- }
-
- Inline_Files {
- UsesMulti_SenderEC.inl
- }
-}
-
-project(AMI_UsesMulti_Base_Sender_stub) : ccm_stub, ami {
- after += AMI_UsesMulti_Base_Sender_idl_gen AMI_UsesMulti_Base_stub AMI_UsesMulti_stub
- libs += UsesMulti_stub
- libpaths += ../lib
- libout = ../lib
- sharedname = UsesMulti_Sender_stub
- dynamicflags += USESMULTI_SENDER_STUB_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMulti_SenderC.cpp
- }
-
- Header_Files {
- UsesMulti_SenderC.h
- UsesMulti_Sender_stub_export.h
- }
-
- Inline_Files {
- UsesMulti_SenderC.inl
- }
-}
-
-project(AMI_UsesMulti_Base_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_UsesMulti_Base_Sender_lem_stub AMI_UsesMulti_Base_Sender_stub AMI_UsesMulti_Base_exec AMI_UsesMulti_lem_stub
- sharedname = UsesMulti_Sender_exec
- libs += UsesMulti_Sender_stub UsesMulti_Sender_lem_stub UsesMulti_stub UsesMulti_stub UsesMulti_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESMULTI_SENDER_EXEC_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMulti_Sender_exec.cpp
- }
-
- Header_Files {
- UsesMulti_Sender_exec.h
- UsesMulti_Sender_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_UsesMulti_Base_Sender_svnt) : ciao_servant, ami {
- after += AMI_UsesMulti_Base_skel AMI_UsesMulti_Base_Sender_lem_stub AMI_UsesMulti_Base_Sender_stub AMI_UsesMulti_Base_exec AMI_UsesMulti_skel
- sharedname = UsesMulti_Sender_svnt
- libs += UsesMulti_Sender_stub UsesMulti_Sender_lem_stub \
- UsesMulti_skel \
- UsesMulti_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags += USESMULTI_SENDER_SVNT_BUILD_DLL
- includes += ..
- IDL_Files {
- }
-
- Source_Files {
- UsesMulti_SenderS.cpp
- UsesMulti_Sender_svnt.cpp
- }
-
- Header_Files {
- UsesMulti_SenderS.h
- UsesMulti_Sender_svnt.h
- UsesMulti_Sender_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
-
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender_exec.cpp b/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender_exec.cpp
deleted file mode 100644
index 7b2c4555ad6..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender_exec.cpp
+++ /dev/null
@@ -1,276 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "UsesMulti_Sender_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_UsesMulti_Sender_Impl
-{
- CORBA::Boolean asynch = false;
-
- //============================================================
- // Worker thread for asynchronous invocations for One
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::UsesMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received,
- Atomic_UShort &nr_of_sent)
- : context_(::UsesMulti::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_(nr_of_received),
- nr_of_sent_(nr_of_sent)
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ::UsesMulti::Sender::sendc_run_my_um_oneConnections_var my_one_ami_ =
- context_->get_connections_sendc_run_my_um_one();
-
- // Invoke Asynchronous calls to test
- for (CORBA::ULong i = 0; i < my_one_ami_->length (); ++i)
- {
- ::UsesMulti::AMI4CCM_OneReplyHandler_var cb =
- new AMI4CCM_OneReplyHandler_run_my_um_one_i (
- this->nr_of_received_,
- this->nr_of_sent_);
-
- CORBA::String_var test;
- switch (i)
- {
- case 0:
- test = CORBA::string_dup ("Asynch. call one");
- break;
- case 1:
- test = CORBA::string_dup ("Asynch. call two");
- break;
- case 2:
- test = CORBA::string_dup ("Asynch. call three");
- break;
- default:
- break;
- }
- ++this->nr_of_sent_;
- my_one_ami_[i].objref->sendc_foo (cb.in (),
- test.in (),
- i);
- ACE_DEBUG ((LM_DEBUG, "Sender (ASYNCH) : send <%C> !\n",
- test.in ()));
- // There is more than 1 message sent, without receiving callbacks,
- // so it is asynchronous
- if (this->nr_of_sent_.value() > 1)
- {
- asynch = true;
- }
- }
- return 0;
- }
- //============================================================
- // Worker thread for synchronous invocations for One
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::UsesMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received)
- : context_(::UsesMulti::CCM_Sender_Context::_duplicate (context)),
- nr_of_received_ (nr_of_received)
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ::UsesMulti::Sender::run_my_um_oneConnections_var my_one_ami_ =
- context_->get_connections_run_my_um_one ();
-
- for(CORBA::ULong i = 0; i < my_one_ami_->length(); ++i)
- {
- CORBA::String_var test;
- switch (i)
- {
- case 0:
- test = CORBA::string_dup ("Synch. call 0.");
- break;
- case 1:
- test = CORBA::string_dup ("Synch. call 1");
- break;
- case 2:
- test = CORBA::string_dup ("Synch. call 2");
- break;
- default:
- break;
- }
-
- ACE_DEBUG ((LM_DEBUG,"Sender (SYNCH) : send <%C> !\n",
- test.in ()));
-
- CORBA::String_var answer;
- CORBA::ULong result = my_one_ami_[i].objref->foo( test,
- i,
- answer.out ());
- if (result != i)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR Sender (SYNCH) : CLASS One foo !\n"));
- }
- else
- {
- ++this->nr_of_received_;
- ACE_DEBUG ((LM_DEBUG,
- "Sender (SYNCH) : received answer = <%C> !\n",
- answer.in ()));
- }
- }
- return 0;
- }
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- Sender_exec_i::Sender_exec_i (void)
- : asynch_foo_gen (0),
- synch_foo_gen (0),
- nr_of_received_(0),
- nr_of_sent_(0)
- {
- }
-
- Sender_exec_i::~Sender_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::UsesMulti::CCM_Sender_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in(),
- this->nr_of_received_,
- this->nr_of_sent_);
- this->asynch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in(),
- this->nr_of_received_);
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_exec_i::ccm_remove (void)
- {
- if (asynch == false)
- {
- ACE_ERROR ((LM_ERROR,
- "ERROR: Uses multiple test not asynchronous!\n"));
- }
- if (this->nr_of_received_.value() != 6)
- {
- ACE_ERROR ((LM_ERROR, "ERROR: Did not get all callbacks from "
- "multiple ports."
- " Received = %u of 6\n",
- this->nr_of_received_.value()));
- }
- else
- {
- ACE_DEBUG ((LM_DEBUG,
- "OK: All messages received back by Sender\n"));
- }
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_OneReplyHandler_run_my_um_one_i::AMI4CCM_OneReplyHandler_run_my_um_one_i (
- Atomic_UShort &nr_of_received,
- Atomic_UShort &nr_of_sent)
- : nr_of_received_(nr_of_received),
- nr_of_sent_(nr_of_sent)
- {
- }
-
- AMI4CCM_OneReplyHandler_run_my_um_one_i::~AMI4CCM_OneReplyHandler_run_my_um_one_i (void)
- {
- }
-
- void
- AMI4CCM_OneReplyHandler_run_my_um_one_i::foo (
- ::CORBA::Long /* ami_return_val */,
- const char * answer)
- {
- ACE_DEBUG ((LM_DEBUG, "Sender: Get asynchronous callback from foo,"
- " answer = <%C>\n",
- answer));
- ++this->nr_of_received_;
- --this->nr_of_sent_;
- }
-
- void
- AMI4CCM_OneReplyHandler_run_my_um_one_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" USESMULTI_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_UsesMulti_Sender_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender_exec.h b/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender_exec.h
deleted file mode 100644
index cbe2be184f7..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/Sender/UsesMulti_Sender_exec.h
+++ /dev/null
@@ -1,158 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_USESMULTI_SENDER_EXEC_OLXUDX_H_
-#define CIAO_USESMULTI_SENDER_EXEC_OLXUDX_H_
-
-#include /**/ "ace/pre.h"
-
-#include "UsesMulti_SenderEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "UsesMulti_Sender_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_UsesMulti_Sender_Impl
-{
- typedef ACE_Atomic_Op <TAO_SYNCH_MUTEX, CORBA::UShort > Atomic_UShort;
-
- /// Worker threads for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::UsesMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received,
- Atomic_UShort &nr_of_sent);
- virtual int svc (void);
-
- private:
- ::UsesMulti::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- Atomic_UShort &nr_of_sent_;
-
- };
-
- /// Worker threads for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::UsesMulti::CCM_Sender_Context_ptr context,
- Atomic_UShort &nr_of_received);
- virtual int svc (void);
-
- private:
- ::UsesMulti::CCM_Sender_Context_var context_;
- Atomic_UShort &nr_of_received_;
- };
- /**
- * Component Executor Implementation Class: Sender_exec_i
- */
-
- class Sender_exec_i
- : public virtual Sender_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_exec_i (void);
- virtual ~Sender_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::UsesMulti::CCM_Sender_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- Atomic_UShort nr_of_received_;
- Atomic_UShort nr_of_sent_;
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- class AMI4CCM_OneReplyHandler_run_my_um_one_i
- : public ::UsesMulti::CCM_AMI4CCM_OneReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_OneReplyHandler_run_my_um_one_i (
- Atomic_UShort &nr_of_received,
- Atomic_UShort &nr_of_sent);
- virtual ~AMI4CCM_OneReplyHandler_run_my_um_one_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- private:
- Atomic_UShort &nr_of_received_;
- Atomic_UShort &nr_of_sent_;
- };
-
- extern "C" USESMULTI_SENDER_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_UsesMulti_Sender_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/Plan.cdp
deleted file mode 100644
index dfd9503cd7f..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/Plan.cdp
+++ /dev/null
@@ -1,549 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="UsesMulti_ReceiverHomeImplementation">
- <name>UsesMulti_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesMulti_Receiver_ExecArtifact"/>
- <artifact xmi:idref="UsesMulti_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="UsesMulti_SenderHomeImplementation">
- <name>UsesMulti_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesMulti_Sender_ExecArtifact"/>
- <artifact xmi:idref="UsesMulti_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
-<!-- conn one-->
- <implementation xmi:id="UsesMulti_AMIOneHomeImplementation">
- <name>UsesMulti_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesMulti_AMIOne_ExecArtifact"/>
- <artifact xmi:idref="UsesMulti_AMIOne_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI4CCM_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverA">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverA</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesMulti_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverB">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverB</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesMulti_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverC">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverC</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesMulti_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesMulti_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesMulti_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesMulti_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesMulti_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-
- <connection>
- <name>run_asynch_one_connectionA</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_one_connectionB</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_one_connectionC</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC" />
- </internalEndpoint>
- </connection>
-
-
- <connection>
- <name>do_one_connectionA</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverA" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_one_connectionB</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverB" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_one_connectionC</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverC" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC" />
- </internalEndpoint>
- </connection>
-
-
-
- <connection>
- <name>synch_one_connectionA</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverA" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_one_connectionB</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverB" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_one_connectionC</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverC" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- </connection>
-
-
-
- <artifact xmi:id="UsesMulti_AMIOne_SvntArtifact">
- <name>UsesMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>UsesMulti_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-
-
- <artifact xmi:id="UsesMulti_AMIOne_ExecArtifact">
- <name>UsesMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>UsesMulti_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-
- <artifact xmi:id="UsesMulti_Receiver_SvntArtifact">
- <name>UsesMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>UsesMulti_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesMulti_Receiver_ExecArtifact">
- <name>UsesMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>UsesMulti_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesMulti_Sender_SvntArtifact">
- <name>UsesMulti.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>UsesMulti_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesMulti_Sender_ExecArtifact">
- <name>UsesMulti.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>UsesMulti_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/PlanSyncPort.cdp b/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/PlanSyncPort.cdp
deleted file mode 100644
index 86ad82ab75d..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/PlanSyncPort.cdp
+++ /dev/null
@@ -1,558 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="UsesMulti_ReceiverHomeImplementation">
- <name>UsesMulti_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesMulti_Receiver_ExecArtifact"/>
- <artifact xmi:idref="UsesMulti_Receiver_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_Receiver_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_Receiver_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="UsesMulti_SenderHomeImplementation">
- <name>UsesMulti_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesMulti_Sender_ExecArtifact"/>
- <artifact xmi:idref="UsesMulti_Sender_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_Sender_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_Sender_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
-<!-- conn one-->
- <implementation xmi:id="UsesMulti_AMIOneHomeImplementation">
- <name>UsesMulti_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="UsesMulti_AMIOne_ExecArtifact"/>
- <artifact xmi:idref="UsesMulti_AMIOne_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI4CCM_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>UsesMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverA">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverA</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesMulti_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverB">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverB</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesMulti_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverC">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverC</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="UsesMulti_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesMulti_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesMulti_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesMulti_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
- <instance xmi:id="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC">
- <name>UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="UsesMulti_AMIOneHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
-
- <connection>
- <name>run_asynch_one_connectionA</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_one_connectionB</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>run_asynch_one_connectionC</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC" />
- </internalEndpoint>
- </connection>
-
-
- <connection>
- <name>do_one_connectionA</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverA" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_one_connectionB</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverB" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>do_one_connectionC</name>
- <internalEndpoint>
- <portName>do_my_one</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.ReceiverC" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_one_connectionA</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneA" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_one_connectionB</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneB" />
- </internalEndpoint>
- </connection>
- <connection>
- <name>synch_one_connectionC</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>run_my_um_one</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_sync_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="UsesMulti.ComponentImplementations.UsesMultiImplementation.UsesMulti.AMIOneC" />
- </internalEndpoint>
- </connection>
-
-
- <artifact xmi:id="UsesMulti_AMIOne_SvntArtifact">
- <name>UsesMulti.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>UsesMulti_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI4CCM_One_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-
-
- <artifact xmi:id="UsesMulti_AMIOne_ExecArtifact">
- <name>UsesMulti.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>UsesMulti_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_One_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-
- <artifact xmi:id="UsesMulti_Receiver_SvntArtifact">
- <name>UsesMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>UsesMulti_Receiver_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesMulti_Receiver_ExecArtifact">
- <name>UsesMulti.ImplementationArtifacts.ReceiverArtifacts.Receiver_exec</name>
- <source/>
- <node/>
- <location>UsesMulti_Receiver_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesMulti_Sender_SvntArtifact">
- <name>UsesMulti.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>UsesMulti_Sender_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="UsesMulti_Sender_ExecArtifact">
- <name>UsesMulti.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>UsesMulti_Sender_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_UsesMulti_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/run_test.pl b/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/run_test.pl
deleted file mode 100755
index 203254a442a..00000000000
--- a/CIAO/connectors/ami4ccm/tests/UsesMulti/descriptors/run_test.pl
+++ /dev/null
@@ -1,257 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = $tg_daemons[$i]->GetArchDir("$DANCE_ROOT/bin/") . "dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-if ($#ARGV == -1) {
- opendir(DIR, ".");
- @files = grep(/\.cdp$/,readdir(DIR));
- closedir(DIR);
-}
-else {
- @files = @ARGV;
-}
-foreach $file (@files) {
- print "=============================\nStarting test for deployment $file\n================================\n";
-
- # Invoke naming service
-
- $NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
- print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
- $ns_status = $NS->Spawn ();
-
- if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
- }
-
- if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
- }
-
- $ns_running = 1;
- # Set up NamingService environment
- $ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
- # Invoke node daemon.
- print "Invoking node daemon\n";
- $status = run_node_daemons ();
-
- if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
- }
-
- $daemons_running = 1;
-
- # Invoke execution manager.
- print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
- $EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
- $em_status = $EM->Spawn ();
-
- if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
- }
-
- if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-
- $em_running = 1;
-
- # Invoke executor - start the application -.
- print "Invoking executor - launch the application -\n";
-
- print "Start dance_plan_launcher.exe with -x $file -k file://$ior_emfile\n";
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $file -k file://$ior_emfile");
-
- $pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
-
- for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
- }
-
- print "Sleeping 30 seconds to allow task to complete\n";
- sleep (30);
-
- # Invoke executor - stop the application -.
- print "Invoking executor - stop the application -\n";
- print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $file\n";
-
- $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $file -s");
- $pl_status = $E->SpawnWaitKill (3 * $tg_executor->ProcessStartWaitInterval ());
-
- if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
- }
-
- delete_ior_files ();
- kill_open_processes ();
- # Sleep for a couple seconds to make sure everything has a chance to shut down.
- sleep 5;
-}
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/.gitignore b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/.gitignore
deleted file mode 100644
index e73c15370ed..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/GeneratedCode
-/Ports
-/lib
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/descriptors/Plan.cdp
deleted file mode 100644
index baeb334ae2d..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="Hello_ReceiverHomeImplementation">
- <name>Hello_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Receiver_comp_ExecArtifact"/>
- <artifact xmi:idref="Hello_Receiver_comp_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Receiver_comp_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver_comp_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Receiver_comp_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_SenderHomeImplementation">
- <name>Hello_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Sender_comp_ExecArtifact"/>
- <artifact xmi:idref="Hello_Sender_comp_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_comp_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_comp_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_AMIHomeImplementation">
- <name>Hello_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_MyFoo_obj_AMI_ExecArtifact"/>
- <artifact xmi:idref="Hello_MyFoo_obj_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="Hello_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="Hello_MyFoo_obj_AMI_SvntArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Hello_MyFoo_obj_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_MyFoo_obj_AMI_ExecArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Hello_MyFoo_obj_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_comp_SvntArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>Hello_Receiver_comp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_comp_ExecArtifact">
- <name>Receiver_comp_exec</name>
- <source/>
- <node/>
- <location>Hello_Receiver_comp_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_comp_SvntArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>Hello_Sender_comp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_comp_ExecArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>Hello_Sender_comp_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/scripts/run_test.pl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/scripts/run_test.pl
deleted file mode 100755
index 4554b23ec7a..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Deployment/scripts/run_test.pl
+++ /dev/null
@@ -1,243 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# -*- perl -*-
-
-use lib "$ENV{'ACE_ROOT'}/bin";
-use PerlACE::TestTarget;
-
-$CIAO_ROOT = "$ENV{'CIAO_ROOT'}";
-$TAO_ROOT = "$ENV{'TAO_ROOT'}";
-$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
-
-$daemons_running = 0;
-$em_running = 0;
-$ns_running = 0;
-
-$nr_daemon = 3;
-@ports = ( 60000, 60001 );
-@iorbases = ( "Sender.ior", "Receiver.ior", "AMI.ior" );
-@iorfiles = 0;
-@nodenames = ( "Sender", "Receiver" );
-
-# ior files other than daemon
-$ior_nsbase = "ns.ior";
-$ior_nsfile = 0;
-$ior_embase = "EM.ior";
-$ior_emfile = 0;
-
-# Processes
-$E = 0;
-$EM = 0;
-$NS = 0;
-@DEAMONS = 0;
-
-# targets
-@tg_daemons = 0;
-$tg_naming = 0;
-$tg_exe_man = 0;
-$tg_executor = 0;
-
-$status = 0;
-$cdp_file = "../descriptors/Plan.cdp";
-
-sub create_targets {
- # naming service
- $tg_naming = PerlACE::TestTarget::create_target (1) || die "Create target for ns failed\n";
- $tg_naming->AddLibPath ('../../lib');
- # daemon
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i] = PerlACE::TestTarget::create_target ($i+1) || die "Create target for daemon $i failed\n";
- $tg_daemons[$i]->AddLibPath ('../../lib');
- }
- # execution manager
- $tg_exe_man = PerlACE::TestTarget::create_target (1) || die "Create target for EM failed\n";
- $tg_exe_man->AddLibPath ('../../lib');
- # executor (plan_launcher)
- $tg_executor = PerlACE::TestTarget::create_target (1) || die "Create target for executor failed\n";
- $tg_executor->AddLibPath ('../../lib');
-}
-
-sub init_ior_files {
- $ior_nsfile = $tg_naming->LocalFile ($ior_nsbase);
- $ior_emfile = $tg_exe_man->LocalFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
- delete_ior_files ();
-}
-
-# Delete if there are any .ior files.
-sub delete_ior_files {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $tg_daemons[$i]->DeleteFile ($iorbases[$i]);
- }
- $tg_naming->DeleteFile ($ior_nsbase);
- $tg_exe_man->DeleteFile ($ior_embase);
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorfiles[$i] = $tg_daemons[$i]->LocalFile ($iorbases[$i]);
- }
-}
-
-sub kill_node_daemon {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
-}
-
-sub kill_open_processes {
- if ($daemons_running == 1) {
- kill_node_daemon ();
- }
-
- if ($em_running == 1) {
- $EM->Kill (); $EM->TimedWait (1);
- }
-
- if ($ns_running == 1) {
- $NS->Kill (); $NS->TimedWait (1);
- }
- # in case shutdown did not perform as expected
- $tg_executor->KillAll ('dance_locality_manager');
-}
-
-sub run_node_daemons {
- for ($i = 0; $i < $nr_daemon; ++$i) {
- $iorbase = $iorbases[$i];
- $iorfile = $iorfiles[$i];
- $port = $ports[$i];
- $nodename = $nodenames[$i];
- $iiop = "iiop://localhost:$port";
- $node_app = "$DANCE_ROOT/bin/dance_locality_manager";
-
- $d_cmd = "$DANCE_ROOT/bin/dance_node_manager";
- $d_param = "-ORBEndpoint $iiop -s $node_app -n $nodename=$iorfile -t 30 --domain-nc corbaloc:rir:/NameService";
-
- print "Run dance_node_manager with $d_param\n";
-
- $DEAMONS[$i] = $tg_daemons[$i]->CreateProcess ($d_cmd, $d_param);
- $DEAMONS[$i]->Spawn ();
-
- if ($tg_daemons[$i]->WaitForFileTimed($iorbase,
- $tg_daemons[$i]->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior $iorfile file of node daemon $i could not be found\n";
- for (; $i >= 0; --$i) {
- $DEAMONS[$i]->Kill (); $DEAMONS[$i]->TimedWait (1);
- }
- return -1;
- }
- }
- return 0;
-}
-
-create_targets ();
-init_ior_files ();
-
-# Invoke naming service
-
-$NS = $tg_naming->CreateProcess ("$TAO_ROOT/orbsvcs/Naming_Service/tao_cosnaming", " -ORBEndpoint iiop://localhost:60003 -o $ior_nsfile");
-
-print STDERR "Starting Naming Service with -ORBEndpoint iiop://localhost:60003 -o ns.ior\n";
-
-$ns_status = $NS->Spawn ();
-
-if ($ns_status != 0) {
- print STDERR "ERROR: Unable to execute the naming service\n";
- kill_open_processes ();
- exit 1;
-}
-
-if ($tg_naming->WaitForFileTimed ($ior_nsbase,
- $tg_naming->ProcessStartWaitInterval ()) == -1) {
- print STDERR "ERROR: cannot find naming service IOR file\n";
- $NS->Kill (); $NS->TimedWait (1);
- exit 1;
-}
-
-$ns_running = 1;
-# Set up NamingService environment
-$ENV{"NameServiceIOR"} = "corbaloc:iiop:localhost:60003/NameService";
-
-# Invoke node daemon.
-print "Invoking node daemon\n";
-$status = run_node_daemons ();
-
-if ($status != 0) {
- print STDERR "ERROR: Unable to execute the node daemon\n";
- kill_open_processes ();
- exit 1;
-}
-
-$daemons_running = 1;
-
-# Invoke execution manager.
-print "Invoking execution manager (dance_execution_manager.exe) with -e$ior_emfile\n";
-$EM = $tg_exe_man->CreateProcess ("$DANCE_ROOT/bin/dance_execution_manager",
- "-e$ior_emfile --domain-nc corbaloc:rir:/NameService");
-$em_status = $EM->Spawn ();
-
-if ($em_status != 0) {
- print STDERR "ERROR: dance_execution_manager returned $em_status";
- exit 1;
-}
-
-if ($tg_exe_man->WaitForFileTimed ($ior_embase,
- $tg_exe_man->ProcessStartWaitInterval ()) == -1) {
- print STDERR
- "ERROR: The ior file of execution manager could not be found\n";
- kill_open_processes ();
- exit 1;
-}
-
-$em_running = 1;
-
-# Invoke executor - start the application -.
-print "Invoking executor - launch the application -\n";
-
-print "Start dance_plan_launcher.exe with -x $cdp_file -k file://$ior_emfile\n";
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-x $cdp_file -k file://$ior_emfile");
-
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-for ($i = 0; $i < $nr_daemon; ++$i) {
- if ($tg_daemons[$i]->WaitForFileTimed ($iorbases[$i],
- $tg_daemons[$i]->ProcessStopWaitInterval ()) == -1) {
- print STDERR "ERROR: The ior file of daemon $i could not be found\n";
- kill_open_processes ();
- exit 1;
- }
-}
-
-print "Sleeping 30 seconds to allow task to complete\n";
-sleep (30);
-
-# Invoke executor - stop the application -.
-print "Invoking executor - stop the application -\n";
-print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n";
-
-$E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher",
- "-k file://$ior_emfile -x $cdp_file -s");
-$pl_status = $E->SpawnWaitKill (2 * $tg_executor->ProcessStartWaitInterval ());
-
-if ($pl_status != 0) {
- print STDERR "ERROR: dance_plan_launcher returned $pl_status\n";
- kill_open_processes ();
- exit 1;
-}
-
-print "Executor returned.\n";
-print "Shutting down rest of the processes.\n";
-
-delete_ior_files ();
-kill_open_processes ();
-
-exit $status;
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.idl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.idl
deleted file mode 100644
index 798151db843..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.idl
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef HELLO_RECEIVER_IDL
-#define HELLO_RECEIVER_IDL
-
-#include <Components.idl>
-
-#include "Hello_MyFoo_obj.idl"
-
-module Hello
-{
- component Receiver_comp
- {
- /// Provides
- provides MyFoo_obj do_my_foo;
- };
-};
-#endif
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.mpc b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.mpc
deleted file mode 100644
index 54f7a9b0857..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp.mpc
+++ /dev/null
@@ -1,162 +0,0 @@
-project(AMI_Hello_Tuto_Hello_Receiver_idl_gen) : componentidldefaults {
- custom_only = 1
- after += AMI_Hello_Tuto_idl_gen
- idlflags += -Wb,stub_export_macro=HELLO_RECEIVER_COMP_STUB_Export \
- -Wb,stub_export_include=Hello_Receiver_comp_stub_export.h \
- -Wb,skel_export_macro=HELLO_RECEIVER_COMP_SVNT_Export \
- -Wb,skel_export_include=Hello_Receiver_comp_svnt_export.h \
- -Wb,exec_export_macro=HELLO_RECEIVER_COMP_EXEC_Export \
- -Wb,exec_export_include=Hello_Receiver_comp_exec_export.h \
- -Glem \
- -I../../ports \
- -I../../GeneratedCode \
- -o ../../GeneratedCode
-
-
- IDL_Files {
- Hello_Receiver_comp.idl
- gendir=../../GeneratedCode
- }
-}
-
-project(AMI_Hello_Hello_Receiver_exec_idl_gen) : componentidldefaults {
- requires += dummy_label
- custom_only = 1
- idlflags += -Gex -SS -Sci \
- -I../ports \
- -I../../ports \
- -o ../../../Tutorial/Code/GeneratedExec
-
- IDL_Files {
- Hello_Receiver_comp.idl
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Receiver_lem_gen) : ciaoidldefaults {
- after += AMI_Hello_Tuto_Hello_Receiver_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_RECEIVER_COMP_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_Receiver_comp_lem_stub_export.h \
- -SS -Gxhst \
- -I../../ports \
- -I../../GeneratedCode\
- -o ../../GeneratedCode
-
-
- IDL_Files {
- ../../GeneratedCode/Hello_Receiver_compE.idl
- gendir=../../GeneratedCode
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Receiver_l_stub) : ccm_svnt, messaging {
- after += AMI_Hello_Tuto_Hello_Receiver_lem_gen\
- AMI_Hello_Tuto_Hello_Receiver_stub AMI_Hello_Tuto_stub
- libs += Hello_MyFoo_obj_stub Hello_Receiver_comp_stub
- libpaths += ../../lib
- libout = ../../lib
- sharedname = Hello_Receiver_comp_lem_stub
- dynamicflags += HELLO_RECEIVER_COMP_LEM_STUB_BUILD_DLL
- includes += ../.. ../../GeneratedCode
- IDL_Files {
- }
-
- Source_Files {
- ../../GeneratedCode/Hello_Receiver_compEC.cpp
- }
-
- Header_Files {
- ../../GeneratedCode/Hello_Receiver_compEC.h
- ../../GeneratedCode/Hello_Receiver_comp_lem_stub_export.h
- }
-
- Inline_Files {
- ../../GeneratedCode/Hello_Receiver_compEC.inl
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Receiver_stub) : ccm_stub, messaging {
- after += AMI_Hello_Tuto_Hello_Receiver_idl_gen AMI_Hello_Tuto_stub
- libs += Hello_MyFoo_obj_stub
- libpaths += ../../lib
- libout = ../../lib
- sharedname = Hello_Receiver_comp_stub
- dynamicflags += HELLO_RECEIVER_COMP_STUB_BUILD_DLL
- includes += ../../GeneratedCode
-
- IDL_Files {
- }
-
- Source_Files {
- ../../GeneratedCode/Hello_Receiver_compC.cpp
- }
-
- Header_Files {
- ../../GeneratedCode/Hello_Receiver_compC.h
- ../../GeneratedCode/Hello_Receiver_comp_stub_export.h
- }
-
- Inline_Files {
- ../../GeneratedCode/Hello_Receiver_compC.inl
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Receiver_exec) : ciao_executor, messaging {
- after += AMI_Hello_Tuto_Hello_Receiver_l_stub\
- AMI_Hello_Tuto_Hello_Receiver_stub\
- AMI_Hello_Tuto_stub AMI_Hello_Tuto_lem_stub
- sharedname = Hello_Receiver_comp_exec
- libs += Hello_Receiver_comp_stub Hello_Receiver_comp_lem_stub\
- Hello_MyFoo_obj_stub\
- Hello_MyFoo_obj_lem_stub Hello_common_defn_stub
- libpaths += ../../lib
- libout = ../../lib
- dynamicflags += HELLO_RECEIVER_COMP_EXEC_BUILD_DLL
- includes += ../../GeneratedCode
-
- IDL_Files {
- }
-
- Source_Files {
- Hello_Receiver_comp_exec.cpp
- }
-
- Header_Files {
- Hello_Receiver_comp_exec.h
- ../../GeneratedCode/Hello_Receiver_comp_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Receiver_svnt) : ciao_servant, messaging {
- after += AMI_Hello_Tuto_skel AMI_Hello_Tuto_Hello_Receiver_l_stub\
- AMI_Hello_Tuto_stub\
- AMI_Hello_Tuto_skel AMI_Hello_Tuto_lem_stub
- sharedname = Hello_Receiver_comp_svnt
- libs += Hello_Receiver_comp_stub Hello_Receiver_comp_lem_stub\
- Hello_MyFoo_obj_skel\
- Hello_MyFoo_obj_stub Hello_MyFoo_obj_lem_stub
- libpaths += ../../lib
- libout = ../../lib
- dynamicflags += HELLO_RECEIVER_COMP_SVNT_BUILD_DLL
- includes += ../.. ../../GeneratedCode
-
- IDL_Files {
- }
-
- Source_Files {
- ../../GeneratedCode/Hello_Receiver_compS.cpp
- ../../GeneratedCode/Hello_Receiver_comp_svnt.cpp
- }
-
- Header_Files {
- ../../GeneratedCode/Hello_Receiver_compS.h
- ../../GeneratedCode/Hello_Receiver_comp_svnt.h
- ../../GeneratedCode/Hello_Receiver_comp_svnt_export.h
- }
-
- Inline_Files {
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.cpp b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.cpp
deleted file mode 100644
index 303697cae44..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.cpp
+++ /dev/null
@@ -1,181 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Hello_Receiver_comp_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_Hello_Receiver_comp_Impl
-{
-
- //============================================================
- // Facet Executor Implementation Class: do_my_foo_exec_i
- //============================================================
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::Hello::CCM_Receiver_comp_Context_ptr ctx)
- : ciao_context_ (
- ::Hello::CCM_Receiver_comp_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::Hello::MyFoo_obj
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * in_str,
- ::CORBA::String_out answer)
- {
- // for test purposes : throw an exception.
- if (ACE_OS::strlen (in_str) == 0)
- {
- Hello::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = CORBA::string_dup ("This is my answer : Hi");
- return ACE_OS::rand () % 100;
- }
- }
-
- void
- do_my_foo_exec_i::hello (::CORBA::Long_out answer)
- {
- /* Your code here. */
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = ACE_OS::rand () % 100;
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::rw_attrib (void)
- {
- /* Your code here. */
- return ACE_OS::rand () % 100;
- }
-
- void
- do_my_foo_exec_i::rw_attrib (::CORBA::Short /* rw_attrib */)
- {
- /* Your code here. */
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::ro_attrib (void)
- {
- /* Your code here. */
- return ACE_OS::rand () % 100;
- }
-
- //============================================================
- // Component Executor Implementation Class: Receiver_comp_exec_i
- //============================================================
-
- Receiver_comp_exec_i::Receiver_comp_exec_i (void){
- }
-
- Receiver_comp_exec_i::~Receiver_comp_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::Hello::CCM_MyFoo_obj_ptr
- Receiver_comp_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::Hello::CCM_MyFoo_obj::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::Hello::CCM_MyFoo_obj::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_comp_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::Hello::CCM_Receiver_comp_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_comp_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_Hello_Receiver_comp_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_comp_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.h b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.h
deleted file mode 100644
index 49292bc1852..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Receiver_comp/src/Hello_Receiver_comp_exec.h
+++ /dev/null
@@ -1,126 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO__________TUTORIAL_CODE_GENERATEDEXEC_HELLO_RECEIVER_COMP_EXEC_IHOFDC_H_
-#define CIAO__________TUTORIAL_CODE_GENERATEDEXEC_HELLO_RECEIVER_COMP_EXEC_IHOFDC_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Hello_Receiver_compEC.h"
-#include "Hello_Receiver_comp_exec_export.h"
-
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-
-namespace CIAO_Hello_Receiver_comp_Impl
-{
-
- //============================================================
- // Provider Executor Implementation Class: do_my_foo_exec_i
- //============================================================
-
- class do_my_foo_exec_i
- : public virtual ::Hello::CCM_MyFoo_obj,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::Hello::CCM_Receiver_comp_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- // Operations and attributes from Hello::MyFoo_obj
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::String_out answer);
-
- virtual
- void hello (::CORBA::Long_out answer);
-
- virtual ::CORBA::Short rw_attrib (void);
-
- virtual void rw_attrib (::CORBA::Short rw_attrib);
-
- virtual ::CORBA::Short ro_attrib (void);
-
- private:
- ::Hello::CCM_Receiver_comp_Context_var ciao_context_;
- };
-
- //============================================================
- // Component Executor Implementation Class: Receiver_comp_exec_i
- //============================================================
-
- class Receiver_comp_exec_i
- : public virtual Receiver_comp_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_comp_exec_i (void);
- virtual ~Receiver_comp_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::Hello::CCM_MyFoo_obj_ptr
- get_do_my_foo (void);//@}
-
- //@{
- /** Operations from Components::SessionComponent. */
-
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete (void);
-
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined operations */
-
- //@}
-
- private:
- ::Hello::CCM_Receiver_comp_Context_var ciao_context_;
- ::Hello::CCM_MyFoo_obj_var ciao_do_my_foo_;
- };
-
- extern "C" HELLO_RECEIVER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Receiver_comp_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.idl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.idl
deleted file mode 100644
index 70cb4738010..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.idl
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef HELLO_SENDER_IDL
-#define HELLO_SENDER_IDL
-
-#include <Components.idl>
-
-#include "Hello_MyFoo_obj.idl"
-
-#pragma ciao ami4ccm receptacle "Hello::Sender_comp::run_my_foo"
-
-module Hello
-{
- component Sender_comp
- {
- /// For synchronous invocation
- uses MyFoo_obj run_my_foo;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.mpc b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.mpc
deleted file mode 100644
index d4cbe1f0994..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp.mpc
+++ /dev/null
@@ -1,156 +0,0 @@
-project(AMI_Hello_Tuto_Hello_Sender_idl_gen) : componentidldefaults {
- after += AMI_Hello_Tuto_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_SENDER_COMP_STUB_Export \
- -Wb,stub_export_include=Hello_Sender_comp_stub_export.h \
- -Wb,skel_export_macro=HELLO_SENDER_COMP_SVNT_Export \
- -Wb,skel_export_include=Hello_Sender_comp_svnt_export.h \
- -Wb,exec_export_macro=HELLO_SENDER_COMP_EXEC_Export \
- -Wb,exec_export_include=Hello_Sender_comp_exec_export.h \
- -I../../ports \
- -I../../GeneratedCode \
- -o ../../GeneratedCode \
- -GC
-
- IDL_Files {
- Hello_Sender_comp.idl
- gendir=../../GeneratedCode
- }
-}
-
-project(AMI_Hello_Hello_Sender_exec_idl_gen) : componentidldefaults {
- requires += dummy_label
- custom_only = 1
- idlflags += -Gex -SS -Sci \
- -I../ports \
- -I../../ports \
- -o ../../../Tutorial/Code/GeneratedExec
-
- IDL_Files {
- Hello_Sender_comp.idl
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Sender_lem_gen) : ciaoidldefaults {
- after += AMI_Hello_Tuto_Hello_Sender_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_SENDER_COMP_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_Sender_comp_lem_stub_export.h \
- -SS -Gxhst\
- -I../../ports \
- -I../../GeneratedCode\
- -o ../../GeneratedCode
-
-
- IDL_Files {
- ../../GeneratedCode/Hello_Sender_compE.idl
- gendir=../../GeneratedCode
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Sender_lem_stub) : ccm_svnt, ami {
- after += AMI_Hello_Tuto_Hello_Sender_lem_gen AMI_Hello_Tuto_stub Conn_Hello_Tuto_stub
- libs += Hello_MyFoo_obj_stub
- libpaths += ../../lib
- libout = ../../lib
- sharedname = Hello_Sender_comp_lem_stub
- dynamicflags += HELLO_SENDER_COMP_LEM_STUB_BUILD_DLL
- includes += ../../GeneratedCode ../..
- IDL_Files {
- }
-
- Source_Files {
- ../../GeneratedCode/Hello_Sender_compEC.cpp
- }
-
- Header_Files {
- ../../GeneratedCode/Hello_Sender_compEC.h
- ../../GeneratedCode/Hello_Sender_comp_lem_stub_export.h
- }
-
- Inline_Files {
- ../../GeneratedCode/Hello_Sender_compEC.inl
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Sender_stub) : ccm_stub, ami {
- after += AMI_Hello_Tuto_Hello_Sender_idl_gen AMI_Hello_Tuto_stub Conn_Hello_Tuto_stub
- libs += Hello_MyFoo_obj_stub
- libpaths += ../../lib
- libout = ../../lib
- sharedname = Hello_Sender_comp_stub
- dynamicflags += HELLO_SENDER_COMP_STUB_BUILD_DLL
- includes += ../../GeneratedCode
- IDL_Files {
- }
-
- Source_Files {
- ../../GeneratedCode/Hello_Sender_compC.cpp
- }
-
- Header_Files {
- ../../GeneratedCode/Hello_Sender_compC.h
- ../../GeneratedCode/Hello_Sender_comp_stub_export.h
- }
-
- Inline_Files {
- ../../GeneratedCode/Hello_Sender_compC.inl
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Sender_exec) : ciao_executor, ami, ami4ccm_stub {
- after += AMI_Hello_Tuto_Hello_Sender_lem_stub AMI_Hello_Tuto_Hello_Sender_stub\
- AMI_Hello_Tuto_exec Conn_Hello_Tuto_stub AMI_Hello_Tuto_lem_stub
- sharedname = Hello_Sender_comp_exec
- libs += Hello_Sender_comp_stub Hello_Sender_comp_lem_stub Hello_MyFoo_obj_stub\
- Hello_MyFoo_obj_stub Hello_MyFoo_obj_lem_stub Hello_common_defn_stub
- libpaths += ../../lib
- libout = ../../lib
- dynamicflags += HELLO_SENDER_COMP_EXEC_BUILD_DLL
- includes += ../..\
- ../../GeneratedCode
- IDL_Files {
- }
-
- Source_Files {
- Hello_Sender_comp_exec.cpp
- }
-
- Header_Files {
- Hello_Sender_comp_exec.h
- ../../GeneratedCode/Hello_Sender_comp_exec_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Hello_Tuto_Hello_Sender_svnt) : ciao_servant, ami {
- after += AMI_Hello_Tuto_skel AMI_Hello_Tuto_Hello_Sender_lem_stub\
- AMI_Hello_Tuto_Hello_Sender_stub AMI_Hello_Tuto_exec AMI_Hello_Tuto_skel
- sharedname = Hello_Sender_comp_svnt
- libs += Hello_Sender_comp_stub Hello_Sender_comp_lem_stub \
- Hello_MyFoo_obj_skel \
- Hello_MyFoo_obj_stub
- libpaths += ../../lib
- libout = ../../lib
- dynamicflags += HELLO_SENDER_COMP_SVNT_BUILD_DLL
- includes += ../..\
- ../../GeneratedCode
- IDL_Files {
- }
-
- Source_Files {
- ../../GeneratedCode/Hello_Sender_compS.cpp
- ../../GeneratedCode/Hello_Sender_comp_svnt.cpp
- }
-
- Header_Files {
- ../../GeneratedCode/Hello_Sender_compS.h
- ../../GeneratedCode/Hello_Sender_comp_svnt.h
- ../../GeneratedCode/Hello_Sender_comp_svnt_export.h
- }
-
- Inline_Files {
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.cpp b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.cpp
deleted file mode 100644
index f725ef893ad..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.cpp
+++ /dev/null
@@ -1,342 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Hello_Sender_comp_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_Hello_Sender_comp_Impl
-{
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::Hello::CCM_Sender_comp_Context_ptr context)
- : context_(::Hello::CCM_Sender_comp_Context::_duplicate (context))
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (2);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :")
- ACE_TEXT("\tInvoke Asynchronous calls\n")));
- ::Hello::AMI4CCM_MyFoo_obj_var my_foo_ami_ =
- this->context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR Sender (ASYNCH) :")
- ACE_TEXT("\tfoo_ami is NIL !!!\n")));
- return 1;
- }
- ::Hello::CCM_AMI4CCM_MyFoo_objReplyHandler_var cb =
- new AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i ();
-
- for (int i = 0; i < 5; ++i)
- {
- my_foo_ami_->sendc_foo (cb.in (),
- "Do something asynchronous");
- my_foo_ami_->sendc_hello (cb.in ());
- my_foo_ami_->sendc_get_rw_attrib(cb.in ());
- my_foo_ami_->sendc_set_rw_attrib(cb.in (),
- 15);
- my_foo_ami_->sendc_get_ro_attrib(cb.in ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked 5 Asynchronous calls\n")));
- }
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoke Asynchronous calls ")
- ACE_TEXT("to test except handling\n")));
- my_foo_ami_->sendc_foo (cb.in (), "");
- my_foo_ami_->sendc_set_rw_attrib(cb.in (), 0);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked 2 Asynchronous call.\n")));
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::Hello::CCM_Sender_comp_Context_ptr context)
- : context_(::Hello::CCM_Sender_comp_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (2);
- ::Hello::MyFoo_obj_var my_foo_ami_ =
- this->context_->get_connection_run_my_foo ();
- // run synch calls
- CORBA::String_var out_str;
- for (int i = 0; i < 2; ++i)
- {
- try
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call (foo)\n")));
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- out_str.out());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call (foo)\n")
- ACE_TEXT(" result <%u> answer <%C>\n"),
- result, out_str.in()));
-
- CORBA::Long answer;
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call")
- ACE_TEXT(" (hello)\n")));
- my_foo_ami_->hello (answer);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous ")
- ACE_TEXT("call (hello) result <%u>\n"), answer));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call ")
- ACE_TEXT("(rw_attrib())\n")));
- CORBA::Short rw_attrib = my_foo_ami_->rw_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(rw_attrib()) return <%u>\n"), rw_attrib));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call")
- ACE_TEXT(" (rw_attrib(15))\n")));
- my_foo_ami_->rw_attrib (15);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(rw_attrib(15))\n")));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call")
- ACE_TEXT(" (ro_attrib())\n")));
- CORBA::Short ro_attrib = my_foo_ami_->ro_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(ro_attrib) return <%u>\n"), ro_attrib));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("Sender (SYNCH) :\tERROR: ")
- ACE_TEXT("Unexpected Exception caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- }
- return 0;
- }
-
- //============================================================
- // Component Executor Implementation Class: Sender_comp_exec_i
- //============================================================
- Sender_comp_exec_i::Sender_comp_exec_i (void) :
- asynch_foo_gen (0),
- synch_foo_gen (0)
- {
- }
-
- Sender_comp_exec_i::~Sender_comp_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_comp_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::Hello::CCM_Sender_comp_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_comp_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_comp_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in ());
- this->asynch_foo_gen ->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in ());
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_comp_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_comp_exec_i::ccm_remove (void)
- {
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::~AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * answer)
- {
- /* Your code here. */
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from foo:")
- ACE_TEXT("result <%u> answer <%C>\n"),
- ami_return_val, answer));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo Expected excception AMI Callback ")
- ACE_TEXT("from foo: id <%u> error_string <%C>\n"),
- ex.id, ex.error_string.in ()));
- }
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::hello (
- ::CORBA::Long answer)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from hello:")
- ACE_TEXT(" answer <%u>\n"), answer));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo Exception AMI Callback from hello:\n")
- ACE_TEXT(" id <%u> error_string <%C>\n"),
- ex.id, ex.error_string.in ()));
- }
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short rw_attrib)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from get_rw_attrib:")
- ACE_TEXT(" result <%u>\n"), rw_attrib));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from ")
- ACE_TEXT("set_rw_attrib.\n")));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short ro_attrib)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from ")
- ACE_TEXT("get_ro_attrib: result <%u>\n"), ro_attrib));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" HELLO_SENDER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_comp_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_comp_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.h b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.h
deleted file mode 100644
index c297a5ed9ff..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/Sender_comp/src/Hello_Sender_comp_exec.h
+++ /dev/null
@@ -1,164 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_______GENERATEDCODE_HELLO_SENDER_COMP_EXEC_WFK79V_H_
-#define CIAO_______GENERATEDCODE_HELLO_SENDER_COMP_EXEC_WFK79V_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Hello_Sender_compEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "Hello_Sender_comp_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_Hello_Sender_comp_Impl
-{
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::Hello::CCM_Sender_comp_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Hello::CCM_Sender_comp_Context_var context_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::Hello::CCM_Sender_comp_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Hello::CCM_Sender_comp_Context_var context_;
- };
-
- //============================================================
- // Component Executor Implementation Class: Sender_comp_exec_i
- //============================================================
-
- class Sender_comp_exec_i
- : public virtual Sender_comp_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_comp_exec_i (void);
- virtual ~Sender_comp_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. *///@}
-
- //@{
- /** Operations from Components::SessionComponent. */
-
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete (void);
-
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined operations */
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- //@}
-
- private:
- ::Hello::CCM_Sender_comp_Context_var ciao_context_;
- };
-
- class AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i
- : public ::Hello::CCM_AMI4CCM_MyFoo_objReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- hello (
- ::CORBA::Long answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" HELLO_SENDER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_comp_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM.emx b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM.emx
deleted file mode 100644
index 06d0d094491..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM.emx
+++ /dev/null
@@ -1,398 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--xtools2_universal_type_manager-->
-<?com.ibm.xtools.emf.core.signature <signature id="com.ibm.xtools.mmi.ui.signatures.diagram" version="7.0.0"><feature description="" name="Rational Modeling Platform (com.ibm.xtools.rmp)" url="" version="7.0.0"/></signature>?>
-<?com.ibm.xtools.emf.core.signature <signature id="com.ibm.xtools.uml.msl.model" version="7.0.0"><feature description="" name="com.ibm.xtools.ruml.feature" url="" version="7.0.0"/></signature>?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dds4ccm="http://www.zeligsoft.com/domain/dds4ccm/2010/DDS4CCM/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.1/notation" xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML" xmlns:umlnotation="http://www.ibm.com/xtools/1.5.2/Umlnotation" xsi:schemaLocation="http://www.zeligsoft.com/domain/dds4ccm/2010/DDS4CCM/1 pathmap://DDS4CCM_PROFILES/dds4ccm.profile.uml#_g0KtJkDZEd-LnsQ685SqSQ">
- <uml:Model xmi:id="_jkiX8J4JEd6xhoJKj1dweA" name="AMI4CCM">
- <eAnnotations xmi:id="_jkiX8Z4JEd6xhoJKj1dweA" source="uml2.diagrams"/>
- <packageImport xmi:id="_Fg29cLNIEd66L-pSY5VQBg">
- <importedPackage xmi:type="uml:Model" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_DO-O0EDsEd-pwPnT_VsB_g"/>
- </packageImport>
- <packageImport xmi:id="_qP7wMKCXEd-JsdVwG9CGtA">
- <importedPackage xmi:type="uml:Model" href="pathmap://DDS4CCM_AMI_LIBRARIES/CCM_AMI.uml#_jkiX8J4JEd6xhoJKj1dweA"/>
- </packageImport>
- <packageImport xmi:id="_spjS8KCXEd-JsdVwG9CGtA">
- <importedPackage xmi:type="uml:Model" href="pathmap://DDS4CCM_DCPS_CONNECTOR_LIBRARIES/DDS_DCPS.uml#_jkiX8J4JEd6xhoJKj1dweA"/>
- </packageImport>
- <packagedElement xmi:type="uml:InstanceSpecification" xmi:id="_av6YA6CXEd-JsdVwG9CGtA" name="modelConfiguration">
- <classifier xmi:type="uml:Class" href="pathmap://ZML_LIBRARIES/ZML_C_Build.library.uml#_oDc5oKULEd2lg4YL0MvrHw"/>
- <slot xmi:id="_av6YBKCXEd-JsdVwG9CGtA">
- <definingFeature xmi:type="uml:Property" href="pathmap://ZML_LIBRARIES/ZML_C_Build.library.uml#_qzbt8KULEd2lg4YL0MvrHw"/>
- <value xmi:type="uml:LiteralString" xmi:id="_av6YBaCXEd-JsdVwG9CGtA" value="Hello">
- <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
- </value>
- </slot>
- </packagedElement>
- <packagedElement xmi:type="uml:Package" xmi:id="_xlawAKCXEd-JsdVwG9CGtA" name="Hello">
- <packagedElement xmi:type="uml:Package" xmi:id="_7pF0YKCXEd-JsdVwG9CGtA" name="Hello">
- <packagedElement xmi:type="uml:Package" xmi:id="_-coTAKCXEd-JsdVwG9CGtA" name="Hello_asm">
- <packagedElement xmi:type="uml:Package" xmi:id="__4aUgKCXEd-JsdVwG9CGtA" name="Deployment">
- <packagedElement xmi:type="uml:Package" xmi:id="_lhumYL28Ed-YGujHQXAQXw" name="descriptors"/>
- <packagedElement xmi:type="uml:Package" xmi:id="_mp2sEL28Ed-YGujHQXAQXw" name="scripts"/>
- </packagedElement>
- <packagedElement xmi:type="uml:Package" xmi:id="_AyFHcKCYEd-JsdVwG9CGtA" name="doc">
- <packagedElement xmi:type="uml:Component" xmi:id="_xvfvYLC5Ed-2N7mfPK6MYw" name="Hello_asm">
- <eAnnotations xmi:id="_0VfhQLC5Ed-2N7mfPK6MYw" source="uml2.diagrams">
- <contents xmi:type="notation:Diagram" xmi:id="_0VfhQbC5Ed-2N7mfPK6MYw" type="Zeligsoft Component" element="_xvfvYLC5Ed-2N7mfPK6MYw" name="Hello_asm_di" measurementUnit="Himetric">
- <children xmi:id="_2YLKsLC5Ed-2N7mfPK6MYw">
- <children xmi:id="_2YLKs7C5Ed-2N7mfPK6MYw" type="ImageCompartment">
- <layoutConstraint xmi:type="notation:Size" xmi:id="_2YLKtLC5Ed-2N7mfPK6MYw" width="1320" height="1320"/>
- </children>
- <children xmi:id="_2YLKtbC5Ed-2N7mfPK6MYw" type="Stereotype"/>
- <children xmi:id="_2YLKtrC5Ed-2N7mfPK6MYw" type="Kind"/>
- <children xmi:id="_2YLKt7C5Ed-2N7mfPK6MYw" type="Name"/>
- <children xmi:id="_2YLKuLC5Ed-2N7mfPK6MYw" type="Parent"/>
- <children xmi:id="_2YLKubC5Ed-2N7mfPK6MYw" type="AttributeCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKurC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_2YLKu7C5Ed-2N7mfPK6MYw" visible="false" type="OperationCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKvLC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_2YLKvbC5Ed-2N7mfPK6MYw" visible="false" type="RealizationListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKvrC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_2YLKv7C5Ed-2N7mfPK6MYw" visible="false" type="RequiredInterfaceListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKwLC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_2YLKwbC5Ed-2N7mfPK6MYw" visible="false" type="ProvidedInterfaceListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_2YLKwrC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_2YLKw7C5Ed-2N7mfPK6MYw" visible="false" type="StructureCompartment">
- <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_2YLKxLC5Ed-2N7mfPK6MYw"/>
- </children>
- <styles xmi:type="umlnotation:UMLComponentStyle" xmi:id="_2YLKsbC5Ed-2N7mfPK6MYw" showListStereotype="None" showWhiteBox="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_2YLKsrC5Ed-2N7mfPK6MYw" x="6340" y="2853" width="5103" height="2301"/>
- </children>
- <children xmi:id="_4KnYsLC5Ed-2N7mfPK6MYw" element="_4KUdwLC5Ed-2N7mfPK6MYw">
- <children xmi:id="_4KnYs7C5Ed-2N7mfPK6MYw" type="ImageCompartment">
- <layoutConstraint xmi:type="notation:Size" xmi:id="_4KnYtLC5Ed-2N7mfPK6MYw" width="1320" height="1320"/>
- </children>
- <children xmi:id="_4KnYtbC5Ed-2N7mfPK6MYw" type="Stereotype"/>
- <children xmi:id="_4KnYtrC5Ed-2N7mfPK6MYw" type="Kind"/>
- <children xmi:id="_4KnYt7C5Ed-2N7mfPK6MYw" type="Name"/>
- <children xmi:id="_4KnYuLC5Ed-2N7mfPK6MYw" type="Parent"/>
- <children xmi:id="_4KnYubC5Ed-2N7mfPK6MYw" visible="false" type="AttributeCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KnYurC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_4KnYu7C5Ed-2N7mfPK6MYw" visible="false" type="OperationCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KnYvLC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_4KxJsLC5Ed-2N7mfPK6MYw" visible="false" type="RealizationListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KxJsbC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_4KxJsrC5Ed-2N7mfPK6MYw" visible="false" type="RequiredInterfaceListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KxJs7C5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_4KxJtLC5Ed-2N7mfPK6MYw" visible="false" type="ProvidedInterfaceListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_4KxJtbC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_4KxJtrC5Ed-2N7mfPK6MYw" visible="false" type="StructureCompartment">
- <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_4KxJt7C5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_4KxJuLC5Ed-2N7mfPK6MYw" visible="false" type="PortOperationsListCompartment">
- <styles xmi:type="notation:DrawerStyle" xmi:id="_4KxJubC5Ed-2N7mfPK6MYw"/>
- <styles xmi:type="notation:TitleStyle" xmi:id="_4KxJurC5Ed-2N7mfPK6MYw"/>
- <styles xmi:type="notation:SortingStyle" xmi:id="_4KxJu7C5Ed-2N7mfPK6MYw"/>
- <styles xmi:type="notation:FilteringStyle" xmi:id="_4KxJvLC5Ed-2N7mfPK6MYw"/>
- </children>
- <styles xmi:type="umlnotation:UMLComponentStyle" xmi:id="_4KnYsbC5Ed-2N7mfPK6MYw" showListStereotype="None" showWhiteBox="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_4KnYsrC5Ed-2N7mfPK6MYw" x="6340" y="6340" width="5156" height="1613"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_0VfhQrC5Ed-2N7mfPK6MYw"/>
- <edges xmi:id="_785-kbC5Ed-2N7mfPK6MYw" element="_785-kLC5Ed-2N7mfPK6MYw" source="_4KnYsLC5Ed-2N7mfPK6MYw" target="_2YLKsLC5Ed-2N7mfPK6MYw">
- <children xmi:id="_785-lLC5Ed-2N7mfPK6MYw" type="NameLabel">
- <children xmi:id="_785-lrC5Ed-2N7mfPK6MYw" type="Stereotype"/>
- <children xmi:id="_785-l7C5Ed-2N7mfPK6MYw" type="Name"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_785-lbC5Ed-2N7mfPK6MYw" y="-186"/>
- </children>
- <styles xmi:type="umlnotation:UMLConnectorStyle" xmi:id="_785-krC5Ed-2N7mfPK6MYw" showStereotype="Text"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_785-k7C5Ed-2N7mfPK6MYw" points="[-2, -30, -1, 89]$[-5, -77, -4, 42]"/>
- </edges>
- </contents>
- </eAnnotations>
- <packagedElement xmi:type="uml:Component" xmi:id="_4KUdwLC5Ed-2N7mfPK6MYw" name="Hello_asm">
- <eAnnotations xmi:id="_Bxl6ALC6Ed-2N7mfPK6MYw" source="uml2.diagrams">
- <contents xmi:type="notation:Diagram" xmi:id="_Bxl6AbC6Ed-2N7mfPK6MYw" type="Structure" element="_4KUdwLC5Ed-2N7mfPK6MYw" name="Hello_asm_sd" measurementUnit="Himetric">
- <children xmi:id="_Bxl6ArC6Ed-2N7mfPK6MYw" type="StructureDiagramFrame" element="_4KUdwLC5Ed-2N7mfPK6MYw">
- <children xmi:id="_Bxl6A7C6Ed-2N7mfPK6MYw" type="StructureCompartment">
- <children xmi:id="_HCzU8LC6Ed-2N7mfPK6MYw" element="_HCgaALC6Ed-2N7mfPK6MYw">
- <eAnnotations xmi:id="_HCzU87C6Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles">
- <details xmi:id="_HCzU9LC6Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name Only"/>
- </eAnnotations>
- <children xmi:id="_HCzU9bC6Ed-2N7mfPK6MYw" type="ImageCompartment">
- <layoutConstraint xmi:type="notation:Size" xmi:id="_HCzU9rC6Ed-2N7mfPK6MYw" width="1320" height="1320"/>
- </children>
- <children xmi:id="_HCzU97C6Ed-2N7mfPK6MYw" type="PartTextCompartment"/>
- <children xmi:id="_HCzU-LC6Ed-2N7mfPK6MYw" visible="false" type="PartStructureCompartment">
- <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_HCzU-bC6Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_HDQA4LC6Ed-2N7mfPK6MYw" element="_RkmVMLC5Ed-2N7mfPK6MYw">
- <eAnnotations xmi:id="_HDQA47C6Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles">
- <details xmi:id="_HDQA5LC6Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name Only"/>
- </eAnnotations>
- <children xmi:id="_HDQA5bC6Ed-2N7mfPK6MYw" type="PortName">
- <children xmi:id="_HDQA57C6Ed-2N7mfPK6MYw" type="PartTextCompartment"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HDQA5rC6Ed-2N7mfPK6MYw" x="-1016" y="845"/>
- </children>
- <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_HDQA4bC6Ed-2N7mfPK6MYw" fontHeight="8" showListStereotype="None" showListVisibility="None" showListSignature="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HDQA4rC6Ed-2N7mfPK6MYw" x="-238" y="951"/>
- </children>
- <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_HCzU8bC6Ed-2N7mfPK6MYw" showListStereotype="None" showListVisibility="None" showListSignature="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HCzU8rC6Ed-2N7mfPK6MYw" x="9536" y="923" width="4204" height="2616"/>
- </children>
- <children xmi:id="_H9zkoLC6Ed-2N7mfPK6MYw" element="_H9qasLC6Ed-2N7mfPK6MYw">
- <eAnnotations xmi:id="_H9zko7C6Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles">
- <details xmi:id="_H9zkpLC6Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name Only"/>
- </eAnnotations>
- <children xmi:id="_H9zkpbC6Ed-2N7mfPK6MYw" type="ImageCompartment">
- <layoutConstraint xmi:type="notation:Size" xmi:id="_H9zkprC6Ed-2N7mfPK6MYw" width="1320" height="1320"/>
- </children>
- <children xmi:id="_H9zkp7C6Ed-2N7mfPK6MYw" type="PartTextCompartment"/>
- <children xmi:id="_H9zkqLC6Ed-2N7mfPK6MYw" visible="false" type="PartStructureCompartment">
- <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_H9zkqbC6Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_H9zkqrC6Ed-2N7mfPK6MYw" element="_kF_MwLC5Ed-2N7mfPK6MYw">
- <eAnnotations xmi:id="_H9zkrbC6Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles">
- <details xmi:id="_H9zkrrC6Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name Only"/>
- </eAnnotations>
- <children xmi:id="_H9zkr7C6Ed-2N7mfPK6MYw" type="PortName">
- <children xmi:id="_H9zksbC6Ed-2N7mfPK6MYw" type="PartTextCompartment"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9zksLC6Ed-2N7mfPK6MYw" x="1594" y="-423"/>
- </children>
- <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_H9zkq7C6Ed-2N7mfPK6MYw" fontHeight="8" showListStereotype="None" showListVisibility="None" showListSignature="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9zkrLC6Ed-2N7mfPK6MYw" x="3862" y="951"/>
- </children>
- <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_H9zkobC6Ed-2N7mfPK6MYw" showListStereotype="None" showListVisibility="None" showListSignature="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_H9zkorC6Ed-2N7mfPK6MYw" x="660" y="923" width="4205" height="2563"/>
- </children>
- <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_Bxl6BLC6Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_Bxl6BbC6Ed-2N7mfPK6MYw" type="Name"/>
- <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_Bxl6BrC6Ed-2N7mfPK6MYw" showListStereotype="None"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Bxl6B7C6Ed-2N7mfPK6MYw" x="793" y="793" width="14523" height="5582"/>
- </children>
- <styles xmi:type="umlnotation:UMLDiagramStyle" xmi:id="_Bxl6CLC6Ed-2N7mfPK6MYw"/>
- <edges xmi:id="_WTkwULC6Ed-2N7mfPK6MYw" element="_WS1JcLC6Ed-2N7mfPK6MYw" source="_H9zkqrC6Ed-2N7mfPK6MYw" target="_HDQA4LC6Ed-2N7mfPK6MYw">
- <children xmi:id="_WTkwU7C6Ed-2N7mfPK6MYw" visible="false" type="NameLabel">
- <children xmi:id="_WTkwVbC6Ed-2N7mfPK6MYw" type="Stereotype"/>
- <children xmi:id="_WTkwVrC6Ed-2N7mfPK6MYw" type="Name"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_WTkwVLC6Ed-2N7mfPK6MYw" y="-186"/>
- </children>
- <children xmi:id="_WT3rQLC6Ed-2N7mfPK6MYw" visible="false" type="ToMultiplicityLabel" element="_WS1JcrC6Ed-2N7mfPK6MYw">
- <children xmi:id="_WT3rQrC6Ed-2N7mfPK6MYw" type="ToMultiplicity"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_WT3rQbC6Ed-2N7mfPK6MYw" y="396"/>
- </children>
- <children xmi:id="_WUBcQLC6Ed-2N7mfPK6MYw" visible="false" type="FromMultiplicityLabel" element="_WS1JcbC6Ed-2N7mfPK6MYw">
- <children xmi:id="_WUBcQrC6Ed-2N7mfPK6MYw" type="FromMultiplicity"/>
- <layoutConstraint xmi:type="notation:Location" xmi:id="_WUBcQbC6Ed-2N7mfPK6MYw" y="396"/>
- </children>
- <styles xmi:type="umlnotation:UMLConnectorStyle" xmi:id="_WTkwUbC6Ed-2N7mfPK6MYw" showStereotype="Text"/>
- <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_WTkwUrC6Ed-2N7mfPK6MYw" points="[4, 1, -91, 1]$[96, -7, 1, -7]"/>
- <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WUBcQ7C6Ed-2N7mfPK6MYw" id="(0.7920168,0.40546218)"/>
- <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_WUBcRLC6Ed-2N7mfPK6MYw" id="(0.035714287,0.40546218)"/>
- </edges>
- </contents>
- </eAnnotations>
- <generalization xmi:id="_785-kLC5Ed-2N7mfPK6MYw" general="_xvfvYLC5Ed-2N7mfPK6MYw"/>
- <ownedAttribute xmi:id="_HCgaALC6Ed-2N7mfPK6MYw" name="Receiver_comp" visibility="private" type="_vf9yMLC4Ed-2N7mfPK6MYw" aggregation="composite"/>
- <ownedAttribute xmi:id="_H9qasLC6Ed-2N7mfPK6MYw" name="Sender_comp" visibility="private" type="_ftZb4LC5Ed-2N7mfPK6MYw" aggregation="composite"/>
- <ownedConnector xmi:id="_WS1JcLC6Ed-2N7mfPK6MYw" name="CCMConnector" kind="assembly">
- <end xmi:id="_WS1JcbC6Ed-2N7mfPK6MYw" partWithPort="_H9qasLC6Ed-2N7mfPK6MYw" role="_kF_MwLC5Ed-2N7mfPK6MYw"/>
- <end xmi:id="_WS1JcrC6Ed-2N7mfPK6MYw" partWithPort="_HCgaALC6Ed-2N7mfPK6MYw" role="_RkmVMLC5Ed-2N7mfPK6MYw"/>
- </ownedConnector>
- </packagedElement>
- </packagedElement>
- </packagedElement>
- <packagedElement xmi:type="uml:Package" xmi:id="_BxQFcKCYEd-JsdVwG9CGtA" name="ports">
- <packagedElement xmi:type="uml:Package" xmi:id="_Jo4JAKCYEd-JsdVwG9CGtA" name="Common_defn">
- <packagedElement xmi:type="uml:DataType" xmi:id="_NMQwMKCYEd-JsdVwG9CGtA" name="InternalError">
- <ownedAttribute xmi:id="_5aS2QKTkEd-OipzO3UN3WQ" name="id" visibility="public">
- <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_1P6OkExQEd2INdt7Ch5VKg"/>
- </ownedAttribute>
- <ownedAttribute xmi:id="_Lz648KTlEd-OipzO3UN3WQ" name="error_string" visibility="public">
- <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_-n1nQExQEd2INdt7Ch5VKg"/>
- </ownedAttribute>
- </packagedElement>
- </packagedElement>
- <packagedElement xmi:type="uml:Interface" xmi:id="_kNQbUKTlEd-OipzO3UN3WQ" name="MyFoo_obj">
- <ownedAttribute xmi:id="_fp6U8LC3Ed-2N7mfPK6MYw" name="rw_attrib" visibility="public">
- <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_83uJ8ExPEd2INdt7Ch5VKg"/>
- </ownedAttribute>
- <ownedAttribute xmi:id="_K8oYILC4Ed-2N7mfPK6MYw" name="ro_attrib" visibility="public" isReadOnly="true">
- <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_83uJ8ExPEd2INdt7Ch5VKg"/>
- </ownedAttribute>
- <ownedOperation xmi:id="_0yV-QKTlEd-OipzO3UN3WQ" name="foo" raisedException="_NMQwMKCYEd-JsdVwG9CGtA">
- <ownedParameter xmi:id="_QM7EEKTmEd-OipzO3UN3WQ" name="in_str">
- <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_-n1nQExQEd2INdt7Ch5VKg"/>
- </ownedParameter>
- <ownedParameter xmi:id="_pLfOULC2Ed-2N7mfPK6MYw" name="answer" direction="out">
- <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_-n1nQExQEd2INdt7Ch5VKg"/>
- </ownedParameter>
- <ownedParameter xmi:id="_5mwt8LC2Ed-2N7mfPK6MYw" name="Parameter1" direction="return">
- <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_1P6OkExQEd2INdt7Ch5VKg"/>
- </ownedParameter>
- </ownedOperation>
- <ownedOperation xmi:id="_JvaMgLC3Ed-2N7mfPK6MYw" name="hello" raisedException="_NMQwMKCYEd-JsdVwG9CGtA">
- <ownedParameter xmi:id="_MvVhULC3Ed-2N7mfPK6MYw" name="answer" direction="out">
- <type xmi:type="uml:DataType" href="pathmap://DDS4CCM_LIBRARIES/IDLPrimitives.uml#_1P6OkExQEd2INdt7Ch5VKg"/>
- </ownedParameter>
- </ownedOperation>
- </packagedElement>
- </packagedElement>
- <packagedElement xmi:type="uml:Package" xmi:id="_DqrsQKCYEd-JsdVwG9CGtA" name="Receiver_comp">
- <packagedElement xmi:type="uml:Package" xmi:id="_j6MB4LC4Ed-2N7mfPK6MYw" name="src">
- <packagedElement xmi:type="uml:Component" xmi:id="_vf9yMLC4Ed-2N7mfPK6MYw" name="Receiver_comp">
- <eAnnotations xmi:id="_AbIS0LC5Ed-2N7mfPK6MYw" source="uml2.diagrams">
- <contents xmi:type="notation:Diagram" xmi:id="_AbIS0bC5Ed-2N7mfPK6MYw" type="Zeligsoft Component" element="_vf9yMLC4Ed-2N7mfPK6MYw" name="Receiver_comp_di" measurementUnit="Himetric">
- <children xmi:id="_HjZ9ELC5Ed-2N7mfPK6MYw">
- <children xmi:id="_HjjHALC5Ed-2N7mfPK6MYw" type="ImageCompartment">
- <layoutConstraint xmi:type="notation:Size" xmi:id="_HjjHAbC5Ed-2N7mfPK6MYw" width="1320" height="1320"/>
- </children>
- <children xmi:id="_HjjHArC5Ed-2N7mfPK6MYw" type="Stereotype"/>
- <children xmi:id="_HjjHA7C5Ed-2N7mfPK6MYw" type="Kind"/>
- <children xmi:id="_HjjHBLC5Ed-2N7mfPK6MYw" type="Name"/>
- <children xmi:id="_HjjHBbC5Ed-2N7mfPK6MYw" type="Parent"/>
- <children xmi:id="_HjjHBrC5Ed-2N7mfPK6MYw" type="AttributeCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_HjjHB7C5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_HjjHCLC5Ed-2N7mfPK6MYw" visible="false" type="OperationCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_HjjHCbC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_HjjHCrC5Ed-2N7mfPK6MYw" visible="false" type="RealizationListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_HjjHC7C5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_HjjHDLC5Ed-2N7mfPK6MYw" visible="false" type="RequiredInterfaceListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_HjjHDbC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_Hjs4ALC5Ed-2N7mfPK6MYw" visible="false" type="ProvidedInterfaceListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_Hjs4AbC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_Hjs4ArC5Ed-2N7mfPK6MYw" visible="false" type="StructureCompartment">
- <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_Hjs4A7C5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_RkwGMLC5Ed-2N7mfPK6MYw" element="_RkmVMLC5Ed-2N7mfPK6MYw">
- <eAnnotations xmi:id="_RkwGM7C5Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles">
- <details xmi:id="_RlDBILC5Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name and Type Name"/>
- </eAnnotations>
- <children xmi:id="_RlDBIbC5Ed-2N7mfPK6MYw" type="PortName">
- <children xmi:id="_RlDBI7C5Ed-2N7mfPK6MYw" type="PartTextCompartment"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RlDBIrC5Ed-2N7mfPK6MYw" y="-133"/>
- </children>
- <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_RkwGMbC5Ed-2N7mfPK6MYw" fontHeight="8" showListStereotype="None" showListVisibility="None" showListSignature="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RkwGMrC5Ed-2N7mfPK6MYw" x="4893" y="1268"/>
- </children>
- <styles xmi:type="umlnotation:UMLComponentStyle" xmi:id="_HjZ9EbC5Ed-2N7mfPK6MYw" showListStereotype="None" showWhiteBox="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HjZ9ErC5Ed-2N7mfPK6MYw" x="4121" y="3170" width="5236" height="2539"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_AbIS0rC5Ed-2N7mfPK6MYw"/>
- </contents>
- </eAnnotations>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_RkmVMLC5Ed-2N7mfPK6MYw" name="do_my_foo" visibility="public" type="_kNQbUKTlEd-OipzO3UN3WQ" aggregation="composite"/>
- </packagedElement>
- </packagedElement>
- </packagedElement>
- <packagedElement xmi:type="uml:Package" xmi:id="_ExBCMKCYEd-JsdVwG9CGtA" name="Sender_comp">
- <packagedElement xmi:type="uml:Package" xmi:id="_mb3UcLC4Ed-2N7mfPK6MYw" name="src">
- <packagedElement xmi:type="uml:Component" xmi:id="_ftZb4LC5Ed-2N7mfPK6MYw" name="Sender_comp">
- <eAnnotations xmi:id="_hYr5ALC5Ed-2N7mfPK6MYw" source="uml2.diagrams">
- <contents xmi:type="notation:Diagram" xmi:id="_hYr5AbC5Ed-2N7mfPK6MYw" type="Zeligsoft Component" element="_ftZb4LC5Ed-2N7mfPK6MYw" name="Sender_comp_di" measurementUnit="Himetric">
- <children xmi:id="_iuEXkLC5Ed-2N7mfPK6MYw">
- <children xmi:id="_iuEXk7C5Ed-2N7mfPK6MYw" type="ImageCompartment">
- <layoutConstraint xmi:type="notation:Size" xmi:id="_iuEXlLC5Ed-2N7mfPK6MYw" width="1320" height="1320"/>
- </children>
- <children xmi:id="_iuEXlbC5Ed-2N7mfPK6MYw" type="Stereotype"/>
- <children xmi:id="_iuEXlrC5Ed-2N7mfPK6MYw" type="Kind"/>
- <children xmi:id="_iuEXl7C5Ed-2N7mfPK6MYw" type="Name"/>
- <children xmi:id="_iuOIkLC5Ed-2N7mfPK6MYw" type="Parent"/>
- <children xmi:id="_iuOIkbC5Ed-2N7mfPK6MYw" type="AttributeCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOIkrC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_iuOIk7C5Ed-2N7mfPK6MYw" visible="false" type="OperationCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOIlLC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_iuOIlbC5Ed-2N7mfPK6MYw" visible="false" type="RealizationListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOIlrC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_iuOIl7C5Ed-2N7mfPK6MYw" visible="false" type="RequiredInterfaceListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOImLC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_iuOImbC5Ed-2N7mfPK6MYw" visible="false" type="ProvidedInterfaceListCompartment">
- <styles xmi:type="umlnotation:UMLListCompartmentStyle" xmi:id="_iuOImrC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_iuOIm7C5Ed-2N7mfPK6MYw" visible="false" type="StructureCompartment">
- <styles xmi:type="umlnotation:UMLShapeCompartmentStyle" xmi:id="_iuOInLC5Ed-2N7mfPK6MYw"/>
- </children>
- <children xmi:id="_kGI9wLC5Ed-2N7mfPK6MYw" element="_kF_MwLC5Ed-2N7mfPK6MYw">
- <eAnnotations xmi:id="_kGI9w7C5Ed-2N7mfPK6MYw" source="com.ibm.xtools.uml.ui.diagram.internal.styles">
- <details xmi:id="_kGI9xLC5Ed-2N7mfPK6MYw" key="ShowTypeLabelStyle" value="Represents Name and Type Name"/>
- </eAnnotations>
- <children xmi:id="_kGI9xbC5Ed-2N7mfPK6MYw" type="PortName">
- <children xmi:id="_kGI9x7C5Ed-2N7mfPK6MYw" type="PartTextCompartment"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kGI9xrC5Ed-2N7mfPK6MYw" y="-133"/>
- </children>
- <styles xmi:type="umlnotation:UMLShapeStyle" xmi:id="_kGI9wbC5Ed-2N7mfPK6MYw" fontHeight="8" showListStereotype="None" showListVisibility="None" showListSignature="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_kGI9wrC5Ed-2N7mfPK6MYw" x="5448" y="1685"/>
- </children>
- <styles xmi:type="umlnotation:UMLComponentStyle" xmi:id="_iuEXkbC5Ed-2N7mfPK6MYw" showListStereotype="None" showWhiteBox="true"/>
- <layoutConstraint xmi:type="notation:Bounds" xmi:id="_iuEXkrC5Ed-2N7mfPK6MYw" x="6985" y="4021" width="5791" height="3306"/>
- </children>
- <styles xmi:type="notation:DiagramStyle" xmi:id="_hYr5ArC5Ed-2N7mfPK6MYw"/>
- </contents>
- </eAnnotations>
- <ownedAttribute xmi:type="uml:Port" xmi:id="_kF_MwLC5Ed-2N7mfPK6MYw" name="run_my_foo" visibility="public" type="_kNQbUKTlEd-OipzO3UN3WQ" aggregation="composite"/>
- </packagedElement>
- </packagedElement>
- </packagedElement>
- </packagedElement>
- </packagedElement>
- </packagedElement>
- <profileApplication xmi:id="_jkiX854JEd6xhoJKj1dweA">
- <eAnnotations xmi:id="_jkiX9J4JEd6xhoJKj1dweA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbnfB2L_5w"/>
- </eAnnotations>
- <appliedProfile href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
- </profileApplication>
- <profileApplication xmi:id="_jkiX9Z4JEd6xhoJKj1dweA">
- <eAnnotations xmi:id="_jkiX9p4JEd6xhoJKj1dweA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="pathmap://UML2_MSL_PROFILES/Default.epx#_IN8k8MmBEdqBcN1R6EvWUw?Default/Default?"/>
- </eAnnotations>
- <appliedProfile href="pathmap://UML2_MSL_PROFILES/Default.epx#_a_S3wNWLEdiy4IqP8whjFA?Default?"/>
- </profileApplication>
- <profileApplication xmi:id="_jkiX954JEd6xhoJKj1dweA">
- <eAnnotations xmi:id="_jkiX-J4JEd6xhoJKj1dweA" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="pathmap://UML2_MSL_PROFILES/Deployment.epx#_IrdAUMmBEdqBcN1R6EvWUw?Deployment/Deployment?"/>
- </eAnnotations>
- <appliedProfile href="pathmap://UML2_MSL_PROFILES/Deployment.epx#_vjbuwOvHEdiDX5bji0iVSA?Deployment?"/>
- </profileApplication>
- <profileApplication xmi:id="_1KTJYJ44Ed6CdqU5qRn9Dw">
- <eAnnotations xmi:id="_1Kc6YJ44Ed6CdqU5qRn9Dw" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="pathmap://DDS4CCM_PROFILES/dds4ccm.profile.uml#_g0KtJkDZEd-LnsQ685SqSQ"/>
- </eAnnotations>
- <appliedProfile href="pathmap://DDS4CCM_PROFILES/dds4ccm.profile.uml#_g0KssEDZEd-LnsQ685SqSQ"/>
- </profileApplication>
- </uml:Model>
- <dds4ccm:DDS4CCMModel xmi:id="_avm14KCXEd-JsdVwG9CGtA" base_Model="_jkiX8J4JEd6xhoJKj1dweA"/>
- <dds4ccm:CORBAModule xmi:id="_7pPlYKCXEd-JsdVwG9CGtA" base_NamedElement="_7pF0YKCXEd-JsdVwG9CGtA" base_Package="_7pF0YKCXEd-JsdVwG9CGtA"/>
- <dds4ccm:CORBAException xmi:id="_NMQwMaCYEd-JsdVwG9CGtA" base_NamedElement="_NMQwMKCYEd-JsdVwG9CGtA" base_DataType="_NMQwMKCYEd-JsdVwG9CGtA"/>
- <dds4ccm:CORBAField xmi:id="_sa4IUaCYEd-LU7rF-Ly4Ng"/>
- <dds4ccm:CORBAField xmi:id="_SN4agaCZEd-qefmjurhCmQ"/>
- <dds4ccm:CORBAField xmi:id="_5bLnEKTkEd-OipzO3UN3WQ" base_NamedElement="_5aS2QKTkEd-OipzO3UN3WQ" base_Property="_5aS2QKTkEd-OipzO3UN3WQ"/>
- <dds4ccm:CORBAField xmi:id="_L0Ep8KTlEd-OipzO3UN3WQ" base_NamedElement="_Lz648KTlEd-OipzO3UN3WQ" base_Property="_Lz648KTlEd-OipzO3UN3WQ"/>
- <dds4ccm:CORBAInterface xmi:id="_kNQbUaTlEd-OipzO3UN3WQ" base_Interface="_kNQbUKTlEd-OipzO3UN3WQ" base_NamedElement="_kNQbUKTlEd-OipzO3UN3WQ"/>
- <dds4ccm:CORBAOperation xmi:id="_0yV-QaTlEd-OipzO3UN3WQ" base_NamedElement="_0yV-QKTlEd-OipzO3UN3WQ" base_Operation="_0yV-QKTlEd-OipzO3UN3WQ"/>
- <dds4ccm:CORBAParameter xmi:id="_QM7EEaTmEd-OipzO3UN3WQ" base_NamedElement="_QM7EEKTmEd-OipzO3UN3WQ" base_Parameter="_QM7EEKTmEd-OipzO3UN3WQ"/>
- <dds4ccm:CORBAParameter xmi:id="_pLoYQLC2Ed-2N7mfPK6MYw" base_NamedElement="_pLfOULC2Ed-2N7mfPK6MYw" base_Parameter="_pLfOULC2Ed-2N7mfPK6MYw"/>
- <dds4ccm:CORBAOperation xmi:id="_Jvj9gLC3Ed-2N7mfPK6MYw" base_NamedElement="_JvaMgLC3Ed-2N7mfPK6MYw" base_Operation="_JvaMgLC3Ed-2N7mfPK6MYw"/>
- <dds4ccm:CORBAParameter xmi:id="_MvVhUbC3Ed-2N7mfPK6MYw" base_NamedElement="_MvVhULC3Ed-2N7mfPK6MYw" base_Parameter="_MvVhULC3Ed-2N7mfPK6MYw"/>
- <dds4ccm:CORBAAttribute xmi:id="_fqzs0LC3Ed-2N7mfPK6MYw" base_NamedElement="_fp6U8LC3Ed-2N7mfPK6MYw" setraises="_NMQwMaCYEd-JsdVwG9CGtA" getraises="_NMQwMaCYEd-JsdVwG9CGtA" base_Property="_fp6U8LC3Ed-2N7mfPK6MYw"/>
- <dds4ccm:CORBAAttribute xmi:id="_K8oYIbC4Ed-2N7mfPK6MYw" base_NamedElement="_K8oYILC4Ed-2N7mfPK6MYw" getraises="_NMQwMaCYEd-JsdVwG9CGtA" base_Property="_K8oYILC4Ed-2N7mfPK6MYw"/>
- <dds4ccm:CCMComponent xmi:id="_vf9yMbC4Ed-2N7mfPK6MYw" base_Component="_vf9yMLC4Ed-2N7mfPK6MYw" base_NamedElement="_vf9yMLC4Ed-2N7mfPK6MYw"/>
- <dds4ccm:InterfacePort xmi:id="_RkmVMbC5Ed-2N7mfPK6MYw" base_Port="_RkmVMLC5Ed-2N7mfPK6MYw"/>
- <dds4ccm:CCMComponent xmi:id="_ftjM4LC5Ed-2N7mfPK6MYw" base_Component="_ftZb4LC5Ed-2N7mfPK6MYw" base_NamedElement="_ftZb4LC5Ed-2N7mfPK6MYw"/>
- <dds4ccm:InterfacePort xmi:id="_kF_MwbC5Ed-2N7mfPK6MYw" base_Port="_kF_MwLC5Ed-2N7mfPK6MYw" isConjugated="true" isAsynchronous="true"/>
- <dds4ccm:CCMComponent xmi:id="_xvo5ULC5Ed-2N7mfPK6MYw" base_Component="_xvfvYLC5Ed-2N7mfPK6MYw" base_NamedElement="_xvfvYLC5Ed-2N7mfPK6MYw"/>
- <dds4ccm:AssemblyImplementation xmi:id="_4KUdwbC5Ed-2N7mfPK6MYw" base_Component="_4KUdwLC5Ed-2N7mfPK6MYw"/>
- <dds4ccm:CCMPart xmi:id="_HCgaAbC6Ed-2N7mfPK6MYw" base_Property="_HCgaALC6Ed-2N7mfPK6MYw"/>
- <dds4ccm:CCMPart xmi:id="_H9qasbC6Ed-2N7mfPK6MYw" base_Property="_H9qasLC6Ed-2N7mfPK6MYw"/>
- <dds4ccm:CCMConnector xmi:id="_WS-TYLC6Ed-2N7mfPK6MYw" base_Connector="_WS1JcLC6Ed-2N7mfPK6MYw"/>
-</xmi:XMI>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM_Hello.jpg b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM_Hello.jpg
deleted file mode 100644
index c41e0017639..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/doc/AMI4CCM_Hello.jpg
+++ /dev/null
Binary files differ
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.idl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.idl
deleted file mode 100644
index 21272c84699..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.idl
+++ /dev/null
@@ -1,17 +0,0 @@
-//==============================================================================
-/// @file Hello_Common_defn.idl
-//==============================================================================
-
-#ifndef HELLO_COMMON_DEFN_IDL
-#define HELLO_COMMON_DEFN_IDL
-
-module Hello
-{
- exception InternalError
- {
- long id;
- string error_string;
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.mpc b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.mpc
deleted file mode 100644
index 91c28603c02..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_Common_defn.mpc
+++ /dev/null
@@ -1,34 +0,0 @@
-project(AMI_Hello_Tuto_defn_idl_gen) : taoidldefaults, typecode {
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_COMMON_DEFN_STUB_Export \
- -Wb,stub_export_include=Hello_common_defn_stub_export.h \
- -SS -Gxhst \
- -o ../GeneratedCode
-
- IDL_Files {
- Hello_Common_defn.idl
- gendir=../GeneratedCode
- }
-}
-
-project(AMI_Hello_Tuto_defn_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_Hello_Tuto_defn_idl_gen
- libpaths += ../lib
- libout = ../lib
- includes += ../GeneratedCode
- sharedname = Hello_common_defn_stub
- dynamicflags = HELLO_COMMON_DEFN_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ../GeneratedCode/Hello_Common_defnC.cpp
- }
-
- Header_Files {
- ../GeneratedCode/Hello_Common_defnC.h
- ../GeneratedCode/Hello_Common_defn_stub_export.h
- }
-
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.idl b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.idl
deleted file mode 100644
index d1475e43d08..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.idl
+++ /dev/null
@@ -1,35 +0,0 @@
-//==============================================================================
-/// @file Hello_MyFoo_obj.idl
-//==============================================================================
-
-#ifndef HELLO_MYFOO_OBJ_IDL
-#define HELLO_MYFOO_OBJ_IDL
-
-#include "Hello_Common_defn.idl"
-
-#pragma ciao lem "Hello_MyFoo_objE.idl"
-#pragma ciao ami4ccm interface "Hello::MyFoo_obj"
-#pragma ciao lem "Hello_MyFoo_objAE.idl"
-//needed for 'uses multiple', not used in this example
-#pragma ciao ami4ccm idl "Hello_MyFoo_objA.idl"
-
-module Hello
-{
- // Sender/Receiver interface
- interface MyFoo_obj
- {
- long foo (in string in_str, out string answer)
- raises (InternalError);
- void hello (out long answer)
- raises (InternalError);
-
- attribute short rw_attrib
- getraises (InternalError)
- setraises (InternalError);
-
- readonly attribute short ro_attrib
- raises (InternalError);
- };
-};
-
-#endif
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.mpc b/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.mpc
deleted file mode 100644
index f0b73c260d5..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Hello_asm/ports/Hello_MyFoo_obj.mpc
+++ /dev/null
@@ -1,204 +0,0 @@
-project(AMI_Hello_Tuto_idl_gen) : componentidldefaults, ami, ami4ccm_stub {
- after += AMI_Hello_Tuto_defn_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_MYFOO_OBJ_STUB_Export \
- -Wb,stub_export_include=Hello_MyFoo_obj_stub_export.h \
- -Wb,skel_export_macro=HELLO_MYFOO_OBJ_SKEL_Export \
- -Wb,skel_export_include=Hello_MyFoo_obj_skel_export.h \
- -Wb,conn_export_macro=HELLO_MYFOO_OBJ_CONN_Export \
- -Wb,conn_export_include=Hello_MyFoo_obj_conn_export.h \
- -Wb,exec_export_macro=HELLO_MYFOO_OBJ_EXEC_Export \
- -Wb,exec_export_include=Hello_MyFoo_obj_exec_export.h \
- -o ../GeneratedCode\
- -GM -Gxhcn
-
- IDL_Files {
- Hello_MyFoo_obj.idl
- gendir=../GeneratedCode
- }
-}
-
-project(AMI_Hello_Tuto_lem_gen) : ciaoidldefaults {
- after += AMI_Hello_Tuto_idl_gen AMI_Hello_Tuto_lema_gen
- custom_only = 1
- idlflags += -Wb,export_macro=HELLO_MYFOO_OBJ_LEM_STUB_Export \
- -Wb,export_include=Hello_MyFoo_obj_lem_stub_export.h \
- -I ../GeneratedCode\
- -o ../GeneratedCode\
- -SS -Gxhst
-
- IDL_Files {
- ../GeneratedCode/Hello_MyFoo_objE.idl
- gendir=../GeneratedCode
- }
-}
-
-project(AMI_Hello_Tuto_lema_gen) : ciaoidldefaults, typecode {
- after += AMI_Hello_Tuto_idl_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_MYFOO_OBJ_STUB_Export \
- -Wb,stub_export_include=Hello_MyFoo_obj_stub_export.h \
- -Wb,conn_export_macro=HELLO_MYFOO_OBJ_CONN_Export \
- -Wb,conn_export_include=Hello_MyFoo_obj_conn_export.h \
- -Wb,svnt_export_macro=HELLO_MYFOO_OBJ_SVNT_Export \
- -Wb,svnt_export_include=Hello_MyFoo_obj_svnt_export.h \
- -Wb,skel_export_macro=HELLO_MYFOO_OBJ_SKEL_Export \
- -Wb,skel_export_include=Hello_MyFoo_obj_skel_export.h \
- -I ../GeneratedCode\
- -o ../GeneratedCode\
- -Gsv -Gcn -Glem -GC -Gxhst -Gxhsv
-
- IDL_Files {
- ../GeneratedCode/Hello_MyFoo_objA.idl
- gendir=../GeneratedCode
- }
-}
-
-project(AMI_Hello_Tuto_lemae_gen) : ciaoidldefaults {
- after += AMI_Hello_Tuto_lema_gen
- custom_only = 1
- idlflags += -Wb,stub_export_macro=HELLO_MYFOO_OBJ_LEM_STUB_Export \
- -Wb,stub_export_include=Hello_MyFoo_obj_lem_stub_export.h \
- -I ../GeneratedCode\
- -o ../GeneratedCode\
- -SS
-
- IDL_Files {
- ../GeneratedCode/Hello_MyFoo_objAE.idl
- gendir=../GeneratedCode
- }
-}
-
-project(AMI_Hello_Tuto_stub) : ccm_stub, ami, ami4ccm_stub {
- after += AMI_Hello_Tuto_lem_gen AMI_Hello_Tuto_defn_stub
- libs += Hello_common_defn_stub
- libout = ../lib
- libpaths += ../lib
- includes += . ../GeneratedCode
-
- sharedname = Hello_MyFoo_obj_stub
- dynamicflags = HELLO_MYFOO_OBJ_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ../GeneratedCode/Hello_MyFoo_objC.cpp
- ../GeneratedCode/Hello_MyFoo_objAC.cpp
- }
-
- Header_Files {
- ../GeneratedCode/Hello_MyFoo_objC.h
- ../GeneratedCode/Hello_MyFoo_stub_export.h
-}
-
- Inline_Files {
- ../GeneratedCode/Hello_MyFoo_objC.inl
- }
-}
-
-project(AMI_Hello_Tuto_lem_stub) : ccm_executor, ami, ami4ccm_lem_stub {
- after += AMI_Hello_Tuto_lem_gen AMI_Hello_Tuto_stub AMI_Hello_Tuto_lemae_gen AMI_Hello_Tuto_skel
- libs += Hello_MyFoo_obj_stub Hello_MyFoo_obj_skel
- libout = ../lib
- libpaths += ../lib
- includes += . ../GeneratedCode
-
- sharedname = Hello_MyFoo_obj_lem_stub
- dynamicflags = HELLO_MYFOO_OBJ_LEM_STUB_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ../GeneratedCode/Hello_MyFoo_objEC.cpp
- ../GeneratedCode/Hello_MyFoo_objAEC.cpp
- }
-
- Header_Files {
- ../Hello_MyFoo_objEC.h
- ../Hello_MyFoo_obj_lem_stub_export.h
-}
-
- Inline_Files {
- ../GeneratedCode/Hello_MyFoo_objEC.inl
- }
-}
-
-project(AMI_Hello_Tuto_skel) : ciao_executor, ami, ami4ccm_servant {
- after += AMI_Hello_Tuto_stub AMI_Hello_Tuto_defn_stub
- sharedname = Hello_MyFoo_obj_skel
- libs += Hello_MyFoo_obj_stub Hello_common_defn_stub
- libout = ../lib
- libpaths += ../lib
- includes += . ../GeneratedCode
-
- dynamicflags = HELLO_MYFOO_OBJ_SKEL_BUILD_DLL
-
- IDL_Files {
- }
-
- Source_Files {
- ../GeneratedCode/Hello_MyFoo_objS.cpp
- ../GeneratedCode/Hello_MyFoo_objAS.cpp
- }
-
- Header_Files {
- ../GeneratedCode/Hello_MyFoo_objS.h
- ../GeneratedCode/Hello_MyFoo_obj_skel_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Hello_Tuto_conn) : ciao_executor, ami, ami4ccm_lem_stub {
- after += AMI_Hello_Tuto_lem_stub AMI_Hello_Tuto_skel AMI_Hello_Tuto_lema_gen AMI_Hello_Tuto_lemae_gen
- sharedname = Hello_MyFoo_obj_conn
- libs += Hello_MyFoo_obj_stub Hello_MyFoo_obj_skel Hello_MyFoo_obj_lem_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags = HELLO_MYFOO_OBJ_CONN_BUILD_DLL
- includes += . ../GeneratedCode
- IDL_Files {
- }
-
- Source_Files {
- ../GeneratedCode/Hello_MyFoo_objA_conn.cpp
- }
-
- Header_Files {
- ../GeneratedCode/Hello_MyFoo_objA_conn.h
- ../GeneratedCode/Hello_MyFoo_obj_conn_export.h
- }
-
- Inline_Files {
- }
-}
-
-project(AMI_Hello_Tuto_svnt) : ciao_servant, ami, ami4ccm_servant {
- after += AMI_Hello_Tuto_lem_stub AMI_Hello_Tuto_skel AMI_Hello_Tuto_lema_gen AMI_Hello_Tuto_lemae_gen\
- AMI_Hello_Tuto_conn AMI_Hello_Tuto_defn_stub
- sharedname = Hello_MyFoo_obj_svnt
- libs += Hello_MyFoo_obj_stub Hello_MyFoo_obj_skel Hello_MyFoo_obj_lem_stub\
- Hello_MyFoo_obj_conn Hello_common_defn_stub
- libpaths += ../lib
- libout = ../lib
- dynamicflags = HELLO_MYFOO_OBJ_SVNT_BUILD_DLL
- includes += . ../GeneratedCode
- IDL_Files {
- }
-
- Source_Files {
- ../GeneratedCode/Hello_MyFoo_objA_svnt.cpp
- }
-
- Header_Files {
- ../GeneratedCode/Hello_MyFoo_objA_svnt.h
- ../GeneratedCode/Hello_MyFoo_objA_svnt_export.h
- }
-
- Inline_Files {
- }
-}
-
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/01_general.html b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/01_general.html
deleted file mode 100644
index d0288a042c8..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/01_general.html
+++ /dev/null
@@ -1,94 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!--// -->
-<HTML>
-<HEAD>
- <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
- <TITLE>AMI4CCM Hello Tutorial - General</TITLE>
-</HEAD>
-<BODY>
-<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2 STYLE="PAGE-BREAK-BEFORE: always">
- <TR>
- <TD>&nbsp;</TD>
- <TD ALIGN=center></TD>
- <TD ALIGN=right><A href="02_idl.html">Next</A></TD>
- </TR>
-</TABLE>
-<HR>
-<H1>General</H1>
-<P>This tutorial explains how to use Asynchronous Method
-Invocation for CCM (AMI4CCM). The AMI Connector component handles the
-asynchronous invocation using CORBA AMI.</P>
-
-<H2 CLASS="western">System</H2>
-<P>The system consists of three components: </P>
-<UL>
- <LI>A Sender component</LI>
- <LI>A Receiver component</LI>
- <LI>An AMI connector</LI>
-</UL>
-<P>In this tutorial a Sender wants to invoke methods on the
-Receiver asynchronously and synchronously. Therefor the Sender and the Receiver
-are connected via an AMI connector for the asynchronously invoked methods and
-via a direct connection for the synchronously invoked methods. The AMI connector
-itself will be completely generated by IDL and will handle details of executing
-the asynchronous invocation and callback to the user component. The Receiver
-(Server side) isn't aware of any AMI clients.</P>
-<P><IMG border=0 name=graphics4 align=bottom src="images/system.png" width="33%" height="27%" ></P>
-<P>There are different methods used in this example in
-order to show different aspects: </P>
-<UL>
- <LI>method with return value, in- and out argument:<br>
- <CODE>long foo (in string in_str, out string answer);</CODE></LI>
- <LI>void method with out argument:<br>
- <CODE>void hello (out long answer);</CODE></LI>
- <LI><method to set and get an attribute:<br>
- <CODE>attribute short rw_attrib<BR>
- &nbsp;&nbsp;&nbsp;getraises(InternalError)<BR>
- &nbsp;&nbsp;&nbsp;setraises (InternalError);</CODE></LI>
- <LI>method to get an readonly attribute:<br>
- <CODE>readonly attribute short ro_attrib raises (InternalError);</CODE></LI>
-</UL>
-
-<H2>Directory structure</H2>
-<P>The following convention is used: </P>
-<UL>
- <LI>|--<B>*_asm</B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- : Directory contains an assembly.</LI>
- <LI>&nbsp;&nbsp;&nbsp;&nbsp;|--<B>ports</B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : C:\ACE\latest\ACE_wrappers\TAO\CIAO\connectors\ami4ccm\tutorials\Hello\Tutorial\02_idl.html
- Directory contains common IDL code for the assembly. </LI>
- <LI>&nbsp;&nbsp;&nbsp;&nbsp;|--<B>*_comp</B>&nbsp;&nbsp;&nbsp; : Directory contains an
- component. </LI>
- <LI>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--
- <B>ports</B>&nbsp;&nbsp; : Directory contains common IDL code for the component. </LI>
- <LI>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|--&nbsp;<B>src</B>&nbsp; &nbsp;&nbsp; &nbsp; : Directory contains the IDL
- and *_exec-files for the component.</LI></UL>
-
-<H2 >File naming convention</H2>
-<P>The following convention is used: </P>
-<UL>
- <LI><B>*_defn.idl</B> - These files will contain definitions,
- like enumerations, constants and so on. Typically located in *_asm/ports. </LI>
- <LI><B>*_obj.idl</B> - These files will contain the interfaces
- between components. Typically located in *_asm/ports. </LI>
- <LI><B>*_comp.idl</B> - These files will contain the component declaration. Typically located in *_asm/*_comp/src.
- </LI>
-</UL>
-<H2>Additional conventions</H2>
-<UL>
- <LI>MPC files are located in
- the same directory as the IDL for the common mpc files and in the same
- directory as the executor files for the component mpc files. </LI>
- <LI>Files that were generated by the TAO IDL compiler
- should all be located in one subdirectory. In this tutorial the name of this
- subdirectory is "GeneratedCode". </LI>
-</UL>
-<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2>
- <TR>
- <TD>&nbsp;</TD>
- <TD ALIGN=center></TD>
- <TD align=right><A href="02_idl.html">Next</A></TD>
- </TR>
-</TABLE>
-<P><BR><BR></P>
-</BODY>
-</HTML>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/02_idl.html b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/02_idl.html
deleted file mode 100644
index 2b6c812e44c..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/02_idl.html
+++ /dev/null
@@ -1,96 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!--// -->
-<HTML>
-<HEAD>
- <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
- <TITLE>AMI4CCM Tutorial Hello - IDL</TITLE>
-</HEAD>
-<BODY>
-<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2 STYLE="PAGE-BREAK-BEFORE: always">
- <TR>
- <TD ALIGN=left><A href="01_general.html">Previous</A></TD>
- <TD ALIGN=center></TD>
- <TD ALIGN=right><A href="03_executors.html">Next</A></TD>
- </TR>
-</TABLE>
-<HR>
-<H1 >IDL files</H1>
-<P>The IDL files are generated by the modelling tools. To
-understand this example better, it'll give an overview of which IDL files are
-generated. </P>
-
-<H2 CLASS="western">Common IDL files</H2>
-<P>Below a simplied represenation of the common IDL files.
-Use the links to view the file itself. The following IDL files can be found in
-Hello_asm/ports: </P>
-<UL>
- <LI><A href="../Hello_asm/ports/Hello_Common_defn.idl">Hello_Common_defn.idl</A>
- : <BR>for common includes and IDL definitions.
- </LI>
- <LI><A href="../Hello_asm/ports/Hello_MyFoo_obj.idl">Hello_MyFoo_obj.idl</A>
- : <BR>for IDL interfaces. This IDL contains the #pragma's
- for enabling AMI4CCM , needed by the TAO_IDL compiler: </P>
- <UL>
- <LI><CODE>#pragma ciao lem "Hello_MyFoo_objE.idl" </CODE></LI>
- <LI><CODE>#pragma ciao lem "Hello_MyFoo_objAE.idl"</CODE></LI>
- <LI>Pragma needed per interface for implying ami.<br>
- <CODE>#pragma ciao ami4ccm interface "Hello::MyFoo_obj"</CODE></LI>
- <LI>Name implied IDL file, used by IDL compiler to generate ami4ccm functionality:<br>
- <CODE>#pragma ciao ami4ccm idl "Hello_MyFoo_objA.idl" </CODE></LI>
- </UL>
- </LI>
-</UL>
-
-<P>Also this IDL contains the interface between Sender and Receiver</P>
-<P STYLE="MARGIN-BOTTOM: 0cm; MARGIN-LEFT: 1cm"><CODE>interface MyFoo_obj<BR>
-{<BR>
-&nbsp;&nbsp;<font color="blue">long</font> foo (<font color="blue">in string </font>in_str,
-<font color="blue">out string</font> answer)<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;raises
-(InternalError);<br>
-&nbsp;&nbsp;<font color="blue">void </font>hello (<font color="blue">out long </font>answer)<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;raises (InternalError);<BR>
-&nbsp;&nbsp;attribute <font color="blue">short</font> rw_attrib<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;getraises (InternalError)<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;setraises
-(InternalError);</FONT><br>
-&nbsp;&nbsp;readonly attribute <font color="blue">short</font>
-ro_attrib<BR>&nbsp;&nbsp;&nbsp;&nbsp;raises (InternalError);<BR>
-};</CODE></P>
-
-<H2>Component IDL files:</H2>
-<H3><U>Sender component IDL file</U></H3>
-<P>The <A href="../Hello_asm/Sender_comp/src/Hello_Sender_comp.idl">Hello_Sender_comp.idl</A>
-file in the Sender_comp/src directory defines the asynchronous and
-synchronous connections.<br> For synchronous invocations, the Sender component uses the
-MyFoo_obj interface (which the Receiver provides):<BR><br>
-<CODE>component Sender<br>{<BR>
-&nbsp;&nbsp;<FONT COLOR="green">// For synchronous invocation</FONT><BR>
-&nbsp;&nbsp;uses MyFoo run_my_foo;<BR>};</CODE>
-</P>
-<P><FONT COLOR="#000000"><FONT SIZE=3>For asynchronous invocations, the Sender component uses the
-AMI_MyFoo_obj interface of the AMI component and provides the
-AMI_MyFoo_objReplyHandler interface to the AMI component.<br> This is indicated with the following pragma:<br><br>
-<CODE>#pragma ciao ami4ccm receptacle "Hello::Sender_comp::run_my_foo"
-</CODE></P>
-
-<H3><U>Receiver component IDL file</U></H3>
-<P>The <A href="../Hello_asm/Receiver_comp/src/Hello_Receiver_comp.idl">Hello_Receiver_comp.idl</A>
-file in the Receiver_comp/src directory indicates the port the
-receiver provide.</P>
-<P> <CODE>component Receiver<BR>
-{<BR>
-&nbsp;&nbsp;<FONT color="green">//Provides<BR></FONT>
-&nbsp;&nbsp;provides MyFoo_obj do_my_foo;<BR>
-};</CODE><BR><br>
-The receiver isn't aware of the calls that were invoked by the sender were asynchronous
-or synchronous.</P>
-
-<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2>
-<TR>
- <TD ALIGN=left><A href="01_general.html">Previous</A></TD>
- <TD ALIGN=center></TD>
- <TD ALIGN=right><A href="03_executors.html">Next</A></TD></TR></TABLE>
-<P><BR><BR></P>
-</BODY>
-</HTML>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/03_executors.html b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/03_executors.html
deleted file mode 100644
index 7671e72d91a..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/03_executors.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!--// -->
-<HTML>
-<HEAD>
- <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
- <TITLE>AMI4CCM Tutorial Hello - Executors</TITLE>
-</HEAD>
-<BODY>
-<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2 STYLE="PAGE-BREAK-BEFORE: always">
-<TR>
- <TD ALIGN=left><A href="02_idl.html">Previous</A></TD>
- <TD ALIGN=center></TD>
- <TD ALIGN=right><A href="04_ami4ccm.html">Next</A></TD></TR></TABLE>
-<HR>
-<H1>Executors</H1>
-<P>Once the IDL files are created, the business logic for
-the components should be implemented. Since components can be complex, we can
-use the IDL compiler to create empty executor files. This part of the tutorial
-explains how this can be done. </P>
-<H2>Sender</H2>
-<P>In a command shell windows, navigate to the
-Hello_asm/Sender_comp/src and invoke the TAO IDL compiler by running the
-following command: </P>
-<P><CODE>tao_idl
--I../../ports -I../../GeneratedCode -I%TAO_ROOT% -I%TAO_ROOT%/tao -I%CIAO_ROOT%
--I%CIAO_ROOT%/ccm -I%CIAO_ROOT%/ciao -Gex Hello_Sender_comp.idl</CODE></P>
-<FONT face="Times New Roman">An example of the generated code can be found
-<A href="Code/GeneratedExec/Hello_Sender_comp_exec.cpp">here</A>. An
-example of the implemented executor can be found
-<A href="Code/ImplementedExec/Hello_Sender_comp_exec.cpp">here</A>.<BR>
-Be aware that running this command,
-will overwrite the already implemented exec code in the Hello_asm/Sender_comp
-directory. A copy of the implemented executor can be found
-<A href="Code/ImplementedExec/Hello_Sender_comp_exec.cpp">here</A>.</FONT></P>
-<H2 class=western>Receiver</H2>
-<P>Navigate to the Hello_asm/Receiver_comp/src and invoke the TAO IDL compiler
-by running the following command: </P>
-<P><CODE class=western>tao_idl -I../../ports -I../../GeneratedCode -I%TAO_ROOT%
--I%TAO_ROOT%/tao -I%CIAO_ROOT% -I%CIAO_ROOT%/ccm -I%CIAO_ROOT%/ciao -Gex
-Hello_Receiver_comp.idl<BR></CODE></p>
-An example of the generated code can be found <A href="Code/GeneratedExec/Hello_Receiver_comp_exec.cpp">here</A>.
-An example of the implemented executor can be found <A href="Code/ImplementedExec/Hello_Receiver_comp_exec.cpp">here</A>.<BR>
-Be aware that running this command,
-will overwrite the already implemented exec code in the Hello_asm/Receiver_comp
-directory. A copy of the implemented executor can be found <A
-href="Code/ImplementedExec/Hello_Receiver_comp_exec.cpp">here</A>.</FONT></P>
-<P><BR><BR></P><TABLE BORDER=0 CELLPADDING =2 CELLSPACING =2 width ="100%" >
-<TR>
- <TD ALIGN=left><A href="02_idl.html">Previous</A></TD>
- <TD ALIGN=center></TD>
- <TD ALIGN=right><A href="04_ami4ccm.html">Next</A></TD></TR></TABLE>
-<P><BR><BR></P></FONT></CODE>
-</BODY>
-</HTML>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/04_ami4ccm.html b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/04_ami4ccm.html
deleted file mode 100644
index f60fe364d2e..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/04_ami4ccm.html
+++ /dev/null
@@ -1,102 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<!--// -->
-<HTML>
-<HEAD>
- <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
- <TITLE>AMICCM Tutorial Hello - Implementation exec</TITLE>
-</HEAD>
-<BODY>
-<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2 STYLE="PAGE-BREAK-BEFORE: always">
- <TR>
- <TD ALIGN=left><A href="03_executors.html">Previous</A></TD>
- <TD ALIGN=center></TD>
- <TD ALIGN=right><A href="05_compilation.html">Next</A></TD>
-</TR></TABLE>
-<HR>
-<H1>Implementation executors</H1>
-<H2 CLASS="western">AMI4CCM basics</H2>
-<UL>
- <LI><P>The writer has basically only to write 3 idl files, first the
- one that defines the common interface between the Sender and
- Receiver , second the interface for the Sender and third the
- interface for the Receiver. In this tutorial are that the IDL files
- Hello_MyFoo_obj.idl, Hello_Sender_comp.idl and the
- Hello_Receiver_comp.idl.<BR>
- Naturally, it is possible that there are more IDL-files
- to be used, as in this example the Hello_Common_defn.idl file for the common
- definitions.</P></LI>
- <LI><P>The Receiver component ('server') has no idea which
- component (AMI connector or Sender) uses his interface.</P></LI>
- <LI><P>The Connector, the AMI-Component, will be generated by
- the IDL compiler by implying ami4ccm.idl</P></LI>
- <LI><P>In the Sender executor the handling of the AMI
- callbacks and also the asynchronous and synchronous invocations must be
- coded.</P></LI>
-</UL>
-<H2 CLASS="western">Example</H2>
-<P>The Sender component of this Hello tutorial invokes some
-asynchronous methods and some synchronous methods. For asynchronous invocations,
-the Sender component uses the AMI4CCM_MyFoo_obj interface of the AMI component
-and provides the AMI4CCM_MyFoo_objReplyHandler interface to the AMI
-component.</P>
-<P>For synchronous invocations, the Sender component uses
-the MyFoo_obj interface (which the Receiver provides).</P>
-<P STYLE="MARGIN-BOTTOM: 0cm">The receiver just implements
-the interface provided by the application programmer. The Receiver should have
-no idea which component (in this case Sender or AMI) uses his interface!</P>
-<p><B><u>Sender_comp_exec.cpp</u></B><br><br>
-In de ccm_activate method, first retrieve the
-receptacles:<br>
-Asynchronous:<br><CODE>::Hello::AMI4CCM_MyFoo_obj_var asynch_foo<B> = </B><FONT COLOR="#0000ff">this</FONT>-&gt;context_-&gt;
-get_connection_sendc_run_my_foo();</CODE><br>
-Synchronous:<br>
-<CODE>::Hello::MyFoo_obj_var synch_foo = <FONT COLOR="#0000ff">this</FONT>-&gt;context_-&gt;get_connection_run_my_foo ();</CODE>
-</P>
-<P>After retrieving the receptacles, make the desired
-asynchronus and synchronous invocations.<br>
-The asynchronous methods have the prefix sendc_. The first
-argument is the Reply handler.<br>
-<CODE>my_foo_ami_-&gt;sendc_foo (<FONT COLOR="blue">new</FONT> AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (), <FONT COLOR="red">"Do something
-asynchronous"</FONT>);</CODE><br>
-The same synchronous method:<br>
-<CODE>CORBA::Long result = my_foo_ami_-&gt;foo(<FONT COLOR="red">"Do something synchronous"</FONT>, out_str.out());</P>
-
-<P>For the asynchronus methods the implied Reply Handler
-interface for each method must be coded.</P>
-<P>Example foo callback:<br>
-<CODE><FONT COLOR="#0000ff">void<BR></FONT>
-AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo (::CORBA::Long
-ami_return_val, <FONT COLOR="blue">const char</FONT> * answer)<BR>
-{<BR>
-<FONT COLOR="green">&nbsp;&nbsp;/*Your code here. */<BR></FONT>
-</FONT><FONT COLOR="#000000">
-&nbsp;&nbsp;&nbsp;ACE_DEBUG
-((LM_DEBUG,<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ACE_TEXT(<FONT COLOR="red">"Sender:\tMyFoo AMI Callback from
-foo:"</FONT>);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ACE_TEXT(<FONT COLOR="red">"result &lt;%u&gt; answer
-&lt;%C&gt;\n"</FONT>),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ami_return_val,answer));<BR>
-}<br><br>
-<FONT COLOR="blue">void<BR></FONT>
-AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo_excep (::CCM_AMI::ExceptionHolder * excep_holder)<BR>
-{<BR>
-<FONT COLOR="green">&nbsp;&nbsp;&nbsp;&nbsp;/* Your code here. */</FONT><BR>
-}</CODE></P>
-
-<P><B><u>Receiver_comp_exec.cpp</u></B></P>
-<P> In this file the interface methods must be programmed.<br><br>
-Example foo method:<br>
-<CODE>::CORBA::Long MyFoo_obj_exec_i::foo (<FONT COLOR="#0000ff">const char</FONT> * in_str, ::CORBA::String_out answer)<BR>
-{<BR>&nbsp;&nbsp;&nbsp;<FONT color="green">/* Your code here. */</FONT><BR>
-&nbsp;&nbsp;&nbsp;answer = CORBA::string_dup (<FONT COLOR="red">"This is my answer : Hi"</FONT>);<BR>
-&nbsp;&nbsp;&nbsp;return ACE_OS::rand () % 100;<BR>
-}</CODE>
-</P>
-
-<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2>
-<TR>
- <TD ALIGN=left><A href="03_executors.html">Previous</A></TD>
- <TD ALIGN=center></TD>
- <TD ALIGN=right><A href="05_compilation.html">Next</A></TD></TR></TABLE>
-<P><BR><BR></P>
-</BODY>
-</HTML>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/05_compilation.html b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/05_compilation.html
deleted file mode 100644
index f9adaea6d3b..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/05_compilation.html
+++ /dev/null
@@ -1,213 +0,0 @@
-<!--// -->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
- <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252">
- <TITLE>AMI4CCM Tutorial Hello - Compilation and deployment</TITLE>
-</HEAD>
-<BODY>
- <TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2 STYLE="PAGE-BREAK-BEFORE: always">
- <TR>
- <TD ALIGN=left><A href="04_ami4ccm.html">Previous</A></TD>
- <TD ALIGN=center></TD>
- <TD ALIGN=center></TD>
- <TD></TD>
- </TR>
- </TABLE>
- <HR>
- <H1>Compilation and deployment</H1>
- <H2 STYLE="PAGE-BREAK-AFTER: avoid">Compilation</H2>
- <P>Once all the code has been
- written, compilation of the code would be the next step.<br>MPC is used in order to
- create the Makefiles and projects files. All MPC files that are needed for this
- tutorial are in the same directory as the accompanying IDL or executor files.<br>In
- order to make the GNU make files or the Visual Studio project files, the
- following steps should be performed :
- <UL>
- <LI>Start a command shell and navigate to :<br> <CODE>%CIAO_ROOT%/connectors/ami4ccm/tutorials/Hello/Hello_asm</CODE>
- <LI>Run<br>
- <ul>
- <LI><CODE>perl %ACE_ROOT%/bin/mwc.pl -type vc9</CODE> to create Visual Studio 2008 project files.</LI>
- <LI><CODE>perl %ACE_ROOT%/bin/mwc.pl -type gnuace</CODE> to create the GNU make files.</LI>
- </ul>
- <LI>Now compile the code like you're used to.</li>
- </UL>
- <P>If all went well, all libraries are in the Hello_asm/lib directory.</P>
-
- <H2>Deployment</H2>
- <P>Once all binaries are compiled, they're ready to be deployed.<br> In this tutorial we are using DAnCE to
-deploy our system. DAnCE starts a system in two phases : </P>
- <OL>
- <LI>configuration_complete</li>
- <LI>ccm_activate </LI>
- </OL>
- DAnCE shuts down a system again in two phases :
- <OL>
- <LI>passivate</LI>
- <LI>ccm_remove</LI>
- </OL>
- <P>Each component should have
-these four methods implemented. The business logic implemented in each step
-depends on you implementation. There're several processes taking care of the
-total deployment process. See the DAnCE documentation for more information about
-which processes there are and what their responsibilities are. DAnCE will start
-and shutdown a system with the aid of a deployment plan. A deployment plan
-describes which artifacts must run on which nodes and which components are
-connected to eachother via which interface (more on this later). All connections
-between components are made before 'configuration_complete' is called. </P>
-<P>The deployment plan will be
-generated by the modelling tools but we take a brief look at the most important
-items of a deployment plan. A deployment plan is a XML based file which is
-devided into the following (main) sections: </P>
- <UL>
- <LI>Implementations</LI>
- <LI>Entry points </LI>
- <LI>Instances </LI>
- <LI>Connections </LI>
- <LI>Artifacts</LI>
- </UL>
-<P ><I><B>All deployment code fragments mentioned in the rest of this
-tutorial are *NO* exports of any modelling tool.</B></I></P>
-
-<H3 STYLE="PAGE-BREAK-AFTER: avoid">Implementations and Entry Points</H3>
-<P>This defines which executor and servant
-artifacts (binaries) should be used. Implementations also defines
-which entry points in the binaries should be used. In this example
-there are neeede 3 implementation sections, for the Sender Receiver
-and AMI connector. <A href="Code/Deployment/descriptors/implementation.cdp">This</A> file
-shows the implementation section of the AMI connector. Beware that artifacts and
-entry points are exact otherwise deployment will fail.</P>
-
-<H3STYLE="PAGE-BREAK-AFTER: avoid">Instances</H3>
-<P>Instances define which artifacts run on
-which node. Every fysical artifact in the system results in one
-instance. The &lt;node&gt; section refers to the fysical node on
-which this instance will be deployed. An instance always refers to an
-implementation. It's possible that more than one instance refers to
-the same implementation. The instance section also provide the
-initial values of all attributes defined on the component. <A href="Code/Deployment/descriptors/instance.cdp">This</A>
-file shows the instance section of the Sender, Receiver and AMI
-connector.<U><B>The instance of the AMI connector
-uses the same node as the Sender! </B></U></P>
-
-<H3 STYLE="PAGE-BREAK-AFTER: avoid">Connections</H3>
-<P>A connection section defines
-which components are connected together. The connection is 'local' since a
-connector and a component are always running in the same process. Now that we
-have got all the data we need to know to make a connection for the asynchronous
-methods between the Sender and AMI connector (1) and between the AMI connector
-and the receiver (2). For the synchronous methods we need a connection between
-the Sender and the receiver. (3)</P>
-
-<H4>(1) </H4>
-<P>&lt;connection&gt;<br>
-<font color="grey">//unique name of the connection</FONT><BR>
-&nbsp;&nbsp;&lt;name&gt;run_asynch_foo_connection&lt;/name&gt;<BR>
-&nbsp;&nbsp;&lt;deployRequirement&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;name&gt;edu.dre.vanderbilt.DAnCE.ConnectionType&lt;/name&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;resourceType&gt;Local_Interface&lt;/resourceType&gt;<BR>
-&nbsp;&nbsp;&lt;/deployRequirement&gt;<BR>
-&nbsp;&nbsp;&lt;internalEndpoint&gt;<FONT COLOR="grey">//First endpoint (the Sender component)</FONT><br>
-<FONT COLOR="grey">// PortName is defined as &quot;sendc_&quot; + name of port defined in Hello_Sender_comp.idl</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;portName&gt;sendc_run_my_foo&lt;/portName&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;provider&gt;false&lt;/provider&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;kind&gt;SimplexReceptacle&lt;/kind&gt;<BR>
-&nbsp;&nbsp;&nbsp;&lt;instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender"
-/&gt;&nbsp;<FONT COLOR="grey">//The reference to the sender instance.</FONT><BR>
-&nbsp;&nbsp;&lt;/internalEndpoint&gt;<BR>
-&nbsp;&nbsp;&lt;internalEndpoint&gt;<FONT COLOR="grey">//Second endpoint (the AMI connector component);<BR></FONT>
-&nbsp;&nbsp;&nbsp;&nbsp;</FONT>&lt;portName&gt;ami4ccm_port_ami4ccm_provides&lt;/portName&gt;
-<FONT COLOR="grey">//PortName alsways the same&nbsp;<BR></FONT>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;provider&gt;true&lt;/provider&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;kind&gt;Facet&lt;/kind&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI"
-/&gt;&nbsp;<FONT color="grey">//The reference to the connector instance<BR></FONT>
-&nbsp;&nbsp;&lt;/internalEndpoint&gt;<BR>
-&lt;/connection&gt;
-</P>
-
-<H4>(2) </H4>
-<P>&lt;connection&gt;<BR>
-&nbsp;&nbsp;&lt;name&gt;do_foo_connection&lt;/name&gt;<font color="grey">//unique name of the connection</FONT><BR>
-&nbsp;&nbsp;&lt;internalEndpoint&gt;<FONT color="grey">//First endpoint (the Receiver component)</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;portName&gt;do_my_foo&lt;/portName&gt;<FONT color="grey>// PortName is defined as name of port
-defined in Hello_Receiver_comp.idl</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;provider&gt;true&lt;/provider&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;kind&gt;Facet&lt;/kind&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" /&gt;<BR>
-&nbsp;&nbsp;&lt;/internalEndpoint&gt;<BR>
-&nbsp;&nbsp;&lt;internalEndpoint&gt;<FONT color="grey">//Second endpoint (the AMI component)</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;portName&gt;ami4ccm_port_ami4ccm_uses&lt;/portName&gt;<FONT color="grey">// PortName alsways the same&nbsp;</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;provider&gt;false&lt;/provider&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;kind&gt;SimplexReceptacle&lt;/kind&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" /&gt;<BR>
-&nbsp;&nbsp;&lt;/internalEndpoint&gt;<BR>
-&lt;/connection&gt;
-</P>
-
-<H4>(3)</H4>
-<P>&lt;connection&gt;<BR>
-&nbsp;&nbsp;&lt;name&gt;synch_foo_connection&lt;/name&gt;<BR>
-&nbsp;&nbsp;&lt;internalEndpoint&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;portName&gt;do_my_foo&lt;/portName&gt;<FONT color="grey">// PortName is defined as name of port
-defined in Hello_Receiver_comp.idl</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;provider&gt;true&lt;/provider&gt;<FONT color=""grey">// The receiver provides this port</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;kind&gt;Facet&lt;/kind&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" /&gt;<BR>
-&nbsp;&nbsp;&lt;/internalEndpoint&gt;<BR>
-&nbsp;&nbsp;&lt;internalEndpoint&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;portName&gt;run_my_foo&lt;/portName&gt;<FONT color="grey">// PortName is defined as name of port
-defined in Hello_Sender_comp.idl</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;provider&gt;false&lt;/provider&gt;<FONT color="grey">// The sender uses this port</FONT><BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;kind&gt;SimplexReceptacle&lt;/kind&gt;<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&lt;instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" /&gt;<BR>
-&nbsp;&nbsp;&lt;/internalEndpoint&gt;<BR>
-&lt;/connection&gt;
-</P>
-
-<P>Take a look at <A href="Code/Deployment/descriptors/connections.cdp">this</A> file to
-see which connection should be made by DAnCE in order to run the Hello tutorial
-properly.</P>
-
-<P>When the deployment tools (in this case DAnCE) deploys this
-system, it'll connect all defined connectors before the system is started (i.e.
-before configuration_complete is called on a component).</P>
-
-<H3 >Coding connections</H3>
-<P>Every component has got a context. The context is set by
-DAnCE and is the 'gateway' to all other component your component is connected
-to. The context caches all these connections so that the user doesn't need to
-cache those in his/her component.</P>
-<P><B><U>Sender:</B></U><br>The following code retrieves the
-connection to the AMI connector interface from the context:<br>
-<CODE>::Hello::AMI4CCM_MyFoo_obj_var asynch_foo = this-&gt;context_-&gt;get_connection_sendc_run_my_foo();</CODE>
-<br><BR>
-The following code retrieves the connection to the Receiver
-interface from the context:<br>
-<CODE>::Hello::MyFoo_obj_var synch_foo = this-&gt;context_-&gt;get_connection_run_my_foo ();</CODE>
-</p>
-<P><B><U>Receiver: </B></U><br>
-The Receiver provide one facet for the AMI connector and for the sender.<br>
-<CODE>::Hello::CCM_MyFoo_obj_ptr<BR>
-Receiver_exec_i::get_do_my_foo (void)<BR>
-{<BR>&nbsp;&nbsp;return new MyFoo_exec_i ();<BR>
-}</P>
-
-<H3>Artifacts</H3>
-<P>Artifacts sections contains the names of the binaries. See <A href="Code/Deployment/descriptors/artifacts.cdp">
-this</A> files for an overview of all artifacts in the Hello tutorial.</P>
-
-<H3>Complete plan</H3>
-<P <A href="Code/Deployment/descriptors/Plan.cdp">This</A> file shows the complete deployment
-plan.</P>
-
-<P STYLE="MARGIN-BOTTOM: 0cm"><BR></P>
-<HR>
-<P><BR><BR></P>
-<TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=2>
- <TR>
- <TD ALIGN=left><A href="04_ami4ccm.html">Previous</A></TD>
- <TD ALIGN=center></TD>
- <TD></TD></TR></TABLE>
-</BODY>
-</HTML>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/Plan.cdp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/Plan.cdp
deleted file mode 100644
index 4c4f5b54a95..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/Plan.cdp
+++ /dev/null
@@ -1,374 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
-<!-- -->
-<Deployment:DeploymentPlan xmlns:Deployment="http://www.omg.org/Deployment" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
-
- <UUID>6D382DAE-9024-4C4D-B91B-A0F9176AFACF</UUID>
-
- <implementation xmi:id="Hello_ReceiverHomeImplementation">
- <name>Hello_ReceiverHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Receiver_comp_ExecArtifact"/>
- <artifact xmi:idref="Hello_Receiver_comp_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_Receiver_comp_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver_comp_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Receiver_comp_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_SenderHomeImplementation">
- <name>Hello_SenderHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_Sender_comp_ExecArtifact"/>
- <artifact xmi:idref="Hello_Sender_comp_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_Sender_comp_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_Sender_comp_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <implementation xmi:id="Hello_AMIHomeImplementation">
- <name>Hello_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_MyFoo_obj_AMI_ExecArtifact"/>
- <artifact xmi:idref="Hello_MyFoo_obj_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="Hello_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- </connection>
-
- <artifact xmi:id="Hello_MyFoo_obj_AMI_SvntArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Hello_MyFoo_obj_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_MyFoo_obj_AMI_ExecArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Hello_MyFoo_obj_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_comp_SvntArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>Hello_Receiver_comp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_comp_ExecArtifact">
- <name>Receiver_comp_exec</name>
- <source/>
- <node/>
- <location>Hello_Receiver_comp_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_comp_SvntArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>Hello_Sender_comp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_comp_ExecArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>Hello_Sender_comp_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-</Deployment:DeploymentPlan>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/artifacts.cdp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/artifacts.cdp
deleted file mode 100644
index f812be31d00..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/artifacts.cdp
+++ /dev/null
@@ -1,108 +0,0 @@
-<!-- -->
-<artifact xmi:id="Hello_MyFoo_obj_AMI_SvntArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</name>
- <source/>
- <node/>
- <location>Hello_MyFoo_obj_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_MyFoo_obj_AMI_ExecArtifact">
- <name>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</name>
- <source/>
- <node/>
- <location>Hello_MyFoo_obj_conn</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Receiver_comp_SvntArtifact">
- <name>Hello.ImplementationArtifacts.ReceiverArtifacts.Receiver_svnt</name>
- <source/>
- <node/>
- <location>Hello_Receiver_comp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
-<artifact xmi:id="Hello_Receiver_comp_ExecArtifact">
- <name>Receiver_comp_exec</name>
- <source/>
- <node/>
- <location>Hello_Receiver_comp_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_ReceiverHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_comp_SvntArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_svnt</name>
- <source/>
- <node/>
- <location>Hello_Sender_comp_svnt</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Servant</string>
- </value>
- </value>
- </execParameter>
- </artifact>
-
- <artifact xmi:id="Hello_Sender_comp_ExecArtifact">
- <name>Hello.ImplementationArtifacts.SenderArtifacts.Sender_exec</name>
- <source/>
- <node/>
- <location>Hello_Sender_comp_exec</location>
- <execParameter>
- <name>entryPoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI_SenderHome_Impl</string>
- </value>
- </value>
- </execParameter>
- </artifact>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/connections.cdp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/connections.cdp
deleted file mode 100644
index 20b74edc2bc..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/connections.cdp
+++ /dev/null
@@ -1,53 +0,0 @@
-<!-- -->
-<connection>
- <name>run_asynch_foo_connection</name>
- <deployRequirement>
- <name>edu.dre.vanderbilt.DAnCE.ConnectionType</name>
- <resourceType>Local_Interface</resourceType>
- </deployRequirement>
- <internalEndpoint>
- <portName>sendc_run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_provides</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>do_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>ami4ccm_port_ami4ccm_uses</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.AMI" />
- </internalEndpoint>
- </connection>
-
- <connection>
- <name>synch_foo_connection</name>
- <internalEndpoint>
- <portName>do_my_foo</portName>
- <provider>true</provider>
- <kind>Facet</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver" />
- </internalEndpoint>
- <internalEndpoint>
- <portName>run_my_foo</portName>
- <provider>false</provider>
- <kind>SimplexReceptacle</kind>
- <instance xmi:idref="Hello.ComponentImplementations.HelloImplementation.Hello.Sender" />
- </internalEndpoint>
- </connection>
-
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/implementation.cdp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/implementation.cdp
deleted file mode 100644
index 638313ddfe6..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/implementation.cdp
+++ /dev/null
@@ -1,51 +0,0 @@
-<!-- -->
-<implementation xmi:id="Hello_AMIHomeImplementation">
- <name>Hello_AMIHomeImplementation</name>
- <source/>
- <artifact xmi:idref="Hello_MyFoo_obj_AMI_ExecArtifact"/>
- <artifact xmi:idref="Hello_MyFoo_obj_AMI_SvntArtifact"/>
- <execParameter>
- <name>component factory</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_Impl</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ExecutorArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_exec</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantEntrypoint</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>create_Hello_AMI4CCM_MyFoo_obj_Connector_AMI4CCM_Connector_Servant</string>
- </value>
- </value>
- </execParameter>
- <execParameter>
- <name>edu.vanderbilt.dre.CIAO.ServantArtifact</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Hello.ImplementationArtifacts.AMIArtifacts.AMI_svnt</string>
- </value>
- </value>
- </execParameter>
- </implementation>
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/instance.cdp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/instance.cdp
deleted file mode 100644
index 7b757c118a3..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/Deployment/descriptors/instance.cdp
+++ /dev/null
@@ -1,55 +0,0 @@
-<!-- -->
-<instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Receiver">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Receiver</name>
- <node>Receiver</node>
- <source/>
- <implementation xmi:idref="Hello_ReceiverHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Receiver.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.Sender">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.Sender</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_SenderHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>Sender.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
- <instance xmi:id="Hello.ComponentImplementations.HelloImplementation.Hello.AMI">
- <name>Hello.ComponentImplementations.HelloImplementation.Hello.AMI</name>
- <node>Sender</node>
- <source/>
- <implementation xmi:idref="Hello_AMIHomeImplementation"/>
- <configProperty>
- <name>edu.vanderbilt.dre.DAnCE.InstanceIOR</name>
- <value>
- <type>
- <kind>tk_string</kind>
- </type>
- <value>
- <string>AMI.ior</string>
- </value>
- </value>
- </configProperty>
- </instance>
-
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Receiver_comp_exec.cpp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Receiver_comp_exec.cpp
deleted file mode 100644
index b3aabfcf428..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Receiver_comp_exec.cpp
+++ /dev/null
@@ -1,168 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Hello_Receiver_comp_exec.h"
-
-namespace CIAO_Hello_Receiver_comp_Impl
-{
-
- //============================================================
- // Facet Executor Implementation Class: do_my_foo_exec_i
- //============================================================
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::Hello::CCM_Receiver_comp_Context_ptr ctx)
- : ciao_context_ (
- ::Hello::CCM_Receiver_comp_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::Hello::MyFoo_obj
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * /* in_str */,
- ::CORBA::String_out /* answer */)
- {
- /* Your code here. */
- return 0;
- }
-
- void
- do_my_foo_exec_i::hello (::CORBA::Long_out /* answer */)
- {
- /* Your code here. */
- }
-
- ::CORBA::Short
- MyFoo_obj_exec_i::rw_attrib (void)
- {
- /* Your code here. */
- return 0;
- }
-
- void
- MyFoo_obj_exec_i::rw_attrib (::CORBA::Short /* rw_attrib */)
- {
- /* Your code here. */
- }
-
- ::CORBA::Short
- MyFoo_obj_exec_i::ro_attrib (void)
- {
- /* Your code here. */
- return 0;
- }
-
- //============================================================
- // Component Executor Implementation Class: Receiver_comp_exec_i
- //============================================================
-
- Receiver_comp_exec_i::Receiver_comp_exec_i (void){
- }
-
- Receiver_comp_exec_i::~Receiver_comp_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::Hello::CCM_MyFoo_obj_ptr
- Receiver_comp_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::Hello::CCM_MyFoo_obj::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::Hello::CCM_MyFoo_obj::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_comp_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::Hello::CCM_Receiver_comp_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_comp_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_Hello_Receiver_comp_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_comp_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Receiver_comp_exec.h b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Receiver_comp_exec.h
deleted file mode 100644
index 08ffb5bca86..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Receiver_comp_exec.h
+++ /dev/null
@@ -1,124 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO__________TUTORIAL_CODE_GENERATEDEXEC_HELLO_RECEIVER_COMP_EXEC_IHOFDC_H_
-#define CIAO__________TUTORIAL_CODE_GENERATEDEXEC_HELLO_RECEIVER_COMP_EXEC_IHOFDC_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Hello_Receiver_compEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-
-namespace CIAO_Hello_Receiver_comp_Impl
-{
-
- //============================================================
- // Provider Executor Implementation Class: do_my_foo_exec_i
- //============================================================
-
- class do_my_foo_exec_i
- : public virtual ::Hello::CCM_MyFoo_obj,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::Hello::CCM_Receiver_comp_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- // Operations and attributes from Hello::MyFoo_obj
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::String_out answer);
-
- virtual
- void hello (::CORBA::Long_out answer);
-
- virtual ::CORBA::Short rw_attrib (void);
-
- virtual void rw_attrib (::CORBA::Short rw_attrib);
-
- virtual ::CORBA::Short ro_attrib (void);
-
- private:
- ::Hello::CCM_Receiver_comp_Context_var ciao_context_;
- };
-
- //============================================================
- // Component Executor Implementation Class: Receiver_comp_exec_i
- //============================================================
-
- class Receiver_comp_exec_i
- : public virtual Receiver_comp_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_comp_exec_i (void);
- virtual ~Receiver_comp_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::Hello::CCM_MyFoo_obj_ptr
- get_do_my_foo (void);//@}
-
- //@{
- /** Operations from Components::SessionComponent. */
-
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete (void);
-
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined operations */
-
- //@}
-
- private:
- ::Hello::CCM_Receiver_comp_Context_var ciao_context_;
- ::Hello::CCM_MyFoo_obj_var ciao_do_my_foo_;
- };
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_Hello_Receiver_comp_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Sender_comp_exec.cpp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Sender_comp_exec.cpp
deleted file mode 100644
index 05066a540ba..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Sender_comp_exec.cpp
+++ /dev/null
@@ -1,175 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Hello_Sender_comp_exec.h"
-
-namespace CIAO_Hello_Sender_comp_Impl
-{
-
- /**
- * Component Executor Implementation Class: Sender_comp_exec_i
- */
-
- Sender_comp_exec_i::Sender_comp_exec_i (void){
- }
-
- Sender_comp_exec_i::~Sender_comp_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_comp_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::Hello::CCM_Sender_comp_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_comp_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_comp_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_comp_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_comp_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::~AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long /* ami_return_val */,
- const char * /* answer */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::hello (
- ::CORBA::Long /* answer */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short /* rw_attrib */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short /* ro_attrib */)
- {
- /* Your code here. */
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr /* excep_holder */)
- {
- /* Your code here. */
- }
-
- extern "C" HELLO_SENDER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_comp_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_comp_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Sender_comp_exec.h b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Sender_comp_exec.h
deleted file mode 100644
index 28fce65d55c..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/GeneratedExec/Hello_Sender_comp_exec.h
+++ /dev/null
@@ -1,150 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_______GENERATEDCODE_HELLO_SENDER_COMP_EXEC_WFK79V_H_
-#define CIAO_______GENERATEDCODE_HELLO_SENDER_COMP_EXEC_WFK79V_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Hello_Sender_compEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "Hello_Sender_comp_exec_export.h"
-#include "tao/LocalObject.h"
-
-namespace CIAO_Hello_Sender_comp_Impl
-{
-
- /**
- * Component Executor Implementation Class: Sender_comp_exec_i
- */
-
- class Sender_comp_exec_i
- : public virtual Sender_comp_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_comp_exec_i (void);
- virtual ~Sender_comp_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
- //@}
-
- //@{
- /** Operations from Components::SessionComponent. */
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
- virtual void configuration_complete (void);
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined public operations. */
-
- //@}
-
- private:
- ::Hello::CCM_Sender_comp_Context_var ciao_context_;
-
- //@{
- /** Component attributes. */
- //@}
-
- //@{
- /** User defined members. */
-
- //@}
-
- //@{
- /** User defined private operations. */
-
- //@}
- };
-
- class AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i
- : public ::Hello::CCM_AMI4CCM_MyFoo_objReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- hello (
- ::CORBA::Long answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" HELLO_SENDER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_comp_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Receiver_comp_exec.cpp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Receiver_comp_exec.cpp
deleted file mode 100644
index 303697cae44..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Receiver_comp_exec.cpp
+++ /dev/null
@@ -1,181 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Hello_Receiver_comp_exec.h"
-#include "ace/OS_NS_unistd.h"
-
-namespace CIAO_Hello_Receiver_comp_Impl
-{
-
- //============================================================
- // Facet Executor Implementation Class: do_my_foo_exec_i
- //============================================================
-
- do_my_foo_exec_i::do_my_foo_exec_i (
- ::Hello::CCM_Receiver_comp_Context_ptr ctx)
- : ciao_context_ (
- ::Hello::CCM_Receiver_comp_Context::_duplicate (ctx))
- {
- }
-
- do_my_foo_exec_i::~do_my_foo_exec_i (void)
- {
- }
-
- // Operations from ::Hello::MyFoo_obj
-
- ::CORBA::Long
- do_my_foo_exec_i::foo (const char * in_str,
- ::CORBA::String_out answer)
- {
- // for test purposes : throw an exception.
- if (ACE_OS::strlen (in_str) == 0)
- {
- Hello::InternalError ex (42, "Hello world");
- throw ex;
- }
- else
- {
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = CORBA::string_dup ("This is my answer : Hi");
- return ACE_OS::rand () % 100;
- }
- }
-
- void
- do_my_foo_exec_i::hello (::CORBA::Long_out answer)
- {
- /* Your code here. */
- ACE_OS::sleep (ACE_OS::rand () % 2);
- answer = ACE_OS::rand () % 100;
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::rw_attrib (void)
- {
- /* Your code here. */
- return ACE_OS::rand () % 100;
- }
-
- void
- do_my_foo_exec_i::rw_attrib (::CORBA::Short /* rw_attrib */)
- {
- /* Your code here. */
- }
-
- ::CORBA::Short
- do_my_foo_exec_i::ro_attrib (void)
- {
- /* Your code here. */
- return ACE_OS::rand () % 100;
- }
-
- //============================================================
- // Component Executor Implementation Class: Receiver_comp_exec_i
- //============================================================
-
- Receiver_comp_exec_i::Receiver_comp_exec_i (void){
- }
-
- Receiver_comp_exec_i::~Receiver_comp_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- ::Hello::CCM_MyFoo_obj_ptr
- Receiver_comp_exec_i::get_do_my_foo (void)
- {
- if ( ::CORBA::is_nil (this->ciao_do_my_foo_.in ()))
- {
- do_my_foo_exec_i *tmp = 0;
- ACE_NEW_RETURN (
- tmp,
- do_my_foo_exec_i (
- this->ciao_context_.in ()),
- ::Hello::CCM_MyFoo_obj::_nil ());
-
- this->ciao_do_my_foo_ = tmp;
- }
-
- return
- ::Hello::CCM_MyFoo_obj::_duplicate (
- this->ciao_do_my_foo_.in ());
- }
-
- // Operations from Components::SessionComponent.
-
- void
- Receiver_comp_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::Hello::CCM_Receiver_comp_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Receiver_comp_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_activate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Receiver_comp_exec_i::ccm_remove (void)
- {
- /* Your code here. */
- }
-
- extern "C" ::Components::EnterpriseComponent_ptr
- create_Hello_Receiver_comp_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Receiver_comp_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Receiver_comp_exec.h b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Receiver_comp_exec.h
deleted file mode 100644
index 49292bc1852..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Receiver_comp_exec.h
+++ /dev/null
@@ -1,126 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.2
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO__________TUTORIAL_CODE_GENERATEDEXEC_HELLO_RECEIVER_COMP_EXEC_IHOFDC_H_
-#define CIAO__________TUTORIAL_CODE_GENERATEDEXEC_HELLO_RECEIVER_COMP_EXEC_IHOFDC_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Hello_Receiver_compEC.h"
-#include "Hello_Receiver_comp_exec_export.h"
-
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/LocalObject.h"
-
-namespace CIAO_Hello_Receiver_comp_Impl
-{
-
- //============================================================
- // Provider Executor Implementation Class: do_my_foo_exec_i
- //============================================================
-
- class do_my_foo_exec_i
- : public virtual ::Hello::CCM_MyFoo_obj,
- public virtual ::CORBA::LocalObject
- {
- public:
- do_my_foo_exec_i (
- ::Hello::CCM_Receiver_comp_Context_ptr ctx);
- virtual ~do_my_foo_exec_i (void);
-
- // Operations and attributes from Hello::MyFoo_obj
-
- virtual
- ::CORBA::Long foo (const char * in_str,
- ::CORBA::String_out answer);
-
- virtual
- void hello (::CORBA::Long_out answer);
-
- virtual ::CORBA::Short rw_attrib (void);
-
- virtual void rw_attrib (::CORBA::Short rw_attrib);
-
- virtual ::CORBA::Short ro_attrib (void);
-
- private:
- ::Hello::CCM_Receiver_comp_Context_var ciao_context_;
- };
-
- //============================================================
- // Component Executor Implementation Class: Receiver_comp_exec_i
- //============================================================
-
- class Receiver_comp_exec_i
- : public virtual Receiver_comp_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Receiver_comp_exec_i (void);
- virtual ~Receiver_comp_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. */
-
- virtual ::Hello::CCM_MyFoo_obj_ptr
- get_do_my_foo (void);//@}
-
- //@{
- /** Operations from Components::SessionComponent. */
-
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete (void);
-
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined operations */
-
- //@}
-
- private:
- ::Hello::CCM_Receiver_comp_Context_var ciao_context_;
- ::Hello::CCM_MyFoo_obj_var ciao_do_my_foo_;
- };
-
- extern "C" HELLO_RECEIVER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Receiver_comp_Impl (void);
-}
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Sender_comp_exec.cpp b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Sender_comp_exec.cpp
deleted file mode 100644
index b1dee373d11..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Sender_comp_exec.cpp
+++ /dev/null
@@ -1,338 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-
-#include "Hello_Sender_comp_exec.h"
-
-namespace CIAO_Hello_Sender_comp_Impl
-{
-
- //============================================================
- // Worker thread for asynchronous invocations for MyFoo
- //============================================================
- asynch_foo_generator::asynch_foo_generator (
- ::Hello::CCM_Sender_comp_Context_ptr context)
- : context_(::Hello::CCM_Sender_comp_Context::_duplicate (context))
- {
- }
-
- int asynch_foo_generator::svc ()
- {
- ACE_OS::sleep (2);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :")
- ACE_TEXT("\tInvoke Asynchronous calls\n")));
- ::Hello::AMI4CCM_MyFoo_obj_var my_foo_ami_ =
- this->context_->get_connection_sendc_run_my_foo();
-
- if (CORBA::is_nil (my_foo_ami_))
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("ERROR Sender (ASYNCH) :")
- ACE_TEXT("\tfoo_ami is NIL !!!\n")));
- return 1;
- }
- ::Hello::CCM_AMI4CCM_MyFoo_objReplyHandler_var cb =
- new AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i ();
-
- for (int i = 0; i < 5; ++i)
- {
- my_foo_ami_->sendc_foo (cb.in (),
- "Do something asynchronous");
- my_foo_ami_->sendc_hello (cb.in ());
- my_foo_ami_->sendc_get_rw_attrib(cb.in ());
- my_foo_ami_->sendc_set_rw_attrib(cb.in (),
- 15);
- my_foo_ami_->sendc_get_ro_attrib(cb.in ());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked 5 Asynchronous calls\n")));
- }
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoke Asynchronous calls ")
- ACE_TEXT("to test except handling\n")));
- my_foo_ami_->sendc_foo (cb.in (), "");
- my_foo_ami_->sendc_set_rw_attrib(cb.in (), 0);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (ASYNCH) :\tInvoked 2 Asynchronous call.\n")));
- return 0;
- }
-
- //============================================================
- // Worker thread for synchronous invocations for MyFoo
- //============================================================
- synch_foo_generator::synch_foo_generator (
- ::Hello::CCM_Sender_comp_Context_ptr context)
- : context_(::Hello::CCM_Sender_comp_Context::_duplicate (context))
- {
- }
-
- int synch_foo_generator::svc ()
- {
- ACE_OS::sleep (2);
- ::Hello::MyFoo_obj_var my_foo_ami_ =
- this->context_->get_connection_run_my_foo ();
- // run synch calls
- CORBA::String_var out_str;
- for (int i = 0; i < 2; ++i)
- {
- try
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call (foo)\n")));
- CORBA::Long result = my_foo_ami_->foo ("Do something synchronous",
- out_str.out());
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call (foo)\n")
- ACE_TEXT(" result <%u> answer <%C>\n"),
- result, out_str.in()));
-
- CORBA::Long answer;
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call")
- ACE_TEXT(" (hello)\n")));
- my_foo_ami_->hello (answer);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous ")
- ACE_TEXT("call (hello) result <%u>\n"), answer));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call ")
- ACE_TEXT("(rw_attrib())\n")));
- CORBA::Short rw_attrib = my_foo_ami_->rw_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(rw_attrib()) return <%u>\n"), rw_attrib));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call")
- ACE_TEXT(" (rw_attrib(15))\n")));
- my_foo_ami_->rw_attrib (15);
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(rw_attrib(15))\n")));
-
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoke synchronous call")
- ACE_TEXT(" (ro_attrib())\n")));
- CORBA::Short ro_attrib = my_foo_ami_->ro_attrib ();
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender (SYNCH):\tInvoked synchronous call ")
- ACE_TEXT("(ro_attrib) return <%u>\n"), ro_attrib));
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_ERROR ((LM_ERROR,
- ACE_TEXT("Sender (SYNCH) :\tERROR: ")
- ACE_TEXT("Unexpected Exception caught :")
- ACE_TEXT(" <%u> <%C>\n"), ex.id, ex.error_string.in ()));
- }
- }
- return 0;
- }
-
- //============================================================
- // Component Executor Implementation Class: Sender_comp_exec_i
- //============================================================
- Sender_comp_exec_i::Sender_comp_exec_i (void){
- }
-
- Sender_comp_exec_i::~Sender_comp_exec_i (void)
- {
- }
-
- // Supported operations and attributes.
-
- // Component attributes and port operations.
-
- // Operations from Components::SessionComponent.
-
- void
- Sender_comp_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->ciao_context_ =
- ::Hello::CCM_Sender_comp_Context::_narrow (ctx);
-
- if ( ::CORBA::is_nil (this->ciao_context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- Sender_comp_exec_i::configuration_complete (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_comp_exec_i::ccm_activate (void)
- {
- this->asynch_foo_gen =
- new asynch_foo_generator (this->ciao_context_.in ());
- this->asynch_foo_gen ->activate (THR_NEW_LWP | THR_JOINABLE, 1);
-
- this->synch_foo_gen =
- new synch_foo_generator (this->ciao_context_.in ());
- this->synch_foo_gen->activate (THR_NEW_LWP | THR_JOINABLE, 1);
- }
-
- void
- Sender_comp_exec_i::ccm_passivate (void)
- {
- /* Your code here. */
- }
-
- void
- Sender_comp_exec_i::ccm_remove (void)
- {
- delete this->asynch_foo_gen;
- this->asynch_foo_gen = 0;
- delete this->synch_foo_gen;
- this->synch_foo_gen = 0;
- }
-
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void)
- {
- }
-
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::~AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void)
- {
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo (
- ::CORBA::Long ami_return_val,
- const char * answer)
- {
- /* Your code here. */
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from foo:")
- ACE_TEXT("result <%u> answer <%C>\n"),
- ami_return_val, answer));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo Expected excception AMI Callback ")
- ACE_TEXT("from foo: id <%u> error_string <%C>\n"),
- ex.id, ex.error_string.in ()));
- }
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::hello (
- ::CORBA::Long answer)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from hello:")
- ACE_TEXT(" answer <%u>\n"), answer));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- try
- {
- excep_holder->raise_exception ();
- }
- catch (const Hello::InternalError& ex)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo Exception AMI Callback from hello:\n")
- ACE_TEXT(" id <%u> error_string <%C>\n"),
- ex.id, ex.error_string.in ()));
- }
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_rw_attrib (
- ::CORBA::Short rw_attrib)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from get_rw_attrib:")
- ACE_TEXT(" result <%u>\n"), rw_attrib));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::set_rw_attrib (void)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from ")
- ACE_TEXT("set_rw_attrib.\n")));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_ro_attrib (
- ::CORBA::Short ro_attrib)
- {
- ACE_DEBUG ((LM_DEBUG,
- ACE_TEXT("Sender:\tMyFoo AMI Callback from ")
- ACE_TEXT("get_ro_attrib: result <%u>\n"), ro_attrib));
- }
-
- void
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i::get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder)
- {
- excep_holder->raise_exception ();
- }
-
- extern "C" HELLO_SENDER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_comp_Impl (void)
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_NORETURN (
- retval,
- Sender_comp_exec_i);
-
- return retval;
- }
-}
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Sender_comp_exec.h b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Sender_comp_exec.h
deleted file mode 100644
index c297a5ed9ff..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/Code/ImplementedExec/Hello_Sender_comp_exec.h
+++ /dev/null
@@ -1,164 +0,0 @@
-// -*- C++ -*-
-/**
- * Code generated by the The ACE ORB (TAO) IDL Compiler v1.8.3
- * TAO and the TAO IDL Compiler have been developed by:
- * Center for Distributed Object Computing
- * Washington University
- * St. Louis, MO
- * USA
- * http://www.cs.wustl.edu/~schmidt/doc-center.html
- * and
- * Distributed Object Computing Laboratory
- * University of California at Irvine
- * Irvine, CA
- * USA
- * and
- * Institute for Software Integrated Systems
- * Vanderbilt University
- * Nashville, TN
- * USA
- * http://www.isis.vanderbilt.edu/
- *
- * Information about TAO is available at:
- * http://www.dre.vanderbilt.edu/~schmidt/TAO.html
- **/
-#ifndef CIAO_______GENERATEDCODE_HELLO_SENDER_COMP_EXEC_WFK79V_H_
-#define CIAO_______GENERATEDCODE_HELLO_SENDER_COMP_EXEC_WFK79V_H_
-
-#include /**/ "ace/pre.h"
-
-#include "Hello_Sender_compEC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include /**/ "Hello_Sender_comp_exec_export.h"
-#include "tao/LocalObject.h"
-#include "ace/Task.h"
-
-namespace CIAO_Hello_Sender_comp_Impl
-{
-
- /// Worker thread for asynchronous invocations
- class asynch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- asynch_foo_generator (::Hello::CCM_Sender_comp_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Hello::CCM_Sender_comp_Context_var context_;
- };
-
- /// Worker thread for synchronous invocations
- class synch_foo_generator : public virtual ACE_Task_Base
- {
- public:
- synch_foo_generator (::Hello::CCM_Sender_comp_Context_ptr context);
-
- virtual int svc (void);
-
- private:
- ::Hello::CCM_Sender_comp_Context_var context_;
- };
-
- //============================================================
- // Component Executor Implementation Class: Sender_comp_exec_i
- //============================================================
-
- class Sender_comp_exec_i
- : public virtual Sender_comp_Exec,
- public virtual ::CORBA::LocalObject
- {
- public:
- Sender_comp_exec_i (void);
- virtual ~Sender_comp_exec_i (void);
-
- //@{
- /** Supported operations and attributes. */
-
- //@}
-
- //@{
- /** Component attributes and port operations. *///@}
-
- //@{
- /** Operations from Components::SessionComponent. */
-
- virtual void set_session_context (::Components::SessionContext_ptr ctx);
-
- virtual void configuration_complete (void);
-
- virtual void ccm_activate (void);
- virtual void ccm_passivate (void);
- virtual void ccm_remove (void);
- //@}
-
- //@{
- /** User defined operations */
- asynch_foo_generator* asynch_foo_gen;
- synch_foo_generator* synch_foo_gen;
- //@}
-
- private:
- ::Hello::CCM_Sender_comp_Context_var ciao_context_;
- };
-
- class AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i
- : public ::Hello::CCM_AMI4CCM_MyFoo_objReplyHandler,
- public virtual ::CORBA::LocalObject
- {
- public:
- AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void);
- virtual ~AMI4CCM_MyFoo_objReplyHandler_run_my_foo_i (void);
-
- virtual void
- foo (
- ::CORBA::Long ami_return_val,
- const char * answer);
-
- virtual void
- foo_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- hello (
- ::CORBA::Long answer);
-
- virtual void
- hello_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_rw_attrib (
- ::CORBA::Short rw_attrib);
-
- virtual void
- get_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- set_rw_attrib (void);
-
- virtual void
- set_rw_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
-
- virtual void
- get_ro_attrib (
- ::CORBA::Short ro_attrib);
-
- virtual void
- get_ro_attrib_excep (
- ::CCM_AMI::ExceptionHolder_ptr excep_holder);
- };
-
- extern "C" HELLO_SENDER_COMP_EXEC_Export ::Components::EnterpriseComponent_ptr
- create_Hello_Sender_comp_Impl (void);
- }
-
-#include /**/ "ace/post.h"
-
-#endif /* ifndef */
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/images/images.png b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/images/images.png
deleted file mode 100644
index 74c8b80912c..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/images/images.png
+++ /dev/null
Binary files differ
diff --git a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/images/system.png b/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/images/system.png
deleted file mode 100644
index 42148beaaae..00000000000
--- a/CIAO/connectors/ami4ccm/tutorials/Hello/Tutorial/images/system.png
+++ /dev/null
Binary files differ