diff options
Diffstat (limited to 'TAO/orbsvcs/tests/FT_App/FT_Replica.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/FT_App/FT_Replica.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/FT_App/FT_Replica.cpp b/TAO/orbsvcs/tests/FT_App/FT_Replica.cpp new file mode 100644 index 00000000000..43bd2b8b219 --- /dev/null +++ b/TAO/orbsvcs/tests/FT_App/FT_Replica.cpp @@ -0,0 +1,28 @@ +/* -*- C++ -*- */ +//============================================================================= +/** + * @file FT_Replica.cpp + * + * $Id$ + * + * This file is part of Fault Tolerant CORBA. + * Implement the FT_TEST::Replica IDL interface. + * + * @author Dale Wilson <wilson_d@ociweb.com> + */ +//============================================================================= + +#include <tao/Utils/Server_Main.h> +#include "FT_ReplicaFactory_i.h" + +int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) +{ + TAO::Utils::Server_Main<FT_ReplicaFactory_i> server_main("TestReplicaFactory"); + return server_main.run(argc, argv); +} + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + template class TAO::Utils::Server_Main<FT_ReplicaFactory_i>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +# pragma instantiate TAO::Utils::Server_Main<FT_ReplicaFactory_i> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |