diff options
author | wilson_d <wilson_d@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-12 17:12:49 +0000 |
---|---|---|
committer | wilson_d <wilson_d@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-11-12 17:12:49 +0000 |
commit | 74f1d18a0db676b275505bf8d4b0fdaa1c2e4b0f (patch) | |
tree | ea3bd00c1f22bf9070808f3f82186ab7d1aa7763 | |
parent | dbd5f65d1173351a526ed6de048c3b60d151a981 (diff) | |
download | ATCD-74f1d18a0db676b275505bf8d4b0fdaa1c2e4b0f.tar.gz |
ChangeLogTag: Wed Nov 12 08:08:07 2003 Dale Wilson <wilson_d@ociweb.com>
-rw-r--r-- | TAO/orbsvcs/tests/FT_App/FTAPP_Analyzer_Main.cpp | 33 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/FT_App/FTAPP_FaultConsumer_Main.cpp | 33 |
2 files changed, 66 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/FT_App/FTAPP_Analyzer_Main.cpp b/TAO/orbsvcs/tests/FT_App/FTAPP_Analyzer_Main.cpp new file mode 100644 index 00000000000..c4973abaf02 --- /dev/null +++ b/TAO/orbsvcs/tests/FT_App/FTAPP_Analyzer_Main.cpp @@ -0,0 +1,33 @@ +/* -*- C++ -*- */ +//============================================================================= +/** + * @file FTAPP_Analyzer_Main.cpp + * + * $Id$ + * + * This file is part of Fault Tolerant CORBA. + * This file provides the main routine for a stub FaultAnalyzer + * + * @author Dale Wilson <wilson_d@ociweb.com> + */ +//============================================================================= + +#include <tao/Utils/Server_Main.h> +#include "StubFaultAnalyzer.h" + +int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) +{ + TAO::Utils::Server_Main<StubFaultAnalyzer> server_run("FaultAnalyzer"); + return server_run.run(argc, argv); +} + +/////////////////////////////////// +// Template instantiation for +// inept compilers. + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + template TAO::Utils::Server_Main<StubFaultAnalyzer>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Utils::Server_Main<StubFaultAnalyzer> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + diff --git a/TAO/orbsvcs/tests/FT_App/FTAPP_FaultConsumer_Main.cpp b/TAO/orbsvcs/tests/FT_App/FTAPP_FaultConsumer_Main.cpp new file mode 100644 index 00000000000..2fa8d2746aa --- /dev/null +++ b/TAO/orbsvcs/tests/FT_App/FTAPP_FaultConsumer_Main.cpp @@ -0,0 +1,33 @@ +/* -*- C++ -*- */ +//============================================================================= +/** + * @file FTApp_FaultConsumer_Main.cpp + * + * $Id$ + * + * This file is part of Fault Tolerant CORBA. + * This file provides the main routine for a stub FaultConsumer. + * + * @author Steve Totten <totten_s@ociweb.com> + */ +//============================================================================= + +#include <tao/Utils/Server_Main.h> +#include "ReplicationManagerFaultConsumerAdapter.h" + +int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) +{ + TAO::Utils::Server_Main<ReplicationManagerFaultConsumerAdapter> + server_main("FaultConsumer"); + return server_main.run(argc, argv); +} + +/////////////////////////////////// +// Template instantiation for +// inept compilers. + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + template TAO::Utils::Server_Main<ReplicationManagerFaultConsumerAdapter>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Utils::Server_Main<ReplicationManagerFaultConsumerAdapter> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |