summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/tests/InterMulti
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/connectors/ami4ccm/tests/InterMulti')
-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
17 files changed, 0 insertions, 3415 deletions
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;