diff options
Diffstat (limited to 'orbsvcs/tests/Miop/McastHello')
-rw-r--r-- | orbsvcs/tests/Miop/McastHello/Makefile.am | 129 | ||||
-rw-r--r-- | orbsvcs/tests/Miop/McastHello/McastHello.cpp | 2 | ||||
-rw-r--r-- | orbsvcs/tests/Miop/McastHello/client.cpp | 2 | ||||
-rw-r--r-- | orbsvcs/tests/Miop/McastHello/server.cpp | 8 | ||||
-rw-r--r-- | orbsvcs/tests/Miop/McastHello/svc.conf | 2 |
5 files changed, 6 insertions, 137 deletions
diff --git a/orbsvcs/tests/Miop/McastHello/Makefile.am b/orbsvcs/tests/Miop/McastHello/Makefile.am deleted file mode 100644 index 914981d4fa6..00000000000 --- a/orbsvcs/tests/Miop/McastHello/Makefile.am +++ /dev/null @@ -1,129 +0,0 @@ -## Process this file with automake to create Makefile.in -## -## $Id$ -## -## This file was generated by MPC. Any changes made directly to -## this file will be lost the next time it is generated. -## -## MPC Command: -## ../bin/mwc.pl -type automake -noreldefs TAO.mwc - -ACE_BUILDDIR = $(top_builddir)/.. -ACE_ROOT = $(top_srcdir)/.. -TAO_BUILDDIR = $(top_builddir) -TAO_IDL = ACE_ROOT=$(ACE_ROOT) TAO_ROOT=$(TAO_ROOT) $(TAO_BUILDDIR)/TAO_IDL/tao_idl -TAO_IDL_DEP = $(TAO_BUILDDIR)/TAO_IDL/tao_idl -TAO_IDLFLAGS = -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -I$(TAO_ROOT) -I$(srcdir) -g $(ACE_BUILDDIR)/apps/gperf/src/ace_gperf -TAO_ROOT = $(top_srcdir) - -noinst_PROGRAMS = - -## Makefile.McastHello_Idl.am - -BUILT_SOURCES = \ - TestC.cpp \ - TestC.h \ - TestC.inl \ - TestS.cpp \ - TestS.h \ - TestS.inl - -CLEANFILES = \ - Test-stamp \ - TestC.cpp \ - TestC.h \ - TestC.inl \ - TestS.cpp \ - TestS.h \ - TestS.inl - -TestC.cpp TestC.h TestC.inl TestS.cpp TestS.h TestS.inl: Test-stamp - -Test-stamp: $(srcdir)/Test.idl $(TAO_IDL_DEP) - $(TAO_IDL) $(TAO_IDLFLAGS) -Sa -St $(srcdir)/Test.idl - @touch $@ - -noinst_HEADERS = \ - Test.idl - -## Makefile.McastHello_Client.am - -if BUILD_CORBA_MESSAGING -if BUILD_EXCEPTIONS - -noinst_PROGRAMS += client - -client_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -I$(TAO_ROOT) \ - -I$(TAO_BUILDDIR) \ - -I$(TAO_ROOT)/orbsvcs \ - -I$(TAO_BUILDDIR)/orbsvcs - -client_SOURCES = \ - TestC.cpp \ - client.cpp \ - McastHello.h - -client_LDADD = \ - $(TAO_BUILDDIR)/orbsvcs/orbsvcs/libTAO_PortableGroup.la \ - $(TAO_BUILDDIR)/tao/libTAO_IORManip.la \ - $(TAO_BUILDDIR)/tao/libTAO_Messaging.la \ - $(TAO_BUILDDIR)/tao/libTAO_PI.la \ - $(TAO_BUILDDIR)/tao/libTAO_CodecFactory.la \ - $(TAO_BUILDDIR)/tao/libTAO_PortableServer.la \ - $(TAO_BUILDDIR)/tao/libTAO_Valuetype.la \ - $(TAO_BUILDDIR)/orbsvcs/orbsvcs/libTAO_CosNaming.la \ - $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \ - $(TAO_BUILDDIR)/tao/libTAO.la \ - $(ACE_BUILDDIR)/ace/libACE.la - -endif BUILD_EXCEPTIONS -endif BUILD_CORBA_MESSAGING - -## Makefile.McastHello_Server.am - -if BUILD_CORBA_MESSAGING -if BUILD_EXCEPTIONS - -noinst_PROGRAMS += server - -server_CPPFLAGS = \ - -I$(ACE_ROOT) \ - -I$(ACE_BUILDDIR) \ - -I$(TAO_ROOT) \ - -I$(TAO_BUILDDIR) \ - -I$(TAO_ROOT)/orbsvcs \ - -I$(TAO_BUILDDIR)/orbsvcs - -server_SOURCES = \ - McastHello.cpp \ - TestC.cpp \ - TestS.cpp \ - server.cpp \ - McastHello.h - -server_LDADD = \ - $(TAO_BUILDDIR)/orbsvcs/orbsvcs/libTAO_PortableGroup.la \ - $(TAO_BUILDDIR)/tao/libTAO_IORManip.la \ - $(TAO_BUILDDIR)/tao/libTAO_Messaging.la \ - $(TAO_BUILDDIR)/tao/libTAO_PI.la \ - $(TAO_BUILDDIR)/tao/libTAO_CodecFactory.la \ - $(TAO_BUILDDIR)/tao/libTAO_PortableServer.la \ - $(TAO_BUILDDIR)/tao/libTAO_Valuetype.la \ - $(TAO_BUILDDIR)/orbsvcs/orbsvcs/libTAO_CosNaming.la \ - $(TAO_BUILDDIR)/tao/libTAO_AnyTypeCode.la \ - $(TAO_BUILDDIR)/tao/libTAO.la \ - $(ACE_BUILDDIR)/ace/libACE.la - -endif BUILD_EXCEPTIONS -endif BUILD_CORBA_MESSAGING - -## Clean up template repositories, etc. -clean-local: - -rm -f *~ *.bak *.rpo *.sym lib*.*_pure_* core core.* - -rm -f gcctemp.c gcctemp so_locations *.ics - -rm -rf cxx_repository ptrepository ti_files - -rm -rf templateregistry ir.out - -rm -rf ptrepository SunWS_cache Templates.DB diff --git a/orbsvcs/tests/Miop/McastHello/McastHello.cpp b/orbsvcs/tests/Miop/McastHello/McastHello.cpp index 10dd672650c..f195a6e5c9a 100644 --- a/orbsvcs/tests/Miop/McastHello/McastHello.cpp +++ b/orbsvcs/tests/Miop/McastHello/McastHello.cpp @@ -3,7 +3,7 @@ // #include "McastHello.h" -ACE_RCSID(McastHello, McastHello, "$Id$") + McastHello::McastHello (CORBA::ORB_ptr orb, int instance) diff --git a/orbsvcs/tests/Miop/McastHello/client.cpp b/orbsvcs/tests/Miop/McastHello/client.cpp index a012ab1bfa6..a84044b4085 100644 --- a/orbsvcs/tests/Miop/McastHello/client.cpp +++ b/orbsvcs/tests/Miop/McastHello/client.cpp @@ -5,7 +5,7 @@ #include "tao/Object_T.h" #include "orbsvcs/PortableGroup/MIOP.h" -ACE_RCSID(Hello, client, "$Id$") + #define MAX_MIOP_OCTET_SEQUENCE (ACE_MAX_DGRAM_SIZE - 272 /* MIOP_MAX_HEADER_SIZE */) diff --git a/orbsvcs/tests/Miop/McastHello/server.cpp b/orbsvcs/tests/Miop/McastHello/server.cpp index c09b7a55253..c29b43793c7 100644 --- a/orbsvcs/tests/Miop/McastHello/server.cpp +++ b/orbsvcs/tests/Miop/McastHello/server.cpp @@ -6,10 +6,6 @@ #include "orbsvcs/PortableGroup/MIOP.h" #include "orbsvcs/PortableGroup/GOA.h" -ACE_RCSID (McastHello, - server, - "$Id$") - static const ACE_TCHAR *ior_output_file = ACE_TEXT("test.ior"); // Use a multicast address in the administrative "site local" range, 239.255.0.0 to @@ -45,7 +41,7 @@ parse_args (int argc, ACE_TCHAR *argv[]) argv [0]), -1); } - // Indicates sucessful parsing of the command line + // Indicates successful parsing of the command line return 0; } @@ -84,7 +80,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[]) "Cannot open output file for writing IOR: %s", ior_output_file), 1); - ACE_OS::fprintf (output_file, "%s", group_ior); + ACE_OS::fprintf (output_file, "%s", ACE_TEXT_ALWAYS_CHAR (group_ior)); ACE_OS::fclose (output_file); PortableServer::ObjectId_var id = diff --git a/orbsvcs/tests/Miop/McastHello/svc.conf b/orbsvcs/tests/Miop/McastHello/svc.conf index 91cae79b5a3..84ef77cf1c6 100644 --- a/orbsvcs/tests/Miop/McastHello/svc.conf +++ b/orbsvcs/tests/Miop/McastHello/svc.conf @@ -1,3 +1,5 @@ +# $Id$ + dynamic UIPMC_Factory Service_Object * TAO_PortableGroup:_make_TAO_UIPMC_Protocol_Factory() "" static Resource_Factory "-ORBProtocolFactory IIOP_Factory -ORBProtocolFactory UIPMC_Factory" #static PortableGroup_Loader "" |