summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Logger
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Logger')
-rw-r--r--TAO/orbsvcs/tests/Logger/Logger.dsw41
-rw-r--r--TAO/orbsvcs/tests/Logger/Logging_Test.cpp21
-rw-r--r--TAO/orbsvcs/tests/Logger/Logging_Test_i.cpp348
-rw-r--r--TAO/orbsvcs/tests/Logger/Logging_Test_i.h104
-rw-r--r--TAO/orbsvcs/tests/Logger/Makefile571
-rw-r--r--TAO/orbsvcs/tests/Logger/README46
-rw-r--r--TAO/orbsvcs/tests/Logger/client.cpp21
-rw-r--r--TAO/orbsvcs/tests/Logger/client.dsp104
-rw-r--r--TAO/orbsvcs/tests/Logger/client.h104
-rw-r--r--TAO/orbsvcs/tests/Logger/client_i.cpp291
-rw-r--r--TAO/orbsvcs/tests/Logger/client_i.h102
-rwxr-xr-xTAO/orbsvcs/tests/Logger/run_test.pl46
-rw-r--r--TAO/orbsvcs/tests/Logger/server.cpp42
-rw-r--r--TAO/orbsvcs/tests/Logger/server.dsp100
-rw-r--r--TAO/orbsvcs/tests/Logger/server_i.cpp131
-rw-r--r--TAO/orbsvcs/tests/Logger/server_i.h92
-rw-r--r--TAO/orbsvcs/tests/Logger/svc.conf49
17 files changed, 0 insertions, 2213 deletions
diff --git a/TAO/orbsvcs/tests/Logger/Logger.dsw b/TAO/orbsvcs/tests/Logger/Logger.dsw
deleted file mode 100644
index d17cf7c9604..00000000000
--- a/TAO/orbsvcs/tests/Logger/Logger.dsw
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "client"=.\client.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "server"=.\server.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/orbsvcs/tests/Logger/Logging_Test.cpp b/TAO/orbsvcs/tests/Logger/Logging_Test.cpp
deleted file mode 100644
index 35fb4dc27a1..00000000000
--- a/TAO/orbsvcs/tests/Logger/Logging_Test.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// $Id$
-
-#include "Logging_Test_i.h"
-
-ACE_RCSID(Logger, Logging_Test, "$Id$")
-
-// This function runs the Logging service test.
-
-int
-main (int argc, char **argv)
-{
- Logger_Client logger_client;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n \t IDL_Logger: client \n\n"));
-
- if (logger_client.init (argc, argv) == -1)
- return 1;
-
- return logger_client.run ();
-}
diff --git a/TAO/orbsvcs/tests/Logger/Logging_Test_i.cpp b/TAO/orbsvcs/tests/Logger/Logging_Test_i.cpp
deleted file mode 100644
index 38c37f2f803..00000000000
--- a/TAO/orbsvcs/tests/Logger/Logging_Test_i.cpp
+++ /dev/null
@@ -1,348 +0,0 @@
-// $Id$
-
-#include "ace/INET_Addr.h"
-#include "ace/SOCK_Dgram_Mcast.h"
-#include "ace/OS.h"
-#include "orbsvcs/CosNamingC.h"
-#include "orbsvcs/LoggerC.h"
-#include "Logging_Test_i.h"
-
-ACE_RCSID(Logger, Logging_Test_i, "$Id$")
-
- // Constructor
- Logger_Client::Logger_Client (void)
-{
- // Do nothing
-}
-
-// Destructor
-Logger_Client::~Logger_Client (void)
-{
- // Do nothing
-}
-
-int
-Logger_Client::init (int argc, char *argv[])
-{
- this->argc_ = argc;
- this->argv_ = argv;
-
- TAO_TRY
- {
- // Initialize the ORB
- orb_ = CORBA::ORB_init (argc,
- argv,
- "internet",
- TAO_TRY_ENV);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nTrying to initialize orb\n"));
-
- TAO_CHECK_ENV;
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nOrb initialized successfully\n"));
-
- // Parse command line and verify parameters.
- if (this->parse_args () == -1)
- return -1;
-
- // Initialize the naming service
- if (this->init_naming_service (TAO_TRY_ENV) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize naming"
- "services.\n"),
- -1);
- // Create the logger instances
- if (this->init_loggers (TAO_TRY_ENV) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize logger"
- "instances.\n"),
- -1);
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("init");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-
-}
-
-int
-Logger_Client::init_naming_service (CORBA::Environment &env)
-{
- // Initialize the naming services
- if (my_name_client_.init (orb_.in ()) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize "
- "the TAO_Naming_Client. \n"),
- -1);
-
- // Resolve an instance of the Logger_Factory
- CosNaming::Name factory_name (1);
- factory_name.length (1);
- factory_name[0].id = CORBA::string_dup ("Logger_Factory");
-
- CORBA::Object_var factory_ref =
- my_name_client_->resolve (factory_name,
- env);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nFactory_ref resolved\n"));
-
- if (CORBA::is_nil (factory_ref.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "resolved to nil object"),
- -1);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nLogger_Factory resolved\n"));
-
- // Narrow the factory and check the success
- factory_ =
- Logger_Factory::_narrow (factory_ref.in (),
- env);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nFactory narrowed\n"));
- if (CORBA::is_nil (factory_.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "narrow returned nil"),
- -1);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nLogger_Factory narrowed\n"));
-
- // If debugging, get the factory's IOR
- CORBA::String_var str =
- orb_->object_to_string (factory_.in (),
- env);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "The factory IOR is <%s>\n",
- str.in ()));
- return 0;
-}
-
-int
-Logger_Client::init_loggers (CORBA::Environment &env)
-{
- // Retrieve the Logger obj ref corresponding to key1 and
- // key2.
- this->logger_1_ = factory_->make_logger ("key1",
- env);
- if (env.exception () != 0)
- return -1;
-
- this->logger_2_ = factory_->make_logger ("key2",
- env);
- if (env.exception () != 0)
- return -1;
-
- if (CORBA::is_nil (this->logger_1_.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "nil logger1"),
- -1);
-
- if (CORBA::is_nil (this->logger_2_.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "nil logger2"),
- -1);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "Created two loggers\n"));
-
- if (TAO_debug_level > 0)
- {
- ACE_DEBUG ((LM_DEBUG,
- "\nTrying to resolve already created logger..."));
- Logger_var logger_3 = factory_->make_logger ("key1",
- env);
- if (CORBA::is_nil (logger_3.in ()))
- ACE_DEBUG ((LM_DEBUG,
- "\nResolution failed."));
- else
- ACE_DEBUG ((LM_DEBUG,
- "\nResolution succeeded."));
- }
-
- return 0;
-}
-
-
-// Execute client example code.
-
-int
-Logger_Client::run (void)
-{
- TAO_TRY
- {
- // Create 3 Log_Records for the test
- Logger::Log_Record rec1;
- Logger::Log_Record rec2;
- Logger::Log_Record rec3;
- Logger::Log_Record rec4;
- ;
- // Setup the first log record
- this->init_record (rec1,
- Logger::LM_DEBUG,
- "log() test (1) \n");
-
- // Setup the second log record
- this->init_record (rec2,
- Logger::LM_MAX,
- "log() test (2) \n");
-
- // Setup the third log record
- this->init_record (rec3,
- Logger::LM_INFO,
- "logv() test (3) \n");
-
- // Setup the fourth log record
- this->init_record (rec4,
- Logger::LM_EMERGENCY,
- "log2() test (4) \n");
-
- // If debugging, output the new log records
- if (TAO_debug_level > 0)
- {
- ACE_DEBUG ((LM_DEBUG,
- "\nFirst Log_Record created. Contents:\n"));
- this->show_record (rec1);
-
- ACE_DEBUG ((LM_DEBUG,
- "\nSecond Log_Record created. Contents:\n"));
- this->show_record (rec2);
-
- ACE_DEBUG ((LM_DEBUG,
- "\nThird log record created. Contents:\n"));
- this->show_record (rec3);
-
- ACE_DEBUG ((LM_DEBUG,
- "\nFourth log record created. Contents:\n"));
- this->show_record (rec4);
- }
-
- // Change the verbosity.
- this->logger_1_->verbosity (Logger::VERBOSE_LITE, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Log the first Log_Record (VERBOSE_LITE)
- this->logger_1_->log (rec1, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Change the verbosity again.
- this->logger_2_->verbosity (Logger::VERBOSE, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Log the second Log_Record (VERBOSE)
- this->logger_2_->log (rec2, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Change the verbosity again
- this->logger_2_->verbosity (Logger::SILENT, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Log the third log record using logv() (this shows if the
- // verbosity level overrides the logger's verbosity level)
- this->logger_2_->logv (rec3, Logger::VERBOSE, TAO_TRY_ENV);
-
- // Change the verbosity again (so that regular log msgs can be
- // seen again)
- this->logger_2_->verbosity (Logger::VERBOSE, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Log the fourth record using log2()
- this->logger_2_->log2 (rec4, TAO_TRY_ENV);
- }
-
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("run");
- return -1;
- }
- TAO_ENDTRY;
- return 0;
-}
-
-// Parses the command line arguments and returns an error status.
-
-int
-Logger_Client::parse_args (void)
-{
- ACE_Get_Opt get_opts (argc_, argv_, "d");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag
- TAO_debug_level++;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- "\n"
- " -d: increase debug level\n",
- this->argv_ [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-
-void
-Logger_Client::init_record (Logger::Log_Record &newrec,
- Logger::Log_Priority lp,
- const char *msg)
-{
- // Copy the message data into newrec.
- newrec.msg_data = CORBA::string_copy (msg);
-
- // Assign the log priority.
- newrec.type = lp;
-
- // Create and assign the timestamp.
- ACE_Time_Value time (ACE_OS::gettimeofday ());
- newrec.time = time.sec ();
-
- // Get and store the PID of the calling process.
- pid_t pid = ACE_OS::getpid ();
- newrec.app_id = pid;
-
- // Get and store the IP of the local host .
- char name[MAXHOSTNAMELEN];
- ACE_OS::hostname (name, MAXHOSTNAMELEN);
- hostent *he = ACE_OS::gethostbyname (name);
- newrec.host_addr =
- (ACE_reinterpret_cast (in_addr *,
- he->h_addr_list[0])->s_addr);
-}
-
-void
-Logger_Client::show_record (Logger::Log_Record &newrec)
-{
- in_addr address;
- address.s_addr = newrec.host_addr;
-
- ACE_DEBUG ((LM_DEBUG,
- " Log Priority: %d\n"
- " Time: %d\n"
- " PID: %d\n"
- " Host Address: %s\n"
- " Message: %s\n",
- newrec.type,
- newrec.time,
- newrec.app_id,
- inet_ntoa (address),
- newrec.msg_data.in ()));
-}
diff --git a/TAO/orbsvcs/tests/Logger/Logging_Test_i.h b/TAO/orbsvcs/tests/Logger/Logging_Test_i.h
deleted file mode 100644
index 748473ea51b..00000000000
--- a/TAO/orbsvcs/tests/Logger/Logging_Test_i.h
+++ /dev/null
@@ -1,104 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/tests/Logger
-//
-// = FILENAME
-// client_i.h
-//
-// = DESCRIPTION
-// This class implements a simple logger CORBA client for the Logger
-// example using stubs generated by the TAO ORB IDL compiler
-//
-// = AUTHORS
-// Sergio Flores-Gaitan <sergio@cs.wustl.edu>
-// Matt Braun <mjb2@cec.wustl.edu>
-//
-// ============================================================================
-
-#ifndef _LOG_CLIENT_H
-#define _LOG_CLIENT_H
-
-#include "ace/Get_Opt.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/corba.h"
-#include "orbsvcs/CosNamingC.h"
-#include "orbsvcs/LoggerC.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-
-class Logger_Client
-{
- // = TITLE
- // Defines a class that encapsulates behaviour of the Logger
- // client example. Provides a better understanding of the logic
- // in an object oriented way.
- //
- // = DESCRIPTION
- // This class declares an interface to run the example client for
- // Logger CORBA server. All the complexity for initializing the
- // server is hidden in the class. Just the <run> interface is
- // needed.
-public:
- // = Initialization and termination methods.
-
- Logger_Client (void);
- // Constructor.
-
- ~Logger_Client (void);
- // Destructor.
-
- int init (int argc, char **argv);
- // Initialize the client communication endpoint with server.
-
- int run (void);
- // Execute client example code.
-
-private:
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- void init_record (Logger::Log_Record &newrec,
- Logger::Log_Priority lp,
- const char *msg);
- // Prepares the <Log_Record> for logging.
-
- int init_naming_service (CORBA::Environment &env);
- // Initialises the name server and resolves the logger_factory
-
- int init_loggers (CORBA::Environment &env);
- // Instantiates the 2 logger member variables
-
- void show_record (Logger::Log_Record &newrec);
- // Shows contents of the record (for debugging purposes).
-
- TAO_Naming_Client my_name_client_;
- // An instance of the name client used for resolving the factory
- // objects.
-
- CORBA::ORB_var orb_;
- // Keep a pointer to the ORB for easy access
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- Logger_Factory_var factory_;
- // A pointer to the Logger_Factory; used in init_loggers
-
- Logger_var logger_1_;
- // Logger obj ref.
-
- Logger_var logger_2_;
- // Logger obj ref.
-};
-
-#endif /* _LOG_CLIENT_H */
diff --git a/TAO/orbsvcs/tests/Logger/Makefile b/TAO/orbsvcs/tests/Logger/Makefile
deleted file mode 100644
index 6486d0d192f..00000000000
--- a/TAO/orbsvcs/tests/Logger/Makefile
+++ /dev/null
@@ -1,571 +0,0 @@
-#----------------------------------------------------------------------------
-# $Id$
-#
-# Top-level Makefile for the Logging Service test
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lorbsvcs -lTAO
-
-SRC = Logging_Test.cpp \
- Logging_Test_i.cpp
-
-LOGGING_TEST_OBJS = Logging_Test_i.o Logging_Test.o
-
-BIN = Logging_Test
-
-VLDLIBS = $(LDLIBS:%=%$(VAR))
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-#include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-TSS_ORB_FLAG = #-DTAO_HAS_TSS_ORBCORE
-LDFLAGS += -L$(TAO_ROOT)/orbsvcs/orbsvcs -L$(TAO_ROOT)/tao
-CPPFLAGS += -I$(TAO_ROOT)/orbsvcs -I$(TAO_ROOT) $(TSS_ORB_FLAG)#-H
-
-Logging_Test: $(addprefix $(VDIR),$(LOGGING_TEST_OBJS))
- $(LINK.cc) $(LDFLAGS) -o $@ $^ $(VLDLIBS) $(POSTLINK)
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-.obj/Logging_Test.o .obj/Logging_Test.so .shobj/Logging_Test.o .shobj/Logging_Test.so: Logging_Test.cpp Logging_Test_i.h \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.i \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/try_macros.h \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/Servant_Base.i \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/DynAnyC.h \
- $(TAO_ROOT)/tao/DynAnyC.i \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Active_Object_Map.h \
- $(TAO_ROOT)/tao/Active_Object_Map.i \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \
- $(TAO_ROOT)/tao/DynAny_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/LoggerC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/LoggerC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.i \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h
-.obj/Logging_Test_i.o .obj/Logging_Test_i.so .shobj/Logging_Test_i.o .shobj/Logging_Test_i.so: Logging_Test_i.cpp \
- $(ACE_ROOT)/ace/INET_Addr.h \
- $(ACE_ROOT)/ace/ACE.h \
- $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/inc_user_config.h \
- $(ACE_ROOT)/ace/config.h \
- $(ACE_ROOT)/ace/config-sunos5.5.h \
- $(ACE_ROOT)/ace/config-g++-common.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Trace.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/ACE.i \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/Addr.h \
- $(ACE_ROOT)/ace/Addr.i \
- $(ACE_ROOT)/ace/INET_Addr.i \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.h \
- $(ACE_ROOT)/ace/SOCK_Dgram.h \
- $(ACE_ROOT)/ace/SOCK.h \
- $(ACE_ROOT)/ace/IPC_SAP.h \
- $(ACE_ROOT)/ace/IPC_SAP.i \
- $(ACE_ROOT)/ace/SOCK.i \
- $(ACE_ROOT)/ace/SOCK_Dgram.i \
- $(ACE_ROOT)/ace/SOCK_Dgram_Mcast.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/Get_Opt.h \
- $(ACE_ROOT)/ace/Get_Opt.i \
- $(ACE_ROOT)/ace/SOCK_Stream.h \
- $(ACE_ROOT)/ace/SOCK_IO.h \
- $(ACE_ROOT)/ace/SOCK_IO.i \
- $(ACE_ROOT)/ace/SOCK_Stream.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Synch.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.i \
- $(ACE_ROOT)/ace/SOCK_Acceptor.h \
- $(ACE_ROOT)/ace/Time_Value.h \
- $(ACE_ROOT)/ace/SOCK_Acceptor.i \
- $(ACE_ROOT)/ace/SOCK_Connector.h \
- $(ACE_ROOT)/ace/SOCK_Connector.i \
- $(ACE_ROOT)/ace/Strategies.h \
- $(ACE_ROOT)/ace/Strategies_T.h \
- $(ACE_ROOT)/ace/Synch_Options.h \
- $(ACE_ROOT)/ace/Synch_Options.i \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(ACE_ROOT)/ace/Strategies_T.i \
- $(ACE_ROOT)/ace/Strategies_T.cpp \
- $(ACE_ROOT)/ace/Service_Repository.h \
- $(ACE_ROOT)/ace/Service_Types.h \
- $(ACE_ROOT)/ace/Service_Types.i \
- $(ACE_ROOT)/ace/Service_Repository.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.h \
- $(ACE_ROOT)/ace/Message_Queue.h \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/IO_Cntl_Msg.h \
- $(ACE_ROOT)/ace/Message_Queue_T.h \
- $(ACE_ROOT)/ace/Message_Queue_T.i \
- $(ACE_ROOT)/ace/Message_Queue_T.cpp \
- $(ACE_ROOT)/ace/Message_Queue.i \
- $(ACE_ROOT)/ace/WFMO_Reactor.i \
- $(ACE_ROOT)/ace/Strategies.i \
- $(ACE_ROOT)/ace/Connector.h \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.h \
- $(ACE_ROOT)/ace/Task.h \
- $(ACE_ROOT)/ace/Task.i \
- $(ACE_ROOT)/ace/Task_T.h \
- $(ACE_ROOT)/ace/Task_T.i \
- $(ACE_ROOT)/ace/Task_T.cpp \
- $(ACE_ROOT)/ace/Module.h \
- $(ACE_ROOT)/ace/Module.i \
- $(ACE_ROOT)/ace/Module.cpp \
- $(ACE_ROOT)/ace/Stream_Modules.h \
- $(ACE_ROOT)/ace/Stream_Modules.i \
- $(ACE_ROOT)/ace/Stream_Modules.cpp \
- $(ACE_ROOT)/ace/Svc_Handler.i \
- $(ACE_ROOT)/ace/Svc_Handler.cpp \
- $(ACE_ROOT)/ace/Dynamic.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Dynamic.i \
- $(ACE_ROOT)/ace/Connector.i \
- $(ACE_ROOT)/ace/Connector.cpp \
- $(ACE_ROOT)/ace/Acceptor.h \
- $(ACE_ROOT)/ace/Acceptor.i \
- $(ACE_ROOT)/ace/Acceptor.cpp \
- $(TAO_ROOT)/tao/Align.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/Union.h \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/Exception.i \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/try_macros.h \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/Request.h \
- $(TAO_ROOT)/tao/Request.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/varout.h \
- $(TAO_ROOT)/tao/varout.i \
- $(TAO_ROOT)/tao/varout.cpp \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i \
- $(TAO_ROOT)/tao/singletons.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/POA.h \
- $(TAO_ROOT)/tao/POAC.h \
- $(TAO_ROOT)/tao/POAC.i \
- $(TAO_ROOT)/tao/Servant_Base.h \
- $(TAO_ROOT)/tao/Servant_Base.i \
- $(TAO_ROOT)/tao/POAS.h \
- $(TAO_ROOT)/tao/POA_CORBA.h \
- $(TAO_ROOT)/tao/DynAnyC.h \
- $(TAO_ROOT)/tao/DynAnyC.i \
- $(TAO_ROOT)/tao/POAS.i \
- $(TAO_ROOT)/tao/Active_Object_Map.h \
- $(TAO_ROOT)/tao/Active_Object_Map.i \
- $(TAO_ROOT)/tao/POA.i \
- $(TAO_ROOT)/tao/poa_macros.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/Connect.h \
- $(TAO_ROOT)/tao/Connect.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(ACE_ROOT)/ace/Dynamic_Service.h \
- $(ACE_ROOT)/ace/Dynamic_Service.cpp \
- $(TAO_ROOT)/tao/Operation_Table.h \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/default_client.h \
- $(TAO_ROOT)/tao/default_client.i \
- $(TAO_ROOT)/tao/default_server.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.h \
- $(TAO_ROOT)/tao/ORB_Strategies_T.i \
- $(TAO_ROOT)/tao/ORB_Strategies_T.cpp \
- $(TAO_ROOT)/tao/default_server.i \
- $(TAO_ROOT)/tao/IIOP_Object.h \
- $(TAO_ROOT)/tao/IIOP_Object.i \
- $(TAO_ROOT)/tao/IIOP_ORB.h \
- $(TAO_ROOT)/tao/IIOP_ORB.i \
- $(TAO_ROOT)/tao/IIOP_Interpreter.h \
- $(TAO_ROOT)/tao/GIOP.h \
- $(TAO_ROOT)/tao/GIOP.i \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/Server_Request.h \
- $(TAO_ROOT)/tao/Server_Request.i \
- $(TAO_ROOT)/tao/InconsistentTypeCodeC.h \
- $(TAO_ROOT)/tao/DynAny_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/orbsvcs_export.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingC.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/LoggerC.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/LoggerC.i \
- Logging_Test_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Naming_Utils.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/IOR_Multicast.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/CosNaming_i.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.h \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS_T.cpp \
- $(TAO_ROOT)/orbsvcs/orbsvcs/CosNamingS.i \
- $(TAO_ROOT)/orbsvcs/orbsvcs/Naming/Entries.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/orbsvcs/tests/Logger/README b/TAO/orbsvcs/tests/Logger/README
deleted file mode 100644
index 430e9d3442d..00000000000
--- a/TAO/orbsvcs/tests/Logger/README
+++ /dev/null
@@ -1,46 +0,0 @@
-$ID$
-
-This example tests the TAO logging service. It generates SII stubs and
-skeletons using the TAO IDL compiler. You can either run the client
-and server as seperate processes in the same, or different windows (or
-machines), or you may run the "runtests.pl" script which will start
-both executables.
-
-By default, the client and server use the Naming Service. The
-log_server has its own NamingServer implementation, so it doesn't
-require you to start the NamingService before starting the client and
-server.
-
-The test demonstrates the functionality of the logging service. The
-client program will generate 4 logging messages which will be logged
-to the screen. The first message will be in the "verbose_lite"
-format. The rest will be fully verbose messages. Successful output is
-
-LM_DEBUG@::log() test (1)
-Nov 12 14:20:02.0 1998@lambada-hme0@13670@LM_EMERGENCY@::log() test (2)
-Nov 12 14:20:02.0 1998@lambada-hme0@13670@LM_INFO@::logv() test (3)
-Nov 12 14:20:02.0 1998@lambada-hme0@13670@LM_EMERGENCY@::log2() test (4)
-
-
-server: ------
-
-% server [-d]
-
-client: -------
-
-% client [-d]
-
-Options: -------
-
--d Debug flag. It is an additive flag, so more -d's will increase
- the debugging level. Only one flag is necessary to enable the
- debugging output from the executables, but the debug level
- affects how the utilized TAO methods act (including mysterious
- debugging messages).
-
-That's all there is to it. If you desire, feel free to change the
-logging priorities, verbosity levels and messages in the client
-program but note that the maximum length of the message is 1023
-characters.
-
--Matt Braun mjb2@cs.wustl.edu Thursday, Nov 12'th, 1998
diff --git a/TAO/orbsvcs/tests/Logger/client.cpp b/TAO/orbsvcs/tests/Logger/client.cpp
deleted file mode 100644
index b2f1fd63640..00000000000
--- a/TAO/orbsvcs/tests/Logger/client.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// $Id$
-
-#include "client_i.h"
-
-ACE_RCSID(Logger, client, "$Id$")
-
-// This function runs the Logging service test.
-
-int
-main (int argc, char **argv)
-{
- Logger_Client logger_client;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n \t IDL_Logger: client \n\n"));
-
- if (logger_client.init (argc, argv) == -1)
- return 1;
-
- return logger_client.run ();
-}
diff --git a/TAO/orbsvcs/tests/Logger/client.dsp b/TAO/orbsvcs/tests/Logger/client.dsp
deleted file mode 100644
index 48cf02669c5..00000000000
--- a/TAO/orbsvcs/tests/Logger/client.dsp
+++ /dev/null
@@ -1,104 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Logger Test Client" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Logger Test Client - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "client.mak" CFG="Logger Test Client - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Logger Test Client - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "Logger Test Client - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Logger Test Client - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\.." /I "..\..\..\.." /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\orbsvcs" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Logger Test Client - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\orbsvcs" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Logger Test Client - Win32 Release"
-# Name "Logger Test Client - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\client.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\client.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\client_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\client_i.h
-# End Source File
-# End Target
-# End Project
diff --git a/TAO/orbsvcs/tests/Logger/client.h b/TAO/orbsvcs/tests/Logger/client.h
deleted file mode 100644
index 8a6e1978466..00000000000
--- a/TAO/orbsvcs/tests/Logger/client.h
+++ /dev/null
@@ -1,104 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/tests/Logger
-//
-// = FILENAME
-// client.h
-//
-// = DESCRIPTION
-// This program tests an implementation of a logger service. It uses the
-// <Logger_Factory> server to create a number of logger objects.
-// It then uses their object references to test functions supported
-// by the logger server.
-//
-// = AUTHORS
-// Sergio Flores-Gaitan <sergio@cs.wustl.edu>
-// Matt Braun <mjb2@cec.wustl.edu>
-//
-// ============================================================================
-
-#include "ace/Get_Opt.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/corba.h"
-#include "orbsvcs/CosNamingC.h"
-#include "orbsvcs/LoggerC.h"
-
-class Logger_Client
-{
- // = TITLE
- // Defines a class that encapsulates behaviour of the Logger
- // client example. Provides a better understanding of the logic
- // in an object oriented way.
- //
- // = DESCRIPTION
- // This class declares an interface to run the example client for
- // Logger CORBA server. All the complexity for initializing the
- // server is hidden in the class. Just the <run> interface is
- // needed.
-public:
- // = Constructor and destructor.
- Logger_Client (void);
- ~Logger_Client (void);
-
- int run (void);
- // Execute client example code.
-
- int init (int argc, char **argv);
- // Initialize the client communication endpoint with server.
-
-private:
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- void init_record (Logger::Log_Record &newrec,
- Logger::Log_Priority lp,
- const char *msg);
- // Prepares the <Log_Record> for logging.
-
- void show_record (Logger::Log_Record &newrec);
- // Shows contents of the record (for debugging purposes)
-
- CORBA::Object_var
- resolve_name (CosNaming::Name &name, char* namestring,
- CosNaming::NamingContext_var context,
- CORBA::Environment &env);
- // Take the Name, give it the proper string name, and
- // resolve it
- int
- nesting_test (CosNaming::Name &name, char* namestring,
- CosNaming::NamingContext_var context,
- CORBA::Environment &env);
- // Test the nesting context
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- int test_nesting_;
- // Test nested naming context or not.
-
- CORBA::ORB_var orb_;
- // Keep a pointer to the orb, to avoid accidental deletes.
-
- Logger_var logger_1_;
- // Logger obj ref.
-
- Logger_var logger_2_;
- // Logger obj ref.
-
- // @@ Matt, I recommend that once you finish implementing the
- // TAO_Naming_Client class that you include an instance of it in
- // this class, which can then do the (simplified) initialization of
- // the Naming Service CLIENT.
-};
-
diff --git a/TAO/orbsvcs/tests/Logger/client_i.cpp b/TAO/orbsvcs/tests/Logger/client_i.cpp
deleted file mode 100644
index 02003a5f608..00000000000
--- a/TAO/orbsvcs/tests/Logger/client_i.cpp
+++ /dev/null
@@ -1,291 +0,0 @@
-// $Id$
-
-#include "ace/INET_Addr.h"
-#include "ace/SOCK_Dgram_Mcast.h"
-#include "ace/OS.h"
-#include "orbsvcs/CosNamingC.h"
-#include "orbsvcs/LoggerC.h"
-#include "client_i.h"
-
-ACE_RCSID(Logger, client_i, "$Id$")
-
-// Constructor
-Logger_Client::Logger_Client (void)
-{
- // Do nothing
-}
-
-// Destructor
-Logger_Client::~Logger_Client (void)
-{
- // Do nothing
-}
-
-int
-Logger_Client::init (int argc, char *argv[])
-{
- this->argc_ = argc;
- this->argv_ = argv;
-
- TAO_TRY
- {
- // Initialize the ORB
- orb_ = CORBA::ORB_init (argc,
- argv,
- "internet",
- TAO_TRY_ENV);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nTrying to initialize orb\n"));
-
- TAO_CHECK_ENV;
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nOrb initialized successfully\n"));
-
- // Parse command line and verify parameters.
- if (this->parse_args () == -1)
- return -1;
-
- // Initialize the naming service
- if (this->init_naming_service (TAO_TRY_ENV) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize naming"
- "services.\n"),
- -1);
- // Create the logger instances
- if (this->init_loggers (TAO_TRY_ENV) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize logger"
- "instances.\n"),
- -1);
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("init");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-
-}
-
-int
-Logger_Client::init_naming_service (CORBA::Environment &env)
-{
- // Initialize the naming services
- if (my_name_client_.init (orb_) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- " (%P|%t) Unable to initialize "
- "the TAO_Naming_Client. \n"),
- -1);
-
- // Resolve an instance of the Logger_Factory
- CosNaming::Name factory_name (1);
- factory_name.length (1);
- factory_name[0].id = CORBA::string_dup ("logger_factory");
-
- CORBA::Object_var factory_ref =
- my_name_client_->resolve (factory_name,
- env);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nFactory_ref resolved\n"));
-
- if (CORBA::is_nil (factory_ref.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "resolved to nil object"),
- -1);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nLogger_Factory resolved\n"));
-
- // Narrow the factory and check the success
- factory_ =
- Logger_Factory::_narrow (factory_ref.in (),
- env);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nFactory narrowed\n"));
- if (CORBA::is_nil (factory_.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "narrow returned nil"),
- -1);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "\nLogger_Factory narrowed\n"));
-
- // If debugging, get the factory's IOR
- CORBA::String_var str =
- orb_->object_to_string (factory_.in (),
- env);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "The factory IOR is <%s>\n",
- str.in ()));
- return 0;
-}
-
-int
-Logger_Client::init_loggers (CORBA::Environment &env)
-{
- // Retrieve the Logger obj ref corresponding to key1 and
- // key2.
- this->logger_1_ = factory_->make_logger ("key1",
- env);
- this->logger_2_ = factory_->make_logger ("key2",
- env);
-
- if (CORBA::is_nil (this->logger_1_.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "nil logger1"),
- -1);
-
- if (CORBA::is_nil (this->logger_2_.in ()))
- ACE_ERROR_RETURN ((LM_ERROR,
- "nil logger2"),
- -1);
-
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "Created two loggers\n"));
- return 0;
-}
-
-
-// Execute client example code.
-
-int
-Logger_Client::run (void)
-{
- TAO_TRY
- {
- // Create 2 Log_Records for the test
- Logger::Log_Record rec1;
- Logger::Log_Record rec2;
-
- // Setup the first log record
- this->init_record (rec1,
- Logger::LM_DEBUG,
- "Praise Bob! (1)\n");
-
- // Setup the second log record
- this->init_record (rec2,
- Logger::LM_ERROR,
- "Beware The Stark Fist of Removal. (2)\n");
-
- // If debugging, output the new log records
- if (TAO_debug_level > 0)
- {
- ACE_DEBUG ((LM_DEBUG,
- "First Log_Record created. Contents:\n"));
- this->show_record (rec1);
-
- ACE_DEBUG ((LM_DEBUG,
- "Second Log_Record created. Contents:\n"));
- this->show_record (rec2);
- }
-
- // Change the verbosity.
- this->logger_1_->verbosity (Logger::VERBOSE_LITE, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Log the first Log_Record
- this->logger_1_->log (rec1, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Change the verbosity again.
- this->logger_2_->verbosity (Logger::VERBOSE, TAO_TRY_ENV);
- TAO_CHECK_ENV;
-
- // Log the second Log_Record.
- this->logger_2_->log (rec2, TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- TAO_CATCHANY
- {
- TAO_TRY_ENV.print_exception ("run");
- return -1;
- }
- TAO_ENDTRY;
- return 0;
-}
-
-// Parses the command line arguments and returns an error status.
-
-int
-Logger_Client::parse_args (void)
-{
- ACE_Get_Opt get_opts (argc_, argv_, "d");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag
- TAO_debug_level++;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- "\n"
- " -d: increase debug level\n",
- this->argv_ [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-
-void
-Logger_Client::init_record (Logger::Log_Record &newrec,
- Logger::Log_Priority lp,
- const char *msg)
-{
- // Copy the message data into newrec.
- newrec.msg_data = CORBA::string_copy (msg);
-
- // Assign the log priority.
- newrec.type = lp;
-
- // Create and assign the timestamp.
- ACE_Time_Value time (ACE_OS::gettimeofday ());
- newrec.time = time.sec ();
-
- // Get and store the PID of the calling process.
- pid_t pid = ACE_OS::getpid ();
- newrec.app_id = pid;
-
- // Get and store the IP of the local host .
- char name[MAXHOSTNAMELEN];
- ACE_OS::hostname (name, MAXHOSTNAMELEN);
- hostent *he = ACE_OS::gethostbyname (name);
- newrec.host_addr =
- (ACE_reinterpret_cast (in_addr *,
- he->h_addr_list[0])->s_addr);
-}
-
-void
-Logger_Client::show_record (Logger::Log_Record &newrec)
-{
- in_addr address;
- address.s_addr = newrec.host_addr;
-
- ACE_DEBUG ((LM_DEBUG,
- " Log Priority: %d\n"
- " Time: %d\n"
- " PID: %d\n"
- " Host Address: %s\n"
- " Message: %s\n",
- newrec.type,
- newrec.time,
- newrec.app_id,
- inet_ntoa (address),
- newrec.msg_data.in ()));
-}
diff --git a/TAO/orbsvcs/tests/Logger/client_i.h b/TAO/orbsvcs/tests/Logger/client_i.h
deleted file mode 100644
index 0ce8873035d..00000000000
--- a/TAO/orbsvcs/tests/Logger/client_i.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/tests/Logger
-//
-// = FILENAME
-// client_i.h
-//
-// = DESCRIPTION
-// This class implements a simple logger CORBA client for the Logger
-// example using stubs generated by the TAO ORB IDL compiler
-//
-// = AUTHORS
-// Sergio Flores-Gaitan <sergio@cs.wustl.edu>
-// Matt Braun <mjb2@cec.wustl.edu>
-//
-// ============================================================================
-
-// @@ Add the guard against multiple inclusions.
-
-#include "ace/Get_Opt.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/corba.h"
-#include "orbsvcs/CosNamingC.h"
-#include "orbsvcs/LoggerC.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-
-class Logger_Client
-{
- // = TITLE
- // Defines a class that encapsulates behaviour of the Logger
- // client example. Provides a better understanding of the logic
- // in an object oriented way.
- //
- // = DESCRIPTION
- // This class declares an interface to run the example client for
- // Logger CORBA server. All the complexity for initializing the
- // server is hidden in the class. Just the <run> interface is
- // needed.
-public:
- // = Initialization and termination methods.
-
- Logger_Client (void);
- // Constructor.
-
- ~Logger_Client (void);
- // Destructor.
-
- int init (int argc, char **argv);
- // Initialize the client communication endpoint with server.
-
- int run (void);
- // Execute client example code.
-
-private:
- int parse_args (void);
- // Parses the arguments passed on the command line.
-
- void init_record (Logger::Log_Record &newrec,
- Logger::Log_Priority lp,
- const char *msg);
- // Prepares the <Log_Record> for logging.
-
- int init_naming_service (CORBA::Environment &env);
- // Initialises the name server and resolves the logger_factory
-
- int init_loggers (CORBA::Environment &env);
- // Instantiates the 2 logger member variables
-
- void show_record (Logger::Log_Record &newrec);
- // Shows contents of the record (for debugging purposes).
-
- TAO_Naming_Client my_name_client_;
- // An instance of the name client used for resolving the factory
- // objects.
-
- CORBA::ORB_var orb_;
- // Keep a pointer to the ORB for easy access
-
- int argc_;
- // # of arguments on the command line.
-
- char **argv_;
- // arguments from command line.
-
- Logger_Factory_var factory_;
- // A pointer to the Logger_Factory; used in init_loggers
-
- Logger_var logger_1_;
- // Logger obj ref.
-
- Logger_var logger_2_;
- // Logger obj ref.
-};
-
diff --git a/TAO/orbsvcs/tests/Logger/run_test.pl b/TAO/orbsvcs/tests/Logger/run_test.pl
deleted file mode 100755
index bbacd0be9ee..00000000000
--- a/TAO/orbsvcs/tests/Logger/run_test.pl
+++ /dev/null
@@ -1,46 +0,0 @@
-# $Id$
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-$tao_root = $ENV{TAO_ROOT};
-# This is a Perl script that runs the Logger client and server
-
-unshift @INC, '../../../../bin';
-require Process;
-
-# amount of delay between running the servers
-$sleeptime = 3;
-
-# Starts the Logging Service
-sub service
-{
- my $args = "";
- my $prog = $EXEPREFIX."$tao_root/orbsvcs/Logging_Service/Logging_Service"
- .$Process::EXE_EXT;
- $SV = Process::Create ($prog, $args);
-}
-
-# Starts the test client
-sub test
-{
- my $args = "";
- my $prog = $EXEPREFIX."Logging_Test".$Process::EXE_EXT;
-
- system ("$prog $args");
-}
-
-# Start the service
-service ();
-
-# Give the service time to settle
-sleep $sleeptime;
-
-# Start the client (which exits automatically)
-test ();
-
-# Give the client time to log and exit
-sleep 3;
-
-# Kill the service
-$SV->Kill ();
diff --git a/TAO/orbsvcs/tests/Logger/server.cpp b/TAO/orbsvcs/tests/Logger/server.cpp
deleted file mode 100644
index 1d8db63fdf8..00000000000
--- a/TAO/orbsvcs/tests/Logger/server.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-// $Id$
-
-#include "server_i.h"
-
-ACE_RCSID(Logger, server, "$Id$")
-
-int
-main (int argc, char *argv[])
-{
- Logger_Server log_server;
-
- ACE_DEBUG ((LM_DEBUG,
- "\n\tIDL_Logger:SERVER\n\n"));
-
- TAO_TRY
- {
- if (log_server.init (argc, argv, TAO_TRY_ENV) == -1)
- return 1;
- else
- {
- log_server.run (TAO_TRY_ENV);
- TAO_CHECK_ENV;
- }
- }
- TAO_CATCH (CORBA::SystemException, sysex)
- {
- ACE_UNUSED_ARG (sysex);
- TAO_TRY_ENV.print_exception ("System Exception");
- return -1;
- }
- TAO_CATCH (CORBA::UserException, userex)
- {
- ACE_UNUSED_ARG (userex);
- TAO_TRY_ENV.print_exception ("User Exception");
- return -1;
- }
- TAO_ENDTRY;
-
- return 0;
-}
-
-
diff --git a/TAO/orbsvcs/tests/Logger/server.dsp b/TAO/orbsvcs/tests/Logger/server.dsp
deleted file mode 100644
index 964fb378a74..00000000000
--- a/TAO/orbsvcs/tests/Logger/server.dsp
+++ /dev/null
@@ -1,100 +0,0 @@
-# Microsoft Developer Studio Project File - Name="Logger Test Server" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=Logger Test Server - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "server.mak" CFG="Logger Test Server - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Logger Test Server - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "Logger Test Server - Win32 Debug" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Logger Test Server - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\.." /I "..\..\..\.." /I "..\..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib TAO.lib orbsvcs.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\orbsvcs" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Logger Test Server - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /I "..\..\..\\" /I "..\..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D TAO_ORBSVCS_HAS_DLL=1 /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib TAOd.lib orbsvcsd.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\orbsvcs" /libpath:"..\..\..\tao" /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Logger Test Server - Win32 Release"
-# Name "Logger Test Server - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\server.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\server_i.h
-# End Source File
-# End Target
-# End Project
diff --git a/TAO/orbsvcs/tests/Logger/server_i.cpp b/TAO/orbsvcs/tests/Logger/server_i.cpp
deleted file mode 100644
index a995334e1cc..00000000000
--- a/TAO/orbsvcs/tests/Logger/server_i.cpp
+++ /dev/null
@@ -1,131 +0,0 @@
-// $Id$
-
-#include "server_i.h"
-
-ACE_RCSID(Logger, server_i, "$Id$")
-
-Logger_Server::Logger_Server (void)
-{
- // Do nothing
-}
-
-int
-Logger_Server::parse_args (void)
-{
- ACE_Get_Opt get_opts (argc_, argv_, "d");
- int c;
-
- while ((c = get_opts ()) != -1)
- switch (c)
- {
- case 'd': // debug flag.
- TAO_debug_level++;
- break;
- case '?':
- default:
- ACE_ERROR_RETURN ((LM_ERROR,
- "usage: %s"
- " [-d]"
- "\n",
- argv_ [0]),
- -1);
- }
-
- // Indicates successful parsing of command line.
- return 0;
-}
-
-int
-Logger_Server::init (int argc,
- char *argv[],
- CORBA::Environment &env)
-{
- this->argc_ = argc;
- this->argv_ = argv;
-
- // Call the init of <TAO_ORB_Manager> to initialize the ORB and
- // create a child POA under the root POA.
- if (this->orb_manager_.init_child_poa (argc,
- argv,
- "child_poa",
- env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init_child_poa"),
- -1);
-
- TAO_CHECK_ENV_RETURN (env,-1);
-
- // Parse the command line arguments.
- if (this->parse_args () != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "parse_args"),
- -1);
-
- // Activate the logger_factory.
- CORBA::String_var str =
- this->orb_manager_.activate_under_child_poa ("logger_factory",
- &this->factory_impl_,
- env);
- if (TAO_debug_level > 0)
- ACE_DEBUG ((LM_DEBUG,
- "The IOR is: <%s>\n",
- str.in ()));
-
- // Initialize the naming service
- if (this->init_naming_service (env) != 0)
- ACE_ERROR_RETURN ((LM_ERROR,
- "%p\n",
- "init_naming_service"),
- -1);
- else
- return 0;
-}
-
-
-// Initialisation of Naming Service and register IDL_Logger Context
-// and logger_factory object.
-
-int
-Logger_Server::init_naming_service (CORBA::Environment& env)
-{
- // Get pointers to the ORB and child POA
- CORBA::ORB_var orb = this->orb_manager_.orb ();
- PortableServer::POA_var child_poa = this->orb_manager_.child_poa ();
-
- // Initialize the naming service
- if (this->my_name_server_.init (orb.in (),
- child_poa.in ()) == -1)
- return -1;
-
- // Create an instance of the Logger_Factory
- Logger_Factory_var factory = this->factory_impl_._this (env);
- TAO_CHECK_ENV_RETURN (env, -1);
-
- //Register the logger_factory
- CosNaming::Name factory_name (1);
- factory_name.length (1);
- factory_name[0].id = CORBA::string_dup ("logger_factory");
- this->my_name_server_->bind (factory_name,
- factory.in (),
- env);
- TAO_CHECK_ENV_RETURN (env,-1);
-
- return 0;
-}
-
-int
-Logger_Server::run (CORBA::Environment& env)
-{
- if (this->orb_manager_.run (env) == -1)
- ACE_ERROR_RETURN ((LM_ERROR,
- "Logger_Server::run"),
- -1);
- return 0;
-}
-
-Logger_Server::~Logger_Server (void)
-{
- // Do nothing
-}
diff --git a/TAO/orbsvcs/tests/Logger/server_i.h b/TAO/orbsvcs/tests/Logger/server_i.h
deleted file mode 100644
index 0a8736a8ab0..00000000000
--- a/TAO/orbsvcs/tests/Logger/server_i.h
+++ /dev/null
@@ -1,92 +0,0 @@
-// -*- c++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/tests/Logger
-//
-// = FILENAME
-// server_i.h
-//
-// = DESCRIPTION
-// This class implements a simple "logger" CORBA server for the Logger
-// example using skeletons generated by the TAO ORB IDL compiler.
-//
-// = AUTHORS
-// Nagarajan Surendran <naga@cs.wustl.edu>
-// Matthew Braun <mjb2@cec.wustl.edu>
-//
-// ============================================================================
-
-#ifndef _C_SERVER_H
-#define _C_SERVER_H
-
-#include "ace/Get_Opt.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ace/Log_Msg.h"
-#include "tao/TAO.h"
-#include "orbsvcs/CosNamingC.h"
-#include "orbsvcs/Naming/Naming_Utils.h"
-#include "orbsvcs/Log/Logger_i.h"
-#include "orbsvcs/LoggerS.h"
-
-class Logger_Server
-{
- // = TITLE
- // Defines a Logger_Server class that implements the functionality
- // of a server process as an object.
- //
- // = DESCRIPTION
- // The interface is quite simple. A server program has to call
- // init to initialize the logger_server's state and then call run
- // to run the orb.
-public:
- // = Initialization and termination methods.
- Logger_Server (void);
- // Constructor.
-
- ~Logger_Server (void);
- // Destructor.
-
- int init (int argc,
- char **argv,
- CORBA::Environment& env);
- // Initialize the Logger_Server state - parsing arguments and ...
-
- int run (CORBA::Environment& env);
- // Run the ORB.
-
-private:
- int parse_args (void);
- // Parses the commandline arguments.
-
- int init_naming_service (CORBA::Environment &env);
- // Initialises the name server and registers logger_factory with the
- // name server.
-
- TAO_ORB_Manager orb_manager_;
- // The ORB manager.
-
- TAO_Naming_Server my_name_server_;
- // An instance of the name server used for registering the factory
- // objects.
-
- Logger_Factory_i factory_impl_;
- // Implementation object of the Logger_Factory.
-
- Logger_Factory_var factory_;
- // Factory_var to register with NamingService.
-
- int argc_;
- // Number of commandline arguments.
-
- char **argv_;
- // commandline arguments.
-};
-
-#endif /* _C_SERVER_H */
diff --git a/TAO/orbsvcs/tests/Logger/svc.conf b/TAO/orbsvcs/tests/Logger/svc.conf
deleted file mode 100644
index 43c6a486c92..00000000000
--- a/TAO/orbsvcs/tests/Logger/svc.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id$
-#
-# This file contains a sample ACE_Service_Config configuration
-# file specifying the strategy factories utilized by an application
-# using TAO. There are currently only two possible factories:
-# Client_Strategy_Factory and Server_Strategy_Factory. These names
-# must be used as the second argument to their corresponding line,
-# because that's what the ORB uses to find the desired factory.
-#
-# Note that there are two unordinary characteristics of the way *this*
-# file is set up:
-# - both client and server strategies are specified in the same
-# file, which would only make sense for co-located clients & servers
-# - both of the factories are actually sourced out of libTAO.so
-# (TAO.DLL on Win32), and they would normally be in a separate
-# dll from the TAO ORB Core.
-#
-# The options which can be passed to the Resource Factory are:
-#
-# -ORBresources <which>
-# where <which> can be 'global' to specify globally-held resources,
-# or 'tss' to specify thread-specific resources.
-#
-# The options which can be passed to the Client are:
-# <none currently>
-#
-# The options which can be passed to the Server are:
-#
-# -ORBconcurrency <which>
-# where <which> can be 'thread-per-connection' to specify
-# use of the ACE_Threaded_Strategy concurrency strategy,
-# or 'reactive' to specify use of the ACE_Reactive_Strategy
-# concurrency strategy.
-#
-# -ORBthreadflags <flags>
-# specifies the default thread flags to use, where <flags> is a
-# logical OR'ing of the flags THR_DETACHED, THR_BOUND, THR_NEW_LWP,
-# THR_SUSPENDED, or THR_DAEMON. Note that not every flag may be valid
-# on every platform.
-#
-# -ORBdemuxstrategy <which>
-# where <which> can be one of 'dynamic', 'linear', 'active', or 'user',
-# and specifies the type of object lookup strategy used internally.
-# -ORBtablesize <unsigned>
-# specifies the size of the object table
-#
-dynamic Resource_Factory Service_Object * TAO:_make_TAO_Resource_Factory() "-ORBresources global"
-dynamic Client_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Client_Strategy_Factory()
-dynamic Server_Strategy_Factory Service_Object * TAO:_make_TAO_Default_Server_Strategy_Factory() "-ORBconcurrency reactive -ORBdemuxstrategy dynamic -ORBtablesize 128"