diff options
Diffstat (limited to 'netsvcs')
97 files changed, 0 insertions, 20420 deletions
diff --git a/netsvcs/ACE-netsvcs.html b/netsvcs/ACE-netsvcs.html deleted file mode 100644 index b3854dc0811..00000000000 --- a/netsvcs/ACE-netsvcs.html +++ /dev/null @@ -1,898 +0,0 @@ -<HTML> - -<HEAD> -<TITLE>Overview of the ACE Network Services</TITLE> - -<BODY text = "#000000" -link="#000fff" -vlink="#ff0f0f" -bgcolor="#ffffff"> - -<HR> -<H3>Overview of the ACE Network Services</H3> - -ACE provides a <A -HREF="http://www.cs.wustl.edu/~schmidt/ACE_wrappers/netsvcs/"> -standard library</A> of network services:<P> - -<TABLE> -<TD> -<UL> -<LI><A HREF="#name-overview">Naming Service</A> -<LI><A HREF="#time-overview">Time Service</A> -<LI><A HREF="#token-overview">Token Service</A> -</UL> -</TD> - -<TD> -<UL> -<LI><A HREF="#server-logging-overview">Server Logging Service</A> -<LI><A HREF="#client-logging-overview">Client Logging Service</A> -<LI><A HREF="#logging-strategy-overview">Logging Strategy Service</A> -</UL> -</TD> -</TABLE> - -These services play two roles in ACE:<P> - -<UL> -<LI> They provide reusable components for common distributed system - tasks such as logging, naming, locking, and time synchronization.<P> -<LI> They illustrate how to utilize ACE features such as the <A - HREF="ACE-papers.html#ipc">IPC wrappers</A>, <A HREF="ACE-papers.html#reactor">Reactor</A>, - <A HREF="ACE-papers.html#config">Service Configurator</A>, <A - HREF="ACE-papers.html#initialize">Service Initialization</A>, and <A HREF="ACE-papers.html#concurrency">Concurrency</A> components. <P> -</UL> - -The heart of the ACE network services is the <A -HREF="http://www.cs.wustl.edu/~schmidt/ACE-papers.html#config">Service -Configurator</A>, which is an object-oriented framework that automates -the configuration and reconfiguration of multi-service daemons. All -the ACE network services are configured using the Service -Configurator. Please refer to the <A -HREF="http://www.cs.wustl.edu/~schmidt/ACE-INSTALL.html">online -documentation</a> for more information on installing and testing the -ACE network services.<P> - -<P><HR> -<A NAME="name-overview"> -<H3> Overview of Naming Service</H3> - -A Naming Service associates names with values in a distributed -system. Clients can query these values using these names as keys. Such -a name-to-value association is called a <I> Name Binding </I>. Name -bindings are defined relative to a <I> Naming Context </I>. A naming -context is a collection that contains a set of name bindings in which -each name is unique. Different names can be bound to the same value in -the same or different naming contexts at the same time. There are -three types of naming contexts: <P> - -<OL> -<LI> Process Local Naming Context: Name bindings are accessible from -processes with the same name running on the same host. <P> -<LI> Node Local Naming Context: Name bindings are accessible from all -processes running on the same host. <P> -<LI> Network Local Naming Context: Name bindings are accessible from -all processes running on any machine within a (sub)network. <P> -</OL> - -<P> -To bind a name is to create a name binding in a given context. -Querying a value using a name determines the value associated with the -name in a given context. Note that a name is always bound relative to -a context. Thus, there are no absolute names. <P> - -The following are the key classes in the ACE Naming Service: <P> - -<UL> -<LI> <B><TT> Class Naming_Context </TT></B> <P> - -This is the main class ``entry point'' into the Naming Service. It is -used both by client processes and by server process. It manages access -to the appropriate Name/Binding database (that is the file where -Name/Bindings are stored) and it also manages the communication -between a client process and the server (by using class Name_Proxy, -which is a private member of Naming_Context). If a client process -runs on the same host as the server no IPC is necessary because the -Naming_Context uses shared memory. <P> - -<LI> <B><TT> Class Name_Acceptor </TT></B> <P> - -The Name_Acceptor allocates in its handle_input() routine a new -instance of class Name_Handler on the heap, and accepts connections -into this Name_Handler. <P> - -<LI> <B><TT> Class Name_Handler </TT></B> <P> - -The class Name_Handler represents the server side of communication -between client and server. It interprets incoming requests to the -Net_Local namespace and delegates the requests to its own -Naming_Context (which is the Net_Local namespace on the current -host). For communication it uses the helper classes Name_Request and -Name_Reply.<P> - -<LI> <B> Dependencies </B> <P> - -The ACE Naming Service uses ACE_WString String classes since it must -handle wide character strings in order to support -internationalization. <P> -</UL> - -The following describes how to configure the Name_Server server and -client test applications. <P> - -<UL> -<LI> <B> Startup configuration </B> <P> -Configuring a Name_Server server or client requires specifying all or -some of the following parameters. These parameters can be passed in to -main through command line as follows:<P> - -<TABLE cellpadding = 10 cellspacing = 0 border = 5> -<TD VALIGN = TOP ALIGN = LEFT> -<B> Option </B> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -<B> Description </B> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -<B> Default value </B> -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --c <naming context> <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Naming Context to use. Can be either "PROC_LOCAL" or "NODE_LOCAL" or -"NET_LOCAL" <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -PROC_LOCAL -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --h <hostname> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Specify the server hostname (needed by Name Server clients for -PROC_LOCAL naming context) -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -ACE_DEFAULT_SERVER_HOST -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --p <nameserver port> <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Port number where the server process expects requests <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -ACE_DEFAULT_SERVER_PORT -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --l <namespace dir> <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Directory that holds the NameBinding databases <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -ACE_DEFAULT_NAMESPACE_DIR -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --P <process name> <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Name of the client process -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -argv[0] -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --s <database name> <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Name of the database. NameBindings for the appropriate naming context -are stored in file <namespace_dir>/<database name>. -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -<I> null </I> -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --d <debug> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Turn debugging on/off -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -0 (off) -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --T <trace> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Turn tracing on/off -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -0 (off) -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --v <verbose> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Turn verbose on/off -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -0 (off) -</TD> - -</TABLE> -<P> - -<LI><B>Examples</B><P> -<OL> -<LI> Here is what a config file would look like for starting up a -server at port 20222 using NET_LOCAL naming context with database -called MYDATABSE located in directory /tmp: - -<PRE> <CODE> -dynamic Naming_Service Service_Object * - ../lib/netsvcs:_make_ACE_Name_Acceptor() - "-p 20222 -c NET_LOCAL -l /tmp -s MYDATABASE" -</PRE> </CODE> - -<LI> Here is what a config file would look like for starting up a -client that connects to a Name Server running on host -tango.cs.wustl.edu at port 20222: - -<PRE> <CODE> -dynamic Naming_Service_Client Service_Object * - ../lib/netsvcs:_make_Client_Test() - "-h tango.cs.wustl.edu -p 20222" -</PRE> </CODE> -</OL> - -Note:<P> -<UL> -<LI> These files would vary if the services are run on NT. For -example, instead of using *.so, we would have to use *.dll.<P> -<LI> Values for parameters can also be passed in using environment -variables. For example, instead of specifying absolute hostname or -port numbers in the config file, we can use $HOST and $PORT, -respectively, in the file (assuming that these environment variables -have been set). <P> -<LI> If the environment variable LD_LIBRARY_PATH (in the case of UNIX) -or PATH (in the case of Win32) contains the path to the shared object -files or dll, then the config file can be further simplified. Instead -of specifying an absolute path to the shared object or dll, only the -name of the shared object or dll would suffice. That is, the Service -Configurator makes use of LD_LIBRARY_PATH (on UNIX) or PATH (on Win32) -to look for the shared object files or dlls. -</UL> - -</UL> - -<P><HR><P> -<A NAME="time-overview"> -<H3> Overview of Time Service</H3> - -Time Service provides accurate, fault-tolerant clock synchronization -for computers collaborating in local area networks and wide area -networks. Synchronized time services are important in distributed -systems that require multiple hosts to maintain accurate global -time. The architecture of the distributed time service contains the -following Time Server, Clerk, and Client components: <P> - -<UL> -<LI> <I> Time Server </I> answers queries about the time made by -Clerks. <P> - -<LI> <I> Clerk </I> queries one or more Time Servers to determine -the correct time, calculates the approximate correct time using one of -several distributed time algorithms and updates its own local system -time. <P> - -<LI> <I> Client </I> uses the global time information maintained by -a Clerk to provide consistency with the notion of time used by clients -on other hosts. <P> -</UL> -<P> -The following are the key classes in the ACE Time Service: <P> - -<UL> -<LI> <B><TT> Class TS_Server_Handler </TT></B> <P> - -TS_Server_Handler represents the server side of communication between -clerk and server. It interprets incoming requests for time updates, -gets the system time, creates a reply in response to the request and -then sends the reply to the clerk from which it received the request. -For communication it uses the helper class Time_Request.<P> - -<LI> <B><TT> Class TS_Server_Acceptor </TT></B> <P> - -TS_Server_Acceptor allocates in its handle_input routine a new instance -of class TS_Server_Handler on the heap, and accepts connections into this -TS_Server_Handler.<P> - -<LI> <B><TT> Class TS_Clerk_Handler </TT></B> <P> - -TS_Clerk_Handler represents the clerk side of communication between -clerk and server. It generates requests for time updates every timeout -period and then sends these requests to all the servers it is -connected to asynchronously. It receives the replies to these requests -from the servers through its handle_input method and then adjusts the -time using the roundtrip estimate. It caches this time, which is -subsequently retrieved by TS_Clerk_Processor.<P> - -<LI> <B><TT> Class TS_Clerk_Processor </TT></B> <P> - -TS_Clerk_Processor creates a new instance of TS_Clerk_Handler for -every server connection it needs to create. It periodically calls -send_request() of every TS_Clerk_Handler to send a request for time -update to all the servers. In the process, it retrieves the latest -time cached by each TS_Clerk_Handler and then uses it to compute its -notion of the local system time.<P> - -<LI> <B> Algorithms </B> <P> - -Currently, updating the system time involves taking the average of all -the times received from the servers.<P> -</UL> - -The following is a description of how to configure the Time Server -clerk and server services: <P> - -<UL> - -<LI> <B> Startup configuration </B> <P> - -Configuring a server requires specifying the port number of the -server. This can be specified as a command line argument as follows: <P> - - -p <port number> - -<P> -A clerk communicates with one or more server processes. To communicate -with the server process, a client needs to know the INET_Addr, where -the server offers its service. The configuration parameters namely the -server port and server host are passed as command line arguments when -starting up the clerk service as follows: <P> - - -h <server host1>:<server port1> -h <server host2>:<server port2> ... -<P> -Note that multiple servers can be specified in this manner for the -clerk to connect to when it starts up. The server name and the port -number need to be concatenated and separated by a ":". In addition, -the timeout value can also be specified as a command line argument as -follows: -<P> - - -t timeout - -<P> -The timeout value specifies the time interval at which the clerk -should query the servers for time updates. -<P> -By default a Clerk does a non-blocking connect to a server. This can -be overridden and a Clerk can be made to do a blocking connect by -using the -b flag. -<P> - -<LI> <B>Examples</B> <P> -<OL> -<LI> Here is what a config file would look like for starting up a -server at port 20202: - -<PRE> <CODE> -dynamic Time_Service Service_Object * - ../lib/netsvcs:_make_ACE_TS_Server_Acceptor() - "-p 20202" -</PRE> </CODE> - -<LI> Here is what a config file would look like for starting up a -clerk that needs to connect to two servers, one at tango and one at -lambada: - -<PRE> <CODE> -dynamic Time_Server_test Service_Object * - ../lib/netsvcs:_make_ACE_TS_Clerk_Connector () - "-h tango:20202 -h lambada:20202 -t 4" -</PRE> </CODE> -</OL> - -Note:<P> -<UL> -<LI> These files would vary if the services are run on NT. For -example, instead of using *.so, we would have to use *.dll.<P> -<LI> Values for parameters can also be passed in using environment -variables. For example, instead of specifying absolute hostname or -port numbers in the config file, we can use $HOST and $PORT, -respectively, in the file (assuming that these environment variables -have been set). <P> -<LI> If the environment variable LD_LIBRARY_PATH (in the case of UNIX) -or PATH (in the case of Win32) contains the path to the shared object -files or dll, then the config file can be further simplified. Instead -of specifying an absolute path to the shared object or dll, only the -name of the shared object or dll would suffice. That is, the Service -Configurator makes use of LD_LIBRARY_PATH (on UNIX) or PATH (on Win32) -to look for the shared object files or dlls. -</UL> -<P> - -</UL> - -<P><HR><P> -<H3><A NAME="token-overview">Token Service</A></H3> - -The ACE Token Service provides local and remove mutexes and -readers/writer locks. For information regarding the deadlock -detection algorithm, check out ACE_Token_Manager.h. For information -about an implementation of the Composite Pattern for Tokens, check out -Token_Collection.h. The classes which implement the local and remote -synchronization primitives are listed below:<P> - -<UL> - <LI> <B><TT>ACE_Local_Mutex</TT></B><P> - - This class is a more general-purpose synchronization mechanism - than SunOS 5.x mutexes. For example, it implements "recursive - mutex" semantics, where a thread that owns the token can - reacquire it without deadlocking. In addition, threads that - are blocked awaiting the token are serviced in strict FIFO - order as other threads release the token (SunOS 5.x mutexes - don't strictly enforce an acquisition order). Lastly, - ACE_Local_Mutex performs deadlock detection on acquire - calls.<p> - - <LI> <B><TT>ACE_Remote_Mutex</TT></B><P> - - This is the remote equivalent to ACE_Local_Mutex. The - Remote_Mutex class offers methods for acquiring, renewing, and - releasing a distributed synchronization mutex. Similar to - ACE_Local_Mutex, ACE_Remote_Token_Proxy offers recursive - acquisition, FIFO waiter ordering, and deadlock detection. It - depends on the Token Server for its distributed synchronization - semantics.<p> - - <LI> <B><TT>ACE_Local_RLock</TT></B><P> - - This class implements the reader interface to canonical - readers/writer locks. Multiple readers can hold the lock - simultaneously when no writers have the lock. Alternatively, - when a writer holds the lock, no other participants (readers or - writers) may hold the lock. This class is a more - general-purpose synchronization mechanism than SunOS 5.x - RLocks. For example, it implements "recursive RLock" - semantics, where a thread that owns the token can reacquire it - without deadlocking. In addition, threads that are blocked - awaiting the token are serviced in strict FIFO order as other - threads release the token (SunOS 5.x RLockes don't strictly - enforce an acquisition order).<P> - - <LI> <B><TT>ACE_Local_WLock</TT></B><P> - - This class implements the writer interface to canonical - readers/writer locks. Multiple readers can hold the lock - simultaneously when no writers have the lock. Alternatively, - when a writer holds the lock, no other participants (readers or - writers) may hold the lock. This class is a more - general-purpose synchronization mechanism than SunOS 5.x WLock. - For example, it implements "recursive WLock" semantics, where a - thread that owns the token can reacquire it without - deadlocking. In addition, threads that are blocked awaiting - the token are serviced in strict FIFO order as other threads - release the token (SunOS 5.x WLocks don't strictly enforce an - acquisition order).<P> - - <LI> <B><TT>ACE_Remote_RLock</TT></B><P> - - This is the remote equivalent to ACE_Local_RLock. Multiple - readers can hold the lock simultaneously when no writers have - the lock. Alternatively, when a writer holds the lock, no - other participants (readers or writers) may hold the lock. - ACE_Remote_RLock depends on the ACE Token Server for its - distributed synchronization semantics.<P> - - <LI> <B><TT>ACE_Remote_RLock</TT></B><P> - - This is the remote equivalent to ACE_Local_WLock.<P> -</UL> - -The Token Server provides distributed mutex and readers/writer lock -semantics to the ACE Token library. ACE_Remote_Mutex, -ACE_Remote_RLock, and ACE_Remote_WLock, are proxies to the Token -Server. The following are the key classes in the ACE Token -Server:<P> - -<UL> - <LI> <B><TT>class Token_Acceptor</TT></B><P> - - The Token_Acceptor is a Token_Handler factory. It accepts - connections and passes the service responsibilities off to a - new Token_Handler.<p> - - <LI> <B><TT>class Token_Handler</TT></B><P> - - This class is the main class ``entry point'' of the ACE Token service. It - receives token operation requests from remote clients and turns - them into calls on local tokens (acquire, release, renew, and - remove). In OMG CORBA terminology, it is an ``Object Adapter.'' It also - schedules and handles timeouts that are used to support "timed - waits." Clients used timed waits to bound the amount of time - they block trying to get a token.<P> -</UL> - -The following describes how to configure the Token Server:<P> -<UL> - <LI> <b>Startup configuration</B><P> - - The only parameter that the Token Server takes is a listen port - number. You can specify a port number by passing a "-p - <port_number>" to the application. This can be done via the - svc.conf file.<P> - - <LI> <B>Examples </B><P> - - Here is an example NT svc.conf entry that dynamically loads the - Token Server specifying port number to listen on for client - connections:<P> - - <code><pre> - dynamic Token_Service Service_Object * - ../lib/netsvcs:_make_ACE_Token_Acceptor() - "-p 10202" - </code></pre> - <P> - - Here is an example UNIX svc.conf entry that dynamically loads the - Token Server specifying port number to listen on for client - connections. Notice that only the name of the library file - changed:<P> - - <code><pre> - dynamic Token_Service Service_Object * - ../lib/netsvcs:_make_ACE_Token_Acceptor() - "-p 10202" - </code></pre> -</UL> -Note:<P> -<UL> -<LI> These files would vary if the services are run on NT. For -example, instead of using *.so, we would have to use *.dll.<P> -<LI> Values for parameters can also be passed in using environment -variables. For example, instead of specifying absolute hostname or -port numbers in the config file, we can use $HOST and $PORT, -respectively, in the file (assuming that these environment variables -have been set). <P> -<LI> If the environment variable LD_LIBRARY_PATH (in the case of UNIX) -or PATH (in the case of Win32) contains the path to the shared object -files or dll, then the config file can be further simplified. Instead -of specifying an absolute path to the shared object or dll, only the -name of the shared object or dll would suffice. That is, the Service -Configurator makes use of LD_LIBRARY_PATH (on UNIX) or PATH (on Win32) -to look for the shared object files or dlls. -</UL> - - -<P><HR><P> -<A NAME="server-logging-overview"> -<H3>Overview of Server Logging Service</H3> - -The Server Logging Service provides a concurrent, multi-service daemon -that processes logging records received from one or more client hosts -simultaneously. The object-oriented design of the Server Logging -Service is decomposed into several modular components that perform -well-defined tasks. <P> - -The following are the key classes in the Server Logging Service: <P> -<UL> -<LI> <B> <TT> Server_Logging_Handler </TT> </B> <P> -The Server_Logging_Handler class is a parameterized type that is -responsible for processing logging records sent to the Server from -participating client hosts. When logging records arrive from the -client host associated with a particular Logging Handler object, the -handle_input() method of the Server_Logging_Handler class is called -which in turn formats and displays the records on one or more output -devices (such as the printer, persistent storage, and/or console -devices. <P> - -<LI> <B> <TT> Server_Logging_Acceptor </TT> </B> <P> -The class Server_Logging_Acceptor allocates in its handle_input() -routine a new instance of class Server_Logging_Handler on the heap, -and accepts connections into this Server_Logging_Handler. <P> -</UL> - -The following describes how to configure the Logging Server:<P> -<UL> - <LI> <b>Startup configuration</B><P> - - The only parameter that the Logging Server takes is a listen - port number. You can specify a port number by passing a "-p - <port_number>" to the application. This can be done via the - svc.conf file.<P> - - <LI> <B>Examples </B><P> - - Here is an example NT svc.conf entry that dynamically loads the - Logging Server specifying port number to listen on for client - connections:<P> - - <PRE> <CODE> - dynamic Server_Logging_Service Service_Object * - ../lib/netsvcs:_make_ACE_Server_Logging_Acceptor() - "-p 10202" - </PRE></CODE> - <P> - - Here is an example UNIX svc.conf entry that dynamically loads the - Logging Server specifying port number to listen on for client - connections. Notice that only the name of the library file - changed:<P> - - <PRE> <CODE> - dynamic Server_Logging_Service Service_Object * - ../lib/netsvcs:_make_ACE_Server_Logging_Acceptor() - "-p 10202" - </PRE></CODE> -</UL> -Note:<P> -<UL> -<LI> These files would vary if the services are run on NT. For -example, instead of using *.so, we would have to use *.dll.<P> -<LI> Values for parameters can also be passed in using environment -variables. For example, instead of specifying absolute hostname or -port numbers in the config file, we can use $HOST and $PORT, -respectively, in the file (assuming that these environment variables -have been set). <P> -<LI> If the environment variable LD_LIBRARY_PATH (in the case of UNIX) -or PATH (in the case of Win32) contains the path to the shared object -files or dll, then the config file can be further simplified. Instead -of specifying an absolute path to the shared object or dll, only the -name of the shared object or dll would suffice. That is, the Service -Configurator makes use of LD_LIBRARY_PATH (on UNIX) or PATH (on Win32) -to look for the shared object files or dlls. -</UL> - -<P><HR><P> -<A NAME="client-logging-overview"> -<H3>Overview of Client Logging Service</H3> - -The Client Logging Service multiplexes messages recevied from -different applications to the Server Logging Daemon running on a -designated host in a network/internetwork. - - -The following are the key classes in the Client Logging Service: <P> -<UL> -<LI> <B> <TT> Client_Logging_Handler </TT> </B> <P> -The Client_Logging_Handler class is a parameterized type that is -responsible for setting up a named pipe and using it to communicate -with different user processes on the same host. Once logging records -arrive from these processes, the handler reads these records in -priority order, performs network-byte order conversions on -multiple-header fields, and then transmits these records to the Server -Logging daemon across the network. <P> - -<LI> <B> <TT> Client_Logging_Connector </TT> </B> <P> -The class Client_Logging_Connector connects to the Server Logging -daemon and then in its handle_input() routine it allocates a new -instance of the Client_Logging_Handler on the heap. <P> -</UL> - -The following describes how to configure the Logging Client:<P> -<UL> - <LI> <b>Startup configuration</B><P> - -Configuring a Logging Client requires specifying all or some of the -following parameters. These parameters can be passed in to main -through command line as follows:<P> - -<TABLE cellpadding = 10 cellspacing = 0 border = 5> -<TD VALIGN = TOP ALIGN = LEFT> -<B> Option </B> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -<B> Description </B> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -<B> Default value </B> -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --h &hostname> <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Hostname of the Server Logging Daemon <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -ACE_DEFAULT_SERVER_HOST -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --p <port number> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Port number of the Server Logging Daemon <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -ACE_DEFAULT_LOGGING_SERVER_PORT -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> --p <rendezvous key> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -Rendezvous key used to create named pipe -</TD> -<TD VALIGN = TOP ALIGN = LEFT> -ACE_DEFAULT_RENDEZVOUS -</TD> -</TABLE> -<P> - - <LI> <B>Examples </B><P> - - Here is an example NT svc.conf entry that dynamically loads the - Logging Client specifying host name and port number of the - Logging Server: <P> - - <PRE> <CODE> - dynamic Client_Logging_Service Service_Object * - ../lib/netsvcs:_make_ACE_Client_Logging_Connector() - "-h tango.cs.wustl.edu -p 10202" - </PRE></CODE> - <P> - - Here is an example UNIX svc.conf entry that dynamically loads the - Logging Client specifying host name and port number of the - Logging Server. Notice that only the name of the library file - changed:<P> - - <PRE> <CODE> - dynamic Client_Logging_Service Service_Object * - ../lib/netsvcs:_make_ACE_Client_Logging_Connector() - "-h tango.cs.wustl.edu -p 10202" - </PRE></CODE> -</UL> -Note:<P> -<UL> -<LI> These files would vary if the services are run on NT. For -example, instead of using *.so, we would have to use *.dll.<P> -<LI> Values for parameters can also be passed in using environment -variables. For example, instead of specifying absolute hostname or -port numbers in the config file, we can use $HOST and $PORT, -respectively, in the file (assuming that these environment variables -have been set). <P> -<LI> If the environment variable LD_LIBRARY_PATH (in the case of UNIX) -or PATH (in the case of Win32) contains the path to the shared object -files or dll, then the config file can be further simplified. Instead -of specifying an absolute path to the shared object or dll, only the -name of the shared object or dll would suffice. That is, the Service -Configurator makes use of LD_LIBRARY_PATH (on UNIX) or PATH (on Win32) -to look for the shared object files or dlls. -</UL> - -<P><HR><P> -<A NAME="logging-strategy-overview"> -<H3> Overview of Logging Strategy Service</H3> - -The Logging Strategy Service can be used to control the output of all the -network services. It can be invoked with certain flags that determine -where the output of all the services should go. The Logging Strategy -Service sets the flags in ACE_Log_Msg, which controls all the streams -through macros such as ACE_DEBUG, ACE_ERROR, and ACE_ERROR_RETURN. If -default behavior is required, the Logging Strategy Service need not be -invoked or it can be invoked with no parameters. <P> - -The following describes how to configure the Logging Strategy -Service:<p> - -<UL> -<LI> <b>Startup configuration</B><P> - -Here are the command line arguments that can be given to the Logging -Strategy Service: <P> - - -f <flag1>|<flag2>|<flag3> (etc...) <P> - - where a flag can be any of the following: <P> - -<TABLE cellpadding = 10 cellspacing = 0 border = 5> -<TD VALIGN = TOP ALIGN = LEFT> - <B> Flags </B> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> - <B> Description </B> -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> - STDERR <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> - Write messages to stderr. <BR> -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> - LOGGER <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> - Write messages to the local client logger deamon. <BR> -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> - OSTREAM <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> - Write messages to the ostream that gets created by specifying a - filename (see below) <BR> -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> - VERBOSE <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> - Display messages in a verbose manner <BR> -</TD> -<TR> -<TD VALIGN = TOP ALIGN = LEFT> - SILENT <BR> -</TD> -<TD VALIGN = TOP ALIGN = LEFT> - Do not print messages at all <BR> -</TD> - -</TABLE> -<P> - -Note: If more than one flag is specified, the flags need to be 'OR'ed -as above syntax shows. Make sure there is no space in between the flag -and '|'. <P> - - -s filename - <P> - -If the OSTREAM flag is set, this can be used to specify the filename -where the output should be directed. Note that if the OSTREAM flag is -set and no filename is specified, ACE_DEFAULT_LOGFILE will be used to -write the output to. <P> - -<LI> <B> Examples: </B> <P> -<OL> -<LI> To direct output only to STDERR, specify command line arguments as: <P> - "-f STDERR" -<P> - -<LI> To direct output to both STDERR and a file called "mylog", specify -command line arguments as: <P> - "-f STDERR|OSTREAM -s mylog" -</OL> -Note:<P> -<UL> -<LI> These files would vary if the services are run on NT. For -example, instead of using *.so, we would have to use *.dll.<P> -<LI> Values for parameters can also be passed in using environment -variables. For example, instead of specifying absolute hostname or -port numbers in the config file, we can use $HOST and $PORT, -respectively, in the file (assuming that these environment variables -have been set). <P> -<LI> If the environment variable LD_LIBRARY_PATH (in the case of UNIX) -or PATH (in the case of Win32) contains the path to the shared object -files or dll, then the config file can be further simplified. Instead -of specifying an absolute path to the shared object or dll, only the -name of the shared object or dll would suffice. That is, the Service -Configurator makes use of LD_LIBRARY_PATH (on UNIX) or PATH (on Win32) -to look for the shared object files or dlls. -</UL> -</UL> - -<P><HR><P> -Back to the <A HREF="http://www.cs.wustl.edu/~schmidt/ACE.html"> -ACE</A> home page. -<!--#include virtual="/~schmidt/cgi-sig.html" --> -</BODY> -</HTML> diff --git a/netsvcs/Makefile b/netsvcs/Makefile deleted file mode 100644 index 0cbdb67da2d..00000000000 --- a/netsvcs/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for the ACE network services -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -INFO = README - -# lib must come first! -DIRS = lib \ - clients \ - servers - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU - diff --git a/netsvcs/README b/netsvcs/README deleted file mode 100644 index e9dff4c7dfc..00000000000 --- a/netsvcs/README +++ /dev/null @@ -1,20 +0,0 @@ -This directory contains the ACE network service implementations and -sample driver programs for dynamically configuring them into client -and server processes. The subdirectories include the following: - - . lib -- contains implementations of the ACE network services. - These services include a logging service, a name service, - a distributed locking service, and a distributed time service. - These can be built as shared libraries (i.e., DLLs), which - are then linked into applications either statically or - dynamically. - - . servers -- contains the driver program that links the various - services together, either statically or dynamically, to - form complete server programs. - - . clients -- contains a number of test programs that illustrate - how to write clients for the various ACE network services. - -Please see the ACE-netsvcs.html file for an overview of the various -services. diff --git a/netsvcs/VCAUTO.MAK b/netsvcs/VCAUTO.MAK deleted file mode 100644 index 15ad86cff3a..00000000000 --- a/netsvcs/VCAUTO.MAK +++ /dev/null @@ -1,7 +0,0 @@ -# Dir: netsvcs/ -# Top level makefile for MSVC. -# $Id$ - -DIR_LIST = lib.dir servers.dir - -!INCLUDE <$(ACE_ROOT)\include\makeinclude\VC50_DIR.MAK> diff --git a/netsvcs/clients/Logger/Logger.dsw b/netsvcs/clients/Logger/Logger.dsw deleted file mode 100644 index ce446d82778..00000000000 --- a/netsvcs/clients/Logger/Logger.dsw +++ /dev/null @@ -1,41 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "direct_logging"=.\direct_logging.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "indirect_logging"=.\indirect_logging.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/netsvcs/clients/Logger/Logger.mak b/netsvcs/clients/Logger/Logger.mak deleted file mode 100644 index 368b706977d..00000000000 --- a/netsvcs/clients/Logger/Logger.mak +++ /dev/null @@ -1,269 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-!IF "$(CFG)" == ""
-CFG=Indirect - Win32 Debug
-!MESSAGE No configuration specified. Defaulting to Indirect - Win32 Debug.
-!ENDIF
-
-!IF "$(CFG)" != "Direct - Win32 Debug" && "$(CFG)" != "Indirect - Win32 Debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
-!MESSAGE You can specify a configuration when running NMAKE on this makefile
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "Logger.mak" CFG="Indirect - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Direct - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE "Indirect - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-!ERROR An invalid configuration is specified.
-!ENDIF
-
-!IF "$(OS)" == "Windows_NT"
-NULL=
-!ELSE
-NULL=nul
-!ENDIF
-################################################################################
-# Begin Project
-RSC=rc.exe
-CPP=cl.exe
-
-!IF "$(CFG)" == "Direct - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Direct\Debug"
-# PROP BASE Intermediate_Dir "Direct\Debug"
-# PROP BASE Target_Dir "Direct"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Target_Dir "Direct"
-OUTDIR=.
-INTDIR=.\Debug
-
-ALL : "$(OUTDIR)\Direct.exe"
-
-CLEAN :
- -@erase "$(INTDIR)\direct_logging.obj"
- -@erase "$(INTDIR)\vc40.idb"
- -@erase "$(INTDIR)\vc40.pdb"
- -@erase "$(OUTDIR)\Direct.exe"
- -@erase "$(OUTDIR)\Direct.ilk"
- -@erase "$(OUTDIR)\Direct.pdb"
-
-"$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
-
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-CPP_OBJS=.\Debug/
-CPP_SBRS=.\.
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/Direct.bsc"
-BSC32_SBRS= \
-
-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
-# ADD LINK32 aced.lib 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
-LINK32_FLAGS=aced.lib 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 /incremental:yes\
- /pdb:"$(OUTDIR)/Direct.pdb" /debug /machine:I386 /out:"$(OUTDIR)/Direct.exe"
-LINK32_OBJS= \
- "$(INTDIR)\direct_logging.obj"
-
-"$(OUTDIR)\Direct.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
-<<
-
-!ELSEIF "$(CFG)" == "Indirect - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Indirect\Debug"
-# PROP BASE Intermediate_Dir "Indirect\Debug"
-# PROP BASE Target_Dir "Indirect"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "."
-# PROP Intermediate_Dir "Debug"
-# PROP Target_Dir "Indirect"
-OUTDIR=.\.
-INTDIR=.\Debug
-
-ALL : "$(OUTDIR)\Indirect.exe"
-
-CLEAN :
- -@erase "$(INTDIR)\indirect_logging.obj"
- -@erase "$(INTDIR)\vc40.idb"
- -@erase "$(INTDIR)\vc40.pdb"
- -@erase "$(OUTDIR)\Indirect.exe"
- -@erase "$(OUTDIR)\Indirect.ilk"
- -@erase "$(OUTDIR)\Indirect.pdb"
-
-"$(OUTDIR)" :
- if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
-
-"$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
-
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-CPP_OBJS=.\Debug/
-CPP_SBRS=.\.
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/Indirect.bsc"
-BSC32_SBRS= \
-
-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
-# ADD LINK32 aced.lib 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
-LINK32_FLAGS=aced.lib 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 /incremental:yes\
- /pdb:"$(OUTDIR)/Indirect.pdb" /debug /machine:I386\
- /out:"$(OUTDIR)/Indirect.exe"
-LINK32_OBJS= \
- "$(INTDIR)\indirect_logging.obj"
-
-"$(OUTDIR)\Indirect.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
-<<
-
-!ENDIF
-
-CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE"\
- /Fp"$(INTDIR)/Direct.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c
-
-.c{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.cpp{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.cxx{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.c{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-.cpp{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-.cxx{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-################################################################################
-# Begin Target
-
-# Name "Direct - Win32 Debug"
-################################################################################
-# Begin Source File
-
-SOURCE=.\direct_logging.cpp
-DEP_CPP_DIREC=\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Addr.h"\
- {$(INCLUDE)}"\ace\Addr.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config-win32.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\INET_Addr.h"\
- {$(INCLUDE)}"\ace\INET_Addr.i"\
- {$(INCLUDE)}"\ace\IPC_SAP.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.i"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\SOCK.h"\
- {$(INCLUDE)}"\ace\SOCK.i"\
- {$(INCLUDE)}"\ace\SOCK_Connector.h"\
- {$(INCLUDE)}"\ace\SOCK_Connector.i"\
- {$(INCLUDE)}"\ace\SOCK_IO.h"\
- {$(INCLUDE)}"\ace\SOCK_IO.i"\
- {$(INCLUDE)}"\ace\SOCK_Stream.h"\
- {$(INCLUDE)}"\ace\SOCK_Stream.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\stdcpp.h"\
- {$(INCLUDE)}"\ace\Time_Value.h"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
-
-
-"$(INTDIR)\direct_logging.obj" : $(SOURCE) $(DEP_CPP_DIREC) "$(INTDIR)"
-
-
-# End Source File
-# End Target
-################################################################################
-# Begin Target
-
-# Name "Indirect - Win32 Debug"
-################################################################################
-# Begin Source File
-
-SOURCE=.\indirect_logging.cpp
-DEP_CPP_INDIR=\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config-win32.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\stdcpp.h"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
-
-
-"$(INTDIR)\indirect_logging.obj" : $(SOURCE) $(DEP_CPP_INDIR) "$(INTDIR)"
-
-
-# End Source File
-# End Target
-# End Project
-################################################################################
diff --git a/netsvcs/clients/Logger/Logger.mdp b/netsvcs/clients/Logger/Logger.mdp Binary files differdeleted file mode 100644 index e00a77fc84f..00000000000 --- a/netsvcs/clients/Logger/Logger.mdp +++ /dev/null diff --git a/netsvcs/clients/Logger/Makefile b/netsvcs/clients/Logger/Makefile deleted file mode 100644 index 534e38c56cc..00000000000 --- a/netsvcs/clients/Logger/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for client logging applications -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = direct_logging \ - indirect_logging - -LSRC = $(addsuffix .cpp,$(BIN)) - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.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 - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/direct_logging.o .obj/direct_logging.so .shobj/direct_logging.o .shobj/direct_logging.so: direct_logging.cpp \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.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/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/Log_Record.i \ - $(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/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i -.obj/indirect_logging.o .obj/indirect_logging.so .shobj/indirect_logging.o .shobj/indirect_logging.so: indirect_logging.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.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.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Logger/README b/netsvcs/clients/Logger/README deleted file mode 100644 index 87e324ab0d8..00000000000 --- a/netsvcs/clients/Logger/README +++ /dev/null @@ -1,18 +0,0 @@ -This directory contains two sample logging applications that implement -and test the ACE distributed logging service. - - . indirect_logging.cpp - - This program talks to the ACE Client Logging Daemon on - the localhost, which forwards the messages to Server - Logging Daemon. The Client Logging Daemon and Server - Logging Daemon both must be started before you can run - this test. - - . direct_logging.cpp - - This program talks directly to the Server Logging - Daemon. The Server Logging Daemon must be started - before you can run this test. - -To start these daemons, please check out the ../../servers/ directory. diff --git a/netsvcs/clients/Logger/direct_logging.cpp b/netsvcs/clients/Logger/direct_logging.cpp deleted file mode 100644 index 1c0cc6e3f8a..00000000000 --- a/netsvcs/clients/Logger/direct_logging.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// $Id$ - -// This program sends logging records directly to the server, rather -// than going through the client logging daemon. - -#include "ace/SOCK_Connector.h" - -#include "ace/Log_Record.h" - -static u_short LOGGER_PORT = ACE_DEFAULT_SERVER_PORT; -static const char *const LOGGER_HOST = ACE_DEFAULT_SERVER_HOST; -static const char *const DATA = "hello world\n"; - -int -main (int argc, char *argv[]) -{ - u_short logger_port = argc > 1 ? atoi (argv[1]) : LOGGER_PORT; - const char *logger_host = argc > 2 ? argv[2] : LOGGER_HOST; - - ACE_SOCK_Stream logger; - ACE_SOCK_Connector connector; - ACE_INET_Addr addr (logger_port, logger_host); - ACE_Log_Record log_record (LM_DEBUG, - ACE_OS::time ((time_t *) 0), - ACE_OS::getpid ()); - - if (connector.connect (logger, addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), -1); - - log_record.msg_data (DATA); - size_t len = log_record.length (); - log_record.encode (); - - if (logger.send ((char *) &log_record, len) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "send"), -1); - else if (logger.close () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "close"), -1); - return 0; -} diff --git a/netsvcs/clients/Logger/direct_logging.dsp b/netsvcs/clients/Logger/direct_logging.dsp deleted file mode 100644 index 3d4399a7f16..00000000000 --- a/netsvcs/clients/Logger/direct_logging.dsp +++ /dev/null @@ -1,91 +0,0 @@ -# Microsoft Developer Studio Project File - Name="direct_logging" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=direct_logging - 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 "direct_logging.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 "direct_logging.mak" CFG="direct_logging - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "direct_logging - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "direct_logging - 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)" == "direct_logging - 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 /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 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
-
-!ELSEIF "$(CFG)" == "direct_logging - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "direct_l"
-# PROP BASE Intermediate_Dir "direct_l"
-# 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 /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# 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 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
-
-!ENDIF
-
-# Begin Target
-
-# Name "direct_logging - Win32 Release"
-# Name "direct_logging - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\direct_logging.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/netsvcs/clients/Logger/indirect_logging.cpp b/netsvcs/clients/Logger/indirect_logging.cpp deleted file mode 100644 index ea80c890322..00000000000 --- a/netsvcs/clients/Logger/indirect_logging.cpp +++ /dev/null @@ -1,47 +0,0 @@ -// $Id$ - -// This is a simple test that sends logging records to the Client -// Logging Daemon running on the localhost. This daemon then forwards -// them to the Server Logging Daemon. If there is no Server Logging -// Daemon, the logging records will be written to stderr. - -#include "ace/OS.h" - -int -main (int argc, char *argv[]) -{ - const char *prog_name = argv[0]; - int iterations = argc < 2 ? 10 : ACE_OS::atoi (argv[1]); - const char *logger_key = argc < 3 ? ACE_DEFAULT_LOGGER_KEY : argv[2]; - - ACE_OS::srand ((u_int) ACE_OS::time (0)); - - ACE_LOG_MSG->open (prog_name, ACE_Log_Msg::LOGGER, - ACE_WIDE_STRING (logger_key)); - - ACE_DEBUG ((LM_STARTUP, "starting up the test\n")); - - for (int i = 0; i < iterations; i++) - { - size_t priority = ACE_OS::rand () % int (LM_MAX); - ACE_POW (priority); - ACE_DEBUG ((ACE_Log_Priority (priority), - "random message %d...\n", - priority)); - } - - ACE_DEBUG ((LM_SHUTDOWN, "closing down the test\n")); - -#if defined (ACE_WIN32) - // !!Important, Winsock is broken in that if you don't close - // down the connection before exiting main, you'll lose data. - // More over, your server might get "Access Violation" from - // within Winsock functions. - - // Here we close down the connection to Logger by redirecting - // the logging destination back to stderr. - ACE_LOG_MSG->open (0, ACE_Log_Msg::STDERR, 0); -#endif /* ACE_WIN32 */ - - return 0; -} diff --git a/netsvcs/clients/Logger/indirect_logging.dsp b/netsvcs/clients/Logger/indirect_logging.dsp deleted file mode 100644 index 59b94c55e3a..00000000000 --- a/netsvcs/clients/Logger/indirect_logging.dsp +++ /dev/null @@ -1,91 +0,0 @@ -# Microsoft Developer Studio Project File - Name="indirect_logging" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=indirect_logging - 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 "indirect_logging.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 "indirect_logging.mak" CFG="indirect_logging - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "indirect_logging - Win32 Release" (based on\
- "Win32 (x86) Console Application")
-!MESSAGE "indirect_logging - 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)" == "indirect_logging - 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 /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 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
-
-!ELSEIF "$(CFG)" == "indirect_logging - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "indirect"
-# PROP BASE Intermediate_Dir "indirect"
-# 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 /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# 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 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
-
-!ENDIF
-
-# Begin Target
-
-# Name "indirect_logging - Win32 Release"
-# Name "indirect_logging - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\indirect_logging.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/netsvcs/clients/Makefile b/netsvcs/clients/Makefile deleted file mode 100644 index 43f23ea97b8..00000000000 --- a/netsvcs/clients/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for the client programs that test the ACE network services -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = Logger \ - Naming \ - Tokens - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU - diff --git a/netsvcs/clients/Naming/Client/Client.dsw b/netsvcs/clients/Naming/Client/Client.dsw deleted file mode 100644 index d8f7d02e5b7..00000000000 --- a/netsvcs/clients/Naming/Client/Client.dsw +++ /dev/null @@ -1,44 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "Client_Test"=.\Client_Test.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "main"=.\main.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name Client_Test
- End Project Dependency
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/netsvcs/clients/Naming/Client/Client_Test.cpp b/netsvcs/clients/Naming/Client/Client_Test.cpp deleted file mode 100644 index dec43fae5a1..00000000000 --- a/netsvcs/clients/Naming/Client/Client_Test.cpp +++ /dev/null @@ -1,570 +0,0 @@ -// $Id$ - -#define ACE_BUILD_SVC_DLL - -#include "ace/Service_Config.h" -#include "ace/Naming_Context.h" -#include "ace/Dynamic_Service.h" -#include "ace/Thread_Manager.h" -#include "Client_Test.h" - -class ACE_Svc_Export Client_Test : public ACE_Service_Object -{ -public: - Client_Test (void); - - int open (void); - // Cache reactor and then register self with reactor - - int close (void); - // Close things down and free up resources. - - virtual int handle_input (ACE_HANDLE handle); - // Handle user entered commands - - virtual int init (int argc, char *argv[]); - // Initialize name options and naming context when dynamically - // linked. - - virtual int fini (void); - // Close down the test when dynamically unlinked. - - void list_options (void); - // Print name options - - int bind (char *key, char *value, char *type = ""); - // Bind a key to a value - - int unbind (char *key); - // Unbind a name binding - - int rebind (char *key, char *value, char *type = ""); - // Rebind a name binding - - int find (char *key); - // Find the value associated with a key - - int list_names (char *pattern); - // Find all names that match pattern - - int list_values (char *pattern); - // Find all values that match pattern - - int list_types (char *pattern); - // Find all types that match pattern - - int list_name_entries (char *pattern); - // Find all names that match pattern - - int list_value_entries (char *pattern); - // Find all values that match pattern - - int list_type_entries (char *pattern); - // Find all types that match pattern - -private: - ACE_Name_Options *name_options_; - // Name Options associated with the Naming Context - - void display_menu (void); - // Display user menu - - int set_proc_local (void); - // Set options to use PROC_LOCAL naming context - - int set_node_local (void); - // Set options to use NODE_LOCAL naming context - - int set_host (char *hostname, int port); - // Set options to use NET_LOCAL naming context - // specifying host name and port number - - int quit (void); - // Gracefully exit -}; - -// The following Factory is used by the ACE_Service_Config and -// svc.conf file to dynamically initialize the state of the client -// test. - -ACE_SVC_FACTORY_DEFINE (Client_Test) - -// Get the instance of Name_Service using Dynamic_Service - -//inline Name_Service * -//NAME_SERVICE (void) - -inline ACE_Naming_Context * -NAMING_CONTEXT (void) -{ - return ACE_Dynamic_Service<ACE_Naming_Context>::instance ("ACE_Naming_Context"); -} - -Client_Test::Client_Test (void) -{ - ACE_DEBUG ((LM_DEBUG, "Client_Test::Client_Test\n")); -} - -int -Client_Test::init (int /* argc */, char * /* argv */ []) -{ - ACE_DEBUG ((LM_DEBUG, "Client_Test::init\n")); - - // Cache the name options. - this->name_options_ = NAMING_CONTEXT ()->name_options (); - return this->open (); -} - -int -Client_Test::open (void) -{ - this->display_menu (); - - if (ACE::register_stdin_handler (this, - ACE_Reactor::instance (), - ACE_Thread_Manager::instance ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "register_stdin_handler"), -1); - return 0; -} - - -int -Client_Test::close (void) -{ - // Deregister this handler with the ACE_Reactor. - return ACE_Reactor::instance ()->remove_handler - (ACE_STDIN, - ACE_Event_Handler::DONT_CALL | ACE_Event_Handler::READ_MASK); -} - -int -Client_Test::fini (void) -{ - ACE_DEBUG ((LM_DEBUG, "Client_Test::fini\n")); - return this->close (); -} - -int -Client_Test::handle_input (ACE_HANDLE) -{ - char option[BUFSIZ]; - char buf1[BUFSIZ]; - char buf2[BUFSIZ]; - char buf3[BUFSIZ]; - char *temp_buf; - int port; - char input[1024]; - - if (::scanf ("%s", option) <= 0) - { - ACE_ERROR_RETURN ((LM_ERROR, "%p Try again!\n", - "Client_Test::handle_input"), 0); - } - - int result = -1; - - switch (isupper (option[0]) ? tolower (option[0]) : option[0]) - { - case 'p' : - result = this->set_proc_local (); - break; - case 'n' : - result = this->set_node_local (); - break; - case 'h' : - if (::scanf ("%s %d", buf1, &port) <= 0) - break; - result = this->set_host (buf1, port); - break; - case 'b' : - // get the input from stdin - ACE_OS::fgets (input, sizeof input, stdin); - - // get the key - if ((temp_buf = ACE_OS::strtok (input, " "))) - { - ACE_OS::strcpy (buf1, temp_buf); - - // get the value - if ((temp_buf = ACE_OS::strtok (0, " "))) - { - ACE_OS::strcpy (buf2, temp_buf); - - // get the type (if entered) - if ((temp_buf = ACE_OS::strtok (0, " "))) - { - ACE_OS::strcpy (buf3, temp_buf); - result = this->bind (buf1, buf2, buf3); - } - else - result = this->bind (buf1, buf2); - } - else - ACE_ERROR ((LM_ERROR, "Bind Failed! Value not entered.\n")); - } - else - ACE_ERROR ((LM_ERROR, "Bind Failed! Key and Value not entered.\n")); - break; - case 'u' : - if (::scanf ("%s", buf1) <= 0) - break; - result = this->unbind (buf1); - break; - case 'r' : - // get the input from stdin - ACE_OS::fgets (input, sizeof input, stdin); - - // get the key - if ((temp_buf = ACE_OS::strtok (input, " "))) - { - ACE_OS::strcpy (buf1, temp_buf); - - // get the value - if ((temp_buf = ACE_OS::strtok (0, " "))) - { - ACE_OS::strcpy (buf2, temp_buf); - - // get the type (if entered) - if ((temp_buf = ACE_OS::strtok (0, " "))) - { - ACE_OS::strcpy (buf3, temp_buf); - result = this->rebind (buf1, buf2, buf3); - } - else - result = this->rebind (buf1, buf2); - } - else - ACE_ERROR ((LM_ERROR, "Rebind Failed! Value not entered.\n")); - } - else - ACE_ERROR ((LM_ERROR, "Reind Failed! Key and value not entered.\n")); - break; - case 'f' : - if (::scanf ("%s", buf1) <= 0) - break; - result = this->find (buf1); - break; - case 'j' : - if (::scanf ("%s", buf1) <= 0) - break; - else - result = this->list_names (buf1); - break; - case 'k' : - if (::scanf ("%s", buf1) <= 0) - break; - else - result = this->list_values (buf1); - break; - case 'l' : - if (::scanf ("%s", buf1) <= 0) - break; - else - result = this->list_types (buf1); - break; - case 'c' : - if (::scanf ("%s", buf1) <= 0) - break; - else - result = this->list_name_entries (buf1); - break; - case 'd' : - if (::scanf ("%s", buf1) <= 0) - break; - else - result = this->list_value_entries (buf1); - break; - case 'e' : - if (::scanf ("%s", buf1) <= 0) - break; - else - result = this->list_type_entries (buf1); - break; - case 'q' : - result = this->quit (); - break; - default : - ACE_DEBUG ((LM_DEBUG, "Unrecognized command.\n")); - } - - this->display_menu (); - return result; -} - -void -Client_Test::display_menu (void) -{ - ACE_DEBUG ((LM_DEBUG, "\n")); - this->list_options (); - ACE_DEBUG ((LM_DEBUG, " Name Service Main Menu\n")); - ACE_DEBUG ((LM_DEBUG, " ----------------------\n")); - ACE_DEBUG ((LM_DEBUG, "<P> Use Process Local Database\n")); - ACE_DEBUG ((LM_DEBUG, "<N> Use Node Local Database\n"));; - ACE_DEBUG ((LM_DEBUG, "<H> Set Remote Name server <host> and <port>\n\n")); - ACE_DEBUG ((LM_DEBUG, "<B> Bind <key> <value> [<type>]\n")); - ACE_DEBUG ((LM_DEBUG, "<U> Unbind <key>\n")); - ACE_DEBUG ((LM_DEBUG, "<R> Rebind <key> <value> [<type>]\n")); - ACE_DEBUG ((LM_DEBUG, "<F> Find <key>\n")); - ACE_DEBUG ((LM_DEBUG, "<J> Lookup keys matching <pattern>\n")); - ACE_DEBUG ((LM_DEBUG, "<K> Lookup values matching <pattern>\n")); - ACE_DEBUG ((LM_DEBUG, "<L> Lookup types matching <pattern>\n")); - ACE_DEBUG ((LM_DEBUG, "<C> Complete lookup keys matching <pattern>\n")); - ACE_DEBUG ((LM_DEBUG, "<D> Complete lookup values matching <pattern>\n")); - ACE_DEBUG ((LM_DEBUG, "<E> Complete lookup types matching <pattern>\n")); - - ACE_DEBUG ((LM_DEBUG, "<Q> or ^C (exit)\n")); -} - -void -Client_Test::list_options (void) -{ -// ACE_DEBUG ((LM_DEBUG, " *** Process Name is %s ***\n", -// this->name_options_->process_name ())); - switch (this->name_options_->context ()) - { - case ACE_Naming_Context::PROC_LOCAL: - ACE_DEBUG ((LM_DEBUG, " *** Using Process Local Database\n")); - break; - case ACE_Naming_Context::NODE_LOCAL: - ACE_DEBUG ((LM_DEBUG, " *** Using Node Local Database\n")); - break; - case ACE_Naming_Context::NET_LOCAL: - ACE_DEBUG ((LM_DEBUG, " *** Hostname: %s\n", - this->name_options_->nameserver_host ())); - ACE_DEBUG ((LM_DEBUG, " *** Port Number: %d\n", - this->name_options_->nameserver_port ())); - break; - default: - assert (!"shouldn't occur!\n"); - /* NOTREACHED */ - } - ACE_DEBUG ((LM_DEBUG, " *** Namespace directory is %s ***\n", - this->name_options_->namespace_dir ())); -} - -int -Client_Test::set_proc_local (void) -{ - // Close down original name space - NAMING_CONTEXT ()->close (); - this->name_options_->nameserver_host ("localhost"); - this->name_options_->context (ACE_Naming_Context::PROC_LOCAL); - return NAMING_CONTEXT ()->open (ACE_Naming_Context::PROC_LOCAL); -} - -int -Client_Test::set_node_local (void) -{ - // Close down original name space - NAMING_CONTEXT ()->close (); - this->name_options_->nameserver_host ("localhost"); - this->name_options_->context (ACE_Naming_Context::NODE_LOCAL); - return NAMING_CONTEXT ()->open (ACE_Naming_Context::NODE_LOCAL); -} - -int -Client_Test::set_host (char* hostname, int port) -{ - // Close down original name space - NAMING_CONTEXT ()->close (); - - this->name_options_->context (ACE_Naming_Context::NET_LOCAL); - // Set Name Options - this->name_options_->nameserver_host (hostname); - this->name_options_->nameserver_port (port); - - return NAMING_CONTEXT ()->open (ACE_Naming_Context::NET_LOCAL); -} - -int -Client_Test::quit (void) -{ - // Send ourselves a SIGINT! - return ACE_OS::kill (ACE_OS::getpid (), SIGINT); -} - -int -Client_Test::bind (char* key, char* value, char* type) -{ - if (NAMING_CONTEXT ()->bind (key, value, type) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Bind failed! Key %s exists\n", - "Client_Test::bind", key), 0); - return 0; -} - -int -Client_Test::unbind (char* key) -{ - if (NAMING_CONTEXT ()->unbind (key) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Unbind failed! Key %s not found\n", - "Client_Test::unbind", key), 0); - return 0; -} - -int -Client_Test::rebind (char* key, char* value, char* type) -{ - int result = NAMING_CONTEXT ()->rebind (key, value, type ); - return result == 1 ? 0 : result; -} - -int -Client_Test::list_names (char *pattern) -{ - ACE_PWSTRING_SET set; - - if (NAMING_CONTEXT ()->list_names (set, pattern) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Pattern matching failed!\n", - "Client_Test::list_names"), 0); - else - { - ACE_PWSTRING_ITERATOR set_iterator (set); - - for (ACE_WString *name = 0; - set_iterator.next (name) !=0; - set_iterator.advance()) - ACE_DEBUG ((LM_DEBUG, "%s\n", name->char_rep ())); - } - return 0; -} - -int -Client_Test::list_values (char *pattern) -{ - ACE_PWSTRING_SET set; - - if (NAMING_CONTEXT ()->list_values (set, pattern) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Pattern matching failed!\n", - "Client_Test::list_values"), 0); - else - { - ACE_PWSTRING_ITERATOR set_iterator (set); - - for (ACE_WString *value = 0; - set_iterator.next (value) !=0; - set_iterator.advance()) - ACE_DEBUG ((LM_DEBUG, "%s\n", value->char_rep ())); - } - return 0; -} - -int -Client_Test::list_types (char *pattern) -{ - ACE_PWSTRING_SET set; - - if (NAMING_CONTEXT ()->list_types (set, pattern) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Pattern matching failed!\n", - "Client_Test::list_types"), 0); - else - { - ACE_PWSTRING_ITERATOR set_iterator (set); - - for (ACE_WString *type = 0; - set_iterator.next (type) !=0; - set_iterator.advance()) - ACE_DEBUG ((LM_DEBUG, "%s\n", type->char_rep ())); - } - return 0; -} - -int -Client_Test::list_name_entries (char *pattern) -{ - ACE_BINDING_SET set; - - if (NAMING_CONTEXT ()->list_name_entries (set, pattern) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Pattern matching failed!\n", - "Client_Test::list_names"), 0); - else - { - ACE_BINDING_ITERATOR set_iterator (set); - - for (ACE_Name_Binding *entry = 0; - set_iterator.next (entry) !=0; - set_iterator.advance()) - { - ACE_DEBUG ((LM_DEBUG, "%s\t", entry->name_.char_rep ())); - ACE_DEBUG ((LM_DEBUG, "%s\t", entry->value_.char_rep ())); - if (entry->type_) - ACE_DEBUG ((LM_DEBUG, "%s\n", entry->type_)); - } - } - return 0; -} - -int -Client_Test::list_value_entries (char *pattern) -{ - ACE_BINDING_SET set; - - if (NAMING_CONTEXT ()->list_value_entries (set, pattern) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Pattern matching failed!\n", - "Client_Test::list_values"), 0); - else - { - ACE_BINDING_ITERATOR set_iterator (set); - for (ACE_Name_Binding *entry = 0; - set_iterator.next (entry) !=0; - set_iterator.advance()) - { - ACE_DEBUG ((LM_DEBUG, "%s\t", entry->name_.char_rep ())); - ACE_DEBUG ((LM_DEBUG, "%s\t", entry->value_.char_rep ())); - if (entry->type_) - ACE_DEBUG ((LM_DEBUG, "%s\n", entry->type_)); - } - } - return 0; -} - -int -Client_Test::list_type_entries (char *pattern) -{ - ACE_BINDING_SET set; - - if (NAMING_CONTEXT ()->list_type_entries (set, pattern) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Pattern matching failed!\n", - "Client_Test::list_types"), 0); - else - { - ACE_BINDING_ITERATOR set_iterator (set); - - for (ACE_Name_Binding *entry = 0; - set_iterator.next (entry) !=0; - set_iterator.advance()) - { - ACE_DEBUG ((LM_DEBUG, "%s\t", entry->name_.char_rep ())); - ACE_DEBUG ((LM_DEBUG, "%s\t", entry->value_.char_rep ())); - ACE_DEBUG ((LM_DEBUG, "%s\n", entry->type_)); - } - } - return 0; -} - - -int -Client_Test::find (char *key) -{ - char *value = 0; - char *type = 0; - - if (NAMING_CONTEXT ()->resolve (key, value, type) != 0) - ACE_ERROR_RETURN ((LM_ERROR, "%p Find failed! Key %s not found\n", - "Client_Test::list_find", key), 0); - else - { - ACE_DEBUG ((LM_DEBUG, - "Binding for %s : value = %s\ttype = %s\n", - key, value, type)); - if (type) - delete [] type; - return 0; - } -} - - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Dynamic_Service<ACE_Naming_Context>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Dynamic_Service<ACE_Naming_Context> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/netsvcs/clients/Naming/Client/Client_Test.dsp b/netsvcs/clients/Naming/Client/Client_Test.dsp deleted file mode 100644 index 534b9b44306..00000000000 --- a/netsvcs/clients/Naming/Client/Client_Test.dsp +++ /dev/null @@ -1,96 +0,0 @@ -# Microsoft Developer Studio Project File - Name="Client_Test" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=Client_Test - 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_Test.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_Test.mak" CFG="Client_Test - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "Client_Test - Win32 Release" (based on\
- "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "Client_Test - Win32 Debug" (based on\
- "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "Client_Test - 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 /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\...." /I "..\..\..\..\\" /D "NDEBUG" /D "_WINDOWS" /D "WIN32" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# 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:windows /dll /machine:I386
-# ADD LINK32 ace.lib 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:windows /dll /machine:I386 /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "Client_Test - 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 /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\..\\" /D "_WINDOWS" /D "_DEBUG" /D "WIN32" /YX /FD /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# 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:windows /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib 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:windows /dll /debug /machine:I386 /pdbtype:sept /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "Client_Test - Win32 Release"
-# Name "Client_Test - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\Client_Test.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/netsvcs/clients/Naming/Client/Client_Test.h b/netsvcs/clients/Naming/Client/Client_Test.h deleted file mode 100644 index 830db0e73c2..00000000000 --- a/netsvcs/clients/Naming/Client/Client_Test.h +++ /dev/null @@ -1,9 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - - -#include "ace/OS.h" - -// Define the external Client_Test interface. - -ACE_SVC_FACTORY_DECLARE (Client_Test) diff --git a/netsvcs/clients/Naming/Client/Makefile b/netsvcs/clients/Naming/Client/Makefile deleted file mode 100644 index 90447536f50..00000000000 --- a/netsvcs/clients/Naming/Client/Makefile +++ /dev/null @@ -1,208 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for the ACE client-side Name_Server test -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = main -LIB = libClient_Test.a -SHLIB = libClient_Test.$(SOEXT) - -FILES = Client_Test - -PSRC = $(addsuffix .cpp,$(BIN)) -OBJ = $(SRC:%.cpp=$(VDIR)%.o) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) -SHOBJ = $(addsuffix .so,$(FILES)) - -LDLIBS = -lClient_Test - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VLIB) $(VSHLIB) $(SHLIBA) $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Client_Test.o .obj/Client_Test.so .shobj/Client_Test.o .shobj/Client_Test.so: Client_Test.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Naming_Context.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Name_Proxy.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.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_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Name_Request_Reply.h \ - $(ACE_ROOT)/ace/Name_Space.h \ - $(ACE_ROOT)/ace/Dynamic_Service.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - Client_Test.h -.obj/main.o .obj/main.so .shobj/main.o .shobj/main.so: main.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Naming_Context.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Name_Proxy.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.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_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Name_Request_Reply.h \ - $(ACE_ROOT)/ace/Name_Space.h \ - Client_Test.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Naming/Client/main.cpp b/netsvcs/clients/Naming/Client/main.cpp deleted file mode 100644 index 93ecb8ba823..00000000000 --- a/netsvcs/clients/Naming/Client/main.cpp +++ /dev/null @@ -1,42 +0,0 @@ -// Test the client-side of the ACE Name Server... -// $Id$ - - -#include "ace/Service_Config.h" -#include "ace/Naming_Context.h" -#include "Client_Test.h" - -int -main (int argc, char *argv[]) -{ - ACE_Service_Config daemon; - - if (daemon.open (argc, argv) == -1) - { - if (errno != ENOENT) - ACE_ERROR ((LM_ERROR, "%p\n%a", "open", 1)); - else // Use static binding. - { - char *l_argv[3]; - l_argv[0] = argv[0]; - l_argv[1] = "-p 10011"; - l_argv[2] = 0; - ACE_Service_Object *so = ACE_SVC_INVOKE (ACE_Naming_Context); - - if (so->init (2, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "ACE_Naming_Context", 1)); - - so = ACE_SVC_INVOKE (Client_Test); - - if (so->init (0, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "Client_Test", 1)); - } - } - - // Run forever, performing the configured services until we are shut - // down by a SIGINT/SIGQUIT signal. - - ACE_Reactor::run_event_loop (); - - return 0; -} diff --git a/netsvcs/clients/Naming/Client/main.dsp b/netsvcs/clients/Naming/Client/main.dsp deleted file mode 100644 index f29fe74efbd..00000000000 --- a/netsvcs/clients/Naming/Client/main.dsp +++ /dev/null @@ -1,89 +0,0 @@ -# Microsoft Developer Studio Project File - Name="main" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=main - 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 "main.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 "main.mak" CFG="main - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "main - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "main - 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)" == "main - 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 "..\..\..\..\\" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WIN32" /D "UNICODE" /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 Client_Test.lib 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 /libpath:"..\..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "main - 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 "..\..\..\..\\" /D "_CONSOLE" /D "_MBCS" /D "_DEBUG" /D "WIN32" /YX /FD /c
-# 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 Client_Test.lib aced.lib 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 /libpath:"..\..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "main - Win32 Release"
-# Name "main - Win32 Debug"
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# End Target
-# End Project
diff --git a/netsvcs/clients/Naming/Client/svc.conf b/netsvcs/clients/Naming/Client/svc.conf deleted file mode 100644 index 4e789d4eaf0..00000000000 --- a/netsvcs/clients/Naming/Client/svc.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Note that $DB and $PORT are environment variables that are -# automatically interpreted and substituted by ACE! -static ACE_Naming_Context "main -p $PORT -h tango" -dynamic Name_Server_test Service_Object * ./Client_Test:_make_Client_Test () -# Note: Client_Test must come after ACE_Naming_Context since it relies -# on the ACE_Naming_Context having been linked... diff --git a/netsvcs/clients/Naming/Client/svc2.conf b/netsvcs/clients/Naming/Client/svc2.conf deleted file mode 100644 index 41075e1bf29..00000000000 --- a/netsvcs/clients/Naming/Client/svc2.conf +++ /dev/null @@ -1,9 +0,0 @@ -# Note that $DB and $PORT are environment variables that are -# automatically interpreted and substituted by ACE! In addition, note -# how you can give a relative name for the libACE_svcs.so and ACE will -# locate this for you automatically by reading your LD search path! -dynamic ACE_Naming_Context Service_Object * libACE.so:_make_ACE_Naming_Context () "main -s $DB" -dynamic ACE_Naming_Context2 Service_Object * libACE.so:_make_ACE_Naming_Context () "main -s $DB" -dynamic Name_Server_test Service_Object * .shobj/Client_Test.so:_make_Client_Test () -# Note: Client_Test must come after ACE_Naming_Context since it relies -# on the ACE_Naming_Context having been dynamically linked. diff --git a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp deleted file mode 100644 index 084ef01ce54..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp +++ /dev/null @@ -1,379 +0,0 @@ -// $Id$ - -#include "ace/Service_Config.h" -#include "ace/Read_Buffer.h" -#include "ace/Thread_Manager.h" -#include "Dump_Restore.h" - -Dump_Restore::Dump_Restore (int argc, char *argv[]) - : infile_ (0) -{ - ACE_NEW (this->ns_context_, ACE_Naming_Context); - - // Cache the name options - this->name_options_ = this->ns_context_->name_options (); - this->name_options_->parse_args (argc, argv); - - //determine name context - if (ACE_OS::strcmp (this->name_options_->nameserver_host (), "localhost") == 0) - { - if (ns_context_->open (ACE_Naming_Context::PROC_LOCAL) == -1) - ACE_ERROR ( (LM_ERROR, "%p\n", "ns_context_->open")); - } - else - { - // Don't really need to do this but it's a hack to fix - // the problme of Display () not printing the right hostname - ACE_OS::strcpy (this->hostname_, - this->name_options_->nameserver_host ()); - this->port_ = this->name_options_->nameserver_port (); - - if (this->ns_context_->open (ACE_Naming_Context::NET_LOCAL) == -1) - ACE_ERROR ((LM_ERROR, "%p\n", "ns_context_->open")); - } - - this->display_menu (); - - if (ACE::register_stdin_handler (this, - ACE_Reactor::instance (), - ACE_Thread_Manager::instance ()) == -1) - ACE_ERROR ((LM_ERROR, "%p\n", "register_stdin_handler")); -} - -Dump_Restore::~Dump_Restore (void) -{ - // Deregister this handler with the ACE_Reactor. - ACE_Reactor::instance ()->remove_handler - (ACE_STDIN, - ACE_Event_Handler::DONT_CALL | ACE_Event_Handler::READ_MASK); - - ACE_OS::fclose (this->infile_); -} - -int -Dump_Restore::handle_input (ACE_HANDLE) -{ - char option[BUFSIZ]; - char buf1[BUFSIZ]; - u_short port; - - if (::scanf ("%s", option) <= 0) - { - cerr << "try again" << endl; - return 0; - } - - switch (option[0]) - { - case 'P' : - case 'p' : - set_proc_local (); - break; - case 'N' : - case 'n' : - set_node_local (); - break; - case 'H' : - case 'h' : - if (::scanf ("%s %hu", buf1, &port) <= 0) - break; - set_host (buf1, port); - break; - case 'F': - case 'f': - if (::scanf ("%s", filename_) <= 0) - break; - if (this->infile_) - ACE_OS::fclose (this->infile_); - this->infile_ = fopen(filename_,"r"); - break; - case 'B' : - case 'b' : - populate (Dump_Restore::BIND); - break; - case 'U' : - case 'u' : - populate (Dump_Restore::UNBIND); - break; - case 'R' : - case 'r' : - populate (Dump_Restore::REBIND); - break; - case 'D': - case 'd': - if (::scanf ("%s", dump_filename_) <= 0) - break; - this->dump (); - break; - case 'Q' : - case 'q' : - quit (); - break; - default : - cout << "Unrecognized command." << endl; - } - - display_menu (); - return 0; -} - -void -Dump_Restore::display_menu (void) -{ - cout << endl; - cout << " Name Service Main Menu" << endl; - cout << " ----------------------" << endl; - - // Check if using local name space or remote name space - if (ACE_OS::strcmp (this->name_options_->nameserver_host (), "localhost") == 0) - { - if (this->ns_scope_ == ACE_Naming_Context::PROC_LOCAL) - cout << " *** Using Process Local Database ***" << endl << endl; - else - cout << " *** Using Node Local Database ***" << endl << endl; - } - else - { - cout << " Hostname: " << this->hostname_; - cout << " Port Number: " << this->port_ << endl << endl; - } - if (this->infile_) - cout << "Input File: " << filename_ << endl << endl; - else - cout << "** No Input File Specified **" << endl; - cout << "<P> Use Process Local Database" << endl; - cout << "<N> Use Node Local Database" << endl; - cout << "<H> Set Remote Name server <host> and <port>" << endl; - cout << "<F> Set Input File <file name>" << endl << endl; - cout << "<B> Bind" << endl; - cout << "<U> Unbind" << endl; - cout << "<R> Rebind" << endl; - cout << "<D> Dump <file name>" << endl; - cout << "<Q> or ^C (exit) " << endl; -} - - -int -Dump_Restore::set_proc_local (void) -{ - // Set Name Options - this->name_options_->nameserver_host ("localhost"); - this->name_options_->nameserver_port (0); - - // Set Naming Context scope - this->ns_scope_ = ACE_Naming_Context::PROC_LOCAL; - - // Remove old naming context - delete this->ns_context_; - - // Create new Naming Context - ACE_NEW_RETURN (this->ns_context_, ACE_Naming_Context, -1); - - if (this->ns_context_->open (ACE_Naming_Context::PROC_LOCAL) == -1) - ACE_ERROR_RETURN ( (LM_ERROR, "%p\n", "ns_context_->open"), -1); - - return 0; -} - -int -Dump_Restore::set_node_local (void) -{ - // Set Name Options - this->name_options_->nameserver_host ("localhost"); - this->name_options_->nameserver_port (0); - - // Set Naming Context scope - this->ns_scope_ = ACE_Naming_Context::NODE_LOCAL; - - // Remove old naming context - delete this->ns_context_; - - // Create new Naming Context - ACE_NEW_RETURN (this->ns_context_, ACE_Naming_Context, -1); - - if (ns_context_->open (ACE_Naming_Context::NODE_LOCAL) == -1) - ACE_ERROR_RETURN ( (LM_ERROR, "%p\n", "ns_context_->open"), -1); - return 0; -} - -int -Dump_Restore::set_host (char* hostname, int port) -{ - // Set Name Options - this->name_options_->nameserver_host (hostname); - this->name_options_->nameserver_port (port); - - // don't really need to do this but it's a hack to fix - // the problme of Display () not printing the right hostname - ACE_OS::strcpy (this->hostname_, hostname); - this->port_ = port; - this->ns_scope_ = ACE_Naming_Context::NET_LOCAL; - - // remove old naming context - delete this->ns_context_; - - // Create new Naming Context - ACE_NEW_RETURN (this->ns_context_, ACE_Naming_Context, -1); - - // assume net_local context - if (ns_context_->open (ACE_Naming_Context::NET_LOCAL) == -1) - ACE_ERROR_RETURN ( (LM_ERROR, "%p\n", "ns_context_->open"), -1); - - return 0; -} - -int -Dump_Restore::doit (Dump_Restore::Operation_Type op, - char *name, - char* value, - char* type) -{ - int result = -1; - - switch (op) - { - case Dump_Restore::BIND: - { - result = this->bind (name, value, type); - break; - } - case Dump_Restore::UNBIND: - { - result = this->unbind (name); - break; - } - case Dump_Restore::REBIND: - { - result = this->rebind (name, value, type); - break; - } - } - - return result; -} - -int -Dump_Restore::populate (Dump_Restore::Operation_Type op) -{ - if (this->infile_) - { - int result = -1; - enum State { NAME, VALUE, TYPE }; - - State state = NAME; - // reset file pointer - ACE_OS::rewind (this->infile_); - - ACE_Allocator *allocator = ACE_Allocator::instance (); - ACE_Read_Buffer read_buffer (this->infile_, 0, allocator); - - for (char *temp; (temp = read_buffer.read ('\n')) != 0; ) - { - char *name = 0; - char *actual_name = 0; - char *value = 0; - char *actual_value = 0; - char *type = 0; - char *actual_type = 0; - - switch (state) - { - case NAME: - name = temp; - ACE_OS::strtok (name, "="); - actual_name = ACE_OS::strtok (0, "="); - state = VALUE; - break; - case VALUE: - value = temp; - ACE_OS::strtok (value, "="); - actual_value = ACE_OS::strtok (0, "="); - state = TYPE; - break; - case TYPE: - type = temp; - ACE_OS::strtok (type, "="); - actual_type = ACE_OS::strtok (0, "="); - - if (actual_type) - result = this->doit (op, - actual_name, - actual_value, - actual_type); - else - result = this->doit (op, - actual_name, - actual_value); - if (name) - allocator->free(name); - if (value) - allocator->free(value); - if (type) - allocator->free(type); - state = NAME; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "populate"), -1); - /* NOTREACHED */ - } - } - - return result; - } - else - return -1; -} - -int -Dump_Restore::bind (char* key, char* value, char* type) -{ - int result = ns_context_->bind (key, value, type); - - if (result == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "ns_context_->bind"), -1); - else if (result == 1) - ACE_ERROR_RETURN ((LM_ERROR, "%s%s%s\n", "key <", key, "> already bound"), 1); - return 0; -} - -int -Dump_Restore::unbind (char* key) -{ - int result = ns_context_->unbind (key); - - if (result == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "ns_context_->unbind"), -1); - - return 0; -} - -int -Dump_Restore::rebind (char* key, char* value, char* type) -{ - if (ns_context_->rebind (key, value, type) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "ns_context_->rebind"), -1); - - return 0; -} - -int -Dump_Restore::quit (void) -{ - return ACE_OS::kill (ACE_OS::getpid (), SIGINT); -} - -void -Dump_Restore::dump (void) -{ - ofstream output_file (dump_filename_); - - ostream *orig_stream = ACE_Log_Msg::instance ()->msg_ostream (); - ACE_Log_Msg::instance ()->msg_ostream (&output_file); - ACE_Log_Msg::instance ()->clr_flags (ACE_Log_Msg::STDERR | ACE_Log_Msg::LOGGER ); - ACE_Log_Msg::instance ()->set_flags (ACE_Log_Msg::OSTREAM); - - ns_context_->dump (); - - ACE_Log_Msg::instance ()->msg_ostream (orig_stream); - ACE_Log_Msg::instance ()->clr_flags (ACE_Log_Msg::STDERR); -} diff --git a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h deleted file mode 100644 index b1a82a50f3c..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h +++ /dev/null @@ -1,74 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "ace/Event_Handler.h" -#include "ace/Reactor.h" -#include "ace/Naming_Context.h" - -class Dump_Restore : public ACE_Event_Handler -{ -public: - enum Operation_Type - { - BIND, - UNBIND, - REBIND - }; - Dump_Restore (int argc, char *argv[]); - // Initialize name options and naming context - - ~Dump_Restore (void); - - virtual int handle_input (ACE_HANDLE handle); - // Handle user entered commands - - void dump (void); - -private: - char hostname_[MAXHOSTNAMELEN + 1]; - // Cache the hostname and port number for remote case - - void display_menu (void); - // Display user menu. - - int set_proc_local (void); - // Set options to use PROC_LOCAL naming context. - - int set_node_local (void); - // Set options to use NODE_LOCAL naming context. - - int set_host (char* hostname, int port); - // Set options to use NET_LOCAL naming context specifying host name - // and port number. - - int quit (void); - // Gracefully exit. - - int populate (Dump_Restore::Operation_Type op); - - int doit (Dump_Restore::Operation_Type op, - char *name, - char *value, - char *type = ""); - int bind (char* key, char* value, char* type = ""); - int unbind (char* key); - int rebind (char* key, char* value, char* type = ""); - - char filename_[MAXPATHLEN + 1]; - char dump_filename_[MAXPATHLEN + 1]; - - u_short port_; - // port server is listening on - - ACE_Naming_Context *ns_context_; - // Current naming context - - ACE_Naming_Context::Context_Scope_Type ns_scope_; - // Defines the scope of the naming context - - FILE *infile_; - // input file - - ACE_Name_Options *name_options_; - // Name Options associated with the Naming Context -}; diff --git a/netsvcs/clients/Naming/Dump_Restore/Makefile b/netsvcs/clients/Naming/Dump_Restore/Makefile deleted file mode 100644 index f7bfe41fdb9..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/Makefile +++ /dev/null @@ -1,217 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for the ACE Dump-Restore Name_Server utility -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = main -LIB = libDump_Restore.a -SHLIB = libDump_Restore.$(SOEXT) - -FILES = Dump_Restore - -PSRC = $(addsuffix .cpp,$(BIN)) -OBJ = $(SRC:%.cpp=$(VDIR)%.o) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) -SHOBJ = $(addsuffix .so,$(FILES)) - -LDLIBS = -lDump_Restore - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VLIB) $(VSHLIB) $(SHLIBA) $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/Dump_Restore.o .obj/Dump_Restore.so .shobj/Dump_Restore.o .shobj/Dump_Restore.so: Dump_Restore.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Read_Buffer.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Read_Buffer.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - Dump_Restore.h \ - $(ACE_ROOT)/ace/Naming_Context.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Name_Proxy.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.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_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Name_Request_Reply.h \ - $(ACE_ROOT)/ace/Name_Space.h -.obj/main.o .obj/main.so .shobj/main.o .shobj/main.so: main.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - Dump_Restore.h \ - $(ACE_ROOT)/ace/Naming_Context.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Name_Proxy.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.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_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Name_Request_Reply.h \ - $(ACE_ROOT)/ace/Name_Space.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Naming/Dump_Restore/README b/netsvcs/clients/Naming/Dump_Restore/README deleted file mode 100644 index 3bb13935d87..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/README +++ /dev/null @@ -1,67 +0,0 @@ -This file describes the usage of the Dump-Restore utility for the ACE -Name Server. - -Similar to the test application provided in the Client-Server -directory, a simple ASCII menu-driven interface is provided to the -user: - - Name Service Main Menu - ---------------------- - *** Using Process Local Database *** - -** No Input File Specified ** -<P> Use Process Local Database -<N> Use Node Local Database -<H> Set Remote Name server <host> and <port> -<F> Set Input File <file name> - -<B> Bind -<U> Unbind -<R> Rebind -<D> Dump <file name> -<Q> or ^C (exit) - -Initially, the user can select the type of database from the menu: - -<P> uses the process local database (i.e., the - database is called the same name as the process - and stored in /tmp). -<N> uses the node local database (which defaults - to /tmp/localnames). -<H> uses the net local database by specifying host and port - number (by default this is stored in a file called - /tmp/globalnames on the server). -<F> Sets the name of the input file that will be used by the - test application to populate the database. The format of - the file should be: - - name=<name1> - value=<value1> - type=[<type1>] - name=<name2> - value=<value2> - type=[<type2>] - . - . - . - - Note that the type field is optional. However, if no type - information is associated with a name binding, a null entry still - needs to be present (i.e., type=). - -Once the input file has been specified, the user can then do one of -the following: - -<B> Bind -- bind all the bindings in the file to the database. - This can be used to "restore" the state of the - Name Server. -<U> Unbind -- unbind all the bindings in the file from the database. -<R> Rebind -- rebind all the bindings in the file to the database. -<D> Dump <file name> -- dump the state of the database to <filename>. -<Q> or ^C (exit) -- exit gracefully, saving the contents of the - Name Server in persistent shared memory. - -Note that the dump file is stored in ASCII with exactly the same -format as the input file. Also, one can easily change the test -application so that a call to Dump results in the state of the -database dumped to standard output instead of a file. diff --git a/netsvcs/clients/Naming/Dump_Restore/createfile.cpp b/netsvcs/clients/Naming/Dump_Restore/createfile.cpp deleted file mode 100644 index 72254f063e5..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/createfile.cpp +++ /dev/null @@ -1,31 +0,0 @@ -// $Id$ - -#include <stdio.h> -#include <string.h> - -int -main (int argc, char **argv) -{ - FILE *infile, *outfile; - char buf[BUFSIZ]; - - if ((infile = fopen (argv[1], "r")) == NULL) - return -1; - - if ((outfile = fopen (argv[2], "w")) == NULL) - return -1; - - int count = 0; - while (::fgets (buf, BUFSIZ, infile)) - { - buf[::strlen(buf) - 1] = '\0'; - fputs (buf, outfile); - if (count % 2 == 0) - fputs (" ", outfile); - else - fputs ("\n", outfile); - count++; - } - fclose (outfile); - fclose (infile); -} diff --git a/netsvcs/clients/Naming/Dump_Restore/main.cpp b/netsvcs/clients/Naming/Dump_Restore/main.cpp deleted file mode 100644 index 3bb75ff26ac..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/main.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// Test the client-side of the ACE Name Server... -// $Id$ - -#include "ace/Service_Config.h" -#include "Dump_Restore.h" - -int -main (int argc, char *argv[]) -{ - ACE_Service_Config daemon (argv[0]); - - ACE_DEBUG ((LM_DEBUG, "entering main\n")); - - // Get a handler - Dump_Restore client_handler (argc, argv); - - ACE_Reactor::run_event_loop (); - - /* NOTREACHED */ - ACE_DEBUG ((LM_DEBUG, "leaving main\n")); - return 0; -} diff --git a/netsvcs/clients/Naming/Dump_Restore/nametest.cpp b/netsvcs/clients/Naming/Dump_Restore/nametest.cpp deleted file mode 100644 index fb9c71a5014..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/nametest.cpp +++ /dev/null @@ -1,112 +0,0 @@ -#include "ace/Naming_Context.h" -// $Id$ - -#include "ace/Name_Options.h" -#include "nametest.h" - -void -Nametest::listopt (void) -{ - cout << "serverport is " - << ACE_Name_Options::instance ()->nameserver_port() - << endl; - cout << "serverhost is " - << ACE_Name_Options::instance ()->nameserver_host() - << endl; - cout << "process_name is " - << ACE_Name_Options::instance ()->process_name() - << endl; - cout << "namespace_dir is " - << ACE_Name_Options::instance ()->namespace_dir() - << endl; -} - -int -Nametest::init (int argc, char *argv[]) -{ - ACE_Server_Record *sr; - ACE_Service_Config::svc_rep ()->find ("Name_Server_Proxy", &sr); - ACE_Service_Type *st = sr->type (); - ACE_Server_Object *so = st->object (); -dynamic_cast<ACE_Name_Server_Proxy *> (so); - - ACE_Name_Server_Proxy *ns_proxy = ACE_Service_Config::name_server_proxy (); - - ns_proxy->bind (...); - - this->listopt (); - - ACE_Naming_Context ns_context; - - if (ns_context.open (ACE_Naming_Context::NET_LOCAL) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "ns_context.open"), -1); - - const char *mykey = argv[0]; - char *myvalue = argv[1]; - char *ns_value = 0; - char *ns_type = 0; - - if (ns_context.bind (mykey, myvalue, "ottotype") == -1) - cout << "bind failed" << endl; - else - cout << "bind succeeded" << endl; - - - if (ns_context.resolve (mykey, ns_value, ns_type) == -1) - cout << "resolve of " << mykey << " failed" << endl; - else - cout << "resolve of " << mykey << " succeeded, value = " - << ns_value << ", type = " << ns_type << endl; - - delete [] ns_value; - delete [] ns_type; - ns_value = 0; - ns_type = 0; - - if (ns_context.rebind (mykey, myvalue, "newottotype") == -1) - cout << "rebind failed" << endl; - else - cout << "rebind succeeded" << endl; - - if (ns_context.resolve (mykey, ns_value, ns_type) == -1) - cout << "resolve of " << mykey << " failed" << endl; - else - cout << "resolve of " << mykey << " succeeded, value = " - << ns_value << ", type = " << ns_type << endl; - - delete [] ns_value; - delete [] ns_type; - ns_value = 0; - ns_type = 0; - - if (ns_context.unbind (mykey) == -1) - cout << "unbind failed" << endl; - else - cout << "unbind succeeded" << endl; - - return 0; -} - -int -Nametest::fini (void) -{ - cout << "Nametest::fini called" << endl; - return 0; -} - -int -Nametest::info (char **, unsigned) const -{ - cout << "Nametest::info called" << endl; - return 0; -} - -extern "C" ACE_Service_Object *_alloc(void); - -// Factory function that is called automatically when the ACE -// framework dynamically links this shared object file. - -ACE_Service_Object *_alloc (void) -{ - return new Nametest; -} diff --git a/netsvcs/clients/Naming/Dump_Restore/nametest.h b/netsvcs/clients/Naming/Dump_Restore/nametest.h deleted file mode 100644 index fa0cc5dc05c..00000000000 --- a/netsvcs/clients/Naming/Dump_Restore/nametest.h +++ /dev/null @@ -1,15 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#include "ace/Service_Object.h" - -class Nametest : public ACE_Service_Object -{ -public: - virtual int init (int argc, char *argv[]); - virtual int fini (void); - virtual int info (char **, size_t) const; - - void listopt (void); -}; - diff --git a/netsvcs/clients/Naming/Makefile b/netsvcs/clients/Naming/Makefile deleted file mode 100644 index 97bbaa2ef30..00000000000 --- a/netsvcs/clients/Naming/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for the Name Server test applications -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -INFO = README - -DIRS = Client \ - Dump_Restore - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU - diff --git a/netsvcs/clients/Naming/README b/netsvcs/clients/Naming/README deleted file mode 100644 index 7e461560cb6..00000000000 --- a/netsvcs/clients/Naming/README +++ /dev/null @@ -1,124 +0,0 @@ -This directory contains a set of tests for the ACE_Name_Server -library. There are two directories -- client and server, which test -the client and server, respectively. In addition, these tests -illustrate how to use the ACE Service_Config mechanism, which enables -the client and server code to be dynamically linked into the process -at installation-time or run-time! - -The client test is an application that allows the user to vary the -test parameters through the following menu driven interface: - - Name Service Main Menu - ---------------------- - *** Using Process Local Database *** - -<P> Use Process Local Database -<N> Use Node Local Database -<H> Set Remote Name server <host> and <port> - -<B> Bind <key> <value> [<type>] -<U> Unbind <key> -<R> Rebind <key> <value> [<type>] -<F> Find <key> -<J> Lookup keys matching <pattern> -<K> Lookup values matching <pattern> -<L> Lookup types matching <pattern> -<C> Complete lookup keys matching <pattern> -<D> Complete lookup values matching <pattern> -<E> Complete lookup types matching <pattern> - -<Q> or ^C (exit) - -Initially, the user can select the type of database -- process local, -node local, or net local -- from the menu. - -<P> uses the process local database (i.e., the database is called the - same name as the process and stored in /tmp). -<N> uses the node local database (which defaults to /tmp/localnames). -<H> uses the net local database by specifying host and port number (by - default this is stored in a file called /tmp/globalnames on the server). - -The user can then create new bindings, delete existing bindings, or -rebind bindings: - -<B> Bind <key> <value> [<type>] - -- binds the key to the value and adds the - binding to the database. Note that type - information is optional. -<U> Unbind <key> -- unbind a binding whose key is <key> -<R> Rebind <key> <value> [<type>] - -- rebind <key> to <value>. Once again <type> is optional. -<F> Find <key> -- find the binding associated with key <key> -<Q> or ^C (exit) -- exit gracefully, saving the contents of the - Name Server in persistent shared memory. - -In addition, the user can do pattern matching for keys, values, and -types. Note that pattern matching is supported using regular expressions. - -<J> Lookup keys matching <pattern> - -- find all keys that match <pattern> -<K> Lookup values matching <pattern> - -- find all values that match <pattern> -<L> Lookup types matching <pattern> - -- find all types that match <pattern> - -<C> Complete lookup keys matching <pattern> - -- find all bindings whose keys match <pattern> -<D> Complete lookup values matching <pattern> - -- find all bindings whose values match <pattern> -<E> Complete lookup types matching <pattern> - -- find all bindings whose types match <pattern> - -------------------------- -Running the tests: - -Both the client and the server test programs use DLL supported by -svc.conf which allows them to configure the client-side and the -server-side (respectively) dynamically. The client test program -accomplishes this by making use of a Singleton proxy object -(Name_Service) to provide an interface to the client-side. - -The test programs rely on svc.conf to provide the necessary parameters -for dynamically linking the Name Service library and then -executing. In the absence of svc.conf, the test programs would use -static binding. - -client: - -The client test can be started without any parameters. However, if the -user wants to use the net local database, the hostname and the port -number of the server containing the net local database can be given at -"command line" in the svc.conf file, e.g.: - -dynamic ACE_Naming_Context Service_Object * libACE.so:_make_ACE_Naming_Context () - "main -h tango.cs -p 7891" -dynamic Name_Server_test Service_Object * .shobj/Client_Test.so:_make_Client_Test () "" - -The above example starts the client test application and sets up a -connection to port 7891 to a Name Server running on tango.cs, which -has the net local database. The Client_Test directive must come after -ACE_Naming_Context since it relies on the ACE_Naming_Context having -been dynamically linked. - -Note that you can also use environment variables in the "command -line", as follows: - -dynamic ACE_Naming_Context Service_Object * libACE.so:_make_ACE_Naming_Context () - "main -s $DB -p $PORT -h tango" -dynamic Name_Server_test Service_Object * .shobj/Client_Test.so:_make_Client_Test () "" - -In this example, $DB and $PORT are environment variables that are -automatically interpreted and substituted by ACE. In addition, note -how you can give a relative name for the libACE_svcs.so and ACE will -locate this for you automatically by reading your LD search path. - -server: - -The name server is needed only in the case where the net local -database needs to be accessed. The server test needs to run on the -machine that contains the net local database. To execute the server -test, the user has to specify the port number at which the server will -be listening in the svc.conf file. An implementation of a name -service for ACE is available in the $ACE_ROOT/netsvcs/bin -directory. Please see the README file there for an explanation of how -to run the server. diff --git a/netsvcs/clients/README b/netsvcs/clients/README deleted file mode 100644 index d47c9bfe7ff..00000000000 --- a/netsvcs/clients/README +++ /dev/null @@ -1,8 +0,0 @@ -This directory contains a number of test programs that illustrate how -to write clients for the various ACE network services. - - . Logger -- client programs that illustrate the ACE logging service. - - . Naming -- client programs that illustrate the ACE name service. - - . Tokens -- client programs that illustrate the ACE token service. diff --git a/netsvcs/clients/Tokens/Makefile b/netsvcs/clients/Tokens/Makefile deleted file mode 100644 index 326abc62943..00000000000 --- a/netsvcs/clients/Tokens/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for the Token tests -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -DIRS = collection \ - deadlock \ - invariant \ - manual \ - mutex \ - rw_lock - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU diff --git a/netsvcs/clients/Tokens/README b/netsvcs/clients/Tokens/README deleted file mode 100644 index 3b6313a1df7..00000000000 --- a/netsvcs/clients/Tokens/README +++ /dev/null @@ -1,34 +0,0 @@ -This directory contains a set of tests for the ACE Tokens library. - - . mutex - - Runs a few tests on ACE_Local_Mutex and - ACE_Remote_Mutex. Tests recursive acquisition and - global vs local proxies. - - . rw_locks - - App for testing ACE_Local_RLock, ACE_Local_WLock, - ACE_Remote_RLock, and ACE_Remote_WLock. - - . deadlock - - Tests the deadlock detection algorithm of the token - manager using ACE_Local_Mutex and ACE_Remote_Mutex. - - . collection - - Tests the ACE_Token_Collection utility. Uses local - and remote tokens and readers/writer locks. - - . invariant - - Tests the token Invariant testing utilities. Yes, - this tests a testing utility. - - . manual - - Gives users a text-based interactive interface to - local or remote tokens. This is extremely useful for - manually testing the token server and setting up - deadlock scenarios. diff --git a/netsvcs/clients/Tokens/collection/Makefile b/netsvcs/clients/Tokens/collection/Makefile deleted file mode 100644 index 571971acec3..00000000000 --- a/netsvcs/clients/Tokens/collection/Makefile +++ /dev/null @@ -1,131 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for repeating token client application -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = collection - -FILES = collection - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) -SHOBJ = $(addsuffix .so,$(FILES)) - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/collection.o .obj/collection.so .shobj/collection.o .shobj/collection.so: collection.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.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.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Local_Tokens.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Local_Tokens.i \ - $(ACE_ROOT)/ace/Token_Collection.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Token_Collection.i \ - $(ACE_ROOT)/ace/Remote_Tokens.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.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_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Token_Request_Reply.h \ - $(ACE_ROOT)/ace/Token_Request_Reply.i \ - $(ACE_ROOT)/ace/Remote_Tokens.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(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/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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Tokens/collection/README b/netsvcs/clients/Tokens/collection/README deleted file mode 100644 index 4c25a1f729e..00000000000 --- a/netsvcs/clients/Tokens/collection/README +++ /dev/null @@ -1,25 +0,0 @@ - -Shows how applications can use the ACE_Token_Collection utility. This -example creates three collections and spawns a thread to operate on -each. The threads use the collective acquire, renew, and release -features of ACE_Token_Collection. - -Here are the command-line parameters for collection: - -./collection: -[-h <remote host>] -[-p <remote port>] -[-n <iterations>] -[-d debug] - -To run the collection locally with debugging info, type - -% ./collection -d - -To run the collection remotely with debugging info, first start a -token server and the type: - -% ./collection -d -h <token-server-host> -p <token-server-port> - -The -n <iterations> option is to control how often each thread -iterates on the acquire, renew, release cycle. diff --git a/netsvcs/clients/Tokens/collection/collection.cpp b/netsvcs/clients/Tokens/collection/collection.cpp deleted file mode 100644 index 44e0b0a2bbd..00000000000 --- a/netsvcs/clients/Tokens/collection/collection.cpp +++ /dev/null @@ -1,210 +0,0 @@ -// ============================================================================ -// $Id$ - -// -// = LIBRARY -// examples -// -// = FILENAME -// collection.cpp -// -// = DESCRIPTION -// Shows how applications can use the ACE_Token_Collection -// utility. This example creates three collections and spawns a -// thread to operate on each. The threads use the collective -// acquire, renew, and release features of ACE_Token_Collection. -// -// = AUTHOR -// Tim Harrison -// -// ============================================================================ - -#include "ace/OS.h" - -#include "ace/Get_Opt.h" -#include "ace/Local_Tokens.h" -#include "ace/Token_Collection.h" -#include "ace/Remote_Tokens.h" -#include "ace/Thread_Manager.h" -#include "ace/Service_Config.h" - -#if defined (ACE_HAS_THREADS) - -static char *server_host = ACE_DEFAULT_SERVER_HOST; -static int server_port = ACE_DEFAULT_SERVER_PORT; -// unused: static int threads = 2; -static int iterations = 50; -static int debug = 0; -static int remote = 0; -// unused: static int tokens = 5; - -static void * -run_thread (void *vp) -{ - ACE_Token_Proxy *collection = (ACE_Token_Proxy *) vp; - - int count = iterations; - while (count--) - { - if (collection->acquire () == -1) - { - if (ACE_OS::last_error () == EDEADLK) - { - ACE_DEBUG ((LM_DEBUG, "deadlock detected in acquire")); - continue; - } - ACE_ERROR ((LM_ERROR, "(%t) %p acquire failed\n","run_thread")); - return (void *) -1; - } - - ACE_DEBUG ((LM_DEBUG, "(%t) %s acquired.\n", collection->name ())); - - if (collection->renew () == -1) - { - if (ACE_OS::last_error () == EDEADLK) - { - ACE_DEBUG ((LM_DEBUG, "deadlock detected")); - goto deadlock; - } - ACE_ERROR ((LM_ERROR, "(%t) %p renew failed\n","run_thread")); - return (void *) -1; - } - - ACE_DEBUG ((LM_DEBUG, "(%t) %s renewed.\n", collection->name ())); - - deadlock: - if (collection->release () == -1) - { - ACE_ERROR ((LM_ERROR, "(%t) %p release failed\n","run_thread")); - return (void *) -1; - } - - ACE_DEBUG ((LM_DEBUG, "(%t) %s released.\n", collection->name ())); - } - - - ACE_DEBUG ((LM_DEBUG, "(%t) thread exiting.\n")); - return 0; -} - -static int -parse_args (int argc, char *argv[]) -{ - ACE_LOG_MSG->open (argv[0], ACE_Log_Msg::STDERR); // | ACE_Log_Msg::VERBOSE); - - ACE_Get_Opt get_opt (argc, argv, "un:dp:h:", 1); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'h': // specify the host machine on which the server is running - server_host = get_opt.optarg; - remote = 1; - break; - case 'p': // specify the port on which the server is running - server_port = ACE_OS::atoi (get_opt.optarg); - remote = 1; - break; - case 'd': - debug = 1; - break; - case 'n': - iterations = ACE_OS::atoi (get_opt.optarg); - break; - case 'u': - // usage: fallthrough - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n" - "[-h <remote host>]\n" - "[-p <remote port>]\n" - "[-n <iterations>]\n" - "[-d debug]\n", 1), -1); - /* NOTREACHED */ - } - } - - return 0; -} - -int -main (int argc, char* argv[]) -{ - if (parse_args (argc, argv) == -1) - return -1; - - ACE_Token_Proxy *A; // Mutex *A*. - ACE_Token_Proxy *B; // Mutex *B*. - ACE_Token_Proxy *R; // *R*eader Lock. - ACE_Token_Proxy *W; // *W*riter Lock. - - // Depending on the command line arguments, we will create local or - // remote tokens. The names of the tokens are not important as long - // as they are unique. - if (remote) - { - ACE_Remote_Mutex::set_server_address (ACE_INET_Addr (server_port, server_host)); - A = new ACE_Remote_Mutex ("R Mutex A", 0, debug); - B = new ACE_Remote_Mutex ("R Mutex B", 0, debug); - R = new ACE_Remote_RLock ("R Reader Lock", 0, debug); - W = new ACE_Remote_WLock ("R Writer Lock", 0, debug); - } - else - { - A = new ACE_Local_Mutex ("L Mutex A", 0, debug); - B = new ACE_Local_Mutex ("L Mutex B", 0, debug); - R = new ACE_Local_RLock ("L Reader Lock", 0, debug); - W = new ACE_Local_WLock ("L Writer Lock", 0, debug); - } - - // These collections will be treated as Tokens by the threads. - ACE_Token_Collection collectionAR (debug, "A and Reader"); - ACE_Token_Collection collectionAW (debug, "A and Writer"); - ACE_Token_Collection collectionBR (debug, "B and Reader"); - - // AR and BR can run concurrently. Neither AR or BR can run when AW - // is running. - collectionAR.insert (*A); - collectionAR.insert (*R); - - collectionAW.insert (*A); - collectionAW.insert (*W); - - collectionBR.insert (*B); - collectionBR.insert (*R); - - // Spawn off three threads. - ACE_Thread_Manager *mgr = ACE_Thread_Manager::instance (); - - if (mgr->spawn (ACE_THR_FUNC (run_thread), - (void *) &collectionAR, THR_BOUND | THR_SUSPENDED) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "spawn 1 failed"), -1); - - if (mgr->spawn (ACE_THR_FUNC (run_thread), - (void *) &collectionAW, THR_BOUND | THR_SUSPENDED) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "spawn 2 failed"), -1); - - if (mgr->spawn (ACE_THR_FUNC (run_thread), - (void *) &collectionBR, THR_BOUND | THR_SUSPENDED) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "spawn 3 failed"), -1); - -#if ! defined (ACE_HAS_PTHREADS) - if (mgr->resume_all () == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "resume failed"), -1); -#endif - - // Wait for all threads to exit. - mgr->wait (); - - return 0; -} - -#else -int -main (int, char *[]) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "threads not supported on this platform\n"), -1); -} -#endif /* ACE_HAS_THREADS */ diff --git a/netsvcs/clients/Tokens/collection/rw_locks.cpp b/netsvcs/clients/Tokens/collection/rw_locks.cpp deleted file mode 100644 index 6fd852ff97e..00000000000 --- a/netsvcs/clients/Tokens/collection/rw_locks.cpp +++ /dev/null @@ -1,173 +0,0 @@ -#include "ace/OS.h" -// $Id$ - - -#include "ace/Get_Opt.h" -#include "ace/Local_Tokens.h" -#include "ace/Remote_Tokens.h" -#include "ace/Thread_Manager.h" - -#if defined (ACE_HAS_THREADS) - -static ACE_Token_Proxy *global_rlock; -static ACE_Token_Proxy *global_wlock; - -static char *server_host = ACE_DEFAULT_SERVER_HOST; -static int server_port = ACE_DEFAULT_SERVER_PORT; -static int ignore_deadlock = 0; -static int threads = 2; -static int iterations = 50; -static int debug = 0; -static int remote = 0; -static int reads = 4; -static int write_sleep = 0; - -static void * -run_thread (void *vp) -{ - for (int x = 0; x < iterations; x++) - { - int y = 0; - for (; y < reads; y++) - { - if (global_rlock->acquire () == -1) - { - if (ACE_Log_Msg::instance ()->errnum () == EDEADLK) - { - ACE_DEBUG ((LM_DEBUG, "rlock deadlock detected\n")); - goto READ_DEADLOCK; - } - else return 0; - } - - ACE_DEBUG ((LM_DEBUG, "(%t) rlock acquired.\n")); - } - - READ_DEADLOCK: - - for (; y > 0; y--) - { - if (global_rlock->release () == 0) - ACE_DEBUG ((LM_DEBUG, "(%t) r-released.\n")); - } - - if (global_wlock->acquire () == -1) - { - ACE_DEBUG ((LM_DEBUG, "wlock deadlock detected\n")); - } - else - { - if (write_sleep) - ACE_OS::sleep (1); - ACE_DEBUG ((LM_DEBUG, "\t\t(%t) wlock acquired.\n")); - if (global_wlock->release () == 0) - ACE_DEBUG ((LM_DEBUG, "\t\t(%t) w-released.\n")); - } - } - - ACE_DEBUG ((LM_DEBUG, "(%t) thread exiting.\n")); - return 0; -} - -static int -parse_args (int argc, char *argv[]) -{ - ACE_LOG_MSG->open (argv[0], ACE_Log_Msg::STDERR); // | ACE_Log_Msg::VERBOSE); - - ACE_Get_Opt get_opt (argc, argv, "t:iun:drR:sp:h:", 1); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'h': // specify the host machine on which the server is running - server_host = get_opt.optarg; - break; - case 'p': // specify the port on which the server is running - server_port = ACE_OS::atoi (get_opt.optarg); - break; - case 't': - threads = ACE_OS::atoi (get_opt.optarg); - break; - case 'R': - reads = ACE_OS::atoi (get_opt.optarg); - break; - case 'd': - debug = 1; - break; - case 'r': - remote = 1; - break; - case 's': - write_sleep = 1; - break; - case 'n': - iterations = ACE_OS::atoi (get_opt.optarg); - break; - case 'i': - ignore_deadlock = 1; - break; - case 'u': - // usage: fallthrough - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n" - "[-i ignore deadlock]\n" - "[-n <iterations>]\n" - "[-R <reads>]\n" - "[-r use remote locks]\n" - "[-d debug]\n" - "[-s sleep during writes]\n" - "[-t <threads>\n", 1), -1); - break; - } - } - - return 0; -} - -int -main (int argc, char* argv[]) -{ - if (parse_args (argc, argv) == -1) - return -1; - - if (remote) - { - ACE_Remote_Mutex::set_server_address (ACE_INET_Addr (server_port, server_host)); - global_rlock = (ACE_Token_Proxy *) new - ACE_Remote_RLock ("THE_TOKEN", ignore_deadlock, debug); - global_wlock = (ACE_Token_Proxy *) new - ACE_Remote_WLock ("THE_TOKEN", ignore_deadlock, debug); - } - else - { - global_rlock = (ACE_Token_Proxy *) new - ACE_Local_RLock ("THE_TOKEN", ignore_deadlock, debug); - global_wlock = (ACE_Token_Proxy *) new - ACE_Local_WLock ("THE_TOKEN", ignore_deadlock, debug); - } - - ACE_Thread_Manager mgr; - - if (mgr.spawn_n (threads, ACE_THR_FUNC (run_thread), - (void *) &0, - THR_BOUND | THR_SUSPENDED) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "spawn failed"), -1); - - if (mgr.resume_all () == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "resume failed"), -1); - - mgr.wait (); - - return 0; -} - -#else -int -main (int, char *[]) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "threads not supported on this platform\n"), -1); -} -#endif /* ACE_HAS_THREADS */ diff --git a/netsvcs/clients/Tokens/deadlock/Makefile b/netsvcs/clients/Tokens/deadlock/Makefile deleted file mode 100644 index 47059059b37..00000000000 --- a/netsvcs/clients/Tokens/deadlock/Makefile +++ /dev/null @@ -1,108 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for repeating token client application -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = deadlock_detection_test - -FILES = deadlock_detection_test - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) -SHOBJ = $(addsuffix .so,$(FILES)) - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/deadlock_detection_test.o .obj/deadlock_detection_test.so .shobj/deadlock_detection_test.o .shobj/deadlock_detection_test.so: deadlock_detection_test.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.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.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Token_Manager.h \ - $(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.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.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/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Local_Tokens.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Local_Tokens.i \ - $(ACE_ROOT)/ace/Token_Manager.i \ - $(ACE_ROOT)/ace/Remote_Tokens.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.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_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Token_Request_Reply.h \ - $(ACE_ROOT)/ace/Token_Request_Reply.i \ - $(ACE_ROOT)/ace/Remote_Tokens.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Token_Invariants.h \ - $(ACE_ROOT)/ace/Token_Invariants.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Tokens/deadlock/README b/netsvcs/clients/Tokens/deadlock/README deleted file mode 100644 index 74fffde05cd..00000000000 --- a/netsvcs/clients/Tokens/deadlock/README +++ /dev/null @@ -1,98 +0,0 @@ - -deadlock_detection_test - -This example contains two deadlock tests, mutex and rwlock tests. -% ./deadlock_detection_test -u -./deadlock_detection_test: -[-r test readers/writer locks] -[-n <iterations>] -[-h <remote host>] -[-p <remote port>] -[-i ignore deadlock] - -For both mutex and rwlock tests, -h and -p specify to use remote -mutexes. -i specifies to ignore deadlock. -n is repetitions through -the respective algorithms (default 100). Both tests also use Token -Invariants to ensure correctness of the mutexes and readers/writer -locks. - ------------------------------------------------------------- - -If you run ./deadlock_detection_test without -r, then the following -mutex test is run. - -The mutex test spawns two threads which attempt to deadlock. -Logically, there are two tokens A and B. Here is what both threads -try to do: - -Thread 1 Thread 2 --------- -------- -Repeat 100 times Repeat 100 times - acquire A acquire B - acquire B acquire A - release A and B release A and B -repeat repeat - -Notice that A and B are reversed in 1 and 2. If the token manager -(which is not in the public interface, but hidden behind -ACE_Local_Mutex) works properly, they should detect the deadlock. If -a thread detects deadlock, the resources held are released, and it -starts the whole process over again. - -What can be confusing about the test program is all the other tricks -I'm pulling to test other aspects of the library. For instance, I'm -using both "global" and "local" ACE_Local_Mutexes. This is to test -the ability to have multiple threads using one token proxy as well as -multiple threads each using their own proxies. All the while, the -same logical token is being used. If this doesn't make sense, don't -worry about it. Just use the ACE_Local_Mutex any way you want. - -Another confusing trick is that I'm testing recursive acquisition. -(Two acquires in a row.) I have to make sure that the token manager -doesn't detect a recursive acquire as deadlock. - -To run a test, simply type: -% ./deadlock_detection_test - -This should run 100 times through the above pseudo code. If the -application halts, then we have trouble. It should never ever halt. -I've included a little flag with the ACE_Local_Mutex class to allow -deadlock detection to be ignored. So, if you run the test as follows, -deadlock detection will be ignored. - -% ./deadlock_detection_test -i - -In this case, the application should only run about a second before -deadlock occurs and the application halts. This is good. - ------------------------------------------------------------- - -If you run ./deadlock_detection_test *with* -r, then the following -rwlock test is run: - -There are four tokens and four threads in the rwlock test. The -readers/writer tokens are: - -reader first -writer first 1 -writer first 2 -writer first 3 - -There are three reader threads that only acquire reader locks on the -above tokens. Each of the reader threads first acquire "reader first" -and then one "writer first <tid>" (where <tid> is the corresponding -thread's id). So reader thread 1 acquires "reader first" and then -"writer first 1". - -There is a single writer thread that uses the following algorithm: - -repeat 100 - acquire "writer first 1" - acquire "reader first" - acquire "writer first 2" - acquire "reader first" - acquire "writer first 3" - acquire "reader first" - -This strange mix of readers and writer create an interesting graph of -tokens that the deadlock detection algorithm must traverse. diff --git a/netsvcs/clients/Tokens/deadlock/deadlock_detection_test.cpp b/netsvcs/clients/Tokens/deadlock/deadlock_detection_test.cpp deleted file mode 100644 index b36040e789a..00000000000 --- a/netsvcs/clients/Tokens/deadlock/deadlock_detection_test.cpp +++ /dev/null @@ -1,340 +0,0 @@ -// ============================================================================ -// $Id$ - -// -// = LIBRARY -// examples -// -// = FILENAME -// deadlock_detection_test.cpp -// -// = DESCRIPTION -// -// = AUTHOR -// Tim Harrison -// -// ============================================================================ - -#include "ace/OS.h" - -#include "ace/Token_Manager.h" -#include "ace/Remote_Tokens.h" -#include "ace/Thread.h" -#include "ace/Thread_Manager.h" -#include "ace/Get_Opt.h" -#include "ace/Token_Invariants.h" - -#if defined (ACE_HAS_THREADS) - -typedef ACE_Token_Invariant_Manager ACE_TOKEN_INVARIANTS; - -static ACE_Token_Proxy *global_mutex; - -struct Two_Tokens -{ -public: - Two_Tokens (ACE_Thread_Manager *tm): thr_mgr_ (tm) {} - ACE_Token_Proxy *first_; - ACE_Token_Proxy *second_; - ACE_Thread_Manager *thr_mgr_; -}; - -struct Four_Tokens -{ -public: - Four_Tokens (ACE_Thread_Manager *tm): thr_mgr_ (tm) {} - ACE_Token_Proxy *first1_; - ACE_Token_Proxy *first2_; - ACE_Token_Proxy *first3_; - ACE_Token_Proxy *second_; - ACE_Thread_Manager *thr_mgr_; -}; - -static int ignore_deadlock = 0; -static int remote_mutexes = 0; -static char *server_host = ACE_DEFAULT_SERVER_HOST; -static int server_port = ACE_DEFAULT_SERVER_PORT; -static int iterations = 100; -static int rwlocks = 0; - -static void * -two_token_thread (void *vp) -{ - Two_Tokens* tm = (Two_Tokens *) vp; - - for (int x = 0; x < iterations; x++) - { - if (tm->first_->acquire () == -1) - { - ACE_DEBUG ((LM_DEBUG, "Deadlock detected\n")); - continue; - } - - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (tm->first_) == 0) - { - tm->first_->dump (); - ACE_ERROR_RETURN ((LM_ERROR, "violated invariant.\n"), 0); - } - - if (tm->second_->acquire () == -1) - { - ACE_DEBUG ((LM_DEBUG, "Deadlock Detected\n")); - goto G1; - } - - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (tm->second_) == 0) - { - tm->second_->dump (); - ACE_ERROR_RETURN ((LM_ERROR, "violated invariant.\n"), 0); - } - - ACE_TOKEN_INVARIANTS::instance ()->releasing (tm->second_); - - tm->second_->release (); - G1: - ACE_TOKEN_INVARIANTS::instance ()->releasing (tm->first_); - - tm->first_->release (); - } - - ACE_DEBUG ((LM_DEBUG, "thread %t exiting\n")); - return 0; -} - -static void * -run_writer (void *vp) -{ - Four_Tokens *ft = (Four_Tokens *) vp; - int acquire_number = 0; - - for (int x = 0; x < iterations; x++) - { - // Cycle through each of the first three tokens. - ACE_Token_Proxy *t = 0; - switch (acquire_number) - { - case 0: - t = ft->first1_; - break; - case 1: - t = ft->first2_; - break; - case 2: - t = ft->first3_; - break; - } - - acquire_number = (acquire_number + 1) % 3; - - if (t->acquire () == -1) - { - ACE_ASSERT (errno == EDEADLK); - ACE_DEBUG ((LM_DEBUG, "Deadlock detected.\n")); - continue; - } - - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (t) == 0) - { - t->dump (); - ACE_ERROR_RETURN ((LM_ERROR, "violated invariant.\n"), 0); - } - - if (ft->second_->acquire () == -1) - { - ACE_ASSERT (errno == EDEADLK); - ACE_DEBUG ((LM_DEBUG, "Deadlock Detected..\n")); - goto G1; - } - - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (ft->second_) == 0) - { - ft->second_->dump (); - ACE_ERROR_RETURN ((LM_ERROR, "violated invariant.\n"), 0); - } - - ACE_TOKEN_INVARIANTS::instance ()->releasing (ft->second_); - - ft->second_->release (); - G1: - ACE_TOKEN_INVARIANTS::instance ()->releasing (t); - - t->release (); - } - - ACE_DEBUG ((LM_DEBUG, "thread %t exiting\n")); - return 0; -} - -static int -parse_args (int argc, char *argv[]) -{ - ACE_LOG_MSG->open (argv[0]); - - ACE_Get_Opt get_opt (argc, argv, "iuh:rp:n:", 1); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'r': - rwlocks = 1; - break; - case 'i': - ignore_deadlock = 1; - break; - case 'h': - server_host = get_opt.optarg; - remote_mutexes = 1; - break; - case 'p': - server_port = ACE_OS::atoi (get_opt.optarg); - remote_mutexes = 1; - break; - case 'n': - iterations = ACE_OS::atoi (get_opt.optarg); - break; - case 'u': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n" - "[-r test readers/writer locks]\n" - "[-n <iterations>]\n" - "[-h <remote host>]\n" - "[-p <remote port>]\n" - "[-i ignore deadlock]\n%a", 1), -1); - } - } - - return 0; -} - -int -mutex_test (void) -{ - ACE_Thread_Manager thr_mgr; - - Two_Tokens one (&thr_mgr); - Two_Tokens two (&thr_mgr); - - if (remote_mutexes == 0) - { - global_mutex = new ACE_Local_Mutex ("global proxy", ignore_deadlock, 1); - one.first_ = new ACE_Local_Mutex ("local proxy", ignore_deadlock, 1); - two.second_ = new ACE_Local_Mutex ("local proxy", ignore_deadlock, 1); - } - else - { - ACE_Remote_Mutex::set_server_address (ACE_INET_Addr (server_port, server_host)); - global_mutex = new ACE_Remote_Mutex ("global proxy", ignore_deadlock, 1); - one.first_ = new ACE_Remote_Mutex ("local proxy", ignore_deadlock, 1); - two.second_ = new ACE_Remote_Mutex ("local proxy", ignore_deadlock, 1); - } - - one.second_ = global_mutex; - two.first_ = global_mutex; - - // Tell the token manager to be verbose when reporting deadlock. - ACE_Token_Manager::instance ()->debug (1); - - if (thr_mgr.spawn (ACE_THR_FUNC (two_token_thread), - (void *) &one, THR_BOUND) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "first spawn"), -1); - - if (thr_mgr.spawn (ACE_THR_FUNC (two_token_thread), - (void *) &two, THR_BOUND) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "second spawn"), -1); - - // Wait for all threads to exit. - thr_mgr.wait (); - - return 0; -} - -static int -rwlock_test (void) -{ - ACE_Thread_Manager thr_mgr; - - Two_Tokens reader1 (&thr_mgr); - Two_Tokens reader2 (&thr_mgr); - Two_Tokens reader3 (&thr_mgr); - Four_Tokens writer (&thr_mgr); - - if (remote_mutexes == 0) - { - reader1.first_ = new ACE_Local_RLock ("reader first", ignore_deadlock, 1); - reader1.second_ = new ACE_Local_RLock ("writer first 1", ignore_deadlock, 1); - reader2.first_ = new ACE_Local_RLock ("reader first", ignore_deadlock, 1); - reader2.second_ = new ACE_Local_RLock ("writer first 2", ignore_deadlock, 1); - reader3.first_ = new ACE_Local_RLock ("reader first", ignore_deadlock, 1); - reader3.second_ = new ACE_Local_RLock ("writer first 3", ignore_deadlock, 1); - - writer.first1_ = new ACE_Local_WLock ("writer first 1", ignore_deadlock, 1); - writer.first2_ = new ACE_Local_WLock ("writer first 2", ignore_deadlock, 1); - writer.first3_ = new ACE_Local_WLock ("writer first 3", ignore_deadlock, 1); - writer.second_ = new ACE_Local_WLock ("reader first", ignore_deadlock, 1); - } - else - { - ACE_Remote_Mutex::set_server_address (ACE_INET_Addr (server_port, server_host)); - - reader1.first_ = new ACE_Remote_RLock ("writer first 1", ignore_deadlock, 1); - reader1.second_ = new ACE_Remote_RLock ("reader first", ignore_deadlock, 1); - reader2.first_ = new ACE_Remote_RLock ("writer first 2", ignore_deadlock, 1); - reader2.second_ = new ACE_Remote_RLock ("reader first", ignore_deadlock, 1); - reader3.first_ = new ACE_Remote_RLock ("writer first 3", ignore_deadlock, 1); - reader3.second_ = new ACE_Remote_RLock ("reader first", ignore_deadlock, 1); - - writer.first1_ = new ACE_Remote_WLock ("writer first 1", ignore_deadlock, 1); - writer.first2_ = new ACE_Remote_WLock ("writer first 2", ignore_deadlock, 1); - writer.first3_ = new ACE_Remote_WLock ("writer first 3", ignore_deadlock, 1); - writer.second_ = new ACE_Remote_WLock ("reader first", ignore_deadlock, 1); - } - - // Tell the token manager to be verbose when reporting deadlock. - ACE_Token_Manager::instance ()->debug (1); - - if (thr_mgr.spawn (ACE_THR_FUNC (two_token_thread), - (void *) &reader1, THR_BOUND) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "first spawn"), -1); - - if (thr_mgr.spawn (ACE_THR_FUNC (two_token_thread), - (void *) &reader2, THR_BOUND) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "first spawn"), -1); - - if (thr_mgr.spawn (ACE_THR_FUNC (two_token_thread), - (void *) &reader3, THR_BOUND) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "first spawn"), -1); - - if (thr_mgr.spawn (ACE_THR_FUNC (run_writer), - (void *) &writer, THR_BOUND) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "second spawn"), -1); - - // Wait for all threads to exit. - thr_mgr.wait (); - - return 0; -} - -int -main (int argc, char* argv[]) -{ - if (parse_args (argc, argv) == -1) - return -1; - - if (rwlocks) - rwlock_test (); - else - mutex_test (); - - ACE_DEBUG ((LM_DEBUG, "test exiting.\n")); - return 0; -} -#else -int -main (int, char *[]) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "threads not supported on this platform\n"), -1); -} -#endif /* ACE_HAS_THREADS */ diff --git a/netsvcs/clients/Tokens/invariant/Makefile b/netsvcs/clients/Tokens/invariant/Makefile deleted file mode 100644 index 740d4f66b9d..00000000000 --- a/netsvcs/clients/Tokens/invariant/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for repeating token client application -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = invariant - -FILES = invariant - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) -SHOBJ = $(addsuffix .so,$(FILES)) - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/invariant.o .obj/invariant.so .shobj/invariant.o .shobj/invariant.so: invariant.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.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.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(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.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.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/Singleton.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Token_Invariants.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Local_Tokens.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Local_Tokens.i \ - $(ACE_ROOT)/ace/Token_Invariants.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Tokens/invariant/README b/netsvcs/clients/Tokens/invariant/README deleted file mode 100644 index f078c2d6be4..00000000000 --- a/netsvcs/clients/Tokens/invariant/README +++ /dev/null @@ -1,27 +0,0 @@ - -invariants.cpp tests the ACE Token Invariant utilities. The ACE Token -Invariant utilities allow an application to test the correctness of -mutex and readers/writer locks. - -invariants.cpp takes no command-line arguments. invariants.cpp first -tests readers/writer locks. This is done by spawning two threads -which simulate reader and writer acquire/renew/release loops. -However, the loops are performed without actual locks, so the -competing threads quickly reach and invalid state. The test should -report this violation of readers/writer lock invariants and both -threads should exit. - -The second test is for mutexes. Similar to the readers/writer lock -test, this test spawns two threads which perform acquire/renew/release -loops. When to two threads reach an invalid mutex state, the error -should be reported and the threads should exit. - -For these two previous tests, it is theoretically possible that the -threads never reach an invalid token state. However, it is highly -unlikely since the threads would have to execute the same code -simultaneously for the duration of the test. Nevertheless, it is -possible. - -The last test hardwires invalid token states. It runs two mutex and -two readers/writer lock tests. It should report "succeeded" for the -four tests. diff --git a/netsvcs/clients/Tokens/invariant/invariant.cpp b/netsvcs/clients/Tokens/invariant/invariant.cpp deleted file mode 100644 index 1dfbbe592d2..00000000000 --- a/netsvcs/clients/Tokens/invariant/invariant.cpp +++ /dev/null @@ -1,196 +0,0 @@ -// ============================================================================ -// $Id$ - -// -// = LIBRARY -// examples -// -// = FILENAME -// invariant.cpp -// -// = DESCRIPTION -// -// = AUTHOR -// Tim Harrison -// -// ============================================================================ - -#include "ace/OS.h" - -#include "ace/Get_Opt.h" -#include "ace/Singleton.h" -#include "ace/Thread_Manager.h" -#include "ace/Token_Invariants.h" - -#if defined (ACE_HAS_THREADS) - -typedef ACE_Token_Invariant_Manager ACE_TOKEN_INVARIANTS; - -static char * rwname = "reader/writer"; -static char * mutexname = "mutex"; - -static void * -run_reader_writer (void *) -{ - for (int x = 0; x < 50; x++) - { - int y = 0; - for (; y < 5; y++) - { - if (ACE_TOKEN_INVARIANTS::instance ()->reader_acquired (rwname) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "reader acquire violated invariant.\n"), 0); - - ACE_DEBUG ((LM_DEBUG, "(%t) rlock acquired.\n")); - } - - ACE_TOKEN_INVARIANTS::instance ()->rwlock_releasing (rwname); - - if (ACE_TOKEN_INVARIANTS::instance ()->reader_acquired (rwname) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "reader renew violated invariant.\n"), 0); - - ACE_DEBUG ((LM_DEBUG, "(%t) rlock renewed.\n")); - - for (; y > 0; y--) - { - ACE_TOKEN_INVARIANTS::instance ()->rwlock_releasing (rwname); - ACE_DEBUG ((LM_DEBUG, "(%t) r-released.\n")); - } - - if (ACE_TOKEN_INVARIANTS::instance ()->writer_acquired (rwname) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "writer acquire violated invariant.\n"), 0); - - ACE_DEBUG ((LM_DEBUG, "\t\t(%t) wlock acquired.\n")); - - ACE_TOKEN_INVARIANTS::instance ()->rwlock_releasing (rwname); - - if (ACE_TOKEN_INVARIANTS::instance ()->writer_acquired (rwname) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "writer renew violated invariant.\n"), 0); - - ACE_DEBUG ((LM_DEBUG, "(%t) rlock renewed.\n")); - - ACE_TOKEN_INVARIANTS::instance ()->rwlock_releasing (rwname); - } - - ACE_DEBUG ((LM_DEBUG, "(%t) thread exiting.\n")); - return 0; -} - -static void * -run_mutex (void *) -{ - for (int x = 0; x < 50; x++) - { - if (ACE_TOKEN_INVARIANTS::instance ()->mutex_acquired (mutexname) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "mutex acquire violated invariant.\n"), 0); - - ACE_DEBUG ((LM_DEBUG, "(%t) mutex acquired.\n")); - - ACE_TOKEN_INVARIANTS::instance ()->mutex_releasing (mutexname); - - if (ACE_TOKEN_INVARIANTS::instance ()->mutex_acquired (mutexname) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "mutex renew violated invariant.\n"), 0); - - ACE_DEBUG ((LM_DEBUG, "(%t) mutex renewed.\n")); - - ACE_TOKEN_INVARIANTS::instance ()->mutex_releasing (mutexname); - ACE_DEBUG ((LM_DEBUG, "(%t) mutex released.\n")); - } - - ACE_DEBUG ((LM_DEBUG, "(%t) thread exiting.\n")); - return 0; -} - -static int -run_final_test (void) -{ - ACE_DEBUG ((LM_DEBUG, "starting mutex tests 1 & 2\n")); - - // Mutex tests. - if (ACE_TOKEN_INVARIANTS::instance ()->mutex_acquired ("testing mutex") == 0) - ACE_ERROR_RETURN ((LM_ERROR, "mutex test 1 failed.\n"), 0); - if (ACE_TOKEN_INVARIANTS::instance ()->mutex_acquired ("testing mutex2") == 0) - ACE_ERROR_RETURN ((LM_ERROR, "mutex test 2 failed.\n"), 0); - if (ACE_TOKEN_INVARIANTS::instance ()->mutex_acquired ("testing mutex") == 0) - ACE_DEBUG ((LM_DEBUG, "mutex test 1 succeeded.\n")); - else - ACE_ERROR_RETURN ((LM_ERROR, "mutex test 1 failed..\n"), 0); - - if (ACE_TOKEN_INVARIANTS::instance ()->mutex_acquired ("testing mutex2") == 0) - ACE_DEBUG ((LM_DEBUG, "mutex test 2 succeeded.\n")); - else - ACE_ERROR_RETURN ((LM_ERROR, "mutex test 2 failed..\n"), 0); - - // RW tests. - ACE_DEBUG ((LM_DEBUG, "starting rwlock tests 1 & 2\n")); - - // Multiple readers. - if (ACE_TOKEN_INVARIANTS::instance ()->reader_acquired ("testing rwlock") == 0) - ACE_ERROR_RETURN ((LM_ERROR, "rwlock test 1 failed.\n"), 0); - if (ACE_TOKEN_INVARIANTS::instance ()->reader_acquired ("testing rwlock 2") == 0) - ACE_ERROR_RETURN ((LM_ERROR, "rwlock test 2 failed.\n"), 0); - if (ACE_TOKEN_INVARIANTS::instance ()->reader_acquired ("testing rwlock") == 0) - ACE_ERROR_RETURN ((LM_ERROR, "rwlock test 1 failed..\n"), 0); - if (ACE_TOKEN_INVARIANTS::instance ()->reader_acquired ("testing rwlock 2") == 0) - ACE_ERROR_RETURN ((LM_ERROR, "rwlock test 2 failed..\n"), 0); - - // Writer. - if (ACE_TOKEN_INVARIANTS::instance ()->writer_acquired ("testing rwlock") == 0) - ACE_DEBUG ((LM_ERROR, "rwlock test 1 succeded.\n")); - else - ACE_ERROR_RETURN ((LM_ERROR, "rwlock test 1 failed...\n"), 0); - - // Releasing reader. - ACE_TOKEN_INVARIANTS::instance ()->rwlock_releasing ("testing rwlock 2"); - ACE_TOKEN_INVARIANTS::instance ()->rwlock_releasing ("testing rwlock 2"); - - // Writer. - if (ACE_TOKEN_INVARIANTS::instance ()->writer_acquired ("testing rwlock 2") == 0) - ACE_ERROR_RETURN ((LM_ERROR, "rwlock test 2 failed....\n"), 0); - - // Reader. - if (ACE_TOKEN_INVARIANTS::instance ()->reader_acquired ("testing rwlock 2") == 0) - ACE_DEBUG ((LM_DEBUG, "rwlock test 2 succeeded.\n")); - else - ACE_ERROR_RETURN ((LM_ERROR, "rwlock test 2 failed.....\n"), 0); - - return 0; -} - -int -main (int /* argc */, char* /* argv */ []) -{ - ACE_Thread_Manager mgr; - - // Run reader/writer test - if (mgr.spawn_n (2, ACE_THR_FUNC (run_reader_writer), - (void *) 0, - THR_NEW_LWP | THR_DETACHED) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "spawn failed"), -1); - - mgr.wait (); - - ACE_OS::sleep (2); - - // Run mutex test. - if (mgr.spawn_n (2, ACE_THR_FUNC (run_mutex), - (void *) 0, - THR_NEW_LWP | THR_DETACHED) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "spawn failed"), -1); - - mgr.wait (); - - ACE_OS::sleep (2); - - run_final_test (); - - return 0; -} - -#else -int -main (int, char *[]) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "threads not supported on this platform\n"), -1); -} -#endif /* ACE_HAS_THREADS */ diff --git a/netsvcs/clients/Tokens/manual/Makefile b/netsvcs/clients/Tokens/manual/Makefile deleted file mode 100644 index 480195f332d..00000000000 --- a/netsvcs/clients/Tokens/manual/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for repeating token client application -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = manual - -FILES = manual - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.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 - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - - - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Tokens/manual/README b/netsvcs/clients/Tokens/manual/README deleted file mode 100644 index 09b9b9a365a..00000000000 --- a/netsvcs/clients/Tokens/manual/README +++ /dev/null @@ -1,67 +0,0 @@ - -./manual gives users a text-based interactive interface to local or -remote tokens. This is extremely useful for manually testing the -token server and setting up deadlock scenarios. - -Run it as follows - -% ./manual -u -./manual: -[-h <remote host>] -[-p <remote port>] -[-i ignore deadlock] -[-d debug] - -./manual gives you the following prompt. -<tid> <token> <type> <operation> - -<tid> This is the client id of the current operation. This is set - manually by ./manual for every operation. Be careful when - using multiple <tid>'s during a remote session (see BUGS - below). - -<token> This is the name of the token for the operation. - -<type> This is the type of the token. This can be: - M - Corresponds to a Mutex lock. - R - Corresponds to Readers/Writer lock. - W - Corresponds to Readers/Writer lock. - Obviously, a single <token> can be M or it can R and/or W. If - you perform and operation like this "tid1 tokenA M A" then - don't do this "tid1 tokenA R A". This doesn't make sense. - -<operation> This is the operation to perform on the - <tid>-<token>-<type> proxy. These include: - A - acquire. - N - renew. - R - release. - T - tryacquire. - -BUGS!!!! - -When performing remote tests, be careful when using a single running -./manual to impersonate two <tid>'s. The Token Server client -connection policy is currently, one per thread. The Token Server -assumes that the same <tid> is always on the other end of a -connection. If you do something like the following, you will break -it: - -lambada:Tokens/manual> ./manual -h tango -p 20202 -<tid> <token> <type> <operation> -tid1 tokenA M A -ACE_TSS_Connection new connection -(1) acquired tokenA remotely. -Succeeded. -<tid> <token> <type> <operation> -tid2 tokenA M A -(1) acquired tokenA remotely. <------ This is remote BADness!!! -Succeeded. -Violated invariant. <------ Locally detected badness. -<tid> <token> <type> <operation> - - -Notice that the local side discovered that this was incorrect. -However, the Token Server thinks it was a recursive acquisition for -tid1. Keep in mind that this is not a problem with the Token library. -It is just a problem with how this primitive ./manual application maps -STDIN to the ACE Token API. diff --git a/netsvcs/clients/Tokens/manual/manual.cpp b/netsvcs/clients/Tokens/manual/manual.cpp deleted file mode 100644 index ea2de75d696..00000000000 --- a/netsvcs/clients/Tokens/manual/manual.cpp +++ /dev/null @@ -1,366 +0,0 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// examples -// -// = FILENAME -// manual.cpp -// -// = DESCRIPTION -// Allows manual operations on local and remote tokens. -// -// = AUTHOR -// Tim Harrison -// -// ============================================================================ - -#include "ace/OS.h" -#include "ace/Get_Opt.h" -#include "ace/Local_Tokens.h" -#include "ace/Remote_Tokens.h" -#include "ace/Singleton.h" -#include "ace/Thread_Manager.h" -#include "ace/Token_Invariants.h" -#include "ace/Token_Collection.h" -#include "ace/Map_Manager.h" -#include "ace/Service_Config.h" - -typedef ACE_Token_Invariant_Manager ACE_TOKEN_INVARIANTS; - -class STDIN_Token : public ACE_Event_Handler - // = TITLE - // STDIN Token - // - // = DESCRIPTION - // Translates STDIN commands to ACE Token commands. -{ -public: - STDIN_Token (void); - // Construction. - - int parse_args (int argc, char *argv[]); - // Parse command-line arguments. - - int open (int argc, char *argv[]); - // Register with whatever event dispatcher is needed and run. - - // = Event_Handler methods. - int handle_input (ACE_HANDLE); - int handle_exception (ACE_HANDLE); - - typedef ACE_CString TID; - -private: - - void display_menu (void); - // Display options. - - ACE_Token_Proxy *get_proxy (const char *tid, const char *token, char type); - // Get or make a proxy to <token> with a <tid> client id. - - ACE_Token_Proxy *create_proxy (const char *token, char type); - // Create a proxy to <token> with a <tid> client id. - - // = Mapping from tid to Token_Collection. - typedef ACE_Map_Manager<TID, ACE_Token_Collection *, ACE_Null_Mutex> - COLLECTIONS; - // COLLECTION maintains a mapping from tid to a collection. - - typedef ACE_Map_Iterator<TID, ACE_Token_Collection *, ACE_Null_Mutex> - COLLECTIONS_ITERATOR; - // Allows iterations through collections_. - - typedef ACE_Map_Entry<TID, ACE_Token_Collection *> - COLLECTIONS_ENTRY; - // Allows iterations through collections_. - - COLLECTIONS collections_; - // A collection for each <tid>. - - char *server_host_; - int server_port_; - int ignore_deadlock_; - int debug_; - int remote_; -}; - -STDIN_Token::STDIN_Token (void) -: server_host_ (ACE_DEFAULT_SERVER_HOST), - server_port_ (ACE_DEFAULT_SERVER_PORT), - ignore_deadlock_ (0), - debug_ (0), - remote_ (0) -{ -} - -int -STDIN_Token::parse_args (int argc, char *argv[]) -{ - ACE_LOG_MSG->open (argv[0], ACE_Log_Msg::STDERR); - - ACE_Get_Opt get_opt (argc, argv, "h:p:diu", 1); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'h': // specify the host machine on which the server is running - server_host_ = get_opt.optarg; - remote_ = 1; - break; - case 'p': // specify the port on which the server is running - server_port_ = ACE_OS::atoi (get_opt.optarg); - remote_ = 1; - break; - case 'd': - debug_ = 1; - break; - case 'i': - ignore_deadlock_ = 1; - break; - case 'u': - // usage: fallthrough - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n" - "[-h <remote host>]\n" - "[-p <remote port>]\n" - "[-i ignore deadlock]\n" - "[-d debug]\n", 1), -1); - } - } - - if (remote_) - ACE_Remote_Mutex::set_server_address (ACE_INET_Addr (server_port_, server_host_)); - - return 0; -} - -int -STDIN_Token::open (int argc, char *argv[]) -{ - if (this->parse_args (argc, argv) == -1) - return -1; - - // Register for signals. - if (ACE_Reactor::instance ()->register_handler - (SIGINT, this) == -1) - ACE_DEBUG ((LM_DEBUG, "Can't register signal handler\n")); - -#if (ACE_WIN32) - -#else - // Register for STDIN events with Reactor. - if (ACE_Reactor::instance ()->register_handler - (ACE_STDIN, this, ACE_Event_Handler::READ_MASK) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "Can't register signal handler\n"), 0); - - -#endif /* ACE_WIN32 */ - - - this->display_menu (); - -#if (ACE_WIN32) - -#else - ACE_Reactor::run_event_loop (); -#endif /* ACE_WIN32 */ - - ACE_OS::printf ("Exiting...\n"); - return 0; -} - -int -STDIN_Token::handle_input (ACE_HANDLE fd) -{ - ACE_UNUSED_ARG (fd); - - char tid[BUFSIZ]; - char token[BUFSIZ]; - char type[16]; - char operation[16]; - - if (::scanf ("%s %s %s %s", tid, token, type, operation) <= 0) - { - ACE_OS::printf ("Try again.\n"); - return 0; - } - - ACE_Token_Proxy *proxy = - this->get_proxy (tid, token, type[0]); - - if (proxy == 0) - return -1; - - switch (operation[0]) - { - case 'a': - case 'A': - if (proxy->acquire () == 0) - { - ACE_OS::printf ("Succeeded.\n"); - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (proxy) == 0) - ACE_OS::printf ("Violated invariant.\n"); - } - else - ACE_ERROR ((LM_ERROR, "%p.\n", "Acquire failed")); - break; - - case 'n': - case 'N': - ACE_TOKEN_INVARIANTS::instance ()->releasing (proxy); - if (proxy->renew () == 0) - { - ACE_OS::printf ("Succeeded.\n"); - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (proxy) == 0) - ACE_OS::printf ("Violated invariant.\n"); - } - else - ACE_ERROR ((LM_ERROR, "%p.\n", "Renew failed")); - break; - - case 'r': - case 'R': - ACE_TOKEN_INVARIANTS::instance ()->releasing (proxy); - if (proxy->release () == 0) - ACE_OS::printf ("Succeeded.\n"); - else - ACE_ERROR ((LM_ERROR, "%p.\n", "Release failed")); - break; - - case 't': - case 'T': - if (proxy->tryacquire () == 0) - { - ACE_OS::printf ("Succeeded.\n"); - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (proxy) == 0) - ACE_OS::printf ("Violated invariant.\n"); - } - else - ACE_ERROR ((LM_ERROR, "%p.\n", "Tryacquire failed")); - break; - } - - this->display_menu (); - return 0; -} - -void -STDIN_Token::display_menu (void) -{ - ACE_OS::printf ("<tid> <token> <type> <operation>\n"); -} - -int -STDIN_Token::handle_exception (ACE_HANDLE fd) -{ - ACE_UNUSED_ARG (fd); - - ACE_Reactor::run_event_loop (); - return -1; -} - -ACE_Token_Proxy * -STDIN_Token::get_proxy (const char *_tid, const char *token, char type) -{ - ACE_Token_Collection *proxy_collection; - - TID tid (_tid); - - if (collections_.find (tid, proxy_collection) == -1) - // We did not find a proxy_collection. - { - // Make one. - proxy_collection = new ACE_Token_Collection (debug_, "no name collection"); - - // Put it in the collections. - if (collections_.bind (tid, proxy_collection) == -1) - { - delete proxy_collection; - return 0; - } - } - - // Either way, we have a proxy_collection now. - - // See if the proxy already exists in the collection. - ACE_Token_Proxy *proxy = proxy_collection->is_member (token); - - // If not, create one. - if (proxy == 0) - { - proxy = this->create_proxy (token, type); - - // Put the new_proxy in this tid's collection. - if (proxy_collection->insert (*proxy) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "insert failed\n"), 0); - - // Delete our copy (one was created in the collection). - delete proxy; - proxy = proxy_collection->is_member (token); - - if (proxy == 0) - ACE_ERROR_RETURN ((LM_ERROR, "is_member failed\n"), 0); - - // Set the client_id (it was set to 1 since we're - // single-threaded. - proxy->client_id (_tid); - } - - return proxy; -} - -ACE_Token_Proxy * -STDIN_Token::create_proxy (const char *token, char type) -{ - switch (type) - { - case 'm': - case 'M': - if (remote_) - return new ACE_Remote_Mutex (token, ignore_deadlock_, debug_); - else - return new ACE_Local_Mutex (token, ignore_deadlock_, debug_); - - case 'r': - case 'R': - if (remote_) - return new ACE_Remote_RLock (token, ignore_deadlock_, debug_); - else - return new ACE_Local_RLock (token, ignore_deadlock_, debug_); - - case 'w': - case 'W': - if (remote_) - return new ACE_Remote_WLock (token, ignore_deadlock_, debug_); - else - return new ACE_Local_WLock (token, ignore_deadlock_, debug_); - } - - // should never get here, but this avoids a compiler warning . . . - return 0; -} - -int -main (int argc, char* argv[]) -{ - STDIN_Token st; - return st.open (argc, argv); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Map_Entry<STDIN_Token::TID, ACE_Token_Collection *>; -template class ACE_Map_Manager<STDIN_Token::TID, ACE_Token_Collection *, ACE_Null_Mutex>; -template class ACE_Map_Iterator_Base<STDIN_Token::TID, ACE_Token_Collection *, ACE_Null_Mutex>; -template class ACE_Map_Iterator<STDIN_Token::TID, ACE_Token_Collection *, ACE_Null_Mutex>; -template class ACE_Map_Reverse_Iterator<STDIN_Token::TID, ACE_Token_Collection *, ACE_Null_Mutex>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Map_Entry<STDIN_Token::TID, ACE_Token_Collection *> -#pragma instantiate ACE_Map_Manager<STDIN_Token::TID, ACE_Token_Collection *, ACE_Null_Mutex> -#pragma instantiate ACE_Map_Iterator_Base<STDIN_Token::TID, ACE_Token_Collection *, ACE_Null_Mutex> -#pragma instantiate ACE_Map_Iterator<STDIN_Token::TID, ACE_Token_Collection *, ACE_Null_Mutex> -#pragma instantiate ACE_Map_Reverse_Iterator<STDIN_Token::TID, ACE_Token_Collection *, ACE_Null_Mutex> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/netsvcs/clients/Tokens/mutex/Makefile b/netsvcs/clients/Tokens/mutex/Makefile deleted file mode 100644 index 4355c4bf047..00000000000 --- a/netsvcs/clients/Tokens/mutex/Makefile +++ /dev/null @@ -1,104 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for repeating token client application -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = test_mutex - -FILES = test_mutex - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) -SHOBJ = $(addsuffix .so,$(FILES)) - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/test_mutex.o .obj/test_mutex.so .shobj/test_mutex.o .shobj/test_mutex.so: test_mutex.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.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.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Local_Tokens.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Local_Tokens.i \ - $(ACE_ROOT)/ace/Remote_Tokens.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.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_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Token_Request_Reply.h \ - $(ACE_ROOT)/ace/Token_Request_Reply.i \ - $(ACE_ROOT)/ace/Remote_Tokens.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Tokens/mutex/README b/netsvcs/clients/Tokens/mutex/README deleted file mode 100644 index cbd1e9c7d6c..00000000000 --- a/netsvcs/clients/Tokens/mutex/README +++ /dev/null @@ -1,23 +0,0 @@ - -test_mutex - -test_mutex tests ACE_Local_Mutex and ACE_Remote_Mutex with both local -and global proxies. "Local proxies" mean that each thread uses its -own proxy (but same logical token.) "Global proxy" means that all -threads access the same proxy (and, of course, the same logical -token.) - -test_mutex can take the number of threads to run from the -command-line. Thus, to run the test with one thread and local -mutexes, type: - -% ./test_mutex - -To run the test with 10 threads and local mutexes, type: - -% ./test_mutex -t 10 - -To run the test with 10 threads and remote mutexes, type: - -% ./test_mutex -t 10 -r - diff --git a/netsvcs/clients/Tokens/mutex/test_mutex.cpp b/netsvcs/clients/Tokens/mutex/test_mutex.cpp deleted file mode 100644 index 99921da4c6e..00000000000 --- a/netsvcs/clients/Tokens/mutex/test_mutex.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// ============================================================================ -// $Id$ - -// -// = LIBRARY -// examples -// -// = FILENAME -// test_mutex.cpp -// -// = DESCRIPTION -// -// = AUTHOR -// Tim Harrison -// -// ============================================================================ - -#include "ace/OS.h" - -#include "ace/Get_Opt.h" -#include "ace/Local_Tokens.h" -#include "ace/Remote_Tokens.h" -#include "ace/Thread.h" -#include "ace/Thread_Manager.h" - -#if defined (ACE_HAS_THREADS) - -static ACE_Token_Proxy *mutex; -static int remote_mutexes = 0; -static char *server_host = ACE_DEFAULT_SERVER_HOST; -static int server_port = ACE_DEFAULT_SERVER_PORT; -static int iterations = 100; -static int spawn_count = 2; - -static void * -run_test (void *) -{ - int count = iterations; - // test recursive acquisition of a global proxy - while (count--) - { - if (mutex->acquire () == -1) - { - ACE_ERROR ((LM_ERROR, "(%t) %p acquire failed\n","test_mutex")); - return (void *) -1; - } - -// mutex->acquire (); - if (mutex->renew () == -1) - { - ACE_ERROR ((LM_ERROR, "(%t) %p renew failed\n","test_mutex")); - return (void *) -1; - } - - if (mutex->release () == -1) - { - ACE_ERROR ((LM_ERROR, "(%t) %p release failed\n","test_mutex")); - return (void *) -1; - } - -// mutex->release (); - } - - return 0; -} - -static int -parse_args (int argc, char *argv[]) -{ - ACE_LOG_MSG->open (argv[0]); - - ACE_Get_Opt get_opt (argc, argv, "t:uh:p:n:", 1); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 't': - spawn_count = ACE_OS::atoi (get_opt.optarg); - break; - case 'h': // specify the host machine on which the server is running - server_host = get_opt.optarg; - remote_mutexes = 1; - break; - case 'p': // specify the port on which the server is running - server_port = ACE_OS::atoi (get_opt.optarg); - remote_mutexes = 1; - break; - case 'n': // specify the port on which the server is running - iterations = ACE_OS::atoi (get_opt.optarg); - break; - case 'u': - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n" - "[-h <remote host>]\n" - "[-p <remote port>]\n" - "[-n <iterations>]\n" - "[-t <threads>]\n" - "[-h <remote host>]\n" - "[-p <remote port>]\n", 1), -1); - /* NOTREACHED */ - } - } - - return 0; -} - -int -main (int argc, char *argv[]) -{ - ACE_Thread_Manager thread_mgr; - - if (parse_args (argc, argv) == -1) - return -1; - - if (remote_mutexes) - { - ACE_Remote_Mutex::set_server_address (ACE_INET_Addr (server_port, server_host)); - mutex = new ACE_Remote_Mutex ("Remote TOKEN", 0, 1); - } - else - { - mutex = new ACE_Local_Mutex ("Local TOKEN", 0, 1); - } - - if (thread_mgr.spawn_n (spawn_count, - ACE_THR_FUNC (run_test), - 0, - THR_BOUND) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "spawn"), -1); - - thread_mgr.wait (); - - return 0; -} -#else -int main (int, char *[]) -{ - ACE_ERROR_RETURN ((LM_ERROR, "you must have threads to run this test program\n"), -1); -} -#endif /* ACE_HAS_THREADS */ diff --git a/netsvcs/clients/Tokens/rw_lock/Makefile b/netsvcs/clients/Tokens/rw_lock/Makefile deleted file mode 100644 index af976c1a85b..00000000000 --- a/netsvcs/clients/Tokens/rw_lock/Makefile +++ /dev/null @@ -1,106 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for repeating token client application -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = rw_locks - -FILES = rw_locks - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(LSRC:%.cpp=$(VDIR)%.o) -SHOBJ = $(addsuffix .so,$(FILES)) - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/rw_locks.o .obj/rw_locks.so .shobj/rw_locks.o .shobj/rw_locks.so: rw_locks.cpp \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.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.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Local_Tokens.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Local_Tokens.i \ - $(ACE_ROOT)/ace/Remote_Tokens.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.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_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Token_Request_Reply.h \ - $(ACE_ROOT)/ace/Token_Request_Reply.i \ - $(ACE_ROOT)/ace/Remote_Tokens.i \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Token_Invariants.h \ - $(ACE_ROOT)/ace/Token_Invariants.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/clients/Tokens/rw_lock/README b/netsvcs/clients/Tokens/rw_lock/README deleted file mode 100644 index dabc0a3741d..00000000000 --- a/netsvcs/clients/Tokens/rw_lock/README +++ /dev/null @@ -1,40 +0,0 @@ - -test_rw_locks shows how to use ACE_Local_RLock, ACE_Local_WLock, -ACE_Remote_RLock, and ACE_Remote_WLock. - -Here are the options to test_rw_locks: -% ./test_rw_lock -u - -i ignore deadlock - -n <iterations> - -r <reads> - -d debug - -s sleep during writes - -t <threads> - -test_rw_locks spawns <threads> number of threads which perform the -following algorithm: - -for <iterations> - { - for <reads> - acquire read lock - for <reads> - release read lock - - acquire write lock - if (sleep during writes) - sleep for 1 second - release write lock - } - - -The output should show that multiple readers can acquire the lock for -reading simultaneously (note that this also tests recursive -acquisition.) When a writer lock is acquired, the output should show -that no thread holds a reader lock. - -To run a test, simply type: -% ./test_rw_lock - -This should show output as described above. - diff --git a/netsvcs/clients/Tokens/rw_lock/rw_locks.cpp b/netsvcs/clients/Tokens/rw_lock/rw_locks.cpp deleted file mode 100644 index 6c167490c7d..00000000000 --- a/netsvcs/clients/Tokens/rw_lock/rw_locks.cpp +++ /dev/null @@ -1,252 +0,0 @@ -// ============================================================================ -// $Id$ - -// -// = LIBRARY -// examples -// -// = FILENAME -// rw_locks.cpp -// -// = DESCRIPTION -// test_rw_locks shows how to use ACE_Local_RLock, ACE_Local_WLock, -// ACE_Remote_RLock, and ACE_Remote_WLock. -// -// = AUTHOR -// Tim Harrison -// -// ============================================================================ - -#include "ace/OS.h" - -#include "ace/Get_Opt.h" -#include "ace/Local_Tokens.h" -#include "ace/Remote_Tokens.h" -#include "ace/Thread_Manager.h" -#include "ace/Token_Invariants.h" - -#if defined (ACE_HAS_THREADS) - -typedef ACE_Token_Invariant_Manager ACE_TOKEN_INVARIANTS; - -static ACE_Token_Proxy *global_rlock; -static ACE_Token_Proxy *global_wlock; - -static char *server_host = ACE_DEFAULT_SERVER_HOST; -static int server_port = ACE_DEFAULT_SERVER_PORT; -static int ignore_deadlock = 0; -static int threads = 2; -static int iterations = 50; -static int debug = 0; -static int remote = 0; -static int reads = 4; -static int write_sleep = 0; -static int renew = 0; - -static void * -run_thread (void *) -{ - for (int x = 0; x < iterations; x++) - { - int y = 0; - for (; y < reads; y++) - { - if (global_rlock->acquire () == -1) - { - if (ACE_Log_Msg::instance ()->errnum () == EDEADLK) - { - ACE_DEBUG ((LM_DEBUG, "rlock deadlock detected\n")); - goto READ_DEADLOCK; - } - else return 0; - } - - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (global_rlock) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "reader acquire violated invariant.\n"), 0); - - ACE_DEBUG ((LM_DEBUG, "(%t) rlock acquired.\n")); - } - - if (renew) - { - ACE_TOKEN_INVARIANTS::instance ()->releasing (global_rlock); - - if (global_rlock->renew () == -1) - { - if (ACE_Log_Msg::instance ()->errnum () == EDEADLK) - { - ACE_DEBUG ((LM_DEBUG, "rlock deadlock detected during renew\n")); - goto READ_DEADLOCK; - } - else return 0; - } - - ACE_DEBUG ((LM_DEBUG, "(%t) rlock renewed.\n")); - - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (global_rlock) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "reader renew violated invariant.\n"), 0); - } - - READ_DEADLOCK: - - for (; y > 0; y--) - { - ACE_TOKEN_INVARIANTS::instance ()->releasing (global_rlock); - if (global_rlock->release () == 0) - ACE_DEBUG ((LM_DEBUG, "(%t) r-released.\n")); - } - - if (global_wlock->acquire () == -1) - ACE_DEBUG ((LM_DEBUG, "wlock deadlock detected\n")); - else - { - if (write_sleep) - ACE_OS::sleep (1); - ACE_DEBUG ((LM_DEBUG, "\t\t(%t) wlock acquired.\n")); - - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (global_wlock) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "writer acquire violated invariant.\n"), 0); - - if (renew) - { - ACE_TOKEN_INVARIANTS::instance ()->releasing (global_wlock); - - if (global_wlock->renew () == -1) - { - if (ACE_Log_Msg::instance ()->errnum () == EDEADLK) - { - ACE_DEBUG ((LM_DEBUG, "wlock deadlock detected during renew\n")); - } - else return 0; - } - - ACE_DEBUG ((LM_DEBUG, "(%t) rlock renewed.\n")); - - if (ACE_TOKEN_INVARIANTS::instance ()->acquired (global_wlock) == 0) - ACE_ERROR_RETURN ((LM_ERROR, "writer renew violated invariant.\n"), 0); - } - - ACE_TOKEN_INVARIANTS::instance ()->releasing (global_wlock); - - if (global_wlock->release () == 0) - ACE_DEBUG ((LM_DEBUG, "\t\t(%t) w-released.\n")); - } - } - - ACE_DEBUG ((LM_DEBUG, "(%t) thread exiting.\n")); - return 0; -} - -static int -parse_args (int argc, char *argv[]) -{ - ACE_LOG_MSG->open (argv[0], ACE_Log_Msg::STDERR); // | ACE_Log_Msg::VERBOSE); - - ACE_Get_Opt get_opt (argc, argv, "t:iun:dr:sp:h:R", 1); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'h': // specify the host machine on which the server is running - server_host = get_opt.optarg; - remote = 1; - break; - case 'p': // specify the port on which the server is running - server_port = ACE_OS::atoi (get_opt.optarg); - remote = 1; - break; - case 't': - threads = ACE_OS::atoi (get_opt.optarg); - break; - case 'R': - renew = 1; - break; - case 'r': - reads = ACE_OS::atoi (get_opt.optarg); - break; - case 'd': - debug = 1; - break; - case 's': - write_sleep = 1; - break; - case 'n': - iterations = ACE_OS::atoi (get_opt.optarg); - break; - case 'i': - ignore_deadlock = 1; - break; - case 'u': - // usage: fallthrough - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n" - "[-h <remote host>]\n" - "[-p <remote port>]\n" - "[-i ignore deadlock]\n" - "[-n <iterations>]\n" - "[-R perform renews]\n" - "[-r <reads>]\n" - "[-d debug]\n" - "[-s sleep during writes]\n" - "[-t <threads>\n", 1), -1); - } - } - - return 0; -} - -#if defined (ACE_HAS_PTHREADS) -#define SUSPEND 0 -#else -#define SUSPEND THR_SUSPENDED -#endif - -int -main (int argc, char* argv[]) -{ - if (parse_args (argc, argv) == -1) - return -1; - - if (remote) - { - ACE_Remote_Mutex::set_server_address (ACE_INET_Addr (server_port, server_host)); - global_rlock = (ACE_Token_Proxy *) new - ACE_Remote_RLock ("THE_TOKEN", ignore_deadlock, debug); - global_wlock = (ACE_Token_Proxy *) new - ACE_Remote_WLock ("THE_TOKEN", ignore_deadlock, debug); - } - else - { - global_rlock = (ACE_Token_Proxy *) new - ACE_Local_RLock ("THE_TOKEN", ignore_deadlock, debug); - global_wlock = (ACE_Token_Proxy *) new - ACE_Local_WLock ("THE_TOKEN", ignore_deadlock, debug); - } - - ACE_Thread_Manager mgr; - - if (mgr.spawn_n (threads, ACE_THR_FUNC (run_thread), - (void *) 0, - THR_BOUND | SUSPEND) == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "spawn failed"), -1); - -#if ! defined (ACE_HAS_PTHREADS) - if (mgr.resume_all () == -1) - ACE_ERROR_RETURN ((LM_DEBUG, "%p\n", "resume failed"), -1); -#endif - - mgr.wait (); - - return 0; -} - -#else -int -main (int, char *[]) -{ - ACE_ERROR_RETURN ((LM_ERROR, - "threads not supported on this platform\n"), -1); -} -#endif /* ACE_HAS_THREADS */ diff --git a/netsvcs/lib/Base_Optimizer.cpp b/netsvcs/lib/Base_Optimizer.cpp deleted file mode 100644 index 42f5193a460..00000000000 --- a/netsvcs/lib/Base_Optimizer.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// $Id$ - -#define ACE_BUILD_DLL - -#include "Base_Optimizer.h" - -#if !defined (BASE_OPTIMIZER_CPP) -#define BASE_OPTIMIZER_CPP - -template<class Base, class Member> -Base_Optimizer<Base, Member>::Base_Optimizer (void) -{ -} - -template<class Base, class Member> -Base_Optimizer<Base, Member>::Base_Optimizer (const Base &base, - const Member &member) - : Base (base), - m_ (member) -{ -} - -template<class Base, class Member> -Base_Optimizer<Base, Member>::Base_Optimizer (const Base &base) - : Base (base) -{ -} - -#endif /* BASE_OPTIMIZER_CPP */ diff --git a/netsvcs/lib/Base_Optimizer.h b/netsvcs/lib/Base_Optimizer.h deleted file mode 100644 index 86a174c0fce..00000000000 --- a/netsvcs/lib/Base_Optimizer.h +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// netsvcs -// -// = FILENAME -// Base_Optimizer.h -// -// = AUTHOR -// Per Andersson. -// -// ============================================================================ - -#if !defined (BASE_OPTIMIZER_H) -#define BASE_OPTIMIZER_H - -#include "ace/OS.h" - -template<class Base, class Member> -struct Base_Optimizer : public Base - // = TITLE - // - // = DESCRIPTION - // Thanks to Nathan Myers and Fergus Henderson for this little beauty -{ - Base_Optimizer (void); - Base_Optimizer (const Base &base); - Base_Optimizer (const Base &base, const Member &member); - - Member m_; -}; - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "Base_Optimizer.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Base_Optimizer.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* BASE_OPTIMIZER_H */ diff --git a/netsvcs/lib/Client_Logging_Handler.cpp b/netsvcs/lib/Client_Logging_Handler.cpp deleted file mode 100644 index 45ae0e952ad..00000000000 --- a/netsvcs/lib/Client_Logging_Handler.cpp +++ /dev/null @@ -1,419 +0,0 @@ -// $Id$ - -// Client_Logging_Handler.cpp - -#define ACE_BUILD_SVC_DLL -#include "ace/Get_Opt.h" -#include "ace/Acceptor.h" -#include "ace/SOCK_Connector.h" -#include "ace/SOCK_Acceptor.h" -#include "ace/SPIPE_Acceptor.h" -#include "Client_Logging_Handler.h" - -ACE_Client_Logging_Handler::ACE_Client_Logging_Handler (ACE_HANDLE output_handle) - : logging_output_ (output_handle) -{ - // Register ourselves to receive SIGPIPE so we can attempt - // reconnections. -#if !defined (ACE_LACKS_UNIX_SIGNALS) - if (ACE_Reactor::instance ()->register_handler (SIGPIPE, this) == -1) - ACE_ERROR ((LM_ERROR, "%n: %p\n", - "register_handler (SIGPIPE)")); -#endif /* !ACE_LACKS_UNIX_SIGNALS */ -} - -// This is called when a <send> to the logging server fails... - -int -ACE_Client_Logging_Handler::handle_signal (int, siginfo_t *, ucontext_t *) -{ - ACE_TRACE ("ACE_Client_Logging_Acceptor::handle_signal"); - return -1; -} - -// This function is called every time a client connects to us. - -int -ACE_Client_Logging_Handler::open (void *) -{ - LOGGING_ADDR server_addr; - - // Register ourselves to receive <handle_input> callbacks when - // clients send us logging records. Note that since we're really a - // Singleton, this->peer() will change after each connect, so we - // need to grab the value now. - if (ACE_Reactor::instance ()->register_handler - (this->peer ().get_handle (), - this, - ACE_Event_Handler::READ_MASK - | ACE_Event_Handler::EXCEPT_MASK) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%n: %p\n", - "register_handler)"), -1); - - // Figure out what remote port we're really bound to. - if (this->peer ().get_remote_addr (server_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_remote_addr"), -1); - - ACE_DEBUG ((LM_DEBUG, - "connected to client on handle %u\n", - this->peer ().get_handle ())); - return 0; -} - -/* VIRTUAL */ ACE_HANDLE -ACE_Client_Logging_Handler::get_handle (void) const -{ - ACE_TRACE ("ACE_Client_Logging_Handler::get_handle"); - ACE_ERROR ((LM_ERROR, - "get_handle() shouldn't be called\n")); - return ACE_INVALID_HANDLE; -} - -// Receive a logging record from an application. - -int -ACE_Client_Logging_Handler::handle_input (ACE_HANDLE handle) -{ - ACE_DEBUG ((LM_DEBUG, "in handle_input, handle = %u\n", handle)); - - if (handle == this->logging_output_) - // We're getting a message from the logging server! - ACE_ERROR_RETURN ((LM_ERROR, "received data from server!\n"), -1); - - ACE_Log_Record log_record; -#if defined (ACE_HAS_STREAM_PIPES) - // We're getting a logging message from a local application. - - ACE_Str_Buf msg ((void *) &log_record, - 0, - sizeof log_record); - - ACE_SPIPE_Stream spipe; - spipe.set_handle (handle); - int flags = 0; - - int result = spipe.recv ((ACE_Str_Buf *) 0, &msg, &flags); - - // We've got a framed IPC mechanism, so we can just to a recv(). - if (result < 0 || msg.len == 0) - { - if (ACE_Reactor::instance ()->remove_handler - (handle, - ACE_Event_Handler::READ_MASK - | ACE_Event_Handler::EXCEPT_MASK - | ACE_Event_Handler::DONT_CALL) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%n: %p\n", - "remove_handler"), -1); - spipe.close (); - ACE_DEBUG ((LM_DEBUG, "client closing down\n")); - return 0; - } -#else - ACE_INT32 length; - - // We need to use the ol' two-read trick here since TCP sockets - // don't support framing natively. Note that the first call is just - // a "peek" -- we don't actually remove the data until the second - // call. Note that this code is portable as long as ACE_UNIT32 is - // always 32 bits on both the sender and receiver side. - - switch (ACE_OS::recv (handle, - (char *) &length, - sizeof length, - MSG_PEEK)) - { - // Handle shutdown and error cases. - default: - case -1: - case 0: - if (ACE_Reactor::instance ()->remove_handler - (handle, - ACE_Event_Handler::READ_MASK - | ACE_Event_Handler::EXCEPT_MASK - | ACE_Event_Handler::DONT_CALL) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%n: %p\n", - "remove_handler"), 0); - ACE_OS::closesocket (handle); - ACE_DEBUG ((LM_DEBUG, "client closing down\n")); - return 0; - /* NOTREACHED */ - - case sizeof length: - // Process normal data reception. - if (ACE_OS::recv (handle, - (char *) &log_record, - (int) length) != length) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "recv"), 0); - } -#endif /* ACE_HAS_STREAM_PIPES */ - - // Forward the logging record to the server. - if (this->send (log_record) == -1) - ACE_ERROR ((LM_ERROR, - "%p\n", - "send")); - return 0; -} - -// Receive a logging record from an application send via a non-0 -// MSG_BAND... This just calls handle_input(). - -int -ACE_Client_Logging_Handler::handle_exception (ACE_HANDLE handle) -{ - return this->handle_input (handle); -} - -// Called when object is removed from the ACE_Reactor - -int -ACE_Client_Logging_Handler::close (u_long) -{ - ACE_DEBUG ((LM_DEBUG, "shutting down!!!\n")); - - if (this->logging_output_ != ACE_STDOUT) - ACE_OS::closesocket (this->logging_output_); - - this->destroy (); - return 0; -} - -int -ACE_Client_Logging_Handler::handle_output (ACE_HANDLE) -{ - return 0; -} - -// Encodes the contents of log_record object using network byte-order -// and sends it to the logging server. - -int -ACE_Client_Logging_Handler::send (ACE_Log_Record &log_record) -{ - if (this->logging_output_ == ACE_STDOUT) - { - log_record.print ("<localhost>", 0, stderr); - ostream *orig_ostream = ACE_Log_Msg::instance ()->msg_ostream (); - log_record.print ("<localhost>", 0, (*orig_ostream) ); - } - else - { - long len = log_record.length (); - log_record.encode (); - - if (ACE::send (this->logging_output_, - (char *) &log_record, - len) == -1) - // Switch over to logging to stdout for now. Eventually, - // we'll try to queue up the message, try to reestablish a - // connection, and then send the queued data once we've - // reconnect to the logging server. - this->logging_output_ = ACE_STDOUT; - } - - return 0; -} - -class ACE_Client_Logging_Acceptor : public ACE_Acceptor<ACE_Client_Logging_Handler, LOGGING_ACCEPTOR> - // = TITLE - // This factory creates connections with the - // <Server_Logging_Acceptor>. - // - // = DESCRIPTION - // This class contains the service-specific methods that can't - // easily be factored into the <ACE_Acceptor>. -{ -public: - // = Initialization method. - ACE_Client_Logging_Acceptor (void); - // Default constructor. - -protected: - // = Dynamic linking hooks. - virtual int init (int argc, char *argv[]); - // Called when service is linked. - - virtual int fini (void); - // Called when service is unlinked. - - virtual int info (char **strp, size_t length) const; - // Called to determine info about the service. - - virtual int make_svc_handler (ACE_Client_Logging_Handler *&sh); - // Factory that always returns the <handler_>. - - // = Scheduling hooks. - virtual int suspend (void); - virtual int resume (void); - -private: - int parse_args (int argc, char *argv[]); - // Parse svc.conf arguments. - - const char *server_host_; - // Host where the logging server is located. - - u_short server_port_; - // Port number where the logging server is listening for - // connections. - - ACE_INET_Addr server_addr_; - // Address of the logging server. - - const char *logger_key_; - // Communication endpoint where the client logging daemon will - // listen for connections from clients. - - ACE_Client_Logging_Handler *handler_; - // Pointer to the handler that does the work. -}; - -int -ACE_Client_Logging_Acceptor::fini (void) -{ - this->close (); - - if (this->handler_ != 0) - this->handler_->close (0); - return 0; -} - -int -ACE_Client_Logging_Acceptor::make_svc_handler (ACE_Client_Logging_Handler *&sh) -{ - // Always return a pointer to the Singleton handler. - sh = this->handler_; - return 0; -} - -int -ACE_Client_Logging_Acceptor::info (char **strp, size_t length) const -{ - char buf[BUFSIZ]; - - ACE_OS::sprintf (buf, "%d/%s %s", - this->server_addr_.get_port_number (), "tcp", - "# client logging daemon\n"); - - if (*strp == 0 && (*strp = ACE_OS::strdup (buf)) == 0) - return -1; - else - ACE_OS::strncpy (*strp, buf, length); - return ACE_OS::strlen (buf); -} - -ACE_Client_Logging_Acceptor::ACE_Client_Logging_Acceptor (void) - : server_host_ (ACE_DEFAULT_SERVER_HOST), - server_port_ (ACE_DEFAULT_LOGGING_SERVER_PORT), - logger_key_ (ACE_DEFAULT_LOGGER_KEY), - handler_ (0) -{ -} - -int -ACE_Client_Logging_Acceptor::init (int argc, char *argv[]) -{ - // We'll log *our* error and debug messages to stderr! - ACE_LOG_MSG->open ("Client Logging Service"); - - // Use the options hook to parse the command line arguments and set - // options. - this->parse_args (argc, argv); - - // Initialize the acceptor endpoint. - if (this->open (LOGGING_ADDR (this->logger_key_)) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", this->logger_key_), -1); - - // Establish connection with the server. - ACE_SOCK_Connector con; - ACE_SOCK_Stream stream; - - if (con.connect (stream, this->server_addr_) == -1) - { - ACE_ERROR ((LM_ERROR, "%p, using stdout\n", - "can't connect to logging server")); - // If we can't connect to the server then we'll send the logging - // messages to stdout. - stream.set_handle (ACE_STDOUT); - } - else - { - ACE_INET_Addr server_addr; - - // Figure out what remote port we're really bound to. - if (stream.get_remote_addr (server_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_remote_addr"), -1); - - ACE_DEBUG ((LM_DEBUG, - "starting up Client Logging Daemon, " - "connected to port %d on handle %u\n", - server_addr.get_port_number (), - stream.get_handle ())); - } - - // Create the Singleton <Client_Logging_Handler>. - ACE_NEW_RETURN (this->handler_, - ACE_Client_Logging_Handler (stream.get_handle ()), - -1); - return 0; -} - -int -ACE_Client_Logging_Acceptor::parse_args (int argc, char *argv[]) -{ - ACE_Get_Opt get_opt (argc, argv, "h:k:p:", 0); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'h': - this->server_host_ = get_opt.optarg; - break; - case 'k': - this->logger_key_ = get_opt.optarg; - break; - case 'p': - this->server_port_ = ACE_OS::atoi (get_opt.optarg); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n[-p server-port]\n%a", 1), - -1); - } - } - - if (this->server_addr_.set (this->server_port_, - this->server_host_) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "set"), -1); - - return 0; -} - -int -ACE_Client_Logging_Acceptor::suspend (void) -{ - // To be done... - return 0; -} - -int -ACE_Client_Logging_Acceptor::resume (void) -{ - // To be done... - return 0; -} - -// The following is a "Factory" used by the ACE_Service_Config and -// svc.conf file to dynamically initialize the state of the -// single-threaded logging server. - -ACE_SVC_FACTORY_DEFINE (ACE_Client_Logging_Acceptor) - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Acceptor<ACE_Client_Logging_Handler, LOGGING_ACCEPTOR>; -template class ACE_Svc_Handler<LOGGING_STREAM, ACE_NULL_SYNCH>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Acceptor<ACE_Client_Logging_Handler, LOGGING_ACCEPTOR> -#pragma instantiate ACE_Svc_Handler<LOGGING_STREAM, ACE_NULL_SYNCH> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/netsvcs/lib/Client_Logging_Handler.h b/netsvcs/lib/Client_Logging_Handler.h deleted file mode 100644 index a470ed4b649..00000000000 --- a/netsvcs/lib/Client_Logging_Handler.h +++ /dev/null @@ -1,92 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Client_Logging_Handler.h -// -// = AUTHOR -// Doug Schmidt -// -// ============================================================================ - -#if !defined (ACE_CLIENT_LOGGER_H) -#define ACE_CLIENT_LOGGER_H - -#include "ace/SPIPE_Stream.h" -#include "ace/SOCK_Stream.h" -#include "ace/Svc_Handler.h" -#include "ace/Synch.h" - -#if defined (ACE_HAS_STREAM_PIPES) -#define LOGGING_STREAM ACE_SPIPE_STREAM -#define LOGGING_ACCEPTOR ACE_SPIPE_ACCEPTOR -#define LOGGING_ADDR ACE_SPIPE_Addr -#else -#define LOGGING_STREAM ACE_SOCK_STREAM -#define LOGGING_ACCEPTOR ACE_SOCK_ACCEPTOR -#define LOGGING_ADDR ACE_INET_Addr -#endif /* ACE_HAS_STREAM_PIPES */ - -class ACE_Svc_Export ACE_Client_Logging_Handler : public ACE_Svc_Handler<LOGGING_STREAM, ACE_NULL_SYNCH> - // = TITLE - // This client logging daemon is a mediator that receives logging - // records from local applications processes and forwards them to - // the server logging daemon running on another host. - // - // = DESCRIPTION - // The default implementation uses an <ACE_SPIPE_Stream> to - // receive the logging message from the application and an - // <ACE_SOCK_Stream> to forward the logging message to the - // server. However, on platforms that don't support - // <ACE_SPIPEs> (e.g., Win32) we use sockets instead. -{ -public: - // = Initialization and termination. - - ACE_Client_Logging_Handler (ACE_HANDLE handle = ACE_STDOUT); - // Default constructor. <handle> is where the output is sent. - - virtual int open (void * = 0); - // Activate this instance of the <ACE_Client_Logging_Handler> - // (called by the <ACE_Client_Logging_Acceptor>). - - virtual ACE_HANDLE get_handle (void) const; - // Return the handle of the <ACE_SPIPE_Stream>; - - virtual int close (u_long); - // Called when object is removed from the <ACE_Reactor>. - -private: - virtual int handle_signal (int signum, - siginfo_t *, - ucontext_t *); - // Handle SIGPIPE. - - virtual int handle_input (ACE_HANDLE); - // Receive logging records from applications. - - virtual int handle_exception (ACE_HANDLE); - // Receive logging records from applications. This is necessary to - // handle madness with UNIX select, which can't deal with MSG_BAND - // data easily due to its overly simple interface... This just - // calls <handle_input>. - - virtual int handle_output (ACE_HANDLE); - // Called back when it's ok to send. - - int send (ACE_Log_Record &log_record); - // Send the <log_record> to the logging server. - - ACE_HANDLE logging_output_; - // This is either a SOCKET (if we're connected to a logging server) - // or ACE_STDOUT. -}; - -ACE_SVC_FACTORY_DECLARE (ACE_Client_Logging_Acceptor) - -#endif /* ACE_CLIENT_LOGGER_H */ diff --git a/netsvcs/lib/Client_Logging_Handler.i b/netsvcs/lib/Client_Logging_Handler.i deleted file mode 100644 index 57c6d26e751..00000000000 --- a/netsvcs/lib/Client_Logging_Handler.i +++ /dev/null @@ -1,4 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - - diff --git a/netsvcs/lib/Log_Message_Receiver.cpp b/netsvcs/lib/Log_Message_Receiver.cpp deleted file mode 100644 index a385236f7c3..00000000000 --- a/netsvcs/lib/Log_Message_Receiver.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#if !defined (LOG_MESSAGE_RECEIVER_CPP) -#define LOG_MESSAGE_RECEIVER_CPP - -#include "ace/Synch.h" -#include "ace/Synch_T.h" -#include "Log_Message_Receiver.h" - -// Type based log message receiver -template<ACE_SYNCH_DECL> void -Static_Log_Message_Receiver<ACE_SYNCH_USE>::log_record (char const *hostname, - ACE_Log_Record &record) -{ -#if defined (ACE_HAS_THREADS) - static ACE_SYNCH_MUTEX_T lock_; - ACE_Guard<ACE_SYNCH_MUTEX_T> guard (lock_); -#endif /* ACE_HAS_THREADS */ - - record.print (hostname, 0, stderr); -} - -template<ACE_SYNCH_DECL> void -Static_Log_Message_Receiver<ACE_SYNCH_USE>::log_output (char const *hostname, - ACE_Log_Record &record, - ostream *outputfile) -{ - if (outputfile != 0) - { -#if defined (ACE_HAS_THREADS) - static ACE_SYNCH_MUTEX_T lock_; - ACE_Guard<ACE_SYNCH_MUTEX_T> guard (lock_); -#endif /* ACE_HAS_THREADS */ - record.print (hostname, 0, *outputfile); - } -} - -#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) -template<ACE_SYNCH_DECL> -ACE_SYNCH_MUTEX_T Log_Message_Receiver_Impl<ACE_SYNCH_USE>::copy_lock_; -#else -static ACE_SYNCH_MUTEX global_copy_lock_; -#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ - -template<ACE_SYNCH_DECL> -Log_Message_Receiver_Impl<ACE_SYNCH_USE>::Log_Message_Receiver_Impl (void) - : count_ (0) -{ -} - -template<ACE_SYNCH_DECL> -Log_Message_Receiver_Impl<ACE_SYNCH_USE> * -Log_Message_Receiver_Impl<ACE_SYNCH_USE>::create (void) -{ - return new Log_Message_Receiver_Impl<ACE_SYNCH_USE>; -} - -template<ACE_SYNCH_DECL> -Log_Message_Receiver_Impl<ACE_SYNCH_USE> * -Log_Message_Receiver_Impl<ACE_SYNCH_USE>::attach (Log_Message_Receiver_Impl<ACE_SYNCH_USE> *body) -{ - ACE_ASSERT (body != 0); - -#if defined (ACE_HAS_THREADS) - #if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) - Guard guard (copy_lock_); - #else - // Use the "body"s print lock as copy lock. - ACE_Guard<ACE_SYNCH_MUTEX> guard (global_copy_lock_); - #endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ -#endif /* ACE_HAS_THREADS */ - ++body->count_; - return body; -} - -template<ACE_SYNCH_DECL> void -Log_Message_Receiver_Impl<ACE_SYNCH_USE>::detach(Log_Message_Receiver_Impl<ACE_SYNCH_USE> *body) -{ - ACE_ASSERT (body != 0); - -#if defined (ACE_HAS_THREADS) - #if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) - Guard guard (copy_lock_); - #else - // Use the "body"s print lock as copy lock. - ACE_Guard<ACE_SYNCH_MUTEX> guard (global_copy_lock_); - #endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ -#endif /* ACE_HAS_THREADS */ - if (body->count_-- == 0) - delete body; -} - -// Type based log message receiver -template<ACE_SYNCH_DECL> void -Log_Message_Receiver_Impl<ACE_SYNCH_USE>::log_record (char const *hostname, - ACE_Log_Record &record) -{ - ACE_MT (Guard guard (print_lock_)); - record.print (hostname, 0, stderr); -} - -template<ACE_SYNCH_DECL> void -Log_Message_Receiver_Impl<ACE_SYNCH_USE>::log_output (char const *hostname, - ACE_Log_Record &record, - ostream *outputfile) -{ - if (outputfile != 0) - { - ACE_MT (Guard guard (print_lock_)); - record.print (hostname, 0, *outputfile); - } -} - -template<ACE_SYNCH_DECL> -Log_Message_Receiver_Impl<ACE_SYNCH_USE>::~Log_Message_Receiver_Impl (void) -{ - ACE_ASSERT (count_ == 0 - 1); -} - -template<ACE_SYNCH_DECL> -Log_Message_Receiver<ACE_SYNCH_USE>::Log_Message_Receiver (void) - : receiver_impl_ (Log_Message_Receiver_Impl<ACE_SYNCH_USE>::create ()) -{ - ACE_ASSERT (receiver_impl_ != 0); -} - -template<ACE_SYNCH_DECL> -Log_Message_Receiver<ACE_SYNCH_USE>::Log_Message_Receiver - (Log_Message_Receiver<ACE_SYNCH_USE> const &rhs) - : receiver_impl_ (Log_Message_Receiver_Impl<ACE_SYNCH_USE>::attach (rhs.receiver_impl_)) -{ - ACE_ASSERT (receiver_impl_ != 0); -} - -// Type based log message receiver -template<ACE_SYNCH_DECL> void -Log_Message_Receiver<ACE_SYNCH_USE>::log_record(char const *hostname, - ACE_Log_Record &record) -{ - ACE_ASSERT (receiver_impl_ != 0); - receiver_impl_->log_record (hostname, record); -} - -template<ACE_SYNCH_DECL> void -Log_Message_Receiver<ACE_SYNCH_USE>::log_output(char const *hostname, - ACE_Log_Record &record, - ostream *outputfile) -{ - ACE_ASSERT (receiver_impl_ != 0); - receiver_impl_->log_output (hostname, record, outputfile); -} - -template<ACE_SYNCH_DECL> -Log_Message_Receiver<ACE_SYNCH_USE>::~Log_Message_Receiver (void) -{ - ACE_ASSERT (receiver_impl_ != 0); - Log_Message_Receiver_Impl<ACE_SYNCH_USE>::detach (receiver_impl_); -} - -#endif /* LOG_MESSAGE_RECEIVER_CPP */ diff --git a/netsvcs/lib/Log_Message_Receiver.h b/netsvcs/lib/Log_Message_Receiver.h deleted file mode 100644 index f67ad7fa084..00000000000 --- a/netsvcs/lib/Log_Message_Receiver.h +++ /dev/null @@ -1,206 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Log_Message_Receiver -// -// = AUTHOR -// Per Andersson -// -// ============================================================================ - -#if !defined (LOG_MESSAGE_RECEIVER_H) -#define LOG_MESSAGE_RECEIVER_H - -#include "ace/Log_Record.h" -#include "ace/Synch.h" - -// ==========================================================================// -//------------- General Requirements on a Log Message Receiver --------------// -// ==========================================================================// -// -// The requiremnts on a log manager receiver, T, are quite simple. -// 1: There must exist one "log_record" member function with the following -// prototype: -// void log_record(char const* hostname, -// ACE_Log_Record &record); -// -// 2: There must exist a public destructor. -// 3: There must exist a public copy constructor. -// 4: There must exist a default constructor. (for now) -// -// -// The semantics are also simple. A log message receiver should -// behave as an accessor object (smart pointer or envelope class). -// It should be very cheap to copy and the should be no noticeable -// difference when using either the new copy or the old log message -// receiver. -// -// Methods: -// void log_record(char const* hostname, -// ACE_Log_Record& record) -// Description: -// Processes the log record "record" from the host "hostname" -// Precondition: -// hostname != 0; -// Requirements: -// Record must be a valid ACE_Log_Record. -// -// ==========================================================================// - -// ==========================================================================// -// ------------ General Description of a Log Message Receiver -------------- // -// ==========================================================================// -// -// Log Message Receivers, LRMs, are processing log records. It is the -// LRM that writes a log message to stderr, stdout, a log file and maybee -// converts some of the log messages to notifications, warnings, alarms -// and forwards them to some operation and maintenance system (PATROL). -// -// The client logging handler and server logging handler are responsible -// for forwarding, receiving, framing, processing log records. -// That is a very usable service, but it should also be possible to change -// how log records are processed without having to rewrite code in -// the server log handler. This code should instead be written as a -// separate entity, a Log Message Receiver. -// -// A simple LMR should be very easy to write but it should also -// be possible to write more complex LMRs, like one that creates -// a new log file each day or keeps a fixed size, round robin, -// log file. It should also be possible to have separate LMRs -// of the same type that uses differnt log files. -// -// ==========================================================================// - - -// Type based log message receiver -template<ACE_SYNCH_DECL> -class Static_Log_Message_Receiver - // = TITLE - // Static_Log_Message_Receiver is a simple log message receiver. It - // has no instance data and only static member functions. Static/typed - // based receivers are best when all LMR should do exactly the same thing. - // - // = DESCRIPTION - // This class contains a static log_record member function that - // prints the content of log_records on stderr. -{ -public: - static void log_record(const char *hostname, - ACE_Log_Record &record); - // Prints the log_record to stderr using record.print (hostname, 0, stderr). - // Serializes the output by using a ACE_SYNCH_MUTEX. - - static void log_output(const char *hostname, - ACE_Log_Record &record, - ostream *output); - // Prints the log_record to a user specified ostream. -}; - -// Instance based log message receiver - -// ------------------------ Log_Message_Receiver --------------------------- // -// -// Log_Message_Receiver is little more complicated log message receiver. -// It is instance based and have a reference counted implementation. -// Log_Message_Receiver is the envelope class for Log_Message_Receiver_Impl. -// -// ------------------------------------------------------------------------- // - - -//Forward declaration -template<ACE_SYNCH_DECL> class Log_Message_Receiver_Impl; - -template<ACE_SYNCH_DECL> -class Log_Message_Receiver - // = TITLE - // Log_Message_Receiver is a little more complicated log message receiver. - // It is instance based and have a reference counted implementation. - // Log_Message_Receiver is the envelope class for Log_Message_Receiver_Impl. - // The difference between Static_Log_Message_Receiver and - // Log_Message_Receiver is that is possible to have instance data - // in Log_Message_Receiver. - // - // Comment: - // The practical usage of this is limited with the current - // ACE_Server_Logging_Acceptor_T design. Since ACE_Server_Logging_Acceptor_T - // will create the Log_Message_Receiver using the default constructor. - // The main reason for inclusion right now is to ensure that the - // code in ACE_Server_Logging_Handler_T works both with type and instance - // based LMRs. - // - // - // = DESCRIPTION - // This class contains a log_record member function that - // prints the content of log_records on stderr. -{ -public: - Log_Message_Receiver (void); - // Creates a new Log_Message_Receiver - Log_Message_Receiver(Log_Message_Receiver<ACE_SYNCH_USE> const &rhs); - ~Log_Message_Receiver (void); - - void log_record (const char *hostname, - ACE_Log_Record &record); - - void log_output(const char *hostname, - ACE_Log_Record &record, - ostream *output); -private: - ACE_UNIMPLEMENTED_FUNC (void operator= (const Log_Message_Receiver<ACE_SYNCH_USE> &rhs)) - - // Attributes. - Log_Message_Receiver_Impl<ACE_SYNCH_USE> *receiver_impl_; -}; - -// Implementation with reference count. - -template<ACE_SYNCH_DECL> -class Log_Message_Receiver_Impl -{ - friend class ACE_Shutup_GPlusPlus; // Turn off g++ warning -public: - // Methods for handling reference count and instance lifetime - static Log_Message_Receiver_Impl *create (void); - static Log_Message_Receiver_Impl *attach (Log_Message_Receiver_Impl<ACE_SYNCH_USE> *body); - static void detach (Log_Message_Receiver_Impl<ACE_SYNCH_USE> *body); - - void log_record (const char *hostname, - ACE_Log_Record &record); - - void log_output(const char *hostname, - ACE_Log_Record &record, - ostream *output); - -private: - Log_Message_Receiver_Impl (void); - ~Log_Message_Receiver_Impl (void); - - typedef ACE_Guard<ACE_SYNCH_MUTEX_T> Guard; - // Attributes - int count_; - ACE_SYNCH_MUTEX_T print_lock_; - -#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) - static ACE_SYNCH_MUTEX_T copy_lock_; -#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ - - // = Not implemeted - ACE_UNIMPLEMENTED_FUNC (Log_Message_Receiver_Impl (const Log_Message_Receiver_Impl<ACE_SYNCH_USE> &rhs)) - ACE_UNIMPLEMENTED_FUNC (void operator=(const Log_Message_Receiver_Impl<ACE_SYNCH_USE> &rhs)) -}; - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "Log_Message_Receiver.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Log_Message_Receiver.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* LOG_MESSAGE_RECEIVER_H */ diff --git a/netsvcs/lib/Logging_Strategy.cpp b/netsvcs/lib/Logging_Strategy.cpp deleted file mode 100644 index df940115474..00000000000 --- a/netsvcs/lib/Logging_Strategy.cpp +++ /dev/null @@ -1,98 +0,0 @@ -// Logging_Strategy.cpp -// $Id$ - -#define ACE_BUILD_SVC_DLL -#include "ace/Get_Opt.h" -#include "ace/streams.h" -#include "Logging_Strategy.h" - -// Parse the string containing all the flags and set the flags accordingly -void -ACE_Logging_Strategy::tokenize (char *flag_string) -{ - for (char *flag = ACE_OS::strtok (flag_string, "|"); - flag != 0; - flag = ACE_OS::strtok (0, "|")) - { - if (ACE_OS::strcmp (flag, "STDERR") == 0) - ACE_SET_BITS (this->flags_, ACE_Log_Msg::STDERR); - else if (ACE_OS::strcmp (flag, "LOGGER") == 0) - ACE_SET_BITS (this->flags_, ACE_Log_Msg::LOGGER); - else if (ACE_OS::strcmp (flag, "OSTREAM") == 0) - ACE_SET_BITS (this->flags_, ACE_Log_Msg::OSTREAM); - else if (ACE_OS::strcmp (flag, "VERBOSE") == 0) - ACE_SET_BITS (this->flags_, ACE_Log_Msg::VERBOSE); - else if (ACE_OS::strcmp (flag, "SILENT") == 0) - ACE_SET_BITS (this->flags_, ACE_Log_Msg::SILENT); - } -} - -int -ACE_Logging_Strategy::parse_args (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_Logging_Strategy::parse_args"); - char *temp; - - this->flags_ = 0; - this->filename_ = ACE_DEFAULT_LOGFILE; - - ACE_LOG_MSG->open ("Logging_Strategy"); - - ACE_Get_Opt get_opt (argc, argv, "f:s:", 0); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'f': - temp = get_opt.optarg; - // Now tokenize the string to get all the flags - this->tokenize (temp); - break; - case 's': - // Ensure that the OSTREAM flag is set - ACE_SET_BITS (this->flags_, ACE_Log_Msg::OSTREAM); - this->filename_ = get_opt.optarg; - break; - default: - break; - } - } - return 0; -} - -int -ACE_Logging_Strategy::init (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_Logging_Strategy::init"); - - // Use the options hook to parse the command line arguments. - this->parse_args (argc, argv); - - // Check if any flags were specified. If none were specified, let - // the default behavior take effect. - if (this->flags_ != 0) - { - // Clear all flags - ACE_Log_Msg::instance()->clr_flags (ACE_Log_Msg::STDERR | - ACE_Log_Msg::LOGGER | - ACE_Log_Msg::OSTREAM | - ACE_Log_Msg::VERBOSE | - ACE_Log_Msg::SILENT); - // Check if OSTREAM bit is set - if (ACE_BIT_ENABLED (this->flags_, ACE_Log_Msg::OSTREAM)) - { - // Create a new ofstream to direct output to the file - ofstream *output_file = new ofstream (this->filename_); - ACE_Log_Msg::instance()->msg_ostream (output_file); - } - // Now set the flags for Log_Msg - ACE_Log_Msg::instance()->set_flags (this->flags_); - } - return 0; -} - -// The following is a "Factory" used by the ACE_Service_Config and -// svc.conf file to dynamically initialize the state of the Logging_Strategy. - -ACE_SVC_FACTORY_DEFINE (ACE_Logging_Strategy) diff --git a/netsvcs/lib/Logging_Strategy.h b/netsvcs/lib/Logging_Strategy.h deleted file mode 100644 index 06290131be5..00000000000 --- a/netsvcs/lib/Logging_Strategy.h +++ /dev/null @@ -1,48 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Logging_Strategy.h -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ - -#if !defined (ACE_LOGGING_STRATEGY_H) -#define ACE_LOGGING_STRATEGY_H - -#include "ace/Service_Object.h" - -class ACE_Logging_Strategy : public ACE_Service_Object - // = TITLE - // This class provides the hooks to control the output produced - // by any of the network services. - // - // = DESCRIPTION - // Depending upon when this service is invoked and with what - // flags, the output of other network services can be - // controlled. The output can be streamed to stderr, to a file, - // to a logging daemon, or it can be set to be "silent". -{ -public: - virtual int init (int argc, char *argv[]); - // Dynamic linking hook. - - int parse_args (int argc, char *argv[]); - // Parse svc.conf arguments. -private: - void tokenize (char *flag_string); - // Tokenize to set all the flags - u_long flags_; - char *filename_; -}; - -ACE_SVC_FACTORY_DECLARE (ACE_Logging_Strategy) - -#endif /* ACE_LOGGING_STRATEGY_H */ diff --git a/netsvcs/lib/Makefile b/netsvcs/lib/Makefile deleted file mode 100644 index 53238dfcabb..00000000000 --- a/netsvcs/lib/Makefile +++ /dev/null @@ -1,890 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile for the server-side ACE network services -#---------------------------------------------------------------------------- - -LIB = libnetsvcs.a -SHLIB = libnetsvcs.$(SOEXT) - -FILES = TS_Server_Handler \ - TS_Clerk_Handler \ - Client_Logging_Handler \ - Name_Handler \ - Server_Logging_Handler_T \ - Log_Message_Receiver \ - Server_Logging_Handler \ - Token_Handler \ - Logging_Strategy \ - Base_Optimizer - -DEFS = $(addsuffix .h,$(FILES)) -LSRC = $(addsuffix .cpp,$(FILES)) - -LIBS += -lACE - -BUILD = $(VLIB) $(VSHLIB) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -ifeq ($(SUPPRESS_DASH_G),1) -#### Build this target without -g on some platforms. -$(VDIR)Server_Logging_Handler.o $(VSHDIR)Server_Logging_Handler.$(SOEXT): - $(COMPILE-NO_DASH_G.cc) -o $@ $< -endif # SUPPRESS_DASH_G - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/TS_Server_Handler.o .obj/TS_Server_Handler.so .shobj/TS_Server_Handler.o .shobj/TS_Server_Handler.so: TS_Server_Handler.cpp \ - $(ACE_ROOT)/ace/SString.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/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/Log_Record.i \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Containers.h \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - TS_Server_Handler.h \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(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/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.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/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/Time_Request_Reply.h -.obj/TS_Clerk_Handler.o .obj/TS_Clerk_Handler.so .shobj/TS_Clerk_Handler.o .shobj/TS_Clerk_Handler.so: TS_Clerk_Handler.cpp \ - $(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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - TS_Clerk_Handler.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(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/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/SOCK_Connector.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/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Time_Request_Reply.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i -.obj/Client_Logging_Handler.o .obj/Client_Logging_Handler.so .shobj/Client_Logging_Handler.o .shobj/Client_Logging_Handler.so: Client_Logging_Handler.cpp \ - $(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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(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/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Connector.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/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SPIPE_Acceptor.h \ - $(ACE_ROOT)/ace/SPIPE_Stream.h \ - $(ACE_ROOT)/ace/SPIPE.h \ - $(ACE_ROOT)/ace/SPIPE_Addr.h \ - $(ACE_ROOT)/ace/SPIPE_Addr.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/SPIPE.i \ - $(ACE_ROOT)/ace/SPIPE_Stream.i \ - Client_Logging_Handler.h -.obj/Name_Handler.o .obj/Name_Handler.so .shobj/Name_Handler.o .shobj/Name_Handler.so: Name_Handler.cpp \ - $(ACE_ROOT)/ace/Containers.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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Containers.i \ - $(ACE_ROOT)/ace/Get_Opt.h \ - $(ACE_ROOT)/ace/Get_Opt.i \ - Name_Handler.h \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(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/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.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/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Naming_Context.h \ - $(ACE_ROOT)/ace/Name_Proxy.h \ - $(ACE_ROOT)/ace/SOCK_Connector.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Name_Request_Reply.h \ - $(ACE_ROOT)/ace/Name_Space.h -.obj/Server_Logging_Handler_T.o .obj/Server_Logging_Handler_T.so .shobj/Server_Logging_Handler_T.o .shobj/Server_Logging_Handler_T.so: Server_Logging_Handler_T.cpp \ - $(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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - Server_Logging_Handler_T.h \ - $(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.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.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/TLI_Acceptor.h \ - $(ACE_ROOT)/ace/TLI.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/TLI.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/TLI_Stream.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/TLI_Stream.i \ - $(ACE_ROOT)/ace/TLI_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(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/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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i -.obj/Log_Message_Receiver.o .obj/Log_Message_Receiver.so .shobj/Log_Message_Receiver.o .shobj/Log_Message_Receiver.so: Log_Message_Receiver.cpp \ - $(ACE_ROOT)/ace/Synch.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/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/Log_Record.i \ - $(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.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - Log_Message_Receiver.h -.obj/Server_Logging_Handler.o .obj/Server_Logging_Handler.so .shobj/Server_Logging_Handler.o .shobj/Server_Logging_Handler.so: Server_Logging_Handler.cpp \ - $(ACE_ROOT)/ace/Synch.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/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/Log_Record.i \ - $(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.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - Server_Logging_Handler.h Log_Message_Receiver.h \ - Server_Logging_Handler_T.h \ - $(ACE_ROOT)/ace/TLI_Acceptor.h \ - $(ACE_ROOT)/ace/TLI.h \ - $(ACE_ROOT)/ace/IPC_SAP.h \ - $(ACE_ROOT)/ace/IPC_SAP.i \ - $(ACE_ROOT)/ace/Addr.h \ - $(ACE_ROOT)/ace/Addr.i \ - $(ACE_ROOT)/ace/TLI.i \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/TLI_Stream.h \ - $(ACE_ROOT)/ace/INET_Addr.h \ - $(ACE_ROOT)/ace/INET_Addr.i \ - $(ACE_ROOT)/ace/TLI_Stream.i \ - $(ACE_ROOT)/ace/TLI_Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/SOCK_Stream.h \ - $(ACE_ROOT)/ace/SOCK_IO.h \ - $(ACE_ROOT)/ace/SOCK.h \ - $(ACE_ROOT)/ace/SOCK.i \ - $(ACE_ROOT)/ace/SOCK_IO.i \ - $(ACE_ROOT)/ace/SOCK_Stream.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(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/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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i -.obj/Token_Handler.o .obj/Token_Handler.so .shobj/Token_Handler.o .shobj/Token_Handler.so: Token_Handler.cpp \ - $(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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - Token_Handler.h \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(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/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.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/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/ace/Local_Tokens.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Local_Tokens.i \ - $(ACE_ROOT)/ace/Token_Collection.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/ace/Token_Collection.i \ - $(ACE_ROOT)/ace/Token_Request_Reply.h \ - $(ACE_ROOT)/ace/Token_Request_Reply.i -.obj/Logging_Strategy.o .obj/Logging_Strategy.so .shobj/Logging_Strategy.o .shobj/Logging_Strategy.so: Logging_Strategy.cpp \ - $(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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Get_Opt.i \ - Logging_Strategy.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i -.obj/Base_Optimizer.o .obj/Base_Optimizer.so .shobj/Base_Optimizer.o .shobj/Base_Optimizer.so: Base_Optimizer.cpp Base_Optimizer.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/inc_user_config.h \ - $(ACE_ROOT)/ace/config.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.h \ - $(ACE_ROOT)/ace/ACE.i \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/lib/Name_Handler.cpp b/netsvcs/lib/Name_Handler.cpp deleted file mode 100644 index 87a05f118ff..00000000000 --- a/netsvcs/lib/Name_Handler.cpp +++ /dev/null @@ -1,578 +0,0 @@ -// Name_Handler.cpp -// $Id$ - -#define ACE_BUILD_SVC_DLL -#include "ace/Containers.h" -#include "ace/Get_Opt.h" -#include "Name_Handler.h" -#include "ace/Singleton.h" - -// This helper class adds the correct default constructor to the -// ACE_Naming_Context class so that we can use it in ACE_Singleton. -class Naming_Context : public ACE_Naming_Context -{ -public: - Naming_Context (void) - : ACE_Naming_Context (ACE_Naming_Context::NET_LOCAL) {} -}; - -typedef ACE_Singleton<Naming_Context, ACE_SYNCH_NULL_MUTEX> NAMING_CONTEXT; - -// Simple macro that does bitwise AND -- useful in table lookup -#define ACE_TABLE_MAP(INDEX, MASK) (INDEX & MASK) - -// Simple macro that does bitwise AND and then right shift bits by 3 -#define ACE_LIST_MAP(INDEX, MASK) (((unsigned long) (INDEX & MASK)) >> 3) - -int -ACE_Name_Acceptor::parse_args (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_Name_Acceptor::parse_args"); - - this->service_port_ = ACE_DEFAULT_SERVER_PORT; - - ACE_LOG_MSG->open ("Name Service"); - - ACE_Get_Opt get_opt (argc, argv, "p:", 0); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'p': - this->service_port_ = ACE_OS::atoi (get_opt.optarg); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n[-p server-port]\n%a", 1), - -1); - } - } - - this->service_addr_.set (this->service_port_); - return 0; -} - -int -ACE_Name_Acceptor::init (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_Name_Acceptor::init"); - - // Use the options hook to parse the command line arguments and set - // options. - this->parse_args (argc, argv); - - // Set the acceptor endpoint into listen mode (use the Singleton - // global Reactor...). - if (this->open (this->service_addr_, ACE_Reactor::instance (), - 0, 0, 0, - &this->scheduling_strategy_, - "Name Server", "ACE naming service") == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%n: %p on port %d\n", - "acceptor::open failed", - this->service_addr_.get_port_number ()), -1); - - // Ignore SIGPIPE so that each <SVC_HANDLER> can handle this on its - // own. - ACE_Sig_Action sig (ACE_SignalHandler (SIG_IGN), SIGPIPE); - ACE_UNUSED_ARG (sig); - - ACE_INET_Addr server_addr; - - // Figure out what port we're really bound to. - if (this->acceptor ().get_local_addr (server_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_local_addr"), -1); - - ACE_DEBUG ((LM_DEBUG, - "starting up Name Server at port %d on handle %d\n", - server_addr.get_port_number (), - this->acceptor ().get_handle ())); - return 0; -} - -// The following is a "Factory" used by the ACE_Service_Config and -// svc.conf file to dynamically initialize the state of the Naming -// Server. - -ACE_SVC_FACTORY_DEFINE (ACE_Name_Acceptor) - -// Default constructor. -ACE_Name_Handler::ACE_Name_Handler (ACE_Thread_Manager *tm) - : ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> (tm) -{ - ACE_TRACE ("ACE_Name_Handler::ACE_Name_Handler"); - - // Set up pointers to member functions for the top-level dispatching - // of client requests. - this->op_table_[ACE_Name_Request::BIND] = &ACE_Name_Handler::bind; - this->op_table_[ACE_Name_Request::REBIND] = &ACE_Name_Handler::rebind; - this->op_table_[ACE_Name_Request::RESOLVE] = &ACE_Name_Handler::resolve; - this->op_table_[ACE_Name_Request::UNBIND] = &ACE_Name_Handler::unbind; - this->op_table_[ACE_Name_Request::LIST_NAMES] = &ACE_Name_Handler::lists; - this->op_table_[ACE_Name_Request::LIST_NAME_ENTRIES] = &ACE_Name_Handler::lists_entries; - - // Assign references to simplify subsequent code. - LIST_ENTRY &list_names_ref = this->list_table_[ACE_LIST_MAP (ACE_Name_Request::LIST_NAMES, - ACE_Name_Request::LIST_OP_MASK)]; - LIST_ENTRY &list_values_ref = this->list_table_[ACE_LIST_MAP (ACE_Name_Request::LIST_VALUES, - ACE_Name_Request::LIST_OP_MASK)]; - LIST_ENTRY &list_types_ref = this->list_table_[ACE_LIST_MAP (ACE_Name_Request::LIST_TYPES, - ACE_Name_Request::LIST_OP_MASK)]; - - // Set up pointers to member functions for dispatching within the - // LIST_{NAMES,VALUES,TYPES} methods. - - list_names_ref.operation_ = &ACE_Naming_Context::list_names; - list_names_ref.request_factory_ = &ACE_Name_Handler::name_request; - list_names_ref.description_ = "request for LIST_NAMES\n"; - - list_values_ref.operation_ = &ACE_Naming_Context::list_values; - list_values_ref.request_factory_ = &ACE_Name_Handler::value_request; - list_values_ref.description_ = "request for LIST_VALUES\n"; - - list_types_ref.operation_ = &ACE_Naming_Context::list_types; - list_types_ref.request_factory_ = &ACE_Name_Handler::type_request; - list_types_ref.description_ = "request for LIST_TYPES\n"; -} - -// Activate this instance of the ACE_Name_Handler (called by the -// ACE_Name_Acceptor). - -/* VIRTUAL */ int -ACE_Name_Handler::open (void *) -{ - ACE_TRACE ("ACE_Name_Handler::open"); - - // Call down to our parent to register ourselves with the Reactor. - if (ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>::open (0) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), -1); - - return 0; -} - -// Create and send a reply to the client. - -/* VIRTUAL */ int -ACE_Name_Handler::send_reply (ACE_UINT32 status, ACE_UINT32 err) -{ - ACE_TRACE ("ACE_Name_Handler::send_reply"); - void *buf; - this->name_reply_.msg_type (status); - this->name_reply_.errnum (err); - - this->name_reply_.init (); - int len = this->name_reply_.encode (buf); - - if (len == -1) - return -1; - - ssize_t n = this->peer ().send (buf, len); - - if (n != len) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n, expected len = %d, actual len = %d", - "send failed", len, n), -1); - else - return 0; -} - -/* VIRTUAL */ int -ACE_Name_Handler::send_request (ACE_Name_Request &request) -{ - ACE_TRACE ("ACE_Name_Handler::send_request"); - void *buffer; - ssize_t length = request.encode (buffer); - - if (length == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "encode failed"), -1); - - // Transmit request via a blocking send. - - if (this->peer ().send_n (buffer, length) != length) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "send_n failed"), -1); - - return 0; -} - -// Give up waiting (e.g., when a timeout occurs or a client shuts down -// unexpectedly). - -/* VIRTUAL */ int -ACE_Name_Handler::abandon (void) -{ - ACE_TRACE ("ACE_Name_Handler::abandon"); - int failure_reason = errno; - return this->send_reply (ACE_Name_Reply::FAILURE, failure_reason); -} - -// Enable clients to limit the amount of time they'll wait - -/* VIRTUAL */ int -ACE_Name_Handler::handle_timeout (const ACE_Time_Value &, const void *) -{ - ACE_TRACE ("ACE_Name_Handler::handle_timeout"); - return this->abandon (); -} - -// Return the underlying ACE_HANDLE. - -/* VIRTUAL */ ACE_HANDLE -ACE_Name_Handler::get_handle (void) const -{ - ACE_TRACE ("ACE_Name_Handler::get_handle"); - return this->peer ().get_handle (); -} - -// Dispatch the appropriate operation to handle the client request. - -/* VIRTUAL */ int -ACE_Name_Handler::dispatch (void) -{ - ACE_TRACE ("ACE_Name_Handler::dispatch"); - // Dispatch the appropriate request. - int index = this->name_request_.msg_type (); - - // Invoke the appropriate member function obtained by indexing into - // the op_table_. ACE_TABLE_MAP returns the same index (by bitwise - // AND) for list_names, list_values, and list_types since they are - // all handled by the same method. Similarly, it returns the same - // index for list_name_entries, list_value_entries, and - // list_type_entries. - return (this->*op_table_[ACE_TABLE_MAP (index, ACE_Name_Request::OP_TABLE_MASK)]) (); -} - -// Receive, frame, and decode the client's request. Note, this method -// should use non-blocking I/O. - -/* VIRTUAL */ int -ACE_Name_Handler::recv_request (void) -{ - ACE_TRACE ("ACE_Name_Handler::recv_request"); - // Read the first 4 bytes to get the length of the message This - // implementation assumes that the first 4 bytes are the length of - // the message. - ssize_t n = this->peer ().recv ((void *) &this->name_request_, sizeof (ACE_UINT32)); - - switch (n) - { - case -1: - /* FALLTHROUGH */ - ACE_DEBUG ((LM_DEBUG, "****************** recv_request returned -1\n")); - default: - ACE_ERROR ((LM_ERROR, "%p got %d bytes, expected %d bytes\n", - "recv failed", n, sizeof (ACE_UINT32))); - /* FALLTHROUGH */ - case 0: - // We've shutdown unexpectedly, let's abandon the connection. - this->abandon (); - return -1; - /* NOTREACHED */ - case sizeof (ACE_UINT32): - { - // Transform the length into host byte order. - ssize_t length = ntohl (this->name_request_.length ()); - - // Do a sanity check on the length of the message. - if (length > (ssize_t) sizeof this->name_request_) - { - ACE_ERROR ((LM_ERROR, "length %d too long\n", length)); - return this->abandon (); - } - - // Receive the rest of the request message. - // @@ beware of blocking read!!!. - n = this->peer ().recv ((void *) (((char *) &this->name_request_) - + sizeof (ACE_UINT32)), - length - sizeof (ACE_UINT32)); - - // Subtract off the size of the part we skipped over... - if (n != (length - (ssize_t) sizeof (ACE_UINT32))) - { - ACE_ERROR ((LM_ERROR, "%p expected %d, got %d\n", - "invalid length", length, n)); - return this->abandon (); - } - - // Decode the request into host byte order. - if (this->name_request_.decode () == -1) - { - ACE_ERROR ((LM_ERROR, "%p\n", "decode failed")); - return this->abandon (); - } - } - } - return 0; -} - -// Callback method invoked by the ACE_Reactor when events arrive from -// the client. - -/* VIRTUAL */ int -ACE_Name_Handler::handle_input (ACE_HANDLE) -{ - ACE_TRACE ("ACE_Name_Handler::handle_input"); - - if (this->recv_request () == -1) - return -1; - else - return this->dispatch (); -} - -int -ACE_Name_Handler::bind (void) -{ - ACE_TRACE ("ACE_Name_Handler::bind"); - return this->shared_bind (0); -} - -int -ACE_Name_Handler::rebind (void) -{ - ACE_TRACE ("ACE_Name_Handler::rebind"); - int result = this->shared_bind (1); - return result == 1 ? 0 : result; -} - -int -ACE_Name_Handler::shared_bind (int rebind) -{ - ACE_TRACE ("ACE_Name_Handler::shared_bind"); - ACE_WString a_name (this->name_request_.name (), - this->name_request_.name_len () / sizeof (ACE_USHORT16)); - ACE_WString a_value (this->name_request_.value (), - this->name_request_.value_len () / sizeof (ACE_USHORT16)); - int result; - if (rebind == 0) - { - ACE_DEBUG ((LM_DEBUG, "request for BIND \n")); - result = NAMING_CONTEXT::instance ()->bind (a_name, a_value, - this->name_request_.type ()); - } - else - { - ACE_DEBUG ((LM_DEBUG, "request for REBIND \n")); - result = NAMING_CONTEXT::instance ()->rebind (a_name, a_value, - this->name_request_.type ()); - if (result == 1) - result = 0; - } - if (result == 0) - return this->send_reply (ACE_Name_Reply::SUCCESS); - else return this->send_reply (ACE_Name_Reply::FAILURE); -} - -int -ACE_Name_Handler::resolve (void) -{ - ACE_TRACE ("ACE_Name_Handler::resolve"); - ACE_DEBUG ((LM_DEBUG, "request for RESOLVE \n")); - ACE_WString a_name (this->name_request_.name (), - this->name_request_.name_len () / sizeof (ACE_USHORT16)); - - // The following will deliver our reply back to client we - // pre-suppose success (indicated by type RESOLVE). - - ACE_WString avalue; - char *atype; - if (NAMING_CONTEXT::instance ()->resolve (a_name, avalue, atype) == 0) - { - ACE_Name_Request nrq (ACE_Name_Request::RESOLVE, - 0, 0, - avalue.rep (), - avalue.length () * sizeof (ACE_USHORT16), - atype, ACE_OS::strlen (atype)); - return this->send_request (nrq); - } - - ACE_Name_Request nrq (ACE_Name_Request::BIND, 0, 0, 0, 0, 0, 0); - this->send_request (nrq); - return 0; -} - -int -ACE_Name_Handler::unbind (void) -{ - ACE_TRACE ("ACE_Name_Handler::unbind"); - ACE_DEBUG ((LM_DEBUG, "request for UNBIND \n")); - ACE_WString a_name (this->name_request_.name (), - this->name_request_.name_len () / sizeof (ACE_USHORT16)); - if (NAMING_CONTEXT::instance ()->unbind (a_name) == 0) - return this->send_reply (ACE_Name_Reply::SUCCESS); - else return this->send_reply (ACE_Name_Reply::FAILURE); -} - -ACE_Name_Request -ACE_Name_Handler::name_request (ACE_WString *one_name) -{ - ACE_TRACE ("ACE_Name_Handler::name_request"); - return ACE_Name_Request (ACE_Name_Request::LIST_NAMES, - one_name->rep (), - one_name->length () * sizeof (ACE_USHORT16), - 0, 0, - 0, 0); -} - -ACE_Name_Request -ACE_Name_Handler::value_request (ACE_WString *one_value) -{ - ACE_TRACE ("ACE_Name_Handler::value_request"); - return ACE_Name_Request (ACE_Name_Request::LIST_VALUES, - 0, 0, - one_value->rep (), - one_value->length () * sizeof (ACE_USHORT16), - 0, 0); -} - -ACE_Name_Request -ACE_Name_Handler::type_request (ACE_WString *one_type) -{ - ACE_TRACE ("ACE_Name_Handler::type_request"); - return ACE_Name_Request (ACE_Name_Request::LIST_TYPES, - 0, 0, - 0, 0, - one_type->char_rep (), - one_type->length ()); -} - -int -ACE_Name_Handler::lists (void) -{ - ACE_TRACE ("ACE_Name_Handler::lists"); - - ACE_PWSTRING_SET set; - ACE_WString pattern (this->name_request_.name (), - this->name_request_.name_len () / sizeof (ACE_USHORT16)); - - // Get the index into the list table - int index = ACE_LIST_MAP (this->name_request_.msg_type (), - ACE_Name_Request::LIST_OP_MASK); - - // Print the message type - ACE_DEBUG ((LM_DEBUG, list_table_[index].description_)); - - // Call the appropriate method - if ((NAMING_CONTEXT::instance ()->*list_table_[index].operation_) (set, pattern) != 0) - { - // None found so send blank request back - ACE_Name_Request end_rq (ACE_Name_Request::MAX_ENUM, 0, 0, 0, 0, 0, 0); - - if (this->send_request (end_rq) == -1) - return -1; - } - else - { - ACE_WString *one_entry = 0; - - for (ACE_Unbounded_Set_Iterator<ACE_WString> set_iterator (set); - set_iterator.next (one_entry) !=0; - set_iterator.advance()) - { - ACE_Name_Request nrq ((this->*list_table_[index].request_factory_) (one_entry)); - - // Create a request by calling the appropriate method obtained - // by accessing into the table. Then send the request across. - if (this->send_request (nrq) == -1) - return -1; - } - - // Send last message indicator. - ACE_Name_Request nrq (ACE_Name_Request::MAX_ENUM, - 0, 0, - 0, 0, - 0, 0); - return this->send_request (nrq); - } - return 0; -} - -int -ACE_Name_Handler::lists_entries (void) -{ - ACE_TRACE ("ACE_Name_Handler::lists_entries"); - ACE_BINDING_SET set; - ACE_WString pattern (this->name_request_.name (), - this->name_request_.name_len () / sizeof (ACE_USHORT16)); - - int (ACE_Naming_Context::*ptmf) (ACE_BINDING_SET &, const ACE_WString &); - - switch (this->name_request_.msg_type ()) - { - case ACE_Name_Request::LIST_NAME_ENTRIES: - ACE_DEBUG ((LM_DEBUG, "request for LIST_NAME_ENTRIES \n")); - ptmf = &ACE_Naming_Context::list_name_entries; - break; - case ACE_Name_Request::LIST_VALUE_ENTRIES: - ACE_DEBUG ((LM_DEBUG, "request for LIST_VALUE_ENTRIES \n")); - ptmf = &ACE_Naming_Context::list_value_entries; - break; - case ACE_Name_Request::LIST_TYPE_ENTRIES: - ACE_DEBUG ((LM_DEBUG, "request for LIST_TYPE_ENTRIES \n")); - ptmf = &ACE_Naming_Context::list_type_entries; - break; - default: - return -1; - } - - if ((NAMING_CONTEXT::instance ()->*ptmf) (set, pattern) != 0) - { - // None found so send blank request back. - ACE_Name_Request end_rq (ACE_Name_Request::MAX_ENUM, 0, 0, 0, 0, 0, 0); - - if (this->send_request (end_rq) == -1) - return -1; - } - else - { - ACE_Name_Binding *one_entry = 0; - - for (ACE_Unbounded_Set_Iterator<ACE_Name_Binding> set_iterator (set); - set_iterator.next (one_entry) !=0; - set_iterator.advance()) - { - ACE_Name_Request mynrq (this->name_request_.msg_type (), - one_entry->name_.rep (), - one_entry->name_.length () * sizeof (ACE_USHORT16), - one_entry->value_.rep (), - one_entry->value_.length () * sizeof (ACE_USHORT16), - one_entry->type_, - ACE_OS::strlen (one_entry->type_)); - - if (this->send_request (mynrq) == -1) - return -1; - } - - // send last message indicator - ACE_Name_Request nrq (ACE_Name_Request::MAX_ENUM, 0, 0, 0, 0, 0, 0); - - if (this->send_request (nrq) == -1) - return -1; - } - return 0; -} - -ACE_Name_Handler::~ACE_Name_Handler (void) -{ - ACE_TRACE ("ACE_Name_Handler::~ACE_Name_Handler"); - ACE_DEBUG ((LM_DEBUG, "closing down Handle %d\n", - this->get_handle ())); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Singleton<Naming_Context, ACE_SYNCH_NULL_MUTEX>; -template class ACE_Accept_Strategy<ACE_Name_Handler, ACE_SOCK_ACCEPTOR>; -template class ACE_Acceptor<ACE_Name_Handler, ACE_SOCK_ACCEPTOR>; -template class ACE_Concurrency_Strategy<ACE_Name_Handler>; -template class ACE_Creation_Strategy<ACE_Name_Handler>; -template class ACE_Schedule_All_Reactive_Strategy<ACE_Name_Handler>; -template class ACE_Scheduling_Strategy<ACE_Name_Handler>; -template class ACE_Strategy_Acceptor<ACE_Name_Handler, ACE_SOCK_ACCEPTOR>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Singleton<Naming_Context, ACE_SYNCH_NULL_MUTEX> -#pragma instantiate ACE_Accept_Strategy<ACE_Name_Handler, ACE_SOCK_ACCEPTOR> -#pragma instantiate ACE_Acceptor<ACE_Name_Handler, ACE_SOCK_ACCEPTOR> -#pragma instantiate ACE_Concurrency_Strategy<ACE_Name_Handler> -#pragma instantiate ACE_Creation_Strategy<ACE_Name_Handler> -#pragma instantiate ACE_Schedule_All_Reactive_Strategy<ACE_Name_Handler> -#pragma instantiate ACE_Scheduling_Strategy<ACE_Name_Handler> -#pragma instantiate ACE_Strategy_Acceptor<ACE_Name_Handler, ACE_SOCK_ACCEPTOR> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - diff --git a/netsvcs/lib/Name_Handler.h b/netsvcs/lib/Name_Handler.h deleted file mode 100644 index 087a7d0292a..00000000000 --- a/netsvcs/lib/Name_Handler.h +++ /dev/null @@ -1,186 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Name_Handler.h -// -// = AUTHOR -// Prashant Jain, Gerhard Lenzer, and Douglas C. Schmidt -// -// ============================================================================ - -#if !defined (ACE_NAME_HANDLER_H) -#define ACE_NAME_HANDLER_H - -#include "ace/Acceptor.h" -#include "ace/SOCK_Acceptor.h" -#include "ace/SString.h" -#include "ace/Naming_Context.h" -#include "ace/Name_Request_Reply.h" - -// Forward declaration. -class ACE_Naming_Context; - -class ACE_Svc_Export ACE_Name_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> - // = TITLE - // Product object created by <ACE_Name_Acceptor>. An - // <ACE_Name_Handler> exchanges messages with a <ACE_Name_Proxy> - // object on the client-side. - // - // = DESCRIPTION - // This class is the main workhorse of the <ACE_Name_Server>. It - // handles client requests to bind, rebind, resolve, and unbind - // names. It also schedules and handles timeouts that are used to - // support "timed waits." Clients used timed waits to bound the - // amount of time they block trying to get a name. -{ - friend class ACE_Shutup_GPlusPlus; // Turn off g++ warning -public: - typedef int (ACE_Name_Handler::*OPERATION) (void); - // Pointer to a member function of ACE_Name_Handler returning int - - typedef int (ACE_Naming_Context::*LIST_OP) (ACE_PWSTRING_SET &, const ACE_WString &); - // Pointer to a member function of ACE_Naming_Context returning int - - typedef ACE_Name_Request (ACE_Name_Handler::*REQUEST) (ACE_WString *); - // Pointer to a member function of ACE_Name_Handler returning ACE_Name_Request - - // = Initialization and termination. - - ACE_Name_Handler (ACE_Thread_Manager * = 0); - // Default constructor. - - virtual int open (void * = 0); - // Activate this instance of the <ACE_Name_Handler> (called by the - // <ACE_Strategy_Acceptor>). - -protected: - // = Helper routines for the operations exported to clients. - - virtual int abandon (void); - // Give up waiting (e.g., when a timeout occurs or a client shuts - // down unexpectedly). - - // = Low level routines for framing requests, dispatching - // operations, and returning replies. - - virtual int recv_request (void); - // Receive, frame, and decode the client's request. - - virtual int dispatch (void); - // Dispatch the appropriate operation to handle the client's - // request. - - virtual int send_reply (ACE_UINT32 status, ACE_UINT32 errnum = 0); - // Create and send a reply to the client. - - virtual int send_request (ACE_Name_Request &); - // Special kind of reply - - // = Demultiplexing hooks. - virtual ACE_HANDLE get_handle (void) const; - // Return the underlying <ACE_HANDLE>. - - virtual int handle_input (ACE_HANDLE); - // Callback method invoked by the <ACE_Reactor> when client events - // arrive. - - // = Timer hook. - virtual int handle_timeout (const ACE_Time_Value &tv, const void *arg); - // Enable clients to limit the amount of time they wait for a name. - -private: - - OPERATION op_table_[ACE_Name_Request::MAX_ENUM]; - // Table of pointers to member functions - - struct LIST_ENTRY - { - LIST_OP operation_; - // A member function pointer that performs the appropriate - // operation (e.g., LIST_NAMES, LIST_VALUES, or LIST_TYPES). - - REQUEST request_factory_; - // A member function pointer that serves as a factory to create a - // request that is passed back to the client. - - char *description_; - // Name of the operation we're dispatching (used for debugging). - }; - - LIST_ENTRY list_table_[ACE_Name_Request::MAX_LIST]; - // This is the table of pointers to functions that we use to - // simplify the handling of list requests. - - ACE_Name_Request name_request_; - // Cache request from the client. - - ACE_Name_Request name_request_back_; - // Special kind of reply for resolve and listnames. - - ACE_Name_Reply name_reply_; - // Cache reply to the client. - - ACE_INET_Addr addr_; - // Address of client we are connected with. - - ~ACE_Name_Handler (void); - // Ensure dynamic allocation... - - int bind (void); - // Handle binds. - - int rebind (void); - // Handle rebinds. - - int shared_bind (int rebind); - // Handle binds and rebinds. - - int resolve (void); - // Handle find requests. - - int unbind (void); - // Handle unbind requests. - - int lists (void); - // Handle LIST_NAMES, LIST_VALUES, and LIST_TYPES requests. - - int lists_entries (void); - // Handle LIST_NAME_ENTRIES, LIST_VALUE_ENTRIES, and - // LIST_TYPE_ENTRIES requests. - - ACE_Name_Request name_request (ACE_WString *one_name); - // Create a name request. - - ACE_Name_Request value_request (ACE_WString *one_name); - // Create a value request. - - ACE_Name_Request type_request (ACE_WString *one_name); - // Create a type request. -}; - -class ACE_Name_Acceptor : public ACE_Strategy_Acceptor<ACE_Name_Handler, ACE_SOCK_ACCEPTOR> - // = TITLE - // This class contains the service-specific methods that can't - // easily be factored into the <ACE_Strategy_Acceptor>. -{ -public: - virtual int init (int argc, char *argv[]); - // Dynamic linking hook. - - int parse_args (int argc, char *argv[]); - // Parse svc.conf arguments. - -private: - ACE_Schedule_All_Reactive_Strategy<ACE_Name_Handler> scheduling_strategy_; - // The scheduling strategy is designed for Reactive services. -}; - -ACE_SVC_FACTORY_DECLARE (ACE_Name_Acceptor) - -#endif /* ACE_NAME_HANDLER_H */ diff --git a/netsvcs/lib/README b/netsvcs/lib/README deleted file mode 100644 index f624b1758fc..00000000000 --- a/netsvcs/lib/README +++ /dev/null @@ -1,267 +0,0 @@ -This directory provides a number of network services that utilize the -ACE wrapper features. - - . Logging_Strategy -- Controls the output of all services that are - invoked along with the Logging_Strategy service. Please see below for - details on how to control the output. - - . [Thr_]Server_Logging_Handler.* -- Implements server portion - of the ACE distributed logging service. Both multi-threaded - and single-threaded implementations are provided. - - . Client_Logging_Handler.* -- Implements the client portion - of the ACE distributed logging service. - - . Name_Handler.* -- Implements a distributed name service that - allows applications to bind, find, and unbind names in - a distributed system. - - . Token_Handler.* -- Implements a distributed token - service that allows applications to acquire and release - locks in a distributed system. - - . Time_Handler.* -- Implements a distributed time service that - allows distributed applications to synchronize their - time. - -The remainder of this README file explains how these services work. - -==================== Logging_Strategy Service ==================== -The Logging_Strategy Service can be used to control the output of all the -network services. It can be invoked with certain flags that determine -where the output of all the services should go. - -The Logging_Strategy Service sets the flags in ACE_Log_Msg which in turn -controls all the streams through macros such as ACE_DEBUG, ACE_ERROR, -and ACE_ERROR_RETURN. - -If default behavior is required, the Logging_Strategy Service need not be -invoked or it can be invoked with no paramaters. Here are the command -line arguments that can be given to the Logging_Strategy Service: -<CODE> - - -f <flag1>|<flag2>|<flag3> (etc...) -</CODE> - where a flag can be any of the following: - - STDERR -- Write messages to stderr. - LOGGER -- Write messages to the local client logger deamon. - OSTREAM -- Write messages to the ostream that gets created by - specifying a filename (see below) - VERBOSE -- Display messages in a verbose manner - SILENT -- Do not print messages at all - -Note: If more than one flag is specified, the flags need to be 'OR'ed -as above syntax shows. Make sure there is no space in between the flag -and '|'. - - -s filename - - If the OSTREAM flag is set, this can be used to specify the -filename where the output should be directed. Note that if the OSTREAM -flag is set and no filename is specified, ACE_DEFAULT_LOGFILE will be -used to write the output to. - -Examples: - -To direct output only to STDERR, specify command line arguments as: - "-f STDERR" - -To direct output to both STDERR and a file called "mylog", specify -command line arguments as: - "-f STDERR|OSTREAM -s mylog" - -==================== Name Service ==================== - -This file describes the principles of the Name_Server server test -application. - -1. Startup configuration - --------------------- - -To communicate with the server process, a client needs to know the -INET_Addr, where the server offers its service. Class Name_Options -holds all the configuration information of the Name Service. This -consists of : - - - nameserver_port : Port number where the server process expects requests - - nameserver_host : hostname where the server process resides - - namespace_dir : directory that holds the NameBinding databases - - process_name : name of the client process (argv[0]), NameBindings of - a ProcessLocal namespace are stored in file - "namespace_dir/process_name". NameBindings of NodeGlobal - namespace are stored in "namespace_dir/localnames". - NameBindings of Net_Local namespace are stored in file - "namespace_dir/globalnames" on the server host. - These configuration parameters are passed to the process as commandline - arguments to main: - -p nameserver port - -h nameserver host - -l namespace directory - - The main program _must_ initialize an instance of Name_Options with name - name_options (since the shared libraries depend on this). Main should - look like : - - #include "ace/Name_Options.h" - - Name_Options name_options; - - int main(int argc, char **argv) - { - name_options.process_name(argv[0]); - name_options.parse_args (argc, argv); - ...... - } - -See the examples in the tests subdirectory of -...Name_Server/Client-Server/client and -...Name_Server/Client-Server/server - - -2. Class Naming_Context - ------------------- - -This is the main workhorse of the Name Service. It is used by client -processes as well as by the server process. It manages all accesses to -the appropriate NameBinding database (that is the file where -NameBindings are stored) and it also manages the communication between -a client process and the server (by using class Name_Proxy, which is a -private member of Naming_Context). (Note: no IPC is necessary, if a -client process runs on the same host as the server). - -The strategy for all public methods of Naming_Context is common : - -1. Transform the format of the arguments to ACE_SString (which is - internally used) if necessary. - -2. check if work can be done locally : -> call the appropriate local_* method - otherwise call the appropriate global_* method. - -Removing Name_Bindings from the database (either with unbind or -rebind) uses the ACE_Malloc class configured with the -ACE_MMAP_Memory_Pool. This allows memory to be reclaimed when -name/value tuples are unbound. - -3. Class Name_Server - ---------------- - -The Name_Server registers in its run method its Name_Acceptor -(instantiated with the INET_Addr) at the Reactor, to receive incoming -requests. - -4. Class Name_Acceptor - ------------------ - -The Name_Acceptor allocates in its handle_input routine a new instance -of class Name_Handler on the heap, and accepts connections into this -Name_Handler. - -5. Class Name_Handler - ----------------- - -The Name_Handler represents the server side of communication between -client and server. It interprets incoming requests to the Net_Local -namespace and dele- gates the requests to its own Naming_Context -(which is the Net_Local namespace on the current host). For -communication it uses the helper classes Name_Request (which up to now -needs not only contain the request from the client, but also the -appropriate reply from the server) and Name_Reply. Note that I want -to change the usage of these classes to make the structure of the -software clearer. - -6. Dependencies - ------------ - -As the Name service must be able to handle wide character strings, it -uses ACE_WString String classes. - - -==================== Time Service ==================== - -The following is a description of the Time Server clerk and server -services: - -1. Startup configuration - --------------------- - -Configuring a server requires specifying the port number of the -server. This can be specified as a command line argument as follows: - - -p <port number> - -A clerk communicates with one or more server processes. To communicate -with the server process, a client needs to know the INET_Addr, where -the server offers its service. The configuration parameters namely the -server port and server host are passed as command line arguments when -starting up the clerk service as follows: - - -h <server host1>:<server port1> -h <server host2>:<server port2> ... - -Note that multiple servers can be specified in this manner for the -clerk to connect to when it starts up. The server name and the port -number need to be concatenated and separated by a ":". In addition, -the timeout value can also be specified as a command line argument as -follows: - - -t timeout - -The timeout value specifies the time interval at which the clerk -should query the servers for time updates. - -By default a Clerk does a non-blocking connect to a server. This can -be overridden and a Clerk can be made to do a blocking connect by -using the -b flag. - -Here is what a config file would look like for starting up a server at -port 20202: - -dynamic Time_Service Service_Object * ../lib/netsvcs:_make_ACE_TS_Server_Acceptor() "-p 20202" - -Here is what a config file would look like for starting up a clerk -that needs to connect to two servers, one at tango and one at lambada: - -dynamic Time_Server_test Service_Object *../lib/netsvcs:_make_ACE_TS_Clerk_Processor () "-h tango:20202 -h lambada:20202 -t 4" - -2. Class TS_Server_Handler - ----------------------- - -TS_Server_Handler represents the server side of communication between -clerk and server. It interprets incoming requests for time updates, -gets the system time, creates a reply in response to the request and -then sends the reply to the clerk from which it received the request. -For communication it uses the helper class Time_Request. - -3. Class TS_Server_Acceptor - ------------------------ - -TS_Server_Acceptor allocates in its handle_input routine a new instance -of class TS_Server_Handler on the heap, and accepts connections into this -TS_Server_Handler. - -4. Class TS_Clerk_Handler - ---------------------- - -TS_Clerk_Handler represents the clerk side of communication between -clerk and server. It generates requests for time updates every timeout -period and then sends these requests to all the servers it is -connected to asynchronously. It receives the replies to these requests -from the servers through its handle_input method and then adjusts the -time using the roundtrip estimate. It caches this time which is later -retrieved by TS_Clerk_Processor. - -5. Class TS_Clerk_Processor - ------------------------ - -TS_Clerk_Processor creates a new instance of TS_Clerk_Handler for -every server connection it needs to create. It periodically calls -send_request() of every TS_Clerk_Handler to send a request for time -update to all the servers. In the process, it retrieves the latest -time cached by each TS_Clerk_Handler and then uses it to compute its -notion of the local system time. - -6. Algorithms - ---------- - -Currently, updating the system time involves taking the average of all -the times received from the servers. diff --git a/netsvcs/lib/Server_Logging_Handler.cpp b/netsvcs/lib/Server_Logging_Handler.cpp deleted file mode 100644 index b40951895b7..00000000000 --- a/netsvcs/lib/Server_Logging_Handler.cpp +++ /dev/null @@ -1,231 +0,0 @@ -// $Id$ -// Server_Logging_Handler.cpp - -#if !defined (ACE_SERVER_LOGGING_HANDLER_C) -#define ACE_SERVER_LOGGING_HANDLER_C - -#define ACE_BUILD_SVC_DLL -#include "ace/Synch.h" -#include "Server_Logging_Handler.h" - -// The following are "Factories" used by the ACE_Service_Config and -// svc.conf file to dynamically initialize the state of the -// single-threaded and multi-threaded logging server. - -ACE_SVC_FACTORY_DEFINE (ACE_Server_Logging_Acceptor) -ACE_SVC_FACTORY_DEFINE (ACE_Thr_Server_Logging_Acceptor) - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class Log_Message_Receiver_Impl<ACE_NULL_SYNCH>; -template class Static_Log_Message_Receiver<ACE_NULL_SYNCH>; -template class ACE_Acceptor<Null_Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Accept_Strategy<Null_Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Concurrency_Strategy<Null_Synch_Logging_Handler_Static_Receiver>; -template class ACE_Creation_Strategy<Null_Synch_Logging_Handler_Static_Receiver>; -template class ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver>; -template class ACE_Scheduling_Strategy<Null_Synch_Logging_Handler_Static_Receiver>; -template class ACE_Strategy_Acceptor<Null_Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Server_Logging_Acceptor_T<Null_Synch_Logging_Handler_Static_Receiver, - Null_Synch_Static_Receiver, - ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> >; -template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Null_Synch_Static_Receiver>; -template class ACE_Server_Logging_Handler<Null_Synch_Static_Receiver>; -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - template class Base_Optimizer<Null_Synch_Static_Receiver, ACE_CString>; - template class Base_Optimizer<Null_Synch_Static_Receiver, ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> >; -#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */ - - -template class Static_Log_Message_Receiver<ACE_LOGGER_SYNCH>; -template class Log_Message_Receiver<ACE_LOGGER_SYNCH>; -template class ACE_Acceptor<Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Acceptor<Synch_Thr_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Acceptor<Synch_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Acceptor<Synch_Thr_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR>; - -template class ACE_Accept_Strategy<Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Accept_Strategy<Synch_Thr_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Accept_Strategy<Synch_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Accept_Strategy<Synch_Thr_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR>; - -template class ACE_Concurrency_Strategy<Synch_Logging_Handler_Static_Receiver>; -template class ACE_Concurrency_Strategy<Synch_Thr_Logging_Handler_Static_Receiver>; -template class ACE_Concurrency_Strategy<Synch_Logging_Handler_Receiver>; -template class ACE_Concurrency_Strategy<Synch_Thr_Logging_Handler_Receiver>; - -template class ACE_Creation_Strategy<Synch_Logging_Handler_Static_Receiver>; -template class ACE_Creation_Strategy<Synch_Thr_Logging_Handler_Static_Receiver>; -template class ACE_Creation_Strategy<Synch_Logging_Handler_Receiver>; -template class ACE_Creation_Strategy<Synch_Thr_Logging_Handler_Receiver>; - -template class ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver>; -template class ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Receiver>; - -template class ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver>; -template class ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Receiver>; - -template class ACE_Scheduling_Strategy<Synch_Logging_Handler_Static_Receiver>; -template class ACE_Scheduling_Strategy<Synch_Logging_Handler_Receiver>; -template class ACE_Scheduling_Strategy<Synch_Thr_Logging_Handler_Static_Receiver>; -template class ACE_Scheduling_Strategy<Synch_Thr_Logging_Handler_Receiver>; - -template class ACE_Strategy_Acceptor<Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Strategy_Acceptor<Synch_Thr_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Strategy_Acceptor<Synch_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR>; -template class ACE_Strategy_Acceptor<Synch_Thr_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR>; - -template class ACE_Server_Logging_Acceptor_T<Synch_Logging_Handler_Static_Receiver, - Synch_Static_Receiver, - ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> >; -template class ACE_Server_Logging_Acceptor_T<Synch_Thr_Logging_Handler_Static_Receiver, - Synch_Static_Receiver, - ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> >; -template class ACE_Server_Logging_Acceptor_T<Synch_Logging_Handler_Receiver, - Synch_Receiver, - ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Receiver> >; -template class ACE_Server_Logging_Acceptor_T<Synch_Thr_Logging_Handler_Receiver, - Synch_Receiver, - ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Receiver> >; - -template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Synch_Static_Receiver>; -template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Synch_Receiver>; -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - template class Base_Optimizer<Synch_Static_Receiver, ACE_CString>; - template class Base_Optimizer<Synch_Receiver, ACE_CString>; - template class Base_Optimizer<Synch_Static_Receiver, ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> >; - template class Base_Optimizer<Synch_Static_Receiver, ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> >; - template class Base_Optimizer<Synch_Receiver, ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Receiver> >; - template class Base_Optimizer<Synch_Receiver, ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Receiver> >; -#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */ - - #if defined (ACE_HAS_THREADS) - template class ACE_Atomic_Op<ACE_Thread_Mutex, u_long>; - template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_MT_SYNCH, Synch_Static_Receiver>; - template class ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_MT_SYNCH, Synch_Receiver>; - template class Log_Message_Receiver_Impl<ACE_MT_SYNCH>; - template class ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH>; - #endif /* ACE_HAS_THREADS */ - -template class ACE_Server_Logging_Handler<Synch_Static_Receiver>; -template class ACE_Thr_Server_Logging_Handler<Synch_Static_Receiver>; -template class ACE_Server_Logging_Handler<Synch_Receiver>; -template class ACE_Thr_Server_Logging_Handler<Synch_Receiver>; - - #if defined (ACE_HAS_TLI) - // NOTE: The following line is not used with the #if 1 // !defined - // (ACE_HAS_TLI) override in Server_Logging_Handler_T.h: - // template class ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_NULL_SYNCH>; - // else if ! ACE_HAS_TLI, LOGGING_PEER_STREAM is ACE_SOCK_STREAM, - // and the specialization would be - // template class ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>; - // That specialization is in TS_Server_Handler.cpp, so we don't need it - // here. - #endif /* ACE_HAS_TLI */ -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate Log_Message_Receiver_Impl<ACE_NULL_SYNCH> -#pragma instantiate Static_Log_Message_Receiver<ACE_NULL_SYNCH> -#pragma instantiate ACE_Acceptor<Null_Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Accept_Strategy<Null_Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Concurrency_Strategy<Null_Synch_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Creation_Strategy<Null_Synch_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Scheduling_Strategy<Null_Synch_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Strategy_Acceptor<Null_Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Server_Logging_Acceptor_T<Null_Synch_Logging_Handler_Static_Receiver, \ - Null_Synch_Static_Receiver, \ - ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> > -#pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Null_Synch_Static_Receiver> -#pragma instantiate ACE_Server_Logging_Handler<Null_Synch_Static_Receiver> -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - #pragma instantiate Base_Optimizer<Null_Synch_Static_Receiver, ACE_CString> - #pragma instantiate Base_Optimizer<Null_Synch_Static_Receiver, ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> > -#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */ - - -#pragma instantiate Static_Log_Message_Receiver<ACE_LOGGER_SYNCH> -#pragma instantiate Log_Message_Receiver<ACE_LOGGER_SYNCH> -#pragma instantiate ACE_Acceptor<Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Acceptor<Synch_Thr_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Acceptor<Synch_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Acceptor<Synch_Thr_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR> - -#pragma instantiate ACE_Accept_Strategy<Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Accept_Strategy<Synch_Thr_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Accept_Strategy<Synch_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Accept_Strategy<Synch_Thr_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR> - -#pragma instantiate ACE_Concurrency_Strategy<Synch_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Concurrency_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Concurrency_Strategy<Synch_Logging_Handler_Receiver> -#pragma instantiate ACE_Concurrency_Strategy<Synch_Thr_Logging_Handler_Receiver> - -#pragma instantiate ACE_Creation_Strategy<Synch_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Creation_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Creation_Strategy<Synch_Logging_Handler_Receiver> -#pragma instantiate ACE_Creation_Strategy<Synch_Thr_Logging_Handler_Receiver> - -#pragma instantiate ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Receiver> - -#pragma instantiate ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Receiver> - -#pragma instantiate ACE_Scheduling_Strategy<Synch_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Scheduling_Strategy<Synch_Logging_Handler_Receiver> -#pragma instantiate ACE_Scheduling_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> -#pragma instantiate ACE_Scheduling_Strategy<Synch_Thr_Logging_Handler_Receiver> - -#pragma instantiate ACE_Strategy_Acceptor<Synch_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Strategy_Acceptor<Synch_Thr_Logging_Handler_Static_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Strategy_Acceptor<Synch_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR> -#pragma instantiate ACE_Strategy_Acceptor<Synch_Thr_Logging_Handler_Receiver, LOGGING_PEER_ACCEPTOR> - -#pragma instantiate ACE_Server_Logging_Acceptor_T<Synch_Logging_Handler_Static_Receiver, \ - Synch_Static_Receiver, \ - ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> > -#pragma instantiate ACE_Server_Logging_Acceptor_T<Synch_Thr_Logging_Handler_Static_Receiver, \ - Synch_Static_Receiver, \ - ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> > -#pragma instantiate ACE_Server_Logging_Acceptor_T<Synch_Logging_Handler_Receiver, \ - Synch_Receiver, \ - ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Receiver> > -#pragma instantiate ACE_Server_Logging_Acceptor_T<Synch_Thr_Logging_Handler_Receiver, \ - Synch_Receiver, \ - ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Receiver> > - -#pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Synch_Static_Receiver> -#pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, Synch_Receiver> -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - #pragma instantiate Base_Optimizer<Synch_Static_Receiver, ACE_CString> - #pragma instantiate Base_Optimizer<Synch_Receiver, ACE_CString> - #pragma instantiate Base_Optimizer<Synch_Static_Receiver, ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> > - #pragma instantiate Base_Optimizer<Synch_Static_Receiver, ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> > - #pragma instantiate Base_Optimizer<Synch_Receiver, ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Receiver> > - #pragma instantiate Base_Optimizer<Synch_Receiver, ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Receiver> > -#endif /* ! (ACE_HAS_BROKEN_HPUX_TEMPLATES) && ! (__GNUG__) */ - - #if defined (ACE_HAS_THREADS) - #pragma instantiate ACE_Atomic_Op<ACE_Thread_Mutex, u_long> - #pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_MT_SYNCH, Synch_Static_Receiver> - #pragma instantiate ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_MT_SYNCH, Synch_Receiver> - #pragma instantiate Log_Message_Receiver_Impl<ACE_MT_SYNCH> - #pragma instantiate ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_SYNCH> - #endif /* ACE_HAS_THREADS */ - -#pragma instantiate ACE_Server_Logging_Handler<Synch_Static_Receiver> -#pragma instantiate ACE_Thr_Server_Logging_Handler<Synch_Static_Receiver> -#pragma instantiate ACE_Server_Logging_Handler<Synch_Receiver> -#pragma instantiate ACE_Thr_Server_Logging_Handler<Synch_Receiver> - - #if defined (ACE_HAS_TLI) - // NOTE: The following line is not used with the #if 1 // !defined - // (ACE_HAS_TLI) override in Server_Logging_Handler_T.h: - // #pragma instantiate ACE_Svc_Handler<LOGGING_PEER_STREAM, ACE_NULL_SYNCH> - // else if ! ACE_HAS_TLI, LOGGING_PEER_STREAM is ACE_SOCK_STREAM, - // and the specialization would be - // #pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> - // That specialization is in TS_Server_Handler.cpp, so we don't need it - // here. - #endif /* ACE_HAS_TLI */ -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -#endif /* ACE_SERVER_LOGGING_HANDLER_C */ diff --git a/netsvcs/lib/Server_Logging_Handler.h b/netsvcs/lib/Server_Logging_Handler.h deleted file mode 100644 index 493e572d008..00000000000 --- a/netsvcs/lib/Server_Logging_Handler.h +++ /dev/null @@ -1,90 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Server_Logging_Handler.h -// -// = AUTHOR -// Doug Schmidt and Per Andersson -// -// ============================================================================ - -#if !defined (ACE_SERVER_LOGGING_HANDLER_H) -#define ACE_SERVER_LOGGING_HANDLER_H - -#include "Log_Message_Receiver.h" -#include "Server_Logging_Handler_T.h" - -// typedefs for Logging Handlers & acceptors using a static -// type based log message receivers. - -// Synched and NULL synched message receivers -typedef Static_Log_Message_Receiver<ACE_NULL_SYNCH> Null_Synch_Static_Receiver; -typedef Static_Log_Message_Receiver<ACE_LOGGER_SYNCH> Synch_Static_Receiver; - -// NULL synched logging handler -typedef ACE_Server_Logging_Handler<Null_Synch_Static_Receiver> Null_Synch_Logging_Handler_Static_Receiver; - -// synched logging handlers -typedef ACE_Server_Logging_Handler<Synch_Static_Receiver> Synch_Logging_Handler_Static_Receiver; -typedef ACE_Thr_Server_Logging_Handler<Synch_Static_Receiver> Synch_Thr_Logging_Handler_Static_Receiver; - -// NULL synched logging acceptor -typedef ACE_Server_Logging_Acceptor_T<Null_Synch_Logging_Handler_Static_Receiver, - Null_Synch_Static_Receiver, - ACE_Schedule_All_Reactive_Strategy<Null_Synch_Logging_Handler_Static_Receiver> > - Null_Synch_Logging_Handler_Static_Receiver_Acceptor; - -// NULL synched logging acceptors -typedef ACE_Server_Logging_Acceptor_T<Synch_Logging_Handler_Static_Receiver, - Synch_Static_Receiver, - ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Static_Receiver> > - Synch_Logging_Handler_Static_Receiver_Acceptor; - -typedef ACE_Server_Logging_Acceptor_T<Synch_Thr_Logging_Handler_Static_Receiver, - Synch_Static_Receiver, - ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Static_Receiver> > - Synch_Thr_Logging_Handler_Static_Receiver_Acceptor; - -// typedefs for Logging Handlers & acceptors using a instance -// based log message receivers. - -// Synched message receivers -typedef Log_Message_Receiver<ACE_LOGGER_SYNCH> Synch_Receiver; - -// synched logging handlers -typedef ACE_Server_Logging_Handler<Synch_Receiver> Synch_Logging_Handler_Receiver; -typedef ACE_Thr_Server_Logging_Handler<Synch_Receiver> Synch_Thr_Logging_Handler_Receiver; - -// synched logging acceptors -typedef ACE_Server_Logging_Acceptor_T<Synch_Logging_Handler_Receiver, - Synch_Receiver, - ACE_Schedule_All_Reactive_Strategy<Synch_Logging_Handler_Receiver> > - Synch_Logging_Handler_Receiver_Acceptor; - -typedef ACE_Server_Logging_Acceptor_T<Synch_Thr_Logging_Handler_Receiver, - Synch_Receiver, - ACE_Schedule_All_Threaded_Strategy<Synch_Thr_Logging_Handler_Receiver> > - Synch_Thr_Logging_Handler_Receiver_Acceptor; - - -// Define external acceptors - -// acceptors that use static/type based log message receiver -typedef Null_Synch_Logging_Handler_Static_Receiver_Acceptor ACE_Server_Logging_Acceptor; -typedef Synch_Thr_Logging_Handler_Static_Receiver_Acceptor ACE_Thr_Server_Logging_Acceptor; - -// acceptors that use instance based log message receiver -//typedef Synch_Logging_Handler_Receiver_Acceptor ACE_Server_Logging_Acceptor; -//typedef Synch_Thr_Logging_Handler_Receiver_Acceptor ACE_Thr_Server_Logging_Acceptor; - - -ACE_SVC_FACTORY_DECLARE (ACE_Server_Logging_Acceptor) -ACE_SVC_FACTORY_DECLARE (ACE_Thr_Server_Logging_Acceptor) - -#endif /* ACE_SERVER_LOGGING_HANDLER_H */ diff --git a/netsvcs/lib/Server_Logging_Handler.i b/netsvcs/lib/Server_Logging_Handler.i deleted file mode 100644 index 57c6d26e751..00000000000 --- a/netsvcs/lib/Server_Logging_Handler.i +++ /dev/null @@ -1,4 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - - diff --git a/netsvcs/lib/Server_Logging_Handler_T.cpp b/netsvcs/lib/Server_Logging_Handler_T.cpp deleted file mode 100644 index 0d961079764..00000000000 --- a/netsvcs/lib/Server_Logging_Handler_T.cpp +++ /dev/null @@ -1,328 +0,0 @@ -// $Id$ - -#if !defined (ACE_SERVER_LOGGING_HANDLERT_C) -#define ACE_SERVER_LOGGING_HANDLERT_C - -#define ACE_BUILD_SVC_DLL -#include "ace/Get_Opt.h" -#include "Server_Logging_Handler_T.h" -#include <string.h> - -#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) -// Track number of requests. -template <ACE_PEER_STREAM_1, class COUNTER, ACE_SYNCH_DECL, class LMR> -COUNTER ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::request_count_ = (COUNTER) 0; -#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ - -template <ACE_PEER_STREAM_1, class COUNTER, ACE_SYNCH_DECL, class LMR> -ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::ACE_Server_Logging_Handler_T - (ACE_Thread_Manager *, - LMR const &receiver) - // Initialize the CString to something that is not the empty string - // to avoid problems when calling fast_rep() -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - : receiver_ (receiver, ACE_CString (" ", 1)) -#else - : receiver_ (receiver), - host_name_ (ACE_CString (" ", 1)) -#endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ -{ -} - -// Callback routine for handling the reception of remote logging -// transmissions. - -template <ACE_PEER_STREAM_1, class COUNTER, ACE_SYNCH_DECL, class LMR> int -ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::handle_input (ACE_HANDLE) -{ - int result = this->handle_logging_record (); - return result > 0 ? result : -1; -} - -template <ACE_PEER_STREAM_1, class COUNTER, ACE_SYNCH_DECL, class LMR> const char * -ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::host_name (void) -{ -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - return this->receiver_.m_.fast_rep (); -#else - return this->host_name_.fast_rep (); -#endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ -} - - -template <ACE_PEER_STREAM_1, class COUNTER, ACE_SYNCH_DECL, class LMR> int -ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::handle_logging_record (void) -{ - ACE_INT32 length; - - // We need to use the ol' two-read trick here since TCP sockets - // don't support framing natively. Note that the first call is just - // a "peek" -- we don't actually remove the data until the second - // call. Note that this code is portable as long as ACE_UNIT32 is - // always 32 bits on both the sender and receiver side. - - switch (this->peer ().recv ((void *) &length, - sizeof length, - MSG_PEEK)) - { - default: - case -1: - ACE_ERROR_RETURN ((LM_ERROR, "%p at host %s\n", - "server logger", this->host_name ()), -1); - /* NOTREACHED */ - case 0: - ACE_ERROR_RETURN ((LM_ERROR, "closing log daemon at host %s\n", - this->host_name ()), -1); - /* NOTREACHED */ - case sizeof length: - { - ACE_Log_Record lp; - - length = ntohl (length); - -#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) - u_long count = ++this->request_count_; - ACE_DEBUG ((LM_DEBUG, - "request count = %d, length = %d\n", - count, length)); -#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ - - // Perform the actual <recv> this time. - ssize_t n = this->peer ().recv_n ((void *) &lp, length); - - if (n != length) - ACE_ERROR_RETURN ((LM_ERROR, - "%d != %d, %p at host %s\n", - n, - length, - "server logger", - this->host_name ()), -1); - /* NOTREACHED */ - - lp.decode (); - - if (lp.length () == n) - { - // Send the log record to the log message receiver for - // processing. - ostream *orig_ostream = ACE_Log_Msg::instance ()->msg_ostream (); - receiver ().log_record (this->host_name (), lp); - receiver ().log_output (this->host_name (), lp, orig_ostream); - } - else - ACE_ERROR ((LM_ERROR, "error, lp.length = %d, n = %d\n", - lp.length (), n)); - return n; - } - } - - /* NOTREACHED */ - return -1; -} - -// Hook called by Server_Logging_Acceptor when connection is -// established. - -template <ACE_PEER_STREAM_1, class COUNTER, ACE_SYNCH_DECL, class LMR> int -ACE_Server_Logging_Handler_T<ACE_PEER_STREAM_2, COUNTER, ACE_SYNCH_USE, LMR>::open_common (void) -{ - // Shut off non-blocking IO if it was enabled... - if (this->peer ().disable (ACE_NONBLOCK) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "disable"), -1); - - ACE_PEER_STREAM_ADDR client_addr; - - // Determine the address of the client and display it. - if (this->peer ().get_remote_addr (client_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_remote_addr"), -1); - -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - this->receiver_.m_ = ACE_CString (client_addr.get_host_name (), - MAXHOSTNAMELEN + 1); -#else - this->host_name_ = ACE_CString (client_addr.get_host_name (), - MAXHOSTNAMELEN + 1); -#endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ - - - ACE_DEBUG ((LM_DEBUG, "(%t) accepted connection from host %s on fd %d\n", - client_addr.get_host_name (), this->peer ().get_handle ())); - - return 0; -} - -template<class SLH, class LMR, class SST> -ACE_Server_Logging_Acceptor_T<SLH, LMR, SST>::ACE_Server_Logging_Acceptor_T (void) -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - : receiver_ (LMR (), SST ()) -#else - : receiver_ (LMR ()), - schedule_strategy_ (SST ()) -#endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ -{ -} - -template<class SLH, class LMR, class SST> LMR & -ACE_Server_Logging_Acceptor_T<SLH, LMR, SST>::receiver (void) -{ - return receiver_; -} - -template<class SLH, class LMR, class SST> SST & -ACE_Server_Logging_Acceptor_T<SLH, LMR, SST>::scheduling_strategy (void) -{ -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - return receiver_.m_; -#else - return schedule_strategy_; -#endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ -} - -template<class SLH, class LMR, class SST> int -ACE_Server_Logging_Acceptor_T<SLH, LMR, SST>::init (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_Server_Logging_Acceptor<SLH, LMR, SST>::init"); - - // Use the options hook to parse the command line arguments and set - // options. - this->parse_args (argc, argv); - - // Set the acceptor endpoint into listen mode (use the Singleton - // global Reactor...). - if (this->open (this->service_addr_, - ACE_Reactor::instance (), - 0, 0, 0, - &this->scheduling_strategy(), - "Logging Server", "ACE logging service") == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%n: %p on port %d\n", - "acceptor::open failed", - this->service_addr_.get_port_number ()), -1); - - // Ignore SIGPIPE so that each <SVC_HANDLER> can handle this on its - // own. - ACE_Sig_Action sig (ACE_SignalHandler (SIG_IGN), SIGPIPE); - ACE_UNUSED_ARG (sig); - - ACE_INET_Addr server_addr; - - // Figure out what port we're really bound to. - if (this->acceptor ().get_local_addr (server_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_local_addr"), -1); - - ACE_DEBUG ((LM_DEBUG, - "starting up Logging Server at port %d on handle %d\n", - server_addr.get_port_number (), - this->acceptor ().get_handle ())); - return 0; -} - -template<class SLH, class LMR, class SST> int -ACE_Server_Logging_Acceptor_T<SLH, LMR, SST>::parse_args (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_Server_Logging_Acceptor<SLH, LMR, SST>::parse_args"); - - this->service_port_ = ACE_DEFAULT_SERVER_PORT; - - ACE_LOG_MSG->open ("Logging Service"); - - ACE_Get_Opt get_opt (argc, argv, "p:", 0); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'p': - this->service_port_ = ACE_OS::atoi (get_opt.optarg); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n[-p server-port]\n%a", 1), - -1); - } - } - - this->service_addr_.set (this->service_port_); - return 0; -} - -template<class SLH, class LMR, class SST> int -ACE_Server_Logging_Acceptor_T<SLH, LMR, SST>::make_svc_handler (SLH *&handler) -{ - ACE_NEW_RETURN (handler, - SLH (ACE_Thread_Manager::instance (), - this->receiver()), - -1); - return 0; -} - -template<class LMR> -ACE_Server_Logging_Handler<LMR>::ACE_Server_Logging_Handler (ACE_Thread_Manager * tm, - LMR const& receiver) - : ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, LMR>(tm, - receiver) -{ -} - -template<class LMR> -ACE_Server_Logging_Handler<LMR>::ACE_Server_Logging_Handler(ACE_Thread_Manager * tm) - : ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, LMR>(tm, LMR()) -{ -} - -template<class LMR> int -ACE_Server_Logging_Handler<LMR>::open (void *) -{ - // call base class open_common - if (this->open_common () != 0) - return -1; - - // Register ourselves with the Reactor to enable subsequent - // dispatching. - if (ACE_Reactor::instance ()->register_handler - (this, ACE_Event_Handler::READ_MASK) == -1) - return -1; - return 0; -} - -template<class LMR> -ACE_Thr_Server_Logging_Handler<LMR>::ACE_Thr_Server_Logging_Handler (ACE_Thread_Manager *tm, LMR const &receiver) - : ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_LOGGER_SYNCH, LMR>(tm, receiver) -{ -} - -template<class LMR> -ACE_Thr_Server_Logging_Handler<LMR>::ACE_Thr_Server_Logging_Handler (ACE_Thread_Manager *tm) - : ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_LOGGER_SYNCH, LMR>(tm, LMR ()) -{ -} - -template<class LMR> int -ACE_Thr_Server_Logging_Handler<LMR>::open (void *) -{ - // call base class open_common - if (this->open_common () != 0) - return -1; - - // Spawn a new thread of control to handle logging records with the - // client. Note that this implicitly uses the - // ACE_Thread_Manager::instance () to control all the threads. - if (this->activate (THR_BOUND | THR_DETACHED) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "spawn"), -1); - return 0; -} - -// Process remote logging records. - -template<class LMR> int -ACE_Thr_Server_Logging_Handler<LMR>::svc (void) -{ - int result = 0; - - // Loop until the client terminates the connection or an error occurs. - - while ((result = this->handle_input ()) > 0) - continue; - - return result; -} -#endif /* ACE_SERVER_LOGGING_HANDLER_TT_C */ diff --git a/netsvcs/lib/Server_Logging_Handler_T.h b/netsvcs/lib/Server_Logging_Handler_T.h deleted file mode 100644 index dafd1cbac60..00000000000 --- a/netsvcs/lib/Server_Logging_Handler_T.h +++ /dev/null @@ -1,195 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Server_Logging_Handler_T.h -// -// = AUTHOR -// Doug Schmidt and Per Andersson -// -// ============================================================================ - -#if !defined (ACE_SERVER_LOGGING_HANDLER_T_H) -#define ACE_SERVER_LOGGING_HANDLER_T_H - -#include "ace/Synch.h" -#include "ace/TLI_Acceptor.h" -#include "ace/SOCK_Acceptor.h" -#include "ace/Acceptor.h" -#include "ace/SString.h" - -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) -#include "Base_Optimizer.h" -#endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ - -template <ACE_PEER_STREAM_1, class COUNTER, ACE_SYNCH_DECL, class LOG_MESSAGE_RECEIVER> -class ACE_Server_Logging_Handler_T : public ACE_Svc_Handler<ACE_PEER_STREAM_2, ACE_SYNCH_USE> -{ - // = TITLE - // Product object created by an <ACE_Server_Logging_Acceptor_T>. An - // <ACE_Server_Logging_Handler_T> receives, and frames logging - // records. The logging record is then processed by the - // <LOG_MESSAGE_RECEIVER> - // - // = DESCRIPTION - // Defines the classes that perform server logging daemon - // functionality. -public: - ACE_Server_Logging_Handler_T (ACE_Thread_Manager *, - const LOG_MESSAGE_RECEIVER &receiver ); - // Constructor. - - - virtual int handle_input (ACE_HANDLE = ACE_INVALID_HANDLE); - // Process remote logging records. - -protected: - int handle_logging_record (void); - // Receive the logging record from a client. - - int open_common (void); - // Common parts of open function, sets hostname and diables NONBLOCK in peer - // called from derived classes open method. - -#if !defined (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES) - static COUNTER request_count_; - // Count the number of logging records that arrive. -#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */ - -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - Base_Optimizer<LOG_MESSAGE_RECEIVER, ACE_CString> receiver_; - // Packs a LOG_MESSAGE_RECEIVER and ACE_CString attribute together - // in a optimized fashion. The LOG_MESSAGE_RECEIVER class is often - // a class with no instance data. -#else - LOG_MESSAGE_RECEIVER receiver_; - ACE_CString host_name_; -#endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ - const char *host_name (void); - // Name of the host we are connected to. - - LOG_MESSAGE_RECEIVER &receiver (void){ return receiver_; } - // The receiver of log records -}; - -#if 1 //!defined (ACE_HAS_TLI) -#define LOGGING_PEER_ACCEPTOR ACE_SOCK_ACCEPTOR -#define LOGGING_PEER_STREAM ACE_SOCK_STREAM -#else /* use sockets */ -#define LOGGING_PEER_ACCEPTOR ACE_TLI_ACCEPTOR -#define LOGGING_PEER_STREAM ACE_TLI_STREAM -#endif /* ACE_HAS_TLI */ - -template<class SERVER_LOGGING_HANDLER, class LOG_MESSAGE_RECEIVER, class SCHEDULE_STRATEGY> -class ACE_Server_Logging_Acceptor_T : public ACE_Strategy_Acceptor<SERVER_LOGGING_HANDLER, LOGGING_PEER_ACCEPTOR> - // = TITLE - // Factory that creates <SERVER_LOGGING_HANDLER>s scheduled with - // <SCHEDULE_STRATEGY> and logging records proccessed by a - // <LOG_MESSAGE_RECEIVER> - // - // = DESCRIPTION - // This class contains the service-specific methods that can't - // easily be factored into the <ACE_Strategy_Acceptor>. -{ -public: - ACE_Server_Logging_Acceptor_T (void); - virtual int init (int argc, char *argv[]); - // Dynamic linking hook. - -protected: - int parse_args (int argc, char *argv[]); - // Parse svc.conf arguments. - - virtual int make_svc_handler (SERVER_LOGGING_HANDLER *&); - // Factory that creates a new <SERVER_LOGGING_HANDLER>. We need to - // specialize this since the <LOG_MESSAGE_RECEIVER> held by this Acceptor must be - // passed into the <SERVER_LOGGING_HANDLER>. - -private: - // At the moment each ACE_Server_Logging_Acceptor_T contains - // a <LOG_MESSAGE_RECEIVER> attribute that is passed to the - // <SERVER_LOGGING_HANDLER> at construction. A better idea might - // be to have accessor class as template argument. The accessor - // should be a factory/strategy that hands the - // ACE_Server_Logging_Acceptor_T instance references - // to a <LOG_MESSAGE_RECEIVER>. This makes it possible - // to change how <LOG_MESSAGE_RECEIVER> are created without chaning the - // ACE_Server_Logging_Acceptor_T code. - -#if !defined (ACE_HAS_BROKEN_HPUX_TEMPLATES) && !defined (__GNUG__) - Base_Optimizer<LOG_MESSAGE_RECEIVER, SCHEDULE_STRATEGY> receiver_; - // Packs a LOG_MESSAGE_RECEIVER and ACE_CString attribute together - // in a optimized fashion. The LOG_MESSAGE_RECEIVER class is often a - // class with no instance data. -#else - LOG_MESSAGE_RECEIVER receiver_; - SCHEDULE_STRATEGY schedule_strategy_; -#endif /* ! ACE_HAS_BROKEN_HPUX_TEMPLATES && ! __GNUG__ */ - - SCHEDULE_STRATEGY &scheduling_strategy (void); - // The scheduling strategy for the service. - - LOG_MESSAGE_RECEIVER &receiver (void); - // The receiver of log records -}; - -template<class LOG_MESSAGE_RECEIVER> -class ACE_Server_Logging_Handler : public ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, u_long, ACE_NULL_SYNCH, LOG_MESSAGE_RECEIVER> - // = TITLE - // Product object created by a - // <ACE_Server_Logging_Acceptor_T<ACE_Server_Logging_Handler> >. An - // <ACE_Server_Logging_Handler> receives, frames. The logging record - // is then processed by the <LOG_MESSAGE_RECEIVER> - // - // = DESCRIPTION - // All clients are handled in the same thread. -{ -public: - ACE_Server_Logging_Handler (ACE_Thread_Manager * = 0); - ACE_Server_Logging_Handler (ACE_Thread_Manager *, - const LOG_MESSAGE_RECEIVER &receiver); - - virtual int open (void* = 0); -}; - -#if defined (ACE_HAS_THREADS) -typedef ACE_Atomic_Op <ACE_Thread_Mutex, u_long> ACE_LOGGER_COUNTER; -#define ACE_LOGGER_SYNCH ACE_MT_SYNCH -#else -typedef u_long ACE_LOGGER_COUNTER; -#define ACE_LOGGER_SYNCH ACE_NULL_SYNCH -#endif /* ACE_HAS_THREADS */ - -template<class LOG_MESSAGE_RECEIVER> -class ACE_Thr_Server_Logging_Handler : public ACE_Server_Logging_Handler_T<LOGGING_PEER_STREAM, ACE_LOGGER_COUNTER, ACE_LOGGER_SYNCH, LOG_MESSAGE_RECEIVER> - // = TITLE - // Product object created by a - // <ACE_Server_Logging_Acceptor_T<ACE_Thr_Server_Logging_Handler> >. An - // <ACE_Thr_Server_Logging_Handler> receives, frames. The logging record is then processed by the - // <LOG_MESSAGE_RECEIVER> - // - // = DESCRIPTION - // Each client is handled in its own separate thread. -{ -public: - ACE_Thr_Server_Logging_Handler (ACE_Thread_Manager * = 0); - ACE_Thr_Server_Logging_Handler (ACE_Thread_Manager *, - const LOG_MESSAGE_RECEIVER &receiver); - virtual int open (void * = 0); - virtual int svc (void); -}; - -#if defined (ACE_TEMPLATES_REQUIRE_SOURCE) -#include "Server_Logging_Handler_T.cpp" -#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ - -#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) -#pragma implementation ("Server_Logging_Handler_T.cpp") -#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ - -#endif /* ACE_SERVER_LOGGING_HANDLER_T_H */ diff --git a/netsvcs/lib/TS_Clerk_Handler.cpp b/netsvcs/lib/TS_Clerk_Handler.cpp deleted file mode 100644 index e20e2a49179..00000000000 --- a/netsvcs/lib/TS_Clerk_Handler.cpp +++ /dev/null @@ -1,620 +0,0 @@ -// $Id$ - -// TS_Clerk_Handler.cpp - -#define ACE_BUILD_SVC_DLL -#include "ace/Get_Opt.h" -#include "TS_Clerk_Handler.h" - -ACE_TS_Clerk_Handler::ACE_TS_Clerk_Handler (ACE_TS_Clerk_Processor *processor, - ACE_INET_Addr &addr) -: state_ (ACE_TS_Clerk_Handler::IDLE), - timeout_ (ACE_DEFAULT_TIMEOUT), - max_timeout_ (ACE_TS_Clerk_Handler::MAX_RETRY_TIMEOUT), - remote_addr_ (addr), - processor_ (processor) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::ACE_TS_Clerk_Handler"); - this->time_info_.delta_time_ = 0; - this->time_info_.sequence_num_ = 0; -} - -// Set the connection state -void -ACE_TS_Clerk_Handler::state (ACE_TS_Clerk_Handler::State state) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::state"); - this->state_ = state; -} - -// Get the connection state -ACE_TS_Clerk_Handler::State -ACE_TS_Clerk_Handler::state (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::state"); - return this->state_; -} - -// Sets the timeout delay. -void -ACE_TS_Clerk_Handler::timeout (int to) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::timeout"); - if (to > this->max_timeout_) - to = this->max_timeout_; - - this->timeout_ = to; -} - -// Recalculate the current retry timeout delay using exponential -// backoff. Returns the original timeout (i.e., before the -// recalculation). -int -ACE_TS_Clerk_Handler::timeout (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::timeout"); - int old_timeout = this->timeout_; - this->timeout_ *= 2; - - if (this->timeout_ > this->max_timeout_) - this->timeout_ = this->max_timeout_; - - return old_timeout; -} - -// This is called when a <send> to the logging server fails... - -int -ACE_TS_Clerk_Handler::handle_signal (int, siginfo_t *, ucontext_t *) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::handle_signal"); - return -1; -} - -// Set the max timeout delay. -void -ACE_TS_Clerk_Handler::max_timeout (int mto) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::max_timeout"); - this->max_timeout_ = mto; -} - -// Gets the max timeout delay. -int -ACE_TS_Clerk_Handler::max_timeout (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::max_timeout"); - return this->max_timeout_; -} - -int -ACE_TS_Clerk_Handler::open (void *) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::open"); - ACE_INET_Addr server_addr; - - // Set connection state as established - this->state (ACE_TS_Clerk_Handler::ESTABLISHED); - - // Register ourselves to receive SIGPIPE so we can attempt - // reconnections. -#if !defined (ACE_WIN32) - if (ACE_Reactor::instance ()->register_handler (SIGPIPE, this) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%n: %p\n", - "register_handler (SIGPIPE)"), -1); -#endif /* ACE_WIN32 */ - - // Register ourselves with the reactor to receive input - if (ACE_Reactor::instance ()->register_handler (this->get_handle (), - this, - ACE_Event_Handler::READ_MASK | - ACE_Event_Handler::EXCEPT_MASK) == -1) - ACE_ERROR ((LM_ERROR, "%n: %p\n", "register_handler (this)")); - - // Figure out what remote port we're really bound to. - else if (this->peer ().get_remote_addr (server_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_remote_addr"), -1); - - ACE_DEBUG ((LM_DEBUG, - "TS Clerk Daemon connected to port %d on handle %d\n", - server_addr.get_port_number (), - this->peer ().get_handle ())); - - return 0; -} - -ACE_HANDLE -ACE_TS_Clerk_Handler::get_handle (void) const -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::get_handle"); - return this->peer().get_handle (); -} - -int -ACE_TS_Clerk_Handler::handle_close (ACE_HANDLE, - ACE_Reactor_Mask mask) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::handle_close"); - ACE_UNUSED_ARG (mask); - - ACE_DEBUG ((LM_DEBUG, "(%t) shutting down on handle %d\n", this->get_handle ())); - - return this->reinitiate_connection (); -} - -int -ACE_TS_Clerk_Handler::reinitiate_connection (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::reinitiate_connection"); - // Skip over deactivated descriptors. - - // Set state to connecting so that we don't try to send anything - // using this handler - this->state (ACE_TS_Clerk_Handler::CONNECTING); - if (this->get_handle () != ACE_INVALID_HANDLE) - { - ACE_DEBUG ((LM_DEBUG, "(%t) Scheduling reinitiation of connection\n")); - - // Reschedule ourselves to try and connect again. - if (ACE_Reactor::instance ()->schedule_timer (this, 0, - this->timeout ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "(%t) %p\n", "schedule_timer"), -1); - } - return 0; -} - -// Receive a time update from a server -int -ACE_TS_Clerk_Handler::handle_input (ACE_HANDLE) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::handle_input"); - // We're getting a time update message from a server - ACE_Time_Request reply; - if (this->recv_reply (reply) != 0) - return -1; - else - { - // Get current local time - ACE_UINT32 local_time = ACE_OS::time (0); - - // Compure delta time (difference between current local time and - // system time obtained from the server) - long t = reply.time () - local_time; - - // Compute round trip delay and adjust time accordingly - ACE_UINT32 one_way_time = (local_time - this->start_time_)/2; - t += one_way_time; - - // Now update time info (to be retrieved by Clerk_Processor) - this->time_info_.delta_time_ = t; - this->time_info_.sequence_num_ = this->cur_sequence_num_; - } - return 0; -} - -// Restart connection asynchronously when timeout occurs. -int -ACE_TS_Clerk_Handler::handle_timeout (const ACE_Time_Value &, - const void *) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::handle_timeout"); - ACE_DEBUG ((LM_DEBUG, - "(%t) attempting to reconnect to server with timeout = %d\n", - this->timeout_)); - - // Close down peer to reclaim descriptor if need be. Note this is - // necessary to reconnect. - this->peer ().close (); - - return this->processor_->initiate_connection (this, ACE_Synch_Options::asynch); -} - -void -ACE_TS_Clerk_Handler::remote_addr (ACE_INET_Addr &addr) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::remote_addr"); - this->remote_addr_ = addr; -} - -ACE_INET_Addr & -ACE_TS_Clerk_Handler::remote_addr (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::remote_addr"); - return this->remote_addr_; -} - -int -ACE_TS_Clerk_Handler::recv_reply (ACE_Time_Request &reply) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::recv_reply"); - const int bytes_expected = reply.size (); - - // Since Time_Request messages are fixed size, read the entire - // message in one go. - ssize_t n = this->peer ().recv ((void *) &reply, bytes_expected); - - if (n != bytes_expected) - { - switch (n) - { - case -1: - // FALLTHROUGH - ACE_DEBUG ((LM_DEBUG, "****************** recv_reply returned -1\n")); - default: - ACE_ERROR ((LM_ERROR, "%p got %d bytes, expected %d bytes\n", - "recv failed", n, bytes_expected)); - // FALLTHROUGH - case 0: - // We've shutdown unexpectedly - return -1; - // NOTREACHED - } - } - else if (reply.decode () == -1) // Decode the request into host byte order. - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "decode failed"), -1); - return 0; -} - - -int -ACE_TS_Clerk_Handler::send_request (ACE_UINT32 sequence_num, ACE_Time_Info &time_info) -{ - ACE_TRACE ("ACE_TS_Clerk_Handler::send_request"); - void *buffer; - ssize_t length; - - // Update current sequence number - this->cur_sequence_num_ = sequence_num; - - // First update the current time info. - time_info.delta_time_ = this->time_info_.delta_time_; - time_info.sequence_num_ = this->time_info_.sequence_num_; - - // Now prepare a new time update request - ACE_Time_Request request (ACE_Time_Request::TIME_UPDATE, 0, 0); - - if ((length = request.encode (buffer)) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "encode failed"), -1); - - // Compute start time of sending request (needed to compute - // roundtrip delay) - this->start_time_ = ACE_OS::time (0); - - // Send the request - if (this->peer ().send_n (buffer, length) != length) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "send_n failed"), -1); - - return 0; -} - -ACE_TS_Clerk_Processor::ACE_TS_Clerk_Processor () -: timeout_ (ACE_DEFAULT_TIMEOUT), - blocking_semantics_ (0), - cur_sequence_num_ (0) -{ - ACE_OS::strcpy (poolname_, ACE_DEFAULT_BACKING_STORE); -} - -void -ACE_TS_Clerk_Processor::alloc (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::alloc"); - ACE_NEW (this->shmem_, ALLOCATOR (this->poolname_)); - - // Only create the state if it doesn't already exist. - if (this->shmem_->find (ACE_DEFAULT_TIME_SERVER_STR) == -1) - { - // Allocate the space out of shared memory for the system time entry - void *temp = this->shmem_->malloc (sizeof (this->system_time_)); - - // Give it a name binding - this->shmem_->bind (ACE_DEFAULT_TIME_SERVER_STR, temp); - - // Set up pointers. Note that we add one to get to the second - // field in the structure - this->system_time_.delta_time_ = (long *) temp; - this->system_time_.last_local_time_ = ((long *) temp) + 1; - - // Initialize - *(this->system_time_.delta_time_) = 0; - *(this->system_time_.last_local_time_) = ACE_OS::time (0); - } -} - -// Query the servers for the latest time -int -ACE_TS_Clerk_Processor::handle_timeout (const ACE_Time_Value &, - const void *) -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::handle_timeout"); - return this->update_time (); -} - -int -ACE_TS_Clerk_Processor::update_time () -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::update_time"); - ACE_UINT32 expected_sequence_num = this->cur_sequence_num_; - - // Increment sequence number - this->cur_sequence_num_++; - - int count = 0; - long total_delta = 0; - ACE_Time_Info time_info; - - // Call send_request() on all handlers - ACE_TS_Clerk_Handler **handler = 0; - - for (HANDLER_SET_ITERATOR set_iterator (this->handler_set_); - set_iterator.next (handler) != 0; - set_iterator.advance ()) - { - if ((*handler)->state () == ACE_TS_Clerk_Handler::ESTABLISHED) - { - if ((*handler)->send_request (this->cur_sequence_num_, time_info) == -1) - return -1; - // Check if sequence numbers match; otherwise discard - else if (expected_sequence_num != 0 && - time_info.sequence_num_ == expected_sequence_num) - { - count++; - ACE_DEBUG ((LM_DEBUG, "[%d] Delta time: %d\n", count, time_info.delta_time_)); - - // #### Can check here if delta value falls within a threshold #### - total_delta += time_info.delta_time_; - } - } - } - // Update system_time_ using average of times obtained from all the servers. - // Note that we are keeping two things in shared memory: the delta - // time (difference between our system clock and the local clock), - // and the last local time - if (count > 0) - { - // At least one server is out there - *(this->system_time_.delta_time_) = total_delta/count; - } - else - { - // No servers are out there (or this is the first time around - // computing the time) so set delta time to zero. This - // would mean that clients would use the actual local system time. - *(this->system_time_.delta_time_) = 0; - } - // Update the last local time - *(this->system_time_.last_local_time_) = ACE_OS::time (0); - - ACE_DEBUG ((LM_DEBUG, "Average delta time: %d\n", *(this->system_time_.delta_time_))); - return 0; -} - - -int -ACE_TS_Clerk_Processor::fini (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::fini"); - - // Cancel the timer - if (this->timer_id_ != -1) - ACE_Reactor::instance ()->cancel_timer (this->timer_id_); - - // Destroy all the handlers - ACE_TS_Clerk_Handler **handler = 0; - - for (HANDLER_SET_ITERATOR set_iterator (this->handler_set_); - set_iterator.next (handler) != 0; - set_iterator.advance ()) - { - if ((*handler)->state () != ACE_TS_Clerk_Handler::IDLE) - // Mark state as DISCONNECTING so we don't try to reconnect... - (*handler)->state (ACE_TS_Clerk_Handler::DISCONNECTING); - - // Deallocate resources. - (*handler)->destroy (); // Will trigger a delete - } - - // Remove the backing store - this->shmem_->remove (); - - ACE_Connector <ACE_TS_Clerk_Handler, ACE_SOCK_CONNECTOR>::fini (); - - return 0; -} - -int -ACE_TS_Clerk_Processor::info (char **, size_t) const -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::info"); - return 0; -} - -int -ACE_TS_Clerk_Processor::init (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::init"); - // Use the options hook to parse the command line arguments and set - // options. - this->parse_args (argc, argv); - - this->alloc (); - -#if !defined (ACE_WIN32) - // Ignore SIPPIPE so each Output_Channel can handle it. - ACE_Sig_Action sig (ACE_SignalHandler (SIG_IGN), SIGPIPE); - ACE_UNUSED_ARG (sig); -#endif /* ACE_WIN32 */ - - ACE_Synch_Options &synch_options = this->blocking_semantics_ == 0 - ? ACE_Synch_Options::asynch : ACE_Synch_Options::synch; - - // Now set up connections to all servers - ACE_TS_Clerk_Handler **handler = 0; - - for (HANDLER_SET_ITERATOR set_iterator (this->handler_set_); - set_iterator.next (handler) != 0; - set_iterator.advance ()) - { - this->initiate_connection (*handler, synch_options); - } - // Now set up timer to receive updates from server - // set the timer to go off after timeout value - this->timer_id_ = ACE_Reactor::instance ()->schedule_timer (this, - NULL, - ACE_Time_Value (this->timeout_), - ACE_Time_Value (this->timeout_)); - return 0; -} - -int -ACE_TS_Clerk_Processor::initiate_connection (ACE_TS_Clerk_Handler *handler, - ACE_Synch_Options &synch_options) -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::initiate_connection"); - char buf[MAXHOSTNAMELEN + 1]; - - // Mark ourselves as idle so that the various iterators will ignore - // us until we are connected/reconnected. - handler->state (ACE_TS_Clerk_Handler::IDLE); - - if (handler->remote_addr ().addr_to_string (buf, sizeof buf) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "(%t) %p\n", - "can't obtain peer's address"), -1); - - // Establish connection with the server. - if (this->connect (handler, - handler->remote_addr (), - synch_options) == -1) - { - if (errno != EWOULDBLOCK) - { - handler->state (ACE_TS_Clerk_Handler::FAILED); - ACE_DEBUG ((LM_DEBUG, "(%t) %p on address %s\n", "connect", buf)); - - // Reschedule ourselves to try and connect again. - if (synch_options[ACE_Synch_Options::USE_REACTOR]) - { - if (ACE_Reactor::instance ()->schedule_timer (handler, - 0, - handler->timeout ()) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "(%t) %p\n", "schedule_timer"), -1); - } - else - // Failures on synchronous connects are reported as errors - // so that the caller can decide how to proceed. - return -1; - } - else - { - handler->state (ACE_TS_Clerk_Handler::CONNECTING); - ACE_DEBUG ((LM_DEBUG, - "(%t) in the process of connecting %s to %s\n", - synch_options[ACE_Synch_Options::USE_REACTOR] - ? "asynchronously" : "synchronously", buf)); - } - } - else - { - handler->state (ACE_TS_Clerk_Handler::ESTABLISHED); - ACE_DEBUG ((LM_DEBUG, "(%t) connected to %s on %d\n", - buf, handler->get_handle ())); - } - return 0; -} - -int -ACE_TS_Clerk_Processor::parse_args (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::parse_args"); - ACE_INET_Addr server_addr; - ACE_TS_Clerk_Handler *handler; - char server_host[BUFSIZ]; - - // Create a default entry - ACE_OS::sprintf (server_host, "%s:%d", - ACE_DEFAULT_SERVER_HOST, - ACE_DEFAULT_LOGGING_SERVER_PORT); - - ACE_Get_Opt get_opt (argc, argv, "h:t:p:b", 0); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'h': - // Get the hostname:port and create an ADDR - server_addr.set (get_opt.optarg); - - // Create a new handler - ACE_NEW_RETURN (handler, - ACE_TS_Clerk_Handler (this, server_addr), - -1); - - // Cache the handler - this->handler_set_.insert (handler); - break; - case 't': - // Get the timeout value - this->timeout_ = ACE_OS::atoi (get_opt.optarg); - break; - case 'p': - // Get the poolname - ACE_OS::strncpy (this->poolname_, - ACE_WIDE_STRING (get_opt.optarg), - sizeof this->poolname_ / sizeof (TCHAR)); - break; - case 'b': - // Blocking semantics - this->blocking_semantics_ = 1; - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n[-h hostname:port] [-t timeout] [-p poolname]\n%a", 1), - -1); - } - } - return 0; -} - -int -ACE_TS_Clerk_Processor::suspend (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::suspend"); - return 0; -} - -int -ACE_TS_Clerk_Processor::resume (void) -{ - ACE_TRACE ("ACE_TS_Clerk_Processor::resume"); - return 0; -} - -// The following is a "Factory" used by the ACE_Service_Config and -// svc.conf file to dynamically initialize the state of the TS_Clerk. - -ACE_SVC_FACTORY_DEFINE (ACE_TS_Clerk_Processor) - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Connector<ACE_TS_Clerk_Handler, ACE_SOCK_CONNECTOR>; -template class ACE_Node<ACE_TS_Clerk_Handler *>; -template class ACE_Svc_Tuple<ACE_TS_Clerk_Handler>; -template class ACE_Unbounded_Set<ACE_TS_Clerk_Handler *>; -template class ACE_Unbounded_Set_Iterator<ACE_TS_Clerk_Handler *>; -template class ACE_Map_Entry<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *>; -template class ACE_Map_Iterator_Base<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *, ACE_SYNCH_RW_MUTEX>; -template class ACE_Map_Iterator<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *, ACE_SYNCH_RW_MUTEX>; -template class ACE_Map_Reverse_Iterator<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *, ACE_SYNCH_RW_MUTEX>; -template class ACE_Map_Manager<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *, ACE_SYNCH_RW_MUTEX>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Connector<ACE_TS_Clerk_Handler, ACE_SOCK_CONNECTOR> -#pragma instantiate ACE_Node<ACE_TS_Clerk_Handler *> -#pragma instantiate ACE_Svc_Tuple<ACE_TS_Clerk_Handler> -#pragma instantiate ACE_Unbounded_Set<ACE_TS_Clerk_Handler *> -#pragma instantiate ACE_Unbounded_Set_Iterator<ACE_TS_Clerk_Handler *> -#pragma instantiate ACE_Map_Entry<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *> -#pragma instantiate ACE_Map_Iterator_Base<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *, ACE_SYNCH_RW_MUTEX> -#pragma instantiate ACE_Map_Iterator<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *, ACE_SYNCH_RW_MUTEX> -#pragma instantiate ACE_Map_Reverse_Iterator<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *, ACE_SYNCH_RW_MUTEX> -#pragma instantiate ACE_Map_Manager<ACE_HANDLE, ACE_Svc_Tuple<ACE_TS_Clerk_Handler> *, ACE_SYNCH_RW_MUTEX> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/netsvcs/lib/TS_Clerk_Handler.h b/netsvcs/lib/TS_Clerk_Handler.h deleted file mode 100644 index c4a6caccdeb..00000000000 --- a/netsvcs/lib/TS_Clerk_Handler.h +++ /dev/null @@ -1,229 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// TS_Clerk_Handler.h -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ - -#if !defined (ACE_TS_CLERK_HANDLER_H) -#define ACE_TS_CLERK_HANDLER_H - -#include "ace/Connector.h" -#include "ace/SOCK_Connector.h" -#include "ace/Malloc.h" -#include "ace/Time_Request_Reply.h" - -// A simple struct containing delta time and a sequence number -struct ACE_Time_Info -{ - long delta_time_; - ACE_UINT32 sequence_num_; -}; - -class ACE_TS_Clerk_Processor; // forward declaration - -class ACE_Svc_Export ACE_TS_Clerk_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> - // = TITLE - // The Clerk Handler provides the interface that is used by the - // Clerk Processor to send time update requests to all the - // servers. It obtains these updates from the servers and passes - // the updates to the Clerk Processor - // - // = DESCRIPTION - // The Clerk Processor uses send_request() to send a request for - // time update to a server. The Clerk Handler internally computes - // the round trip delay for the reply to come back. Once it gets - // the reply back from the server (handle_input), it adjusts the - // system time using the round trip delay estimate and then - // passes the delta time by reference back to the Clerk Processor. -{ -public: - ACE_TS_Clerk_Handler (ACE_TS_Clerk_Processor *processor = 0, - ACE_INET_Addr &addr = (ACE_INET_Addr &) ACE_Addr::sap_any); - // Default constructor. - - // = Set/get the current state - enum State - { - IDLE = 1, // Prior to initialization. - CONNECTING, // During connection establishment. - ESTABLISHED, // Connection is established and active. - DISCONNECTING, // In the process of disconnecting. - FAILED // Connection has failed. - }; - - // = Set/get the current state. - State state (void); - void state (State); - - // = Set/get the current retry timeout delay. - int timeout (void); - void timeout (int); - - // = Set/get the maximum retry timeout delay. - int max_timeout (void); - void max_timeout (int); - - virtual int open (void * = 0); - // Activate this instance of the <ACE_TS_Clerk_Handler> - // (called by the <ACE_TS_Clerk_Processor>). - - virtual ACE_HANDLE get_handle (void) const; - // Return the handle of the message_fifo_; - - virtual int handle_close (ACE_HANDLE = ACE_INVALID_HANDLE, - ACE_Reactor_Mask = ACE_Event_Handler::ALL_EVENTS_MASK); - // Called when object is removed from the ACE_Reactor - - virtual int handle_input (ACE_HANDLE); - // Receive time update from a server. - - virtual int handle_timeout (const ACE_Time_Value &tv, - const void *arg); - // Restart connection asynchronously when timeout occurs. - - void remote_addr (ACE_INET_Addr &addr); - ACE_INET_Addr &remote_addr (void); - // Get/Set remote addr - - int send_request (ACE_UINT32 sequence_num, ACE_Time_Info &time_info); - // Send request for time update to the server as well as return the - // current time info by reference. - -protected: - virtual int handle_signal (int signum, siginfo_t *, ucontext_t *); - // Handle SIGPIPE. - - static void stderr_output (int = 0); - - enum - { - MAX_RETRY_TIMEOUT = 300 // 5 minutes is the maximum timeout. - }; -private: - int recv_reply (ACE_Time_Request &reply); - // Receive a reply from a server containing time update - - int reinitiate_connection (void); - // Reinitiate connection with the server - - State state_; - // The current state of the connection - - int timeout_; - // Amount of time to wait between reconnection attempts - - int max_timeout_; - // Maximum amount of time to wait between reconnection attempts - - ACE_INET_Addr remote_addr_; - // Remote Addr used for connecting to the server - - ACE_TS_Clerk_Processor *processor_; - // Instance of Clerk Processor used for re-establishing connections - - ACE_UINT32 start_time_; - // Time at which request was sent (used to compute round trip delay) - - ACE_UINT32 cur_sequence_num_; - // Next sequence number of time request (waiting for this update from - // the server). - - ACE_Time_Info time_info_; - // Record of current delta time and current sequence number -}; - -class ACE_TS_Clerk_Processor : public ACE_Connector <ACE_TS_Clerk_Handler, ACE_SOCK_CONNECTOR> - // = TITLE - // This class manages all the connections to the servers along - // with querying them periodically for time updates. - // = DESCRIPTION - // The Clerk Processor creates connections to all the servers and - // creates an ACE_TS_Clerk_Handler for each connection to handle - // the requests and replies. It periodically sends a request for - // time update through each of the handlers and uses the replies for - // computing a synchronized system time. -{ -public: - ACE_TS_Clerk_Processor (void); - // Default constructor - - virtual int handle_timeout (const ACE_Time_Value &tv, - const void *arg); - // Query servers for time periodically (timeout value) - - int initiate_connection (ACE_TS_Clerk_Handler *, ACE_Synch_Options &); - // Set up connections to all servers - -protected: - // = Dynamic linking hooks. - virtual int init (int argc, char *argv[]); - // Called when service is linked. - - virtual int fini (void); - // Called when service is unlinked. - - virtual int info (char **strp, size_t length) const; - // Called to determine info about the service. - - // = Scheduling hooks. - virtual int suspend (void); - virtual int resume (void); - -private: - int parse_args (int argc, char *argv[]); - // Parse svc.conf arguments. - - void alloc (void); - // Allocate entry in shared memory for system time - - int update_time (); - // Update delta_time using times obtained from all servers - - typedef ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> MALLOC; - typedef ACE_Allocator_Adapter<MALLOC> ALLOCATOR; - ALLOCATOR *shmem_; - // Allocator (used for reading/writing system time from/to shared memory) - - typedef ACE_Unbounded_Set <ACE_TS_Clerk_Handler *> HANDLER_SET; - typedef ACE_Unbounded_Set_Iterator <ACE_TS_Clerk_Handler *> HANDLER_SET_ITERATOR; - HANDLER_SET handler_set_; - // Set of TS_Clerk_Handlers and iterator over the set. - - struct System_Time - { - long *delta_time_; // Difference between system time and local time - long *last_local_time_; // Last local time - }; - - System_Time system_time_; - // Clerk system time containing pointers to entries in shared memory - - long timer_id_; - // Timer id returned by Reactor - - int timeout_; - // Time period for updating system time - - TCHAR poolname_[MAXNAMLEN + 1]; - // Pool name for backing store - - int blocking_semantics_; - // Do a blocking/non-blocking connect - - ACE_UINT32 cur_sequence_num_; - // Sequence number of next expected update from servers -}; - -ACE_SVC_FACTORY_DECLARE (ACE_TS_Clerk_Processor) - -#endif /* ACE_TS_CLERK_HANDLER_H */ diff --git a/netsvcs/lib/TS_Server_Handler.cpp b/netsvcs/lib/TS_Server_Handler.cpp deleted file mode 100644 index a2757017681..00000000000 --- a/netsvcs/lib/TS_Server_Handler.cpp +++ /dev/null @@ -1,257 +0,0 @@ -// $Id$ - -#define ACE_BUILD_SVC_DLL -#include "ace/SString.h" -#include "ace/Containers.h" -#include "ace/Get_Opt.h" -#include "TS_Server_Handler.h" - -int -ACE_TS_Server_Acceptor::parse_args (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_TS_Server_Acceptor::parse_args"); - - this->service_port_ = ACE_DEFAULT_SERVER_PORT; - - ACE_LOG_MSG->open ("Time Service"); - - ACE_Get_Opt get_opt (argc, argv, "p:", 0); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'p': - this->service_port_ = ACE_OS::atoi (get_opt.optarg); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n[-p server-port]\n%a", 1), - -1); - } - } - this->service_addr_.set (this->service_port_); - return 0; -} - -int -ACE_TS_Server_Acceptor::init (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_TS_Server_Acceptor::init"); - - // Use the options hook to parse the command line arguments and set - // options. - this->parse_args (argc, argv); - - // Set the acceptor endpoint into listen mode (use the Singleton - // global Reactor...). - if (this->open (this->service_addr_, ACE_Reactor::instance (), - 0, 0, 0, - &this->scheduling_strategy_, - "Time Server", "ACE time service") == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%n: %p on port %d\n", - "acceptor::open failed", - this->service_addr_.get_port_number ()), -1); - - // Ignore SIGPIPE so that each <SVC_HANDLER> can handle this on its - // own. - ACE_Sig_Action sig ((ACE_SignalHandler) SIG_IGN, SIGPIPE); - ACE_UNUSED_ARG (sig); - - ACE_INET_Addr server_addr; - - // Figure out what port we're really bound to. - if (this->acceptor ().get_local_addr (server_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_local_addr"), -1); - - ACE_DEBUG ((LM_DEBUG, - "starting up Time Server at port %d on handle %d\n", - server_addr.get_port_number (), - this->acceptor ().get_handle ())); - return 0; -} - -// The following is a "Factory" used by the ACE_Service_Config and -// svc.conf file to dynamically initialize the state of the Time Server - -ACE_SVC_FACTORY_DEFINE (ACE_TS_Server_Acceptor) - -// Default constructor. -ACE_TS_Server_Handler::ACE_TS_Server_Handler (ACE_Thread_Manager *tm) - : ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> (tm) -{ - ACE_TRACE ("ACE_TS_Server_Handler::ACE_TS_Server_Handler"); -} - -// Activate this instance of the ACE_TS_Server_Handler (called by the -// ACE_TS_Server_Acceptor). - -/* VIRTUAL */ int -ACE_TS_Server_Handler::open (void *) -{ - ACE_TRACE ("ACE_TS_Server_Handler::open"); - - ACE_INET_Addr client_addr; - - // Determine the address of the client and display it. - if (this->peer ().get_remote_addr (client_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_remote_addr"), -1); - - ACE_DEBUG ((LM_DEBUG, "(%t) accepted connection from host %s on fd %d\n", - client_addr.get_host_name (), this->peer ().get_handle ())); - - // Call down to our parent to register ourselves with the Reactor. - if (ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>::open (0) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), -1); - return 0; -} - -/* VIRTUAL */ int -ACE_TS_Server_Handler::send_request (ACE_Time_Request &request) -{ - ACE_TRACE ("ACE_TS_Server_Handler::send_request"); - void *buffer; - ssize_t length = request.encode (buffer); - - if (length == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "encode failed"), -1); - - // Transmit request via a blocking send. - - if (this->peer ().send_n (buffer, length) != length) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "send_n failed"), -1); - - return 0; -} - -// Give up waiting (e.g., when a timeout occurs or a client shuts down -// unexpectedly). - -/* VIRTUAL */ int -ACE_TS_Server_Handler::abandon (void) -{ - ACE_TRACE ("ACE_TS_Server_Handler::abandon"); - - // Note we are using the time field to report the errno in case of - // failure. - ACE_Time_Request rq (ACE_Time_Request::FAILURE, errno); - return this->send_request (rq); -} - -// Enable clients to limit the amount of time they'll wait -/* VIRTUAL */ int -ACE_TS_Server_Handler::handle_timeout (const ACE_Time_Value &, const void *) -{ - ACE_TRACE ("ACE_TS_Server_Handler::handle_timeout"); - return this->abandon (); -} - -// Return the underlying ACE_HANDLE. - -/* VIRTUAL */ ACE_HANDLE -ACE_TS_Server_Handler::get_handle (void) const -{ - ACE_TRACE ("ACE_TS_Server_Handler::get_handle"); - return this->peer ().get_handle (); -} - -// Dispatch the appropriate operation to handle the client request. - -/* VIRTUAL */ int -ACE_TS_Server_Handler::dispatch (void) -{ - ACE_TRACE ("ACE_TS_Server_Handler::dispatch"); - // Get the system time and then create an ACE_Time_Request - time_t t = ACE_OS::time (0); - ACE_Time_Request rq (ACE_Time_Request::TIME_UPDATE, t); - return this->send_request (rq); -} - -// Receive, frame, and decode the client's request. Note, this method -// should use non-blocking I/O. - -/* VIRTUAL */ int -ACE_TS_Server_Handler::recv_request (void) -{ - ACE_TRACE ("ACE_TS_Server_Handler::recv_request"); - ssize_t bytes_expected = this->time_request_.size (); - - // Since Time_Request messages are fixed size, read the entire - // message in one go. - ssize_t n = this->peer ().recv ((void *) &this->time_request_, bytes_expected); - if (n != bytes_expected) - { - switch (n) - { - case -1: - /* FALLTHROUGH */ - ACE_DEBUG ((LM_DEBUG, "****************** recv_request returned -1\n")); - default: - ACE_ERROR ((LM_ERROR, "%p got %d bytes, expected %d bytes\n", - "recv failed", n, bytes_expected)); - /* FALLTHROUGH */ - case 0: - // We've shutdown unexpectedly, let's abandon the connection. - this->abandon (); - return -1; - /* NOTREACHED */ - } - } - else - { - // Decode the request into host byte order. - if (this->time_request_.decode () == -1) - { - ACE_ERROR ((LM_ERROR, "%p\n", "decode failed")); - return this->abandon (); - } - } - return 0; -} - -// Callback method invoked by the ACE_Reactor when events arrive from -// the client. - -/* VIRTUAL */ int -ACE_TS_Server_Handler::handle_input (ACE_HANDLE) -{ - ACE_TRACE ("ACE_TS_Server_Handler::handle_input"); - - if (this->recv_request () == -1) - return -1; - else - return this->dispatch (); -} - -ACE_TS_Server_Handler::~ACE_TS_Server_Handler (void) -{ - ACE_TRACE ("ACE_TS_Server_Handler::~ACE_TS_Server_Handler"); - ACE_DEBUG ((LM_DEBUG, "closing down Handle %d\n", - this->get_handle ())); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Accept_Strategy<ACE_TS_Server_Handler, ACE_SOCK_ACCEPTOR>; -template class ACE_Acceptor<ACE_TS_Server_Handler, ACE_SOCK_ACCEPTOR>; -template class ACE_Concurrency_Strategy<ACE_TS_Server_Handler>; -template class ACE_Creation_Strategy<ACE_TS_Server_Handler>; -template class ACE_Schedule_All_Reactive_Strategy<ACE_TS_Server_Handler>; -template class ACE_Scheduling_Strategy<ACE_TS_Server_Handler>; -template class ACE_Strategy_Acceptor<ACE_TS_Server_Handler, ACE_SOCK_ACCEPTOR>; -#if defined (ACE_HAS_STREAM_PIPES) -template class ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>; -// #else the instantiation in is Client_Logging_Handler.cpp -#endif /* ACE_HAS_STREAM_PIPES */ -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Accept_Strategy<ACE_TS_Server_Handler, ACE_SOCK_ACCEPTOR> -#pragma instantiate ACE_Acceptor<ACE_TS_Server_Handler, ACE_SOCK_ACCEPTOR> -#pragma instantiate ACE_Concurrency_Strategy<ACE_TS_Server_Handler> -#pragma instantiate ACE_Creation_Strategy<ACE_TS_Server_Handler> -#pragma instantiate ACE_Schedule_All_Reactive_Strategy<ACE_TS_Server_Handler> -#pragma instantiate ACE_Scheduling_Strategy<ACE_TS_Server_Handler> -#pragma instantiate ACE_Strategy_Acceptor<ACE_TS_Server_Handler, ACE_SOCK_ACCEPTOR> -#if defined (ACE_HAS_STREAM_PIPES) -#pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> -// #else the instantiation in is Client_Logging_Handler.cpp -#endif /* ACE_HAS_STREAM_PIPES */ -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/netsvcs/lib/TS_Server_Handler.h b/netsvcs/lib/TS_Server_Handler.h deleted file mode 100644 index 03f763e068d..00000000000 --- a/netsvcs/lib/TS_Server_Handler.h +++ /dev/null @@ -1,103 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// TS_Server_Handler.h -// -// = AUTHOR -// Prashant Jain -// -// ============================================================================ - -#if !defined (ACE_TS_SERVER_HANDLER_H) -#define ACE_TS_SERVER_HANDLER_H - -#include "ace/Acceptor.h" -#include "ace/SOCK_Acceptor.h" -#include "ace/Time_Request_Reply.h" - -class ACE_Svc_Export ACE_TS_Server_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> - // = TITLE - // Product object created by <ACE_TS_Server_Acceptor>. - // - // = DESCRIPTION -{ - friend class ACE_Shutup_GPlusPlus; // Turn off g++ warning -public: - // = Initialization and termination. - - ACE_TS_Server_Handler (ACE_Thread_Manager * = 0); - // Default constructor. - - virtual int open (void * = 0); - // Activate this instance of the <ACE_TS_Server_Handler> (called by the - // <ACE_Strategy_Acceptor>). - - ~ACE_TS_Server_Handler (void); - // Must be allocated dynamically. - -protected: - // = Helper routines for the operations exported to clients. - - virtual int abandon (void); - // Give up waiting (e.g., when a timeout occurs or a client shuts - // down unexpectedly). - - // = Low level routines for framing requests, dispatching - // operations, and returning replies. - - virtual int recv_request (void); - // Receive, frame, and decode the client's request. - - virtual int dispatch (void); - // Dispatch the appropriate operation to handle the client's - // request. - - virtual int send_request (ACE_Time_Request &); - // Special kind of reply - - // = Demultiplexing hooks. - virtual ACE_HANDLE get_handle (void) const; - // Return the underlying <ACE_HANDLE>. - - virtual int handle_input (ACE_HANDLE); - // Callback method invoked by the <ACE_Reactor> when client events - // arrive. - - // = Timer hook. - virtual int handle_timeout (const ACE_Time_Value &tv, const void *arg); - // Enable clients to limit the amount of time they wait. - -private: - ACE_Time_Request time_request_; - // Cache request from the client. - - ACE_INET_Addr addr_; - // Address of client we are connected with. -}; - -class ACE_TS_Server_Acceptor : public ACE_Strategy_Acceptor<ACE_TS_Server_Handler, ACE_SOCK_ACCEPTOR> - // = TITLE - // This class contains the service-specific methods that can't - // easily be factored into the <ACE_Strategy_Acceptor>. -{ -public: - virtual int init (int argc, char *argv[]); - // Dynamic linking hook. - - int parse_args (int argc, char *argv[]); - // Parse svc.conf arguments. - -private: - ACE_Schedule_All_Reactive_Strategy<ACE_TS_Server_Handler> scheduling_strategy_; - // The scheduling strategy is designed for Reactive services. -}; - -ACE_SVC_FACTORY_DECLARE (ACE_TS_Server_Acceptor) - -#endif /* ACE_TS_SERVER_HANDLER_H */ diff --git a/netsvcs/lib/Token_Handler.cpp b/netsvcs/lib/Token_Handler.cpp deleted file mode 100644 index 1c13a1dd4a1..00000000000 --- a/netsvcs/lib/Token_Handler.cpp +++ /dev/null @@ -1,657 +0,0 @@ -// $Id$ - -// Token_Handler.cpp - -#define ACE_BUILD_SVC_DLL - -#include "ace/Get_Opt.h" -#include "Token_Handler.h" - -int -ACE_Token_Acceptor::parse_args (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_Token_Acceptor::parse_args"); - - this->service_port_ = ACE_DEFAULT_SERVER_PORT; - - ACE_LOG_MSG->open ("Token Service"); - - ACE_Get_Opt get_opt (argc, argv, "p:", 0); - - for (int c; (c = get_opt ()) != -1; ) - { - switch (c) - { - case 'p': - this->service_port_ = ACE_OS::atoi (get_opt.optarg); - break; - default: - ACE_ERROR_RETURN ((LM_ERROR, - "%n:\n[-p server-port]\n%a", 1), - -1); - } - } - - this->service_addr_.set (this->service_port_); - return 0; -} - -int -ACE_Token_Acceptor::init (int argc, char *argv[]) -{ - ACE_TRACE ("ACE_Token_Acceptor::init"); - - // Use the options hook to parse the command line arguments and set - // options. - this->parse_args (argc, argv); - - // Set the acceptor endpoint into listen mode (use the Singleton - // global Reactor...). - if (this->open (this->service_addr_, ACE_Reactor::instance (), - 0, 0, 0, - &this->scheduling_strategy_, - "Token Server", "ACE token service") == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%n: %p on port %d\n", - "acceptor::open failed", - this->service_addr_.get_port_number ()), -1); - - // Ignore SIGPIPE so that each <SVC_HANDLER> can handle this on its - // own. - ACE_Sig_Action sig (ACE_SignalHandler (SIG_IGN), SIGPIPE); - ACE_UNUSED_ARG (sig); - - ACE_INET_Addr server_addr; - - if (this->acceptor ().get_local_addr (server_addr) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "get_remote_addr"), -1); - - ACE_DEBUG ((LM_DEBUG, - "starting up Token Server at port %d on handle %d\n", - server_addr.get_port_number (), - this->acceptor ().get_handle ())); - return 0; -} - -// The following is a "Factory" used by the ACE_Service_Config and -// svc.conf file to dynamically initialize the state of the Naming -// Server. - -ACE_SVC_FACTORY_DEFINE (ACE_Token_Acceptor) - -// Default constructor. - -ACE_Token_Handler::ACE_Token_Handler (ACE_Thread_Manager *tm) - : ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> (tm), - collection_ (1), - timeout_id_ (0) -{ - ACE_TRACE ("ACE_Token_Handler::ACE_Token_Handler"); -} - -// Create and send a reply to the client. - -/* VIRTUAL */ int -ACE_Token_Handler::send_reply (ACE_UINT32 err) -{ - ACE_TRACE ("ACE_Token_Handler::send_reply"); - void *buf; - size_t len; - ssize_t n; - - this->token_reply_.errnum (err); - - len = this->token_reply_.encode (buf); - - n = this->peer ().send (buf, len); - - if (n != (ssize_t) len) - ACE_ERROR_RETURN ((LM_ERROR, - "%p, expected len = %d, actual len = %d\n", - "send failed", len, n), -1); - else - return 0; -} - -// Acquire the token. - -/* VIRTUAL */ int -ACE_Token_Handler::acquire (ACE_Token_Proxy *proxy) -{ - ACE_TRACE ("ACE_Token_Handler::acquire"); - ACE_DEBUG ((LM_DEBUG, "in acquire for client id = %s\n", - proxy->client_id ())); - - // @@ add notify in token request reply - if (proxy->acquire (0, 0, ACE_Synch_Options::asynch) == -1) - { - if (errno != EWOULDBLOCK) - // bad bad bad - return this->send_reply (errno); - - // acquire would block - if (request_options_[ACE_Synch_Options::USE_TIMEOUT] == 1) - { - // check for polling - if ((request_options_.timeout ().sec () == 0) && - (request_options_.timeout ().usec () == 0)) - return this->send_reply (EWOULDBLOCK); - - // schedule a timer - this->timeout_id_ = this->reactor ()->schedule_timer - (this, (void *) proxy, request_options_.timeout ()); - if (timeout_id_ == -1) - { - ACE_ERROR ((LM_ERROR, "%p\n", "schedule_timer")); - return this->send_reply (errno); - } - } - // send no reply. wait until we acquire it or until the timer - // goes off. - return 0; - } - else // success - return this->send_reply (ACE_Token_Reply::SUCCESS); -} - -// Try to acquire the token. Never block. - -/* VIRTUAL */ int -ACE_Token_Handler::try_acquire (ACE_Token_Proxy *proxy) -{ - ACE_TRACE ("ACE_Token_Handler::try_acquire"); - - ACE_DEBUG ((LM_DEBUG, "in try_acquire for client id = %s\n", - proxy->client_id ())); - - // @@ add notify in token request reply - if (proxy->tryacquire () == -1) - return this->send_reply (errno); - else - return this->send_reply (ACE_Token_Reply::SUCCESS); -} - -// Release the token and allow the next client that is waiting to -// proceed. - -/* VIRTUAL */ int -ACE_Token_Handler::release (ACE_Token_Proxy *proxy) -{ - ACE_TRACE ("ACE_Token_Handler::release"); - ACE_DEBUG ((LM_DEBUG, - "in release for client id = %s\n", - proxy->client_id ())); - - if (proxy->release (ACE_Synch_Options::asynch) == -1) - // oops, it failed - return this->send_reply (ACE_LOG_MSG->errnum ()); - - // success - if (this->timeout_id_ != 0) - { - this->reactor ()->cancel_timer (timeout_id_); - this->timeout_id_ = 0; - } - - return this->send_reply (ACE_Token_Reply::SUCCESS); -} - -// Yield the token if any clients are waiting, otherwise keep the -// token. - -/* VIRTUAL */ int -ACE_Token_Handler::renew (ACE_Token_Proxy *proxy) -{ - ACE_TRACE ("ACE_Token_Handler::renew"); - - ACE_DEBUG ((LM_DEBUG, "in renew for client id = %s\n", - proxy->client_id ())); - - if (proxy->renew (token_request_.requeue_position (), - ACE_Synch_Options::asynch) == -1) - { - int result = ACE_LOG_MSG->errnum (); - if (result != EWOULDBLOCK) - // bad bad bad - return this->send_reply (result); - - // acquire would block - if (request_options_[ACE_Synch_Options::USE_TIMEOUT] == 1) - { - this->timeout_id_ = this->reactor ()->schedule_timer - (this, 0, request_options_.timeout ()); - if (timeout_id_ == -1) - { - ACE_ERROR ((LM_ERROR, "%p\n", "schedule_timer")); - return this->send_reply (ACE_LOG_MSG->errnum ()); - } - } - // Send no reply. wait until we acquire it or until the timer - // goes off. - return 0; - } - else - // Success, we still hold the token. - return this->send_reply (ACE_Token_Reply::SUCCESS); -} - -/* VIRTUAL */ int -ACE_Token_Handler::remove (ACE_Token_Proxy *proxy) -{ - ACE_TRACE ("ACE_Token_Handler::remove"); - ACE_DEBUG ((LM_DEBUG, "in remove for client id = %s\n", - proxy->client_id ())); - ACE_ERROR ((LM_ERROR, "sorry: ACE_Token_Handler::remove() is not implemented")); - - return this->send_reply (ENOTSUP); -} - -// Enable clients to limit the amount of time they'll wait for a -// token. - -/* VIRTUAL */ int -ACE_Token_Handler::handle_timeout (const ACE_Time_Value &, - const void *tp) -{ - ACE_TRACE ("ACE_Token_Handler::handle_timeout"); - - this->timeout_id_ = 0; - - // @@ add a try acquire here! - // Try to acquire the token, but if we can't get it immediately - // then abandon the wait. - // if (this->try_acquire (&token_entry) == -1) - // return this->abandon (token_entry); - - ACE_Token_Proxy *proxy = (ACE_Token_Proxy *) tp; - - ACE_DEBUG ((LM_DEBUG, "in handle_timeout for client id = %s\n", - proxy->client_id ())); - - // Remove ourselves from the waiter list. - proxy->release (); - - this->send_reply (ETIME); - return 0; -} - -// Dispatch the appropriate operation to handle the client request. - -ACE_Token_Proxy * -ACE_Token_Handler::get_proxy (void) -{ - ACE_TRACE ("ACE_Token_Handler::get_proxy"); - - // See if the proxy already exists in the collection. - ACE_Token_Proxy *proxy = collection_.is_member (token_request_.token_name ()); - - // If not, create one. - if (proxy == 0) - { - proxy = this->create_proxy (); - - // Put the new_proxy in this client_id's collection. - if (collection_.insert (*proxy) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "insert failed\n"), 0); - - // Delete our copy (one was created in the collection). - delete proxy; - proxy = collection_.is_member (token_request_.token_name ()); - - if (proxy == 0) - ACE_ERROR_RETURN ((LM_ERROR, "is_member failed\n"), 0); - - // Set the client_id (it was set to 1 since we're - // single-threaded. - proxy->client_id (token_request_.client_id ()); - } - - return proxy; -} - -ACE_Token_Proxy * -ACE_Token_Handler::create_proxy (void) -{ - ACE_TRACE ("ACE_Token_Handler::new_proxy"); - - ACE_Token_Proxy *proxy; - - switch (token_request_.token_type ()) - { - case ACE_Tokens::RWLOCK: - if (token_request_.proxy_type () == ACE_RW_Token::READER) - ACE_NEW_RETURN (proxy, - ACE_TS_RLock (token_request_.token_name (), this), - 0); - else - ACE_NEW_RETURN (proxy, - ACE_TS_WLock (token_request_.token_name (), this), - 0); - break; - case ACE_Tokens::MUTEX: - ACE_NEW_RETURN (proxy, - ACE_TS_Mutex (token_request_.token_name (), this), - 0); - break; - default: - // Nonexistent token type. - errno = EINVAL; - return 0; - } - - // Check for failed new. - if (proxy == 0) - errno = ENOMEM; - - return proxy; -} - -int -ACE_Token_Handler::dispatch (void) -{ - ACE_TRACE ("ACE_Token_Handler::dispatch"); - ACE_Token_Proxy *proxy = this->get_proxy (); - - if (proxy == 0) - return -1; - - // Dispatch the appropriate request. - switch (this->token_request_.operation_type ()) - { - case ACE_Token_Request::ACQUIRE: - return this->acquire (proxy); - case ACE_Token_Request::TRY_ACQUIRE: - return this->try_acquire (proxy); - case ACE_Token_Request::RELEASE: - return this->release (proxy); - case ACE_Token_Request::RENEW: - return this->renew (proxy); - case ACE_Token_Request::REMOVE: - return this->remove (proxy); - default: - ACE_ERROR_RETURN ((LM_ERROR, "invalid type = %d\n", - this->token_request_.operation_type ()), -1); - /* NOTREACHED */ - } -} - -// Receive, frame, and decode the client's request. -// Note, this method should use non-blocking I/O. - -/* VIRTUAL */ int -ACE_Token_Handler::recv_request (void) -{ - ACE_TRACE ("ACE_Token_Handler::recv_request"); - ssize_t n; - - // Read the first 4 bytes to get the length of the message - // This implementation assumes that the first 4 bytes are - // the length of the message. - n = this->peer ().recv ((void *) &this->token_request_, - sizeof (ACE_UINT32)); - - switch (n) - { - case -1: - /* FALLTHROUGH */ - default: - ACE_ERROR ((LM_ERROR, "%p got %d bytes, expected %d bytes\n", - "recv failed", n, sizeof (ACE_UINT32))); - /* FALLTHROUGH */ - case 0: - // We've shutdown unexpectedly, let's abandon the connection. - this->abandon (0); - return -1; - /* NOTREACHED */ - case sizeof (ACE_UINT32): - { - // Transform the length into host byte order. - ssize_t length = this->token_request_.length (); - - // Do a sanity check on the length of the message. - if (length > (ssize_t) sizeof this->token_request_) - { - ACE_ERROR ((LM_ERROR, "length %d too long\n", length)); - return this->abandon (1); - } - - // Receive the rest of the request message. - // @@ beware of blocking read!!!. - n = this->peer ().recv ((void *) (((char *) &this->token_request_) - + sizeof (ACE_UINT32)), - length - sizeof (ACE_UINT32)); - - // Subtract off the size of the part we skipped over... - if (n != (length - (ssize_t) sizeof (ACE_UINT32))) - { - ACE_ERROR ((LM_ERROR, "%p expected %d, got %d\n", - "invalid length", length, n)); - return this->abandon (1); - } - - // Decode the request into host byte order. - if (this->token_request_.decode () == -1) - { - ACE_ERROR ((LM_ERROR, "%p\n", "decode failed")); - return this->abandon (1); - } - - // if (OS::debug) - this->token_request_.dump (); - } - } - return 0; -} - -// Callback method invoked by the ACE_Reactor when -// events arrive from the client. - -/* VIRTUAL */ int -ACE_Token_Handler::handle_input (ACE_HANDLE) -{ - ACE_TRACE ("ACE_Token_Handler::handle_input"); - - ACE_DEBUG ((LM_DEBUG, "****************** in handle_input\n")); - - if (this->recv_request () == -1) - return -1; - else - return this->dispatch (); -} - -void -ACE_Token_Handler::sleep_hook (void) -{ - ACE_TRACE ("ACE_Token_Handler::sleep_hook"); - // @@ what should we do? - return; -} - -void -ACE_Token_Handler::token_acquired (ACE_TPQ_Entry *) -{ - ACE_TRACE ("ACE_Token_Handler::token_acquired"); - - if (this->timeout_id_ != 0) - { - this->reactor ()->cancel_timer (this->timeout_id_); - this->timeout_id_ = 0; - } - - this->send_reply (ACE_Token_Reply::SUCCESS); -} - -int -ACE_Token_Handler::abandon (int send_error) -{ - ACE_TRACE ("ACE_Token_Handler::abandon"); - - // Release ownership or remove us from the waiter list. - if (this->timeout_id_ != 0) - { - this->reactor ()->cancel_timer (timeout_id_); - this->timeout_id_ = 0; - } - - // @@ release all tokens - collection_.release (); - - if (send_error) - return this->send_reply (EIO); - else - return -1; -} - -// ************************************************************ -// ************************************************************ -// ************************************************************ - -ACE_TS_Mutex::ACE_TS_Mutex (const char *name, - ACE_Token_Handler *th) -: ACE_Local_Mutex (name, 0, 1), // The 1 is debug. - th_ (th) -{ - ACE_TRACE ("ACE_TS_Mutex::ACE_TS_Mutex"); -} - -ACE_TS_Mutex::ACE_TS_Mutex (const ACE_TS_Mutex &m) -: ACE_Local_Mutex (m), - th_ (m.th_) -{ - ACE_TRACE ("ACE_TS_Mutex::ACE_TS_Mutex"); - this->open (m.name (), m.ignore_deadlock_, m.debug_); -} - -void -ACE_TS_Mutex::sleep_hook (void) -{ - ACE_TRACE ("ACE_TS_Mutex::sleep_hook"); - th_->sleep_hook (); - return; -} - -void -ACE_TS_Mutex::token_acquired (ACE_TPQ_Entry *e) -{ - ACE_TRACE ("ACE_TS_Mutex::token_acquired"); - // Notify the token handler. - th_->token_acquired (e); - return; -} - -ACE_Token_Proxy * -ACE_TS_Mutex::clone (void) const -{ - ACE_TRACE ("ACE_TS_Mutex::clone"); - ACE_Token_Proxy *temp; - ACE_NEW_RETURN (temp, ACE_TS_Mutex (*this), 0); - return temp; -} - -// ************************************************************ - -ACE_TS_RLock::ACE_TS_RLock (const char *name, - ACE_Token_Handler *th) -: ACE_Local_RLock (name, 0, 1), // The 1 is debug. - th_ (th) -{ - ACE_TRACE ("ACE_TS_RLock::ACE_TS_RLock"); -} - -ACE_TS_RLock::ACE_TS_RLock (const ACE_TS_RLock &r) -: ACE_Local_RLock (r), - th_ (r.th_) -{ - ACE_TRACE ("ACE_TS_RLock::ACE_TS_RLock"); - this->open (r.name (), r.ignore_deadlock_, r.debug_); -} - -void -ACE_TS_RLock::sleep_hook (void) -{ - ACE_TRACE ("ACE_TS_RLock::sleep_hook"); - th_->sleep_hook (); - return; -} - -void -ACE_TS_RLock::token_acquired (ACE_TPQ_Entry *e) -{ - ACE_TRACE ("ACE_TS_RLock::token_acquired"); - // Notify the token handler. - th_->token_acquired (e); - return; -} - -ACE_Token_Proxy * -ACE_TS_RLock::clone (void) const -{ - ACE_TRACE ("ACE_TS_RLock::clone"); - ACE_Token_Proxy *temp; - - ACE_NEW_RETURN (temp, ACE_TS_RLock (*this), 0); - return temp; -} - -// ************************************************************ - -ACE_TS_WLock::ACE_TS_WLock (const char *name, - ACE_Token_Handler *th) -: ACE_Local_WLock (name, 0, 1), // The 1 is debug. - th_ (th) -{ - ACE_TRACE ("ACE_TS_WLock::ACE_TS_WLock"); -} - -ACE_TS_WLock::ACE_TS_WLock (const ACE_TS_WLock &w) -: ACE_Local_WLock (w), - th_ (w.th_) -{ - ACE_TRACE ("ACE_TS_WLock::ACE_TS_WLock"); - this->open (w.name (), w.ignore_deadlock_, w.debug_); -} - -void -ACE_TS_WLock::sleep_hook (void) -{ - ACE_TRACE ("ACE_TS_WLock::sleep_hook"); - th_->sleep_hook (); - return; -} - -void -ACE_TS_WLock::token_acquired (ACE_TPQ_Entry *e) -{ - ACE_TRACE ("ACE_TS_WLock::token_acquired"); - // Notify the token handler. - th_->token_acquired (e); - return; -} - -ACE_Token_Proxy * -ACE_TS_WLock::clone (void) const -{ - ACE_TRACE ("ACE_TS_WLock::clone"); - ACE_Token_Proxy *temp; - - ACE_NEW_RETURN (temp, ACE_TS_WLock (*this), 0); - return temp; -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Acceptor<ACE_Token_Handler, ACE_SOCK_ACCEPTOR>; -template class ACE_Accept_Strategy<ACE_Token_Handler, ACE_SOCK_ACCEPTOR>; -template class ACE_Concurrency_Strategy<ACE_Token_Handler>; -template class ACE_Creation_Strategy<ACE_Token_Handler>; -template class ACE_Schedule_All_Reactive_Strategy<ACE_Token_Handler>; -template class ACE_Scheduling_Strategy<ACE_Token_Handler>; -template class ACE_Strategy_Acceptor<ACE_Token_Handler, ACE_SOCK_ACCEPTOR>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Acceptor<ACE_Token_Handler, ACE_SOCK_ACCEPTOR> -#pragma instantiate ACE_Accept_Strategy<ACE_Token_Handler, ACE_SOCK_ACCEPTOR> -#pragma instantiate ACE_Concurrency_Strategy<ACE_Token_Handler> -#pragma instantiate ACE_Creation_Strategy<ACE_Token_Handler> -#pragma instantiate ACE_Schedule_All_Reactive_Strategy<ACE_Token_Handler> -#pragma instantiate ACE_Scheduling_Strategy<ACE_Token_Handler> -#pragma instantiate ACE_Strategy_Acceptor<ACE_Token_Handler, ACE_SOCK_ACCEPTOR> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - diff --git a/netsvcs/lib/Token_Handler.h b/netsvcs/lib/Token_Handler.h deleted file mode 100644 index a2ef8345f67..00000000000 --- a/netsvcs/lib/Token_Handler.h +++ /dev/null @@ -1,255 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ACE -// -// = FILENAME -// Token_Handler.h -// -// = AUTHOR -// Douglas C. Schmidt (schmidt@cs.wustl.edu) -// Tim Harrison (harrison@cs.wustl.edu) -// -// ============================================================================ - -#if !defined (ACE_TOKEN_HANDLER_H) -#define ACE_TOKEN_HANDLER_H - -#include "ace/Acceptor.h" -#include "ace/SOCK_Acceptor.h" -#include "ace/Local_Tokens.h" -#include "ace/Token_Collection.h" -#include "ace/Token_Request_Reply.h" - -class ACE_Svc_Export ACE_Token_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> - // = TITLE - // Product object created by an <ACE_Token_Acceptor>. A - // <Token_Handler> exchanges messages with a <Token_Proxy> object - // on the client-side. - // - // = DESCRIPTION - // This class is the main workhorse of the ACE Token service. It - // receives token operation requests from remote clients and turns - // them into calls on local tokens (acquire, release, renew, and - // remove). In OMG CORBA terms, it is an object adapter. It also - // schedules and handles timeouts that are used to support "timed - // waits." Clients used timed waits to bound the amount of time - // they block trying to get a token. -{ -public: - // = Initialization and termination. - - ACE_Token_Handler (ACE_Thread_Manager * = 0); - // Default constructor. - - // = Accessor and mutator methods. - - // = Remote operations "exported" to a client. - virtual int acquire (ACE_Token_Proxy *proxy); - // Try to acquire the token. - // Precondition: client *may* hold the token already (i.e., - // supports recursive acquisitions). - - virtual int try_acquire (ACE_Token_Proxy *proxy); - // Try to acquire the token. - - virtual int release (ACE_Token_Proxy *proxy); - // Release the token and allow the next client that is waiting to - // proceed. Preconditions: client must hold the token. - - virtual int renew (ACE_Token_Proxy *proxy); - // Yield the token if any clients are waiting, otherwise keep the - // token. Preconditions: client must hold the token. - - virtual int remove (ACE_Token_Proxy *proxy); - // Remove the specified token from the Token_Map. Preconditions: - // ACE_Token must exist. @@ Any other preconditions, e.g., must - // client hold token, must there be no waiters, etc.? - - void sleep_hook (void); - // Called by TS_[Mutex,RLock,WLock] when we hold the mutex and - // someone wants it. - - void token_acquired (ACE_TPQ_Entry *); - // Called by TS_[Mutex,RLock,WLock] when we are waiting and acquire - // the mutex. - -protected: - // = Low level routines for framing requests, dispatching - // operations, and returning replies. - - virtual int abandon (int send_error); - // Our connection has been closed. - - virtual int recv_request (void); - // Receive, frame, and decode the client's request. - - virtual int dispatch (void); - // Dispatch the appropriate operation to handle the client's - // request. - - virtual int send_reply (ACE_UINT32 errnum); - // Create and send a reply to the client. - - // = Demultiplexing hooks. - virtual int handle_input (ACE_HANDLE); - // Callback method invoked by the <ACE_Reactor> when client events - // arrive. - - // = Timer hook. - virtual int handle_timeout (const ACE_Time_Value &tv, const void *arg); - // Enable clients to limit the amount of time they wait for a token. - - ACE_Token_Proxy *get_proxy (void); - // return a proxy for the calling client_id and token name. - -private: - - virtual ACE_Token_Proxy *create_proxy (void); - // Switches on the type of token_request_ and creates a new - // Token_Proxy. - - ACE_Synch_Options request_options_; - // Keeps track of the synchronization options (i.e., the timeout - // interval). - - ACE_Token_Collection collection_; - // collection of the client's token proxies. - - long timeout_id_; - // ID returned by the Reactor that is used to kill registered timers - // when a token operation times out. - - ACE_Token_Request token_request_; - // Cache request from the client. - - ACE_Token_Reply token_reply_; - // Cache reply to the client. -}; - -// = DESCRIPTION of ACE_TS_* classes: -// When Tokens are released, waiting token proxies are notified -// when the releasing thread calls token_acquired on the waiting -// proxy. The Token Server specializes ACE_Token_Proxy to -// redefine the implementation of token_acquired. When -// token_acquired is called, the Token_Handler can then send the -// response back over the socket connection to unblock the -// client side. -// Since only the Token_Handler uses ACE_TS_Mutex, we've moved -// the definition to the .cpp file. - -class ACE_TS_Mutex : public ACE_Local_Mutex - // = TITLE - // ACE_TS_Mutex -- ACE_*T*oken_*S*erver_Mutex -{ -public: - ACE_TS_Mutex (const char *name, - ACE_Token_Handler *th); - // Creation. - -protected: - virtual void sleep_hook (void); - // Somebody wants our token! - - virtual void token_acquired (ACE_TPQ_Entry *); - // We've been taken off the waiters list and given the token! Call - // the Token_Handler associated at construction, so it can tell the - // remote client. - - ACE_TS_Mutex (const ACE_TS_Mutex &); - // Duplication. - - virtual ACE_Token_Proxy *clone (void) const; - // Return a deep copy. - -private: - ACE_Token_Handler* th_; - // The Token Handler associated with this proxy. Set at - // construction and notified when blocking acquires succeed. -}; - -class ACE_TS_RLock : public ACE_Local_RLock - // = TITLE - // ACE_TS_RLock -- ACE_*T*oken_*S*erver_RLock -{ -public: - ACE_TS_RLock (const char *name, - ACE_Token_Handler *th); - // Creation. - -protected: - virtual void sleep_hook (void); - // Somebody wants our token! - - virtual void token_acquired (ACE_TPQ_Entry *); - // We've been taken off the waiters list and given the token! Call - // the Token_Handler associated at construction, so it can tell the - // remote client. - - ACE_TS_RLock (const ACE_TS_RLock&); - // Duplication. - - virtual ACE_Token_Proxy *clone (void) const; - // Return a deep copy. - -private: - ACE_Token_Handler* th_; - // the Token Handler associated with this proxy. Set at - // construction and notified when blocking acquires succeed. -}; - -class ACE_TS_WLock : public ACE_Local_WLock - // = TITLE - // ACE_TS_WLock -- ACE_*T*oken_*S*erver_WLock -{ -public: - ACE_TS_WLock (const char *name, - ACE_Token_Handler *th); - // Creation. - -protected: - virtual void sleep_hook (void); - // Somebody wants our token! - - virtual void token_acquired (ACE_TPQ_Entry *); - // We've been taken off the waiters list and given the token! Call - // the Token_Handler associated at construction, so it can tell the - // remote client. - - ACE_TS_WLock (const ACE_TS_WLock&); - // Duplication. - - virtual ACE_Token_Proxy *clone (void) const; - // Return a deep copy. - -private: - ACE_Token_Handler* th_; - // the Token Handler associated with this proxy. Set at - // construction and notified when blocking acquires succeed. -}; - -// ************************************************************ - -class ACE_Token_Acceptor : public ACE_Strategy_Acceptor<ACE_Token_Handler, ACE_SOCK_ACCEPTOR> - // = TITLE - // This class contains the service-specific methods that can't - // easily be factored into the <ACE_Strategy_Acceptor>. -{ -public: - virtual int init (int argc, char *argv[]); - // Dynamic linking hook. - - int parse_args (int argc, char *argv[]); - // Parse svc.conf arguments. - -private: - ACE_Schedule_All_Reactive_Strategy<ACE_Token_Handler> scheduling_strategy_; - // The scheduling strategy is designed for Reactive services. -}; - -ACE_SVC_FACTORY_DECLARE (ACE_Token_Acceptor) - -#endif /* ACE_TOKEN_HANDLER_H */ diff --git a/netsvcs/lib/VCAUTO.MAK b/netsvcs/lib/VCAUTO.MAK deleted file mode 100644 index 1bef42d9a7b..00000000000 --- a/netsvcs/lib/VCAUTO.MAK +++ /dev/null @@ -1,5 +0,0 @@ -# Dir: netsvcs/lib/ - -MAK_LIST = netsvcs - -!INCLUDE <$(ACE_ROOT)\include\makeinclude\VC50_DIR.MAK> diff --git a/netsvcs/lib/netsvcs.MAK b/netsvcs/lib/netsvcs.MAK deleted file mode 100644 index 14edefde6ae..00000000000 --- a/netsvcs/lib/netsvcs.MAK +++ /dev/null @@ -1,4301 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on netsvcs.dsp -!IF "$(CFG)" == "" -CFG=netsvcs - Win32 Alpha Debug -!MESSAGE No configuration specified. Defaulting to netsvcs - Win32 Alpha Debug. -!ENDIF - -!IF "$(CFG)" != "netsvcs - Win32 Release" && "$(CFG)" !=\ - "netsvcs - Win32 Debug" && "$(CFG)" != "netsvcs - Win32 Alpha Debug" &&\ - "$(CFG)" != "netsvcs - Win32 Alpha Release" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "netsvcs.mak" CFG="netsvcs - Win32 Alpha Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "netsvcs - Win32 Release" (based on\ - "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netsvcs - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "netsvcs - Win32 Alpha Debug" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE "netsvcs - Win32 Alpha Release" (based on\ - "Win32 (ALPHA) Dynamic-Link Library") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "netsvcs - Win32 Release" - -OUTDIR=.\. -INTDIR=.\Release -# Begin Custom Macros -OutDir=.\. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\netsvcs.dll" - -!ELSE - -ALL : "$(OUTDIR)\netsvcs.dll" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\Client_Logging_Handler.obj" - -@erase "$(INTDIR)\Logging_Strategy.obj" - -@erase "$(INTDIR)\Name_Handler.obj" - -@erase "$(INTDIR)\Server_Logging_Handler.obj" - -@erase "$(INTDIR)\Token_Handler.obj" - -@erase "$(INTDIR)\TS_Clerk_Handler.obj" - -@erase "$(INTDIR)\TS_Server_Handler.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(OUTDIR)\netsvcs.dll" - -@erase "$(OUTDIR)\netsvcs.exp" - -@erase "$(OUTDIR)\netsvcs.lib" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\..\\" /D "WIN32" /D "NDEBUG" /D\ - "_WINDOWS" /Fp"$(INTDIR)\netsvcs.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD\ - /c -CPP_OBJS=.\Release/ -CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\netsvcs.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=ace.lib /nologo /subsystem:windows /dll /incremental:no\ - /pdb:"$(OUTDIR)\netsvcs.pdb" /machine:I386 /out:"$(OUTDIR)\netsvcs.dll"\ - /implib:"$(OUTDIR)\netsvcs.lib" /libpath:"..\..\ace" -LINK32_OBJS= \ - "$(INTDIR)\Client_Logging_Handler.obj" \ - "$(INTDIR)\Logging_Strategy.obj" \ - "$(INTDIR)\Name_Handler.obj" \ - "$(INTDIR)\Server_Logging_Handler.obj" \ - "$(INTDIR)\Token_Handler.obj" \ - "$(INTDIR)\TS_Clerk_Handler.obj" \ - "$(INTDIR)\TS_Server_Handler.obj" - -"$(OUTDIR)\netsvcs.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug" - -OUTDIR=.\. -INTDIR=.\Debug -# Begin Custom Macros -OutDir=.\. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\netsvcs.dll" - -!ELSE - -ALL : "$(OUTDIR)\netsvcs.dll" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\Client_Logging_Handler.obj" - -@erase "$(INTDIR)\Logging_Strategy.obj" - -@erase "$(INTDIR)\Name_Handler.obj" - -@erase "$(INTDIR)\Server_Logging_Handler.obj" - -@erase "$(INTDIR)\Token_Handler.obj" - -@erase "$(INTDIR)\TS_Clerk_Handler.obj" - -@erase "$(INTDIR)\TS_Server_Handler.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(INTDIR)\vc50.pdb" - -@erase "$(OUTDIR)\netsvcs.dll" - -@erase "$(OUTDIR)\netsvcs.exp" - -@erase "$(OUTDIR)\netsvcs.ilk" - -@erase "$(OUTDIR)\netsvcs.lib" - -@erase "$(OUTDIR)\netsvcs.pdb" - -"$(OUTDIR)" : - if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /D "WIN32" /D "_DEBUG"\ - /D "_WINDOWS" /Fp"$(INTDIR)\netsvcs.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\"\ - /FD /c -CPP_OBJS=.\Debug/ -CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\netsvcs.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=aced.lib /nologo /subsystem:windows /dll /incremental:yes\ - /pdb:"$(OUTDIR)\netsvcs.pdb" /debug /machine:I386 /out:"$(OUTDIR)\netsvcs.dll"\ - /implib:"$(OUTDIR)\netsvcs.lib" /libpath:"..\..\ace" -LINK32_OBJS= \ - "$(INTDIR)\Client_Logging_Handler.obj" \ - "$(INTDIR)\Logging_Strategy.obj" \ - "$(INTDIR)\Name_Handler.obj" \ - "$(INTDIR)\Server_Logging_Handler.obj" \ - "$(INTDIR)\Token_Handler.obj" \ - "$(INTDIR)\TS_Clerk_Handler.obj" \ - "$(INTDIR)\TS_Server_Handler.obj" - -"$(OUTDIR)\netsvcs.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug" - -OUTDIR=. -INTDIR=.\Debug -# Begin Custom Macros -OutDir=. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\netsvcs.dll" - -!ELSE - -ALL : "$(OUTDIR)\netsvcs.dll" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\Client_Logging_Handler.obj" - -@erase "$(INTDIR)\Logging_Strategy.obj" - -@erase "$(INTDIR)\Name_Handler.obj" - -@erase "$(INTDIR)\Server_Logging_Handler.obj" - -@erase "$(INTDIR)\Token_Handler.obj" - -@erase "$(INTDIR)\TS_Clerk_Handler.obj" - -@erase "$(INTDIR)\TS_Server_Handler.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(INTDIR)\vc50.pdb" - -@erase "$(OUTDIR)\netsvcs.dll" - -@erase "$(OUTDIR)\netsvcs.exp" - -@erase "$(OUTDIR)\netsvcs.lib" - -@erase "$(OUTDIR)\netsvcs.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -CPP_PROJ=/nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\\" /D "WIN32" /D "_DEBUG" /D\ - "_WINDOWS" /Fp"$(INTDIR)\netsvcs.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD\ - /MDd /c -CPP_OBJS=.\Debug/ -CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\netsvcs.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=aced.lib /nologo /subsystem:windows /dll\ - /pdb:"$(OUTDIR)\netsvcs.pdb" /debug /machine:ALPHA /out:"$(OUTDIR)\netsvcs.dll"\ - /implib:"$(OUTDIR)\netsvcs.lib" /libpath:"..\..\ace" -LINK32_OBJS= \ - "$(INTDIR)\Client_Logging_Handler.obj" \ - "$(INTDIR)\Logging_Strategy.obj" \ - "$(INTDIR)\Name_Handler.obj" \ - "$(INTDIR)\Server_Logging_Handler.obj" \ - "$(INTDIR)\Token_Handler.obj" \ - "$(INTDIR)\TS_Clerk_Handler.obj" \ - "$(INTDIR)\TS_Server_Handler.obj" - -"$(OUTDIR)\netsvcs.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release" - -OUTDIR=. -INTDIR=.\Release -# Begin Custom Macros -OutDir=. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\netsvcs.dll" - -!ELSE - -ALL : "$(OUTDIR)\netsvcs.dll" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\Client_Logging_Handler.obj" - -@erase "$(INTDIR)\Logging_Strategy.obj" - -@erase "$(INTDIR)\Name_Handler.obj" - -@erase "$(INTDIR)\Server_Logging_Handler.obj" - -@erase "$(INTDIR)\Token_Handler.obj" - -@erase "$(INTDIR)\TS_Clerk_Handler.obj" - -@erase "$(INTDIR)\TS_Server_Handler.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(OUTDIR)\netsvcs.dll" - -@erase "$(OUTDIR)\netsvcs.exp" - -@erase "$(OUTDIR)\netsvcs.lib" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o NUL /win32 -CPP=cl.exe -CPP_PROJ=/nologo /MD /Gt0 /W3 /GX /O2 /I "..\..\\" /D "WIN32" /D "NDEBUG" /D\ - "_WINDOWS" /Fp"$(INTDIR)\netsvcs.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD\ - /c -CPP_OBJS=.\Release/ -CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\netsvcs.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=ace.lib /nologo /subsystem:windows /dll\ - /pdb:"$(OUTDIR)\netsvcs.pdb" /machine:ALPHA /out:"$(OUTDIR)\netsvcs.dll"\ - /implib:"$(OUTDIR)\netsvcs.lib" /libpath:"..\..\ace" -LINK32_OBJS= \ - "$(INTDIR)\Client_Logging_Handler.obj" \ - "$(INTDIR)\Logging_Strategy.obj" \ - "$(INTDIR)\Name_Handler.obj" \ - "$(INTDIR)\Server_Logging_Handler.obj" \ - "$(INTDIR)\Token_Handler.obj" \ - "$(INTDIR)\TS_Clerk_Handler.obj" \ - "$(INTDIR)\TS_Server_Handler.obj" - -"$(OUTDIR)\netsvcs.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - - -!IF "$(CFG)" == "netsvcs - Win32 Release" || "$(CFG)" ==\ - "netsvcs - Win32 Debug" || "$(CFG)" == "netsvcs - Win32 Alpha Debug" ||\ - "$(CFG)" == "netsvcs - Win32 Alpha Release" -SOURCE=.\Client_Logging_Handler.cpp - -!IF "$(CFG)" == "netsvcs - Win32 Release" - -DEP_CPP_CLIEN=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SPIPE.h"\ - "..\..\ace\SPIPE.i"\ - "..\..\ace\SPIPE_Acceptor.h"\ - "..\..\ace\SPIPE_Addr.h"\ - "..\..\ace\SPIPE_Addr.i"\ - "..\..\ace\SPIPE_Stream.h"\ - "..\..\ace\SPIPE_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Client_Logging_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Client_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_CLIEN) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug" - -DEP_CPP_CLIEN=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SPIPE.h"\ - "..\..\ace\SPIPE.i"\ - "..\..\ace\SPIPE_Acceptor.h"\ - "..\..\ace\SPIPE_Addr.h"\ - "..\..\ace\SPIPE_Addr.i"\ - "..\..\ace\SPIPE_Stream.h"\ - "..\..\ace\SPIPE_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Client_Logging_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Client_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_CLIEN) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug" - -DEP_CPP_CLIEN=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SPIPE.h"\ - "..\..\ace\SPIPE.i"\ - "..\..\ace\SPIPE_Acceptor.h"\ - "..\..\ace\SPIPE_Addr.h"\ - "..\..\ace\SPIPE_Addr.i"\ - "..\..\ace\SPIPE_Stream.h"\ - "..\..\ace\SPIPE_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Client_Logging_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Client_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_CLIEN) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release" - -DEP_CPP_CLIEN=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SPIPE.h"\ - "..\..\ace\SPIPE.i"\ - "..\..\ace\SPIPE_Acceptor.h"\ - "..\..\ace\SPIPE_Addr.h"\ - "..\..\ace\SPIPE_Addr.i"\ - "..\..\ace\SPIPE_Stream.h"\ - "..\..\ace\SPIPE_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Client_Logging_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Client_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_CLIEN) "$(INTDIR)" - - -!ENDIF - -SOURCE=.\Logging_Strategy.cpp - -!IF "$(CFG)" == "netsvcs - Win32 Release" - -DEP_CPP_LOGGI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\Logging_Strategy.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Logging_Strategy.obj" : $(SOURCE) $(DEP_CPP_LOGGI) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug" - -DEP_CPP_LOGGI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\Logging_Strategy.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Logging_Strategy.obj" : $(SOURCE) $(DEP_CPP_LOGGI) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug" - -DEP_CPP_LOGGI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\Logging_Strategy.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Logging_Strategy.obj" : $(SOURCE) $(DEP_CPP_LOGGI) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release" - -DEP_CPP_LOGGI=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\ws2tcpip.h"\ - ".\Logging_Strategy.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Logging_Strategy.obj" : $(SOURCE) $(DEP_CPP_LOGGI) "$(INTDIR)" - - -!ENDIF - -SOURCE=.\Name_Handler.cpp - -!IF "$(CFG)" == "netsvcs - Win32 Release" - -DEP_CPP_NAME_=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Name_Proxy.h"\ - "..\..\ace\Name_Request_Reply.h"\ - "..\..\ace\Name_Space.h"\ - "..\..\ace\Naming_Context.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Name_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Name_Handler.obj" : $(SOURCE) $(DEP_CPP_NAME_) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug" - -DEP_CPP_NAME_=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Name_Proxy.h"\ - "..\..\ace\Name_Request_Reply.h"\ - "..\..\ace\Name_Space.h"\ - "..\..\ace\Naming_Context.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Name_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Name_Handler.obj" : $(SOURCE) $(DEP_CPP_NAME_) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug" - -DEP_CPP_NAME_=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Name_Proxy.h"\ - "..\..\ace\Name_Request_Reply.h"\ - "..\..\ace\Name_Space.h"\ - "..\..\ace\Naming_Context.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Name_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Name_Handler.obj" : $(SOURCE) $(DEP_CPP_NAME_) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release" - -DEP_CPP_NAME_=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Name_Proxy.h"\ - "..\..\ace\Name_Request_Reply.h"\ - "..\..\ace\Name_Space.h"\ - "..\..\ace\Naming_Context.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Name_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Name_Handler.obj" : $(SOURCE) $(DEP_CPP_NAME_) "$(INTDIR)" - - -!ENDIF - -SOURCE=.\Server_Logging_Handler.cpp - -!IF "$(CFG)" == "netsvcs - Win32 Release" - -DEP_CPP_SERVE=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\TLI.h"\ - "..\..\ace\TLI.i"\ - "..\..\ace\TLI_Acceptor.h"\ - "..\..\ace\TLI_Acceptor.i"\ - "..\..\ace\TLI_Stream.h"\ - "..\..\ace\TLI_Stream.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Base_Optimizer.cpp"\ - ".\Base_Optimizer.h"\ - ".\Log_Message_Receiver.cpp"\ - ".\Log_Message_Receiver.h"\ - ".\Server_Logging_Handler.h"\ - ".\Server_Logging_Handler_T.cpp"\ - ".\Server_Logging_Handler_T.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Server_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_SERVE) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug" - -DEP_CPP_SERVE=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\TLI.h"\ - "..\..\ace\TLI.i"\ - "..\..\ace\TLI_Acceptor.h"\ - "..\..\ace\TLI_Acceptor.i"\ - "..\..\ace\TLI_Stream.h"\ - "..\..\ace\TLI_Stream.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Base_Optimizer.cpp"\ - ".\Base_Optimizer.h"\ - ".\Log_Message_Receiver.cpp"\ - ".\Log_Message_Receiver.h"\ - ".\Server_Logging_Handler.h"\ - ".\Server_Logging_Handler_T.cpp"\ - ".\Server_Logging_Handler_T.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Server_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_SERVE) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug" - -DEP_CPP_SERVE=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\TLI.h"\ - "..\..\ace\TLI.i"\ - "..\..\ace\TLI_Acceptor.h"\ - "..\..\ace\TLI_Acceptor.i"\ - "..\..\ace\TLI_Stream.h"\ - "..\..\ace\TLI_Stream.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Base_Optimizer.cpp"\ - ".\Base_Optimizer.h"\ - ".\Log_Message_Receiver.cpp"\ - ".\Log_Message_Receiver.h"\ - ".\Server_Logging_Handler.h"\ - ".\Server_Logging_Handler_T.cpp"\ - ".\Server_Logging_Handler_T.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Server_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_SERVE) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release" - -DEP_CPP_SERVE=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\TLI.h"\ - "..\..\ace\TLI.i"\ - "..\..\ace\TLI_Acceptor.h"\ - "..\..\ace\TLI_Acceptor.i"\ - "..\..\ace\TLI_Stream.h"\ - "..\..\ace\TLI_Stream.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Base_Optimizer.cpp"\ - ".\Base_Optimizer.h"\ - ".\Log_Message_Receiver.cpp"\ - ".\Log_Message_Receiver.h"\ - ".\Server_Logging_Handler.h"\ - ".\Server_Logging_Handler_T.cpp"\ - ".\Server_Logging_Handler_T.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Server_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_SERVE) "$(INTDIR)" - - -!ENDIF - -SOURCE=.\Token_Handler.cpp - -!IF "$(CFG)" == "netsvcs - Win32 Release" - -DEP_CPP_TOKEN=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Local_Tokens.h"\ - "..\..\ace\Local_Tokens.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Token_Collection.h"\ - "..\..\ace\Token_Collection.i"\ - "..\..\ace\Token_Request_Reply.h"\ - "..\..\ace\Token_Request_Reply.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Token_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Token_Handler.obj" : $(SOURCE) $(DEP_CPP_TOKEN) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug" - -DEP_CPP_TOKEN=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Local_Tokens.h"\ - "..\..\ace\Local_Tokens.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Token_Collection.h"\ - "..\..\ace\Token_Collection.i"\ - "..\..\ace\Token_Request_Reply.h"\ - "..\..\ace\Token_Request_Reply.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Token_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Token_Handler.obj" : $(SOURCE) $(DEP_CPP_TOKEN) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug" - -DEP_CPP_TOKEN=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Local_Tokens.h"\ - "..\..\ace\Local_Tokens.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Token_Collection.h"\ - "..\..\ace\Token_Collection.i"\ - "..\..\ace\Token_Request_Reply.h"\ - "..\..\ace\Token_Request_Reply.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Token_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Token_Handler.obj" : $(SOURCE) $(DEP_CPP_TOKEN) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release" - -DEP_CPP_TOKEN=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Local_Tokens.h"\ - "..\..\ace\Local_Tokens.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Token_Collection.h"\ - "..\..\ace\Token_Collection.i"\ - "..\..\ace\Token_Request_Reply.h"\ - "..\..\ace\Token_Request_Reply.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\Token_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\Token_Handler.obj" : $(SOURCE) $(DEP_CPP_TOKEN) "$(INTDIR)" - - -!ENDIF - -SOURCE=.\TS_Clerk_Handler.cpp - -!IF "$(CFG)" == "netsvcs - Win32 Release" - -DEP_CPP_TS_CL=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Connector.cpp"\ - "..\..\ace\Connector.h"\ - "..\..\ace\Connector.i"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\TS_Clerk_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\TS_Clerk_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_CL) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug" - -DEP_CPP_TS_CL=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Connector.cpp"\ - "..\..\ace\Connector.h"\ - "..\..\ace\Connector.i"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\TS_Clerk_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\TS_Clerk_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_CL) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug" - -DEP_CPP_TS_CL=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Connector.cpp"\ - "..\..\ace\Connector.h"\ - "..\..\ace\Connector.i"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\TS_Clerk_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\TS_Clerk_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_CL) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release" - -DEP_CPP_TS_CL=\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Connector.cpp"\ - "..\..\ace\Connector.h"\ - "..\..\ace\Connector.i"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\TS_Clerk_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\TS_Clerk_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_CL) "$(INTDIR)" - - -!ENDIF - -SOURCE=.\TS_Server_Handler.cpp - -!IF "$(CFG)" == "netsvcs - Win32 Release" - -DEP_CPP_TS_SE=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\TS_Server_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\TS_Server_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_SE) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug" - -DEP_CPP_TS_SE=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\TS_Server_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\TS_Server_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_SE) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug" - -DEP_CPP_TS_SE=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\TS_Server_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\TS_Server_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_SE) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release" - -DEP_CPP_TS_SE=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - ".\TS_Server_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\TS_Server_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_SE) "$(INTDIR)" - - -!ENDIF - - -!ENDIF - diff --git a/netsvcs/lib/netsvcs.dsp b/netsvcs/lib/netsvcs.dsp deleted file mode 100644 index 33567ccb8d4..00000000000 --- a/netsvcs/lib/netsvcs.dsp +++ /dev/null @@ -1,306 +0,0 @@ -# Microsoft Developer Studio Project File - Name="netsvcs" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-# TARGTYPE "Win32 (ALPHA) Dynamic-Link Library" 0x0602
-
-CFG=netsvcs - Win32 Alpha 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 "netsvcs.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 "netsvcs.mak" CFG="netsvcs - Win32 Alpha Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "netsvcs - Win32 Release" (based on\
- "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "netsvcs - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "netsvcs - Win32 Alpha Debug" (based on\
- "Win32 (ALPHA) Dynamic-Link Library")
-!MESSAGE "netsvcs - Win32 Alpha Release" (based on\
- "Win32 (ALPHA) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir ".\netsvcs\Release"
-# PROP BASE Intermediate_Dir ".\netsvcs\Release"
-# PROP BASE Target_Dir ".\netsvcs"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "."
-# PROP Intermediate_Dir ".\Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\netsvcs"
-CPP=cl.exe
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "NDEBUG" /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-RSC=rc.exe
-# 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:windows /dll /machine:I386
-# ADD LINK32 ace.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"..\..\ace"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir ".\netsvcs\Debug"
-# PROP BASE Intermediate_Dir ".\netsvcs\Debug"
-# PROP BASE Target_Dir ".\netsvcs"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "."
-# PROP Intermediate_Dir ".\Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ".\netsvcs"
-CPP=cl.exe
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\\" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "_DEBUG" /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-RSC=rc.exe
-# 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:windows /dll /debug /machine:I386
-# ADD LINK32 aced.lib /nologo /subsystem:windows /dll /debug /machine:I386 /libpath:"..\..\ace"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "netsvcs\Alpha Debug"
-# PROP BASE Intermediate_Dir "netsvcs\Alpha Debug"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "netsvcs"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "netsvcs"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-CPP=cl.exe
-# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\\" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /MTd /c
-# ADD CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\..\\" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /MDd /c
-RSC=rc.exe
-# 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 aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /libpath:"..\..\ace"
-# ADD LINK32 aced.lib /nologo /subsystem:windows /dll /debug /machine:ALPHA /libpath:"..\..\ace"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "netsvcs\Alpha Release"
-# PROP BASE Intermediate_Dir "netsvcs\Alpha Release"
-# PROP BASE Ignore_Export_Lib 0
-# PROP BASE Target_Dir "netsvcs"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir "netsvcs"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-CPP=cl.exe
-# ADD BASE CPP /nologo /MT /Gt0 /W3 /GX /O2 /I "..\..\\" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I "..\..\\" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-RSC=rc.exe
-# 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 ace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:ALPHA /libpath:"..\..\ace"
-# ADD LINK32 ace.lib /nologo /subsystem:windows /dll /machine:ALPHA /libpath:"..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "netsvcs - Win32 Release"
-# Name "netsvcs - Win32 Debug"
-# Name "netsvcs - Win32 Alpha Debug"
-# Name "netsvcs - Win32 Alpha Release"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
-# Begin Source File
-
-SOURCE=.\Client_Logging_Handler.cpp
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\Logging_Strategy.cpp
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\Name_Handler.cpp
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\Server_Logging_Handler.cpp
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\Token_Handler.cpp
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\TS_Clerk_Handler.cpp
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\TS_Server_Handler.cpp
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
-# Begin Source File
-
-SOURCE=.\Client_Logging_Handler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Logging_Strategy.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Name_Handler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Server_Logging_Handler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Token_Handler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\TS_Clerk_Handler.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\TS_Server_Handler.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/netsvcs/lib/netsvcs.dsw b/netsvcs/lib/netsvcs.dsw deleted file mode 100644 index e072c8fca82..00000000000 --- a/netsvcs/lib/netsvcs.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "netsvcs"=.\netsvcs.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/netsvcs/lib/netsvcs4.mak b/netsvcs/lib/netsvcs4.mak deleted file mode 100644 index 2f359ee5f48..00000000000 --- a/netsvcs/lib/netsvcs4.mak +++ /dev/null @@ -1,1201 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-!IF "$(CFG)" == ""
-CFG=netsvcs - Win32 Debug
-!MESSAGE No configuration specified. Defaulting to netsvcs - Win32 Debug.
-!ENDIF
-
-!IF "$(CFG)" != "netsvcs - Win32 Release" && "$(CFG)" !=\
- "netsvcs - Win32 Debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
-!MESSAGE You can specify a configuration when running NMAKE on this makefile
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "netsvcs4.mak" CFG="netsvcs - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "netsvcs - Win32 Release" (based on\
- "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "netsvcs - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-!ERROR An invalid configuration is specified.
-!ENDIF
-
-!IF "$(OS)" == "Windows_NT"
-NULL=
-!ELSE
-NULL=nul
-!ENDIF
-################################################################################
-# Begin Project
-# PROP Target_Last_Scanned "netsvcs - Win32 Debug"
-RSC=rc.exe
-MTL=mktyplib.exe
-CPP=cl.exe
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "netsvcs\Release"
-# PROP BASE Intermediate_Dir "netsvcs\Release"
-# PROP BASE Target_Dir "netsvcs"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ".\Release"
-# PROP Target_Dir "netsvcs"
-OUTDIR=.
-INTDIR=.\Release
-
-ALL : "$(OUTDIR)\netsvcs.dll"
-
-CLEAN :
- -@erase "$(INTDIR)\Client_Logging_Handler.obj"
- -@erase "$(INTDIR)\Logging_Strategy.obj"
- -@erase "$(INTDIR)\Name_Handler.obj"
- -@erase "$(INTDIR)\Server_Logging_Handler.obj"
- -@erase "$(INTDIR)\Token_Handler.obj"
- -@erase "$(INTDIR)\TS_Clerk_Handler.obj"
- -@erase "$(INTDIR)\TS_Server_Handler.obj"
- -@erase "$(OUTDIR)\netsvcs.dll"
- -@erase "$(OUTDIR)\netsvcs.exp"
- -@erase "$(OUTDIR)\netsvcs.lib"
-
-"$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
-
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c
-CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS"\
- /Fp"$(INTDIR)/netsvcs.pch" /YX /Fo"$(INTDIR)/" /c
-CPP_OBJS=.\.\Release/
-CPP_SBRS=.\.
-# ADD BASE MTL /nologo /D "NDEBUG" /win32
-# ADD MTL /nologo /D "NDEBUG" /win32
-MTL_PROJ=/nologo /D "NDEBUG" /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/netsvcs.bsc"
-BSC32_SBRS= \
-
-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:windows /dll /machine:I386
-# ADD LINK32 ace.lib 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:windows /dll /machine:I386
-LINK32_FLAGS=ace.lib 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:windows /dll /incremental:no\
- /pdb:"$(OUTDIR)/netsvcs.pdb" /machine:I386 /out:"$(OUTDIR)/netsvcs.dll"\
- /implib:"$(OUTDIR)/netsvcs.lib"
-LINK32_OBJS= \
- "$(INTDIR)\Client_Logging_Handler.obj" \
- "$(INTDIR)\Logging_Strategy.obj" \
- "$(INTDIR)\Name_Handler.obj" \
- "$(INTDIR)\Server_Logging_Handler.obj" \
- "$(INTDIR)\Token_Handler.obj" \
- "$(INTDIR)\TS_Clerk_Handler.obj" \
- "$(INTDIR)\TS_Server_Handler.obj"
-
-"$(OUTDIR)\netsvcs.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
-<<
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "netsvcs\Debug"
-# PROP BASE Intermediate_Dir "netsvcs\Debug"
-# PROP BASE Target_Dir "netsvcs"
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "debug"
-# PROP Target_Dir "netsvcs"
-OUTDIR=.
-INTDIR=.\debug
-
-ALL : "$(OUTDIR)\netsvcs.dll"
-
-CLEAN :
- -@erase "$(INTDIR)\Client_Logging_Handler.obj"
- -@erase "$(INTDIR)\Logging_Strategy.obj"
- -@erase "$(INTDIR)\Name_Handler.obj"
- -@erase "$(INTDIR)\Server_Logging_Handler.obj"
- -@erase "$(INTDIR)\Token_Handler.obj"
- -@erase "$(INTDIR)\TS_Clerk_Handler.obj"
- -@erase "$(INTDIR)\TS_Server_Handler.obj"
- -@erase "$(INTDIR)\vc40.idb"
- -@erase "$(INTDIR)\vc40.pdb"
- -@erase "$(OUTDIR)\netsvcs.dll"
- -@erase "$(OUTDIR)\netsvcs.exp"
- -@erase "$(OUTDIR)\netsvcs.ilk"
- -@erase "$(OUTDIR)\netsvcs.lib"
- -@erase "$(OUTDIR)\netsvcs.pdb"
-
-"$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
-
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
-CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
- /Fp"$(INTDIR)/netsvcs.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c
-CPP_OBJS=.\debug/
-CPP_SBRS=.\.
-# ADD BASE MTL /nologo /D "_DEBUG" /win32
-# ADD MTL /nologo /D "_DEBUG" /win32
-MTL_PROJ=/nologo /D "_DEBUG" /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/netsvcs.bsc"
-BSC32_SBRS= \
-
-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:windows /dll /debug /machine:I386
-# ADD LINK32 aced.lib 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:windows /dll /debug /machine:I386
-LINK32_FLAGS=aced.lib 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:windows /dll /incremental:yes\
- /pdb:"$(OUTDIR)/netsvcs.pdb" /debug /machine:I386 /out:"$(OUTDIR)/netsvcs.dll"\
- /implib:"$(OUTDIR)/netsvcs.lib"
-LINK32_OBJS= \
- "$(INTDIR)\Client_Logging_Handler.obj" \
- "$(INTDIR)\Logging_Strategy.obj" \
- "$(INTDIR)\Name_Handler.obj" \
- "$(INTDIR)\Server_Logging_Handler.obj" \
- "$(INTDIR)\Token_Handler.obj" \
- "$(INTDIR)\TS_Clerk_Handler.obj" \
- "$(INTDIR)\TS_Server_Handler.obj"
-
-"$(OUTDIR)\netsvcs.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
-<<
-
-!ENDIF
-
-.c{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.cpp{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.cxx{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.c{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-.cpp{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-.cxx{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-################################################################################
-# Begin Target
-
-# Name "netsvcs - Win32 Release"
-# Name "netsvcs - Win32 Debug"
-
-!IF "$(CFG)" == "netsvcs - Win32 Release"
-
-!ELSEIF "$(CFG)" == "netsvcs - Win32 Debug"
-
-!ENDIF
-
-################################################################################
-# Begin Source File
-
-SOURCE=.\Token_Handler.cpp
-DEP_CPP_TOKEN=\
- "..\..\ace\config-win32.h"\
- ".\Token_Handler.h"\
- {$(INCLUDE)}"\ace\Acceptor.cpp"\
- {$(INCLUDE)}"\ace\Acceptor.h"\
- {$(INCLUDE)}"\ace\Acceptor.i"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Addr.h"\
- {$(INCLUDE)}"\ace\Addr.i"\
- {$(INCLUDE)}"\ace\Atomic_Op.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Containers.cpp"\
- {$(INCLUDE)}"\ace\Containers.h"\
- {$(INCLUDE)}"\ace\Containers.i"\
- {$(INCLUDE)}"\ace\Dynamic.h"\
- {$(INCLUDE)}"\ace\Dynamic.i"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Free_List.cpp"\
- {$(INCLUDE)}"\ace\Free_List.h"\
- {$(INCLUDE)}"\ace\Free_List.i"\
- {$(INCLUDE)}"\ace\Get_Opt.h"\
- {$(INCLUDE)}"\ace\Get_Opt.i"\
- {$(INCLUDE)}"\ace\Handle_Set.h"\
- {$(INCLUDE)}"\ace\Handle_Set.i"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\INET_Addr.h"\
- {$(INCLUDE)}"\ace\INET_Addr.i"\
- {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.i"\
- {$(INCLUDE)}"\ace\Local_Tokens.h"\
- {$(INCLUDE)}"\ace\Local_Tokens.i"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Malloc.h"\
- {$(INCLUDE)}"\ace\Malloc.i"\
- {$(INCLUDE)}"\ace\Malloc_T.cpp"\
- {$(INCLUDE)}"\ace\Malloc_T.h"\
- {$(INCLUDE)}"\ace\Malloc_T.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Map_Manager.h"\
- {$(INCLUDE)}"\ace\Map_Manager.i"\
- {$(INCLUDE)}"\ace\Mem_Map.h"\
- {$(INCLUDE)}"\ace\Mem_Map.i"\
- {$(INCLUDE)}"\ace\Memory_Pool.h"\
- {$(INCLUDE)}"\ace\Memory_Pool.i"\
- {$(INCLUDE)}"\ace\Message_Block.h"\
- {$(INCLUDE)}"\ace\Message_Block.i"\
- {$(INCLUDE)}"\ace\Message_Queue.cpp"\
- {$(INCLUDE)}"\ace\Message_Queue.h"\
- {$(INCLUDE)}"\ace\Message_Queue.i"\
- {$(INCLUDE)}"\ace\Module.cpp"\
- {$(INCLUDE)}"\ace\Module.h"\
- {$(INCLUDE)}"\ace\Module.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Reactor.h"\
- {$(INCLUDE)}"\ace\Reactor.i"\
- {$(INCLUDE)}"\ace\Reactor_Impl.h"\
- {$(INCLUDE)}"\ace\Service_Config.h"\
- {$(INCLUDE)}"\ace\Service_Config.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Service_Types.h"\
- {$(INCLUDE)}"\ace\Service_Types.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\Signal.h"\
- {$(INCLUDE)}"\ace\Signal.i"\
- {$(INCLUDE)}"\ace\Singleton.cpp"\
- {$(INCLUDE)}"\ace\Singleton.h"\
- {$(INCLUDE)}"\ace\Singleton.i"\
- {$(INCLUDE)}"\ace\SOCK.h"\
- {$(INCLUDE)}"\ace\SOCK.i"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.h"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.i"\
- {$(INCLUDE)}"\ace\SOCK_IO.h"\
- {$(INCLUDE)}"\ace\SOCK_IO.i"\
- {$(INCLUDE)}"\ace\SOCK_Stream.h"\
- {$(INCLUDE)}"\ace\SOCK_Stream.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\Strategies.h"\
- {$(INCLUDE)}"\ace\Strategies_T.cpp"\
- {$(INCLUDE)}"\ace\Strategies_T.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.cpp"\
- {$(INCLUDE)}"\ace\Stream_Modules.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.i"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.i"\
- {$(INCLUDE)}"\ace\Svc_Conf_Tokens.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.cpp"\
- {$(INCLUDE)}"\ace\Svc_Handler.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.i"\
- {$(INCLUDE)}"\ace\Synch.h"\
- {$(INCLUDE)}"\ace\Synch.i"\
- {$(INCLUDE)}"\ace\Synch_Options.h"\
- {$(INCLUDE)}"\ace\Synch_T.cpp"\
- {$(INCLUDE)}"\ace\Synch_T.h"\
- {$(INCLUDE)}"\ace\Synch_T.i"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Task.h"\
- {$(INCLUDE)}"\ace\Task.i"\
- {$(INCLUDE)}"\ace\Task_T.cpp"\
- {$(INCLUDE)}"\ace\Task_T.h"\
- {$(INCLUDE)}"\ace\Task_T.i"\
- {$(INCLUDE)}"\ace\Thread.h"\
- {$(INCLUDE)}"\ace\Thread.i"\
- {$(INCLUDE)}"\ace\Thread_Manager.h"\
- {$(INCLUDE)}"\ace\Thread_Manager.i"\
- {$(INCLUDE)}"\ace\Time_Value.h"\
- {$(INCLUDE)}"\ace\Timer_Queue.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.i"\
- {$(INCLUDE)}"\ace\Token_Collection.h"\
- {$(INCLUDE)}"\ace\Token_Collection.i"\
- {$(INCLUDE)}"\ace\Token_Request_Reply.h"\
- {$(INCLUDE)}"\ace\Token_Request_Reply.i"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.i"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\stat.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\Token_Handler.obj" : $(SOURCE) $(DEP_CPP_TOKEN) "$(INTDIR)"
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\TS_Clerk_Handler.cpp
-DEP_CPP_TS_CL=\
- "..\..\ace\config-win32.h"\
- ".\TS_Clerk_Handler.h"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Addr.h"\
- {$(INCLUDE)}"\ace\Addr.i"\
- {$(INCLUDE)}"\ace\Atomic_Op.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Connector.cpp"\
- {$(INCLUDE)}"\ace\Connector.h"\
- {$(INCLUDE)}"\ace\Connector.i"\
- {$(INCLUDE)}"\ace\Containers.cpp"\
- {$(INCLUDE)}"\ace\Containers.h"\
- {$(INCLUDE)}"\ace\Containers.i"\
- {$(INCLUDE)}"\ace\Dynamic.h"\
- {$(INCLUDE)}"\ace\Dynamic.i"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Free_List.cpp"\
- {$(INCLUDE)}"\ace\Free_List.h"\
- {$(INCLUDE)}"\ace\Free_List.i"\
- {$(INCLUDE)}"\ace\Get_Opt.h"\
- {$(INCLUDE)}"\ace\Get_Opt.i"\
- {$(INCLUDE)}"\ace\Handle_Set.h"\
- {$(INCLUDE)}"\ace\Handle_Set.i"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\INET_Addr.h"\
- {$(INCLUDE)}"\ace\INET_Addr.i"\
- {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.i"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Malloc.h"\
- {$(INCLUDE)}"\ace\Malloc.i"\
- {$(INCLUDE)}"\ace\Malloc_T.cpp"\
- {$(INCLUDE)}"\ace\Malloc_T.h"\
- {$(INCLUDE)}"\ace\Malloc_T.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Map_Manager.h"\
- {$(INCLUDE)}"\ace\Map_Manager.i"\
- {$(INCLUDE)}"\ace\Mem_Map.h"\
- {$(INCLUDE)}"\ace\Mem_Map.i"\
- {$(INCLUDE)}"\ace\Memory_Pool.h"\
- {$(INCLUDE)}"\ace\Memory_Pool.i"\
- {$(INCLUDE)}"\ace\Message_Block.h"\
- {$(INCLUDE)}"\ace\Message_Block.i"\
- {$(INCLUDE)}"\ace\Message_Queue.cpp"\
- {$(INCLUDE)}"\ace\Message_Queue.h"\
- {$(INCLUDE)}"\ace\Message_Queue.i"\
- {$(INCLUDE)}"\ace\Module.cpp"\
- {$(INCLUDE)}"\ace\Module.h"\
- {$(INCLUDE)}"\ace\Module.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Reactor.h"\
- {$(INCLUDE)}"\ace\Reactor.i"\
- {$(INCLUDE)}"\ace\Reactor_Impl.h"\
- {$(INCLUDE)}"\ace\Service_Config.h"\
- {$(INCLUDE)}"\ace\Service_Config.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Service_Types.h"\
- {$(INCLUDE)}"\ace\Service_Types.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\Signal.h"\
- {$(INCLUDE)}"\ace\Signal.i"\
- {$(INCLUDE)}"\ace\Singleton.cpp"\
- {$(INCLUDE)}"\ace\Singleton.h"\
- {$(INCLUDE)}"\ace\Singleton.i"\
- {$(INCLUDE)}"\ace\SOCK.h"\
- {$(INCLUDE)}"\ace\SOCK.i"\
- {$(INCLUDE)}"\ace\SOCK_Connector.h"\
- {$(INCLUDE)}"\ace\SOCK_Connector.i"\
- {$(INCLUDE)}"\ace\SOCK_IO.h"\
- {$(INCLUDE)}"\ace\SOCK_IO.i"\
- {$(INCLUDE)}"\ace\SOCK_Stream.h"\
- {$(INCLUDE)}"\ace\SOCK_Stream.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\Strategies.h"\
- {$(INCLUDE)}"\ace\Strategies_T.cpp"\
- {$(INCLUDE)}"\ace\Strategies_T.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.cpp"\
- {$(INCLUDE)}"\ace\Stream_Modules.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.i"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.i"\
- {$(INCLUDE)}"\ace\Svc_Conf_Tokens.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.cpp"\
- {$(INCLUDE)}"\ace\Svc_Handler.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.i"\
- {$(INCLUDE)}"\ace\Synch.h"\
- {$(INCLUDE)}"\ace\Synch.i"\
- {$(INCLUDE)}"\ace\Synch_Options.h"\
- {$(INCLUDE)}"\ace\Synch_T.cpp"\
- {$(INCLUDE)}"\ace\Synch_T.h"\
- {$(INCLUDE)}"\ace\Synch_T.i"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Task.h"\
- {$(INCLUDE)}"\ace\Task.i"\
- {$(INCLUDE)}"\ace\Task_T.cpp"\
- {$(INCLUDE)}"\ace\Task_T.h"\
- {$(INCLUDE)}"\ace\Task_T.i"\
- {$(INCLUDE)}"\ace\Thread.h"\
- {$(INCLUDE)}"\ace\Thread.i"\
- {$(INCLUDE)}"\ace\Thread_Manager.h"\
- {$(INCLUDE)}"\ace\Thread_Manager.i"\
- {$(INCLUDE)}"\ace\Time_Request_Reply.h"\
- {$(INCLUDE)}"\ace\Time_Value.h"\
- {$(INCLUDE)}"\ace\Timer_Queue.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.i"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.i"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\stat.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\TS_Clerk_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_CL) "$(INTDIR)"
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\TS_Server_Handler.cpp
-DEP_CPP_TS_SE=\
- "..\..\ace\config-win32.h"\
- ".\TS_Server_Handler.h"\
- {$(INCLUDE)}"\ace\Acceptor.cpp"\
- {$(INCLUDE)}"\ace\Acceptor.h"\
- {$(INCLUDE)}"\ace\Acceptor.i"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Addr.h"\
- {$(INCLUDE)}"\ace\Addr.i"\
- {$(INCLUDE)}"\ace\Atomic_Op.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Containers.cpp"\
- {$(INCLUDE)}"\ace\Containers.h"\
- {$(INCLUDE)}"\ace\Containers.i"\
- {$(INCLUDE)}"\ace\Dynamic.h"\
- {$(INCLUDE)}"\ace\Dynamic.i"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Free_List.cpp"\
- {$(INCLUDE)}"\ace\Free_List.h"\
- {$(INCLUDE)}"\ace\Free_List.i"\
- {$(INCLUDE)}"\ace\Get_Opt.h"\
- {$(INCLUDE)}"\ace\Get_Opt.i"\
- {$(INCLUDE)}"\ace\Handle_Set.h"\
- {$(INCLUDE)}"\ace\Handle_Set.i"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\INET_Addr.h"\
- {$(INCLUDE)}"\ace\INET_Addr.i"\
- {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.i"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Malloc.h"\
- {$(INCLUDE)}"\ace\Malloc.i"\
- {$(INCLUDE)}"\ace\Malloc_T.cpp"\
- {$(INCLUDE)}"\ace\Malloc_T.h"\
- {$(INCLUDE)}"\ace\Malloc_T.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Mem_Map.h"\
- {$(INCLUDE)}"\ace\Mem_Map.i"\
- {$(INCLUDE)}"\ace\Memory_Pool.h"\
- {$(INCLUDE)}"\ace\Memory_Pool.i"\
- {$(INCLUDE)}"\ace\Message_Block.h"\
- {$(INCLUDE)}"\ace\Message_Block.i"\
- {$(INCLUDE)}"\ace\Message_Queue.cpp"\
- {$(INCLUDE)}"\ace\Message_Queue.h"\
- {$(INCLUDE)}"\ace\Message_Queue.i"\
- {$(INCLUDE)}"\ace\Module.cpp"\
- {$(INCLUDE)}"\ace\Module.h"\
- {$(INCLUDE)}"\ace\Module.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Reactor.h"\
- {$(INCLUDE)}"\ace\Reactor.i"\
- {$(INCLUDE)}"\ace\Reactor_Impl.h"\
- {$(INCLUDE)}"\ace\Service_Config.h"\
- {$(INCLUDE)}"\ace\Service_Config.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Service_Types.h"\
- {$(INCLUDE)}"\ace\Service_Types.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\Signal.h"\
- {$(INCLUDE)}"\ace\Signal.i"\
- {$(INCLUDE)}"\ace\Singleton.cpp"\
- {$(INCLUDE)}"\ace\Singleton.h"\
- {$(INCLUDE)}"\ace\Singleton.i"\
- {$(INCLUDE)}"\ace\SOCK.h"\
- {$(INCLUDE)}"\ace\SOCK.i"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.h"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.i"\
- {$(INCLUDE)}"\ace\SOCK_IO.h"\
- {$(INCLUDE)}"\ace\SOCK_IO.i"\
- {$(INCLUDE)}"\ace\SOCK_Stream.h"\
- {$(INCLUDE)}"\ace\SOCK_Stream.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\Strategies.h"\
- {$(INCLUDE)}"\ace\Strategies_T.cpp"\
- {$(INCLUDE)}"\ace\Strategies_T.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.cpp"\
- {$(INCLUDE)}"\ace\Stream_Modules.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.i"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.i"\
- {$(INCLUDE)}"\ace\Svc_Conf_Tokens.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.cpp"\
- {$(INCLUDE)}"\ace\Svc_Handler.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.i"\
- {$(INCLUDE)}"\ace\Synch.h"\
- {$(INCLUDE)}"\ace\Synch.i"\
- {$(INCLUDE)}"\ace\Synch_Options.h"\
- {$(INCLUDE)}"\ace\Synch_T.cpp"\
- {$(INCLUDE)}"\ace\Synch_T.h"\
- {$(INCLUDE)}"\ace\Synch_T.i"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Task.h"\
- {$(INCLUDE)}"\ace\Task.i"\
- {$(INCLUDE)}"\ace\Task_T.cpp"\
- {$(INCLUDE)}"\ace\Task_T.h"\
- {$(INCLUDE)}"\ace\Task_T.i"\
- {$(INCLUDE)}"\ace\Thread.h"\
- {$(INCLUDE)}"\ace\Thread.i"\
- {$(INCLUDE)}"\ace\Thread_Manager.h"\
- {$(INCLUDE)}"\ace\Thread_Manager.i"\
- {$(INCLUDE)}"\ace\Time_Request_Reply.h"\
- {$(INCLUDE)}"\ace\Time_Value.h"\
- {$(INCLUDE)}"\ace\Timer_Queue.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.i"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.i"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\stat.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\TS_Server_Handler.obj" : $(SOURCE) $(DEP_CPP_TS_SE) "$(INTDIR)"
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\Server_Logging_Handler.cpp
-DEP_CPP_SERVE=\
- "..\..\ace\config-win32.h"\
- ".\Base_Optimizer.cpp"\
- ".\Base_Optimizer.h"\
- ".\Log_Message_Receiver.cpp"\
- ".\Log_Message_Receiver.h"\
- ".\Server_Logging_Handler.h"\
- ".\Server_Logging_Handler_T.cpp"\
- ".\Server_Logging_Handler_T.h"\
- {$(INCLUDE)}"\ace\Acceptor.cpp"\
- {$(INCLUDE)}"\ace\Acceptor.h"\
- {$(INCLUDE)}"\ace\Acceptor.i"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Addr.h"\
- {$(INCLUDE)}"\ace\Addr.i"\
- {$(INCLUDE)}"\ace\Atomic_Op.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Containers.cpp"\
- {$(INCLUDE)}"\ace\Containers.h"\
- {$(INCLUDE)}"\ace\Containers.i"\
- {$(INCLUDE)}"\ace\Dynamic.h"\
- {$(INCLUDE)}"\ace\Dynamic.i"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Free_List.cpp"\
- {$(INCLUDE)}"\ace\Free_List.h"\
- {$(INCLUDE)}"\ace\Free_List.i"\
- {$(INCLUDE)}"\ace\Get_Opt.h"\
- {$(INCLUDE)}"\ace\Get_Opt.i"\
- {$(INCLUDE)}"\ace\Handle_Set.h"\
- {$(INCLUDE)}"\ace\Handle_Set.i"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\INET_Addr.h"\
- {$(INCLUDE)}"\ace\INET_Addr.i"\
- {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.i"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Malloc.h"\
- {$(INCLUDE)}"\ace\Malloc.i"\
- {$(INCLUDE)}"\ace\Malloc_T.cpp"\
- {$(INCLUDE)}"\ace\Malloc_T.h"\
- {$(INCLUDE)}"\ace\Malloc_T.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Mem_Map.h"\
- {$(INCLUDE)}"\ace\Mem_Map.i"\
- {$(INCLUDE)}"\ace\Memory_Pool.h"\
- {$(INCLUDE)}"\ace\Memory_Pool.i"\
- {$(INCLUDE)}"\ace\Message_Block.h"\
- {$(INCLUDE)}"\ace\Message_Block.i"\
- {$(INCLUDE)}"\ace\Message_Queue.cpp"\
- {$(INCLUDE)}"\ace\Message_Queue.h"\
- {$(INCLUDE)}"\ace\Message_Queue.i"\
- {$(INCLUDE)}"\ace\Module.cpp"\
- {$(INCLUDE)}"\ace\Module.h"\
- {$(INCLUDE)}"\ace\Module.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Reactor.h"\
- {$(INCLUDE)}"\ace\Reactor.i"\
- {$(INCLUDE)}"\ace\Reactor_Impl.h"\
- {$(INCLUDE)}"\ace\Service_Config.h"\
- {$(INCLUDE)}"\ace\Service_Config.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Service_Types.h"\
- {$(INCLUDE)}"\ace\Service_Types.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\Signal.h"\
- {$(INCLUDE)}"\ace\Signal.i"\
- {$(INCLUDE)}"\ace\Singleton.cpp"\
- {$(INCLUDE)}"\ace\Singleton.h"\
- {$(INCLUDE)}"\ace\Singleton.i"\
- {$(INCLUDE)}"\ace\SOCK.h"\
- {$(INCLUDE)}"\ace\SOCK.i"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.h"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.i"\
- {$(INCLUDE)}"\ace\SOCK_IO.h"\
- {$(INCLUDE)}"\ace\SOCK_IO.i"\
- {$(INCLUDE)}"\ace\SOCK_Stream.h"\
- {$(INCLUDE)}"\ace\SOCK_Stream.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\Strategies.h"\
- {$(INCLUDE)}"\ace\Strategies_T.cpp"\
- {$(INCLUDE)}"\ace\Strategies_T.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.cpp"\
- {$(INCLUDE)}"\ace\Stream_Modules.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.i"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.i"\
- {$(INCLUDE)}"\ace\Svc_Conf_Tokens.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.cpp"\
- {$(INCLUDE)}"\ace\Svc_Handler.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.i"\
- {$(INCLUDE)}"\ace\Synch.h"\
- {$(INCLUDE)}"\ace\Synch.i"\
- {$(INCLUDE)}"\ace\Synch_Options.h"\
- {$(INCLUDE)}"\ace\Synch_T.cpp"\
- {$(INCLUDE)}"\ace\Synch_T.h"\
- {$(INCLUDE)}"\ace\Synch_T.i"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Task.h"\
- {$(INCLUDE)}"\ace\Task.i"\
- {$(INCLUDE)}"\ace\Task_T.cpp"\
- {$(INCLUDE)}"\ace\Task_T.h"\
- {$(INCLUDE)}"\ace\Task_T.i"\
- {$(INCLUDE)}"\ace\Thread.h"\
- {$(INCLUDE)}"\ace\Thread.i"\
- {$(INCLUDE)}"\ace\Thread_Manager.h"\
- {$(INCLUDE)}"\ace\Thread_Manager.i"\
- {$(INCLUDE)}"\ace\Time_Value.h"\
- {$(INCLUDE)}"\ace\Timer_Queue.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.i"\
- {$(INCLUDE)}"\ace\TLI.h"\
- {$(INCLUDE)}"\ace\TLI.i"\
- {$(INCLUDE)}"\ace\TLI_Acceptor.h"\
- {$(INCLUDE)}"\ace\TLI_Acceptor.i"\
- {$(INCLUDE)}"\ace\TLI_Stream.h"\
- {$(INCLUDE)}"\ace\TLI_Stream.i"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.i"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\stat.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\Server_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_SERVE) "$(INTDIR)"
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\Name_Handler.cpp
-DEP_CPP_NAME_=\
- "..\..\ace\config-win32.h"\
- ".\Name_Handler.h"\
- {$(INCLUDE)}"\ace\Acceptor.cpp"\
- {$(INCLUDE)}"\ace\Acceptor.h"\
- {$(INCLUDE)}"\ace\Acceptor.i"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Addr.h"\
- {$(INCLUDE)}"\ace\Addr.i"\
- {$(INCLUDE)}"\ace\Atomic_Op.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Containers.cpp"\
- {$(INCLUDE)}"\ace\Containers.h"\
- {$(INCLUDE)}"\ace\Containers.i"\
- {$(INCLUDE)}"\ace\Dynamic.h"\
- {$(INCLUDE)}"\ace\Dynamic.i"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Free_List.cpp"\
- {$(INCLUDE)}"\ace\Free_List.h"\
- {$(INCLUDE)}"\ace\Free_List.i"\
- {$(INCLUDE)}"\ace\Get_Opt.h"\
- {$(INCLUDE)}"\ace\Get_Opt.i"\
- {$(INCLUDE)}"\ace\Handle_Set.h"\
- {$(INCLUDE)}"\ace\Handle_Set.i"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\INET_Addr.h"\
- {$(INCLUDE)}"\ace\INET_Addr.i"\
- {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.i"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Malloc.h"\
- {$(INCLUDE)}"\ace\Malloc.i"\
- {$(INCLUDE)}"\ace\Malloc_T.cpp"\
- {$(INCLUDE)}"\ace\Malloc_T.h"\
- {$(INCLUDE)}"\ace\Malloc_T.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Mem_Map.h"\
- {$(INCLUDE)}"\ace\Mem_Map.i"\
- {$(INCLUDE)}"\ace\Memory_Pool.h"\
- {$(INCLUDE)}"\ace\Memory_Pool.i"\
- {$(INCLUDE)}"\ace\Message_Block.h"\
- {$(INCLUDE)}"\ace\Message_Block.i"\
- {$(INCLUDE)}"\ace\Message_Queue.cpp"\
- {$(INCLUDE)}"\ace\Message_Queue.h"\
- {$(INCLUDE)}"\ace\Message_Queue.i"\
- {$(INCLUDE)}"\ace\Module.cpp"\
- {$(INCLUDE)}"\ace\Module.h"\
- {$(INCLUDE)}"\ace\Module.i"\
- {$(INCLUDE)}"\ace\Name_Proxy.h"\
- {$(INCLUDE)}"\ace\Name_Request_Reply.h"\
- {$(INCLUDE)}"\ace\Name_Space.h"\
- {$(INCLUDE)}"\ace\Naming_Context.h"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Reactor.h"\
- {$(INCLUDE)}"\ace\Reactor.i"\
- {$(INCLUDE)}"\ace\Reactor_Impl.h"\
- {$(INCLUDE)}"\ace\Service_Config.h"\
- {$(INCLUDE)}"\ace\Service_Config.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Service_Types.h"\
- {$(INCLUDE)}"\ace\Service_Types.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\Signal.h"\
- {$(INCLUDE)}"\ace\Signal.i"\
- {$(INCLUDE)}"\ace\Singleton.cpp"\
- {$(INCLUDE)}"\ace\Singleton.h"\
- {$(INCLUDE)}"\ace\Singleton.i"\
- {$(INCLUDE)}"\ace\SOCK.h"\
- {$(INCLUDE)}"\ace\SOCK.i"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.h"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.i"\
- {$(INCLUDE)}"\ace\SOCK_Connector.h"\
- {$(INCLUDE)}"\ace\SOCK_Connector.i"\
- {$(INCLUDE)}"\ace\SOCK_IO.h"\
- {$(INCLUDE)}"\ace\SOCK_IO.i"\
- {$(INCLUDE)}"\ace\SOCK_Stream.h"\
- {$(INCLUDE)}"\ace\SOCK_Stream.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\Strategies.h"\
- {$(INCLUDE)}"\ace\Strategies_T.cpp"\
- {$(INCLUDE)}"\ace\Strategies_T.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.cpp"\
- {$(INCLUDE)}"\ace\Stream_Modules.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.i"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.i"\
- {$(INCLUDE)}"\ace\Svc_Conf_Tokens.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.cpp"\
- {$(INCLUDE)}"\ace\Svc_Handler.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.i"\
- {$(INCLUDE)}"\ace\Synch.h"\
- {$(INCLUDE)}"\ace\Synch.i"\
- {$(INCLUDE)}"\ace\Synch_Options.h"\
- {$(INCLUDE)}"\ace\Synch_T.cpp"\
- {$(INCLUDE)}"\ace\Synch_T.h"\
- {$(INCLUDE)}"\ace\Synch_T.i"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Task.h"\
- {$(INCLUDE)}"\ace\Task.i"\
- {$(INCLUDE)}"\ace\Task_T.cpp"\
- {$(INCLUDE)}"\ace\Task_T.h"\
- {$(INCLUDE)}"\ace\Task_T.i"\
- {$(INCLUDE)}"\ace\Thread.h"\
- {$(INCLUDE)}"\ace\Thread.i"\
- {$(INCLUDE)}"\ace\Thread_Manager.h"\
- {$(INCLUDE)}"\ace\Thread_Manager.i"\
- {$(INCLUDE)}"\ace\Time_Value.h"\
- {$(INCLUDE)}"\ace\Timer_Queue.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.i"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.i"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\stat.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\Name_Handler.obj" : $(SOURCE) $(DEP_CPP_NAME_) "$(INTDIR)"
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\Client_Logging_Handler.cpp
-DEP_CPP_CLIEN=\
- "..\..\ace\config-win32.h"\
- ".\Client_Logging_Handler.h"\
- {$(INCLUDE)}"\ace\Acceptor.cpp"\
- {$(INCLUDE)}"\ace\Acceptor.h"\
- {$(INCLUDE)}"\ace\Acceptor.i"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Addr.h"\
- {$(INCLUDE)}"\ace\Addr.i"\
- {$(INCLUDE)}"\ace\Atomic_Op.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Containers.cpp"\
- {$(INCLUDE)}"\ace\Containers.h"\
- {$(INCLUDE)}"\ace\Containers.i"\
- {$(INCLUDE)}"\ace\Dynamic.h"\
- {$(INCLUDE)}"\ace\Dynamic.i"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Free_List.cpp"\
- {$(INCLUDE)}"\ace\Free_List.h"\
- {$(INCLUDE)}"\ace\Free_List.i"\
- {$(INCLUDE)}"\ace\Get_Opt.h"\
- {$(INCLUDE)}"\ace\Get_Opt.i"\
- {$(INCLUDE)}"\ace\Handle_Set.h"\
- {$(INCLUDE)}"\ace\Handle_Set.i"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\INET_Addr.h"\
- {$(INCLUDE)}"\ace\INET_Addr.i"\
- {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.i"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Malloc.h"\
- {$(INCLUDE)}"\ace\Malloc.i"\
- {$(INCLUDE)}"\ace\Malloc_T.cpp"\
- {$(INCLUDE)}"\ace\Malloc_T.h"\
- {$(INCLUDE)}"\ace\Malloc_T.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Mem_Map.h"\
- {$(INCLUDE)}"\ace\Mem_Map.i"\
- {$(INCLUDE)}"\ace\Memory_Pool.h"\
- {$(INCLUDE)}"\ace\Memory_Pool.i"\
- {$(INCLUDE)}"\ace\Message_Block.h"\
- {$(INCLUDE)}"\ace\Message_Block.i"\
- {$(INCLUDE)}"\ace\Message_Queue.cpp"\
- {$(INCLUDE)}"\ace\Message_Queue.h"\
- {$(INCLUDE)}"\ace\Message_Queue.i"\
- {$(INCLUDE)}"\ace\Module.cpp"\
- {$(INCLUDE)}"\ace\Module.h"\
- {$(INCLUDE)}"\ace\Module.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Reactor.h"\
- {$(INCLUDE)}"\ace\Reactor.i"\
- {$(INCLUDE)}"\ace\Reactor_Impl.h"\
- {$(INCLUDE)}"\ace\Service_Config.h"\
- {$(INCLUDE)}"\ace\Service_Config.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Service_Types.h"\
- {$(INCLUDE)}"\ace\Service_Types.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\Signal.h"\
- {$(INCLUDE)}"\ace\Signal.i"\
- {$(INCLUDE)}"\ace\Singleton.cpp"\
- {$(INCLUDE)}"\ace\Singleton.h"\
- {$(INCLUDE)}"\ace\Singleton.i"\
- {$(INCLUDE)}"\ace\SOCK.h"\
- {$(INCLUDE)}"\ace\SOCK.i"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.h"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.i"\
- {$(INCLUDE)}"\ace\SOCK_Connector.h"\
- {$(INCLUDE)}"\ace\SOCK_Connector.i"\
- {$(INCLUDE)}"\ace\SOCK_IO.h"\
- {$(INCLUDE)}"\ace\SOCK_IO.i"\
- {$(INCLUDE)}"\ace\SOCK_Stream.h"\
- {$(INCLUDE)}"\ace\SOCK_Stream.i"\
- {$(INCLUDE)}"\ace\SPIPE.h"\
- {$(INCLUDE)}"\ace\SPIPE.i"\
- {$(INCLUDE)}"\ace\SPIPE_Acceptor.h"\
- {$(INCLUDE)}"\ace\SPIPE_Addr.h"\
- {$(INCLUDE)}"\ace\SPIPE_Addr.i"\
- {$(INCLUDE)}"\ace\SPIPE_Stream.h"\
- {$(INCLUDE)}"\ace\SPIPE_Stream.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\Strategies.h"\
- {$(INCLUDE)}"\ace\Strategies_T.cpp"\
- {$(INCLUDE)}"\ace\Strategies_T.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.cpp"\
- {$(INCLUDE)}"\ace\Stream_Modules.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.i"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.i"\
- {$(INCLUDE)}"\ace\Svc_Conf_Tokens.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.cpp"\
- {$(INCLUDE)}"\ace\Svc_Handler.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.i"\
- {$(INCLUDE)}"\ace\Synch.h"\
- {$(INCLUDE)}"\ace\Synch.i"\
- {$(INCLUDE)}"\ace\Synch_Options.h"\
- {$(INCLUDE)}"\ace\Synch_T.cpp"\
- {$(INCLUDE)}"\ace\Synch_T.h"\
- {$(INCLUDE)}"\ace\Synch_T.i"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Task.h"\
- {$(INCLUDE)}"\ace\Task.i"\
- {$(INCLUDE)}"\ace\Task_T.cpp"\
- {$(INCLUDE)}"\ace\Task_T.h"\
- {$(INCLUDE)}"\ace\Task_T.i"\
- {$(INCLUDE)}"\ace\Thread.h"\
- {$(INCLUDE)}"\ace\Thread.i"\
- {$(INCLUDE)}"\ace\Thread_Manager.h"\
- {$(INCLUDE)}"\ace\Thread_Manager.i"\
- {$(INCLUDE)}"\ace\Time_Value.h"\
- {$(INCLUDE)}"\ace\Timer_Queue.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.i"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.i"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\stat.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\Client_Logging_Handler.obj" : $(SOURCE) $(DEP_CPP_CLIEN) "$(INTDIR)"
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\Logging_Strategy.cpp
-DEP_CPP_LOGGI=\
- "..\..\ace\config-win32.h"\
- ".\Logging_Strategy.h"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Get_Opt.h"\
- {$(INCLUDE)}"\ace\Get_Opt.i"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\stat.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\Logging_Strategy.obj" : $(SOURCE) $(DEP_CPP_LOGGI) "$(INTDIR)"
-
-
-# End Source File
-# End Target
-# End Project
-################################################################################
diff --git a/netsvcs/lib/netsvcs4.mdp b/netsvcs/lib/netsvcs4.mdp Binary files differdeleted file mode 100644 index b5f99ed6b16..00000000000 --- a/netsvcs/lib/netsvcs4.mdp +++ /dev/null diff --git a/netsvcs/servers/Makefile b/netsvcs/servers/Makefile deleted file mode 100644 index c0eb94cb35a..00000000000 --- a/netsvcs/servers/Makefile +++ /dev/null @@ -1,183 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id: Makefile 1.1 10/18/96 -# -# Makefile -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -BIN = main -LSRC = $(addsuffix .cpp,$(BIN)) - -LDLIBS = -lnetsvcs - -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.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 - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -CPPFLAGS += -I$(ACE_ROOT)/netsvcs/lib - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/main.o .obj/main.so .shobj/main.o .shobj/main.so: main.cpp \ - $(ACE_ROOT)/ace/Service_Config.h \ - $(ACE_ROOT)/ace/Service_Object.h \ - $(ACE_ROOT)/ace/Shared_Object.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/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/Log_Record.i \ - $(ACE_ROOT)/ace/Shared_Object.i \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Service_Object.i \ - $(ACE_ROOT)/ace/Signal.h \ - $(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.h \ - $(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/Containers.h \ - $(ACE_ROOT)/ace/Containers.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/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/Free_List.h \ - $(ACE_ROOT)/ace/Free_List.i \ - $(ACE_ROOT)/ace/Timer_Queue_T.i \ - $(ACE_ROOT)/ace/Reactor.i \ - $(ACE_ROOT)/ace/Reactor_Impl.h \ - $(ACE_ROOT)/ace/Svc_Conf_Tokens.h \ - $(ACE_ROOT)/netsvcs/lib/TS_Clerk_Handler.h \ - $(ACE_ROOT)/ace/Connector.h \ - $(ACE_ROOT)/ace/Map_Manager.h \ - $(ACE_ROOT)/ace/Map_Manager.i \ - $(ACE_ROOT)/ace/Svc_Handler.h \ - $(ACE_ROOT)/ace/Synch_Options.h \ - $(ACE_ROOT)/ace/Task.h \ - $(ACE_ROOT)/ace/Thread_Manager.h \ - $(ACE_ROOT)/ace/Thread_Manager.i \ - $(ACE_ROOT)/ace/Task.i \ - $(ACE_ROOT)/ace/Task_T.h \ - $(ACE_ROOT)/ace/Message_Queue.h \ - $(ACE_ROOT)/ace/Message_Block.h \ - $(ACE_ROOT)/ace/Malloc.h \ - $(ACE_ROOT)/ace/Malloc.i \ - $(ACE_ROOT)/ace/Malloc_T.h \ - $(ACE_ROOT)/ace/Malloc_T.i \ - $(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/Message_Block.i \ - $(ACE_ROOT)/ace/IO_Cntl_Msg.h \ - $(ACE_ROOT)/ace/Strategies.h \ - $(ACE_ROOT)/ace/Strategies_T.h \ - $(ACE_ROOT)/ace/Hash_Map_Manager.h \ - $(ACE_ROOT)/ace/Message_Queue.i \ - $(ACE_ROOT)/ace/Task_T.i \ - $(ACE_ROOT)/ace/Dynamic.h \ - $(ACE_ROOT)/ace/Dynamic.i \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Singleton.i \ - $(ACE_ROOT)/ace/Svc_Handler.i \ - $(ACE_ROOT)/ace/Connector.i \ - $(ACE_ROOT)/ace/SOCK_Connector.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/Time_Value.h \ - $(ACE_ROOT)/ace/SOCK_Connector.i \ - $(ACE_ROOT)/ace/Time_Request_Reply.h \ - $(ACE_ROOT)/ace/SString.h \ - $(ACE_ROOT)/ace/SString.i \ - $(ACE_ROOT)/netsvcs/lib/TS_Server_Handler.h \ - $(ACE_ROOT)/ace/Acceptor.h \ - $(ACE_ROOT)/ace/Acceptor.i \ - $(ACE_ROOT)/ace/SOCK_Acceptor.h \ - $(ACE_ROOT)/ace/SOCK_Acceptor.i \ - $(ACE_ROOT)/netsvcs/lib/Client_Logging_Handler.h \ - $(ACE_ROOT)/ace/SPIPE_Stream.h \ - $(ACE_ROOT)/ace/SPIPE.h \ - $(ACE_ROOT)/ace/SPIPE_Addr.h \ - $(ACE_ROOT)/ace/SPIPE_Addr.i \ - $(ACE_ROOT)/ace/SPIPE.i \ - $(ACE_ROOT)/ace/SPIPE_Stream.i \ - $(ACE_ROOT)/netsvcs/lib/Name_Handler.h \ - $(ACE_ROOT)/ace/Naming_Context.h \ - $(ACE_ROOT)/ace/Name_Proxy.h \ - $(ACE_ROOT)/ace/Name_Request_Reply.h \ - $(ACE_ROOT)/ace/Name_Space.h \ - $(ACE_ROOT)/netsvcs/lib/Token_Handler.h \ - $(ACE_ROOT)/ace/Local_Tokens.h \ - $(ACE_ROOT)/ace/Local_Tokens.i \ - $(ACE_ROOT)/ace/Token_Collection.h \ - $(ACE_ROOT)/ace/Token_Collection.i \ - $(ACE_ROOT)/ace/Token_Request_Reply.h \ - $(ACE_ROOT)/ace/Token_Request_Reply.i \ - $(ACE_ROOT)/netsvcs/lib/Server_Logging_Handler.h \ - $(ACE_ROOT)/netsvcs/lib/Log_Message_Receiver.h \ - $(ACE_ROOT)/netsvcs/lib/Server_Logging_Handler_T.h \ - $(ACE_ROOT)/ace/TLI_Acceptor.h \ - $(ACE_ROOT)/ace/TLI.h \ - $(ACE_ROOT)/ace/TLI.i \ - $(ACE_ROOT)/ace/TLI_Stream.h \ - $(ACE_ROOT)/ace/TLI_Stream.i \ - $(ACE_ROOT)/ace/TLI_Acceptor.i \ - $(ACE_ROOT)/netsvcs/lib/Logging_Strategy.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/netsvcs/servers/README b/netsvcs/servers/README deleted file mode 100644 index f6fa4a19557..00000000000 --- a/netsvcs/servers/README +++ /dev/null @@ -1,35 +0,0 @@ -This directory contains the driver program that links the various -services together, either statically or dynamically, to form complete -server programs. - -You can configure the following ACE network services into the driver -program by changing how the svc.conf file is setup: - - . Logger -- Controls the output of all services that are - invoked along with the Logger service. Please see the README - file in /netsvcs/lib for details on how to control the output. - - . [Thr_]Server_Logging_Handler.* -- Implements server portion - of the ACE distributed logging service. Both multi-threaded - and single-threaded implementations are provided. - - . Client_Logging_Handler.* -- Implements the client portion - of the ACE distributed logging service. Note that you - generally will run a netsvc daemon that's configured with - *either* the server portion of the logging service or the - client portion of the logging service, but not both in - the same process. In otherwords, you'll need to have - separate svc.conf files to configure the client logging process - and the server logging process indepedently. - - . Name_Handler.* -- Implements a distributed name service that - allows applications to bind, find, and unbind names in - a distributed system. - - . Token_Handler.* -- Implements a distributed token service - that allows distributed applications to acquire and release - locks in a distributed system. - - . Time_Handler.* -- Implements a distributed time service that - allows distributed applications to synchronize their - time. diff --git a/netsvcs/servers/VCAUTO.MAK b/netsvcs/servers/VCAUTO.MAK deleted file mode 100644 index 34fab7aab05..00000000000 --- a/netsvcs/servers/VCAUTO.MAK +++ /dev/null @@ -1,6 +0,0 @@ -# Directory: netsvcs/servers/ -# $Id$ - -MAK_LIST = servers - -!INCLUDE <$(ACE_ROOT)\include\makeinclude\VC50_DIR.MAK> diff --git a/netsvcs/servers/cli.conf b/netsvcs/servers/cli.conf deleted file mode 100644 index b2d8fbc8194..00000000000 --- a/netsvcs/servers/cli.conf +++ /dev/null @@ -1,11 +0,0 @@ -# UNIX version -# -# These are the services that can be linked into ACE. -# Note that you can replace the hardcoded "../lib/libnet_svcs" with -# a relative path if you set your LD search path correctly -- ACE will -# locate this for you automatically by reading your LD search path! -# In addition, you can replace the hardcoded "-p 20xxx" with "-p -# $PORTxxx" if you set your environment variables correctly. - -# Activate the Client Logging Daemon. -dynamic Client_Logging_Service Service_Object * ../lib/libnet_svcs:_make_ACE_Client_Logging_Connector() active "-p 20009 -h merengue" diff --git a/netsvcs/servers/main.cpp b/netsvcs/servers/main.cpp deleted file mode 100644 index 1e5897da905..00000000000 --- a/netsvcs/servers/main.cpp +++ /dev/null @@ -1,102 +0,0 @@ -// $Id$ - -#include "ace/Service_Config.h" -#include "TS_Clerk_Handler.h" -#include "TS_Server_Handler.h" -#include "Client_Logging_Handler.h" -#include "Name_Handler.h" -#include "Token_Handler.h" -#include "Server_Logging_Handler.h" -#include "Logging_Strategy.h" - -int -main (int argc, char *argv[]) -{ - // Create an adapter to end the event loop. - ACE_Sig_Adapter sa ((ACE_Sig_Handler_Ex) ACE_Reactor::end_event_loop); - - ACE_Sig_Set sig_set; - sig_set.sig_add (SIGINT); - sig_set.sig_add (SIGQUIT); - - // Register ourselves to receive signals so we can shut down - // gracefully. - if (ACE_Reactor::instance ()->register_handler (sig_set, &sa) == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n"), -1); - - // Try to link in the svc.conf entries dynamically. - if (ACE_Service_Config::open (argc, argv) == -1) - { - if (errno != ENOENT) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), 1); - else // Use static linking. - { - char *l_argv[3]; - - l_argv[0] = "-p " ACE_DEFAULT_NAME_SERVER_PORT_STR; - l_argv[1] = 0; - ACE_Service_Object_Ptr sp_1 = ACE_SVC_INVOKE (ACE_Name_Acceptor); - - if (sp_1->init (1, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "Name Service", 1)); - - l_argv[0] = "-p " ACE_DEFAULT_TIME_SERVER_PORT_STR; - l_argv[1] = 0; - ACE_Service_Object_Ptr sp_2 = ACE_SVC_INVOKE (ACE_TS_Server_Acceptor); - - if (sp_2->init (1, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "TS Server Acceptor", 1)); - - l_argv[0] = argv[0]; - l_argv[1] = "-p 10011"; - l_argv[2] = 0; - ACE_Service_Object_Ptr sp_3 = ACE_SVC_INVOKE (ACE_TS_Clerk_Processor); - - if (sp_3->init (2, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "TS Clerk Processor", 1)); - - l_argv[0] = "-p " ACE_DEFAULT_TOKEN_SERVER_PORT_STR; - l_argv[1] = 0; - ACE_Service_Object_Ptr sp_4 = ACE_SVC_INVOKE (ACE_Token_Acceptor); - - if (sp_4->init (1, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "Token Service", 1)); - - l_argv[0] = "-p " ACE_DEFAULT_THR_LOGGING_SERVER_PORT_STR; - l_argv[1] = 0; - ACE_Service_Object_Ptr sp_5 = ACE_SVC_INVOKE (ACE_Thr_Server_Logging_Acceptor); - - if (sp_5->init (1, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "Threaded Logging Server", 1)); - - l_argv[0] = "-p " ACE_DEFAULT_LOGGING_SERVER_PORT_STR; - l_argv[1] = 0; - ACE_Service_Object_Ptr sp_6 = ACE_SVC_INVOKE (ACE_Server_Logging_Acceptor); - - if (sp_6->init (1, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "Logging Server", 1)); - - l_argv[0] = "-p " ACE_DEFAULT_LOGGING_SERVER_PORT_STR; - l_argv[1] = 0; - ACE_Service_Object_Ptr sp_7 = ACE_SVC_INVOKE (ACE_Client_Logging_Acceptor); - - if (sp_7->init (1, l_argv) == -1) - ACE_ERROR ((LM_ERROR, "%p\n%a", "Logging Client", 1)); - - // Run forever, performing the configured services until we are shut - // down by a SIGINT/SIGQUIT signal. - - ACE_Reactor::run_event_loop (); - - // Destructors of ACE_Service_Object_Ptr's automagically call fini(). - } - } - else // Use dynamic linking. - - // Run forever, performing the configured services until we are shut - // down by a SIGINT/SIGQUIT signal. - - ACE_Reactor::run_event_loop (); - - return 0; -} diff --git a/netsvcs/servers/ntsvc.conf b/netsvcs/servers/ntsvc.conf deleted file mode 100644 index 94ed5d78c2a..00000000000 --- a/netsvcs/servers/ntsvc.conf +++ /dev/null @@ -1,12 +0,0 @@ -# Windows NT version. -# -# These are the services that can be linked into ACE. -# Note that your path needs to include the path for netsvcs.dll -# In addition, you can replace the hardcoded "-p 20xxx" with "-p -# $PORTxxx" if you set your environment variables correctly. - -dynamic Token_Service Service_Object * netsvcs.dll:_make_ACE_Token_Acceptor() "-p 20202" -dynamic Name_Server Service_Object * netsvcs.dll:_make_ACE_Name_Acceptor() "-p 20012" -#dynamic Client_Logging_Service Service_Object * netsvcs.dll:_make_ACE_Client_Logging_Connector() active "-p 20008" -#dynamic Server_Logging_Service Service_Object * netsvcs.dll:_make_ACE_Server_Logging_Acceptor() active "-p 20009" -#dynamic Thr_Server_Logging_Service Service_Object * netsvcs.dll:_make_ACE_Thr_Server_Logging_Acceptor() active "-p 20020" diff --git a/netsvcs/servers/servers.MAK b/netsvcs/servers/servers.MAK deleted file mode 100644 index 79ce13ab2c5..00000000000 --- a/netsvcs/servers/servers.MAK +++ /dev/null @@ -1,1128 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Based on servers.dsp -!IF "$(CFG)" == "" -CFG=servers - Win32 Alpha Debug -!MESSAGE No configuration specified. Defaulting to servers - Win32 Alpha Debug. -!ENDIF - -!IF "$(CFG)" != "servers - Win32 Release" && "$(CFG)" !=\ - "servers - Win32 Debug" && "$(CFG)" != "servers - Win32 Alpha Debug" &&\ - "$(CFG)" != "servers - Win32 Alpha Release" -!MESSAGE Invalid configuration "$(CFG)" specified. -!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 "servers.mak" CFG="servers - Win32 Alpha Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "servers - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "servers - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE "servers - Win32 Alpha Debug" (based on\ - "Win32 (ALPHA) Console Application") -!MESSAGE "servers - Win32 Alpha Release" (based on\ - "Win32 (ALPHA) Console Application") -!MESSAGE -!ERROR An invalid configuration is specified. -!ENDIF - -!IF "$(OS)" == "Windows_NT" -NULL= -!ELSE -NULL=nul -!ENDIF - -!IF "$(CFG)" == "servers - Win32 Release" - -OUTDIR=. -INTDIR=.\Release -# Begin Custom Macros -OutDir=. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\main.exe" - -!ELSE - -ALL : "$(OUTDIR)\main.exe" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\main.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(OUTDIR)\main.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\lib" /D "WIN32" /D\ - "NDEBUG" /D "_CONSOLE" /Fp"$(INTDIR)\servers.pch" /YX /Fo"$(INTDIR)\\"\ - /Fd"$(INTDIR)\\" /FD /c -CPP_OBJS=.\Release/ -CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\servers.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ace.lib netsvcs.lib\ - /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\main.pdb"\ - /machine:I386 /out:"$(OUTDIR)\main.exe" /libpath:"..\..\ace" /libpath:"..\lib" -LINK32_OBJS= \ - "$(INTDIR)\main.obj" - -"$(OUTDIR)\main.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "servers - Win32 Debug" - -OUTDIR=. -INTDIR=.\debug -# Begin Custom Macros -OutDir=. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\main.exe" - -!ELSE - -ALL : "$(OUTDIR)\main.exe" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\main.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(INTDIR)\vc50.pdb" - -@erase "$(OUTDIR)\main.exe" - -@erase "$(OUTDIR)\main.ilk" - -@erase "$(OUTDIR)\main.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\lib" /I "..\..\\" /D "WIN32"\ - /D "_DEBUG" /D "_CONSOLE" /Fp"$(INTDIR)\servers.pch" /YX /Fo"$(INTDIR)\\"\ - /Fd"$(INTDIR)\\" /FD /c -CPP_OBJS=.\debug/ -CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\servers.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\ - advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib aced.lib netsvcs.lib\ - /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\main.pdb" /debug\ - /machine:I386 /out:"$(OUTDIR)\main.exe" /libpath:"..\..\ace" /libpath:"..\lib" -LINK32_OBJS= \ - "$(INTDIR)\main.obj" - -"$(OUTDIR)\main.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "servers - Win32 Alpha Debug" - -OUTDIR=. -INTDIR=.\Debug -# Begin Custom Macros -OutDir=. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\main.exe" - -!ELSE - -ALL : "$(OUTDIR)\main.exe" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\main.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(INTDIR)\vc50.pdb" - -@erase "$(OUTDIR)\main.exe" - -@erase "$(OUTDIR)\main.pdb" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /Gt0 /W3 /GX /Zi /Od /I "..\lib" /I "..\..\\" /D "WIN32" /D\ - "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\servers.pch" /YX\ - /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /MDd /c -CPP_OBJS=.\Debug/ -CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\servers.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=aced.lib netsvcs.lib kernel32.lib user32.lib gdi32.lib\ - winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib\ - uuid.lib /nologo /subsystem:console /pdb:"$(OUTDIR)\main.pdb" /debug\ - /machine:ALPHA /out:"$(OUTDIR)\main.exe" /libpath:"..\..\ace" /libpath:"..\lib"\ - -LINK32_OBJS= \ - "$(INTDIR)\main.obj" - -"$(OUTDIR)\main.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ELSEIF "$(CFG)" == "servers - Win32 Alpha Release" - -OUTDIR=. -INTDIR=.\Release -# Begin Custom Macros -OutDir=. -# End Custom Macros - -!IF "$(RECURSE)" == "0" - -ALL : "$(OUTDIR)\main.exe" - -!ELSE - -ALL : "$(OUTDIR)\main.exe" - -!ENDIF - -CLEAN : - -@erase "$(INTDIR)\main.obj" - -@erase "$(INTDIR)\vc50.idb" - -@erase "$(OUTDIR)\main.exe" - -"$(INTDIR)" : - if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)" - -CPP=cl.exe -CPP_PROJ=/nologo /MD /Gt0 /W3 /GX /O2 /I "..\..\\" /I "..\lib" /D "WIN32" /D\ - "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\servers.pch" /YX\ - /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c -CPP_OBJS=.\Release/ -CPP_SBRS=. - -.c{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_OBJS)}.obj:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.c{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cpp{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -.cxx{$(CPP_SBRS)}.sbr:: - $(CPP) @<< - $(CPP_PROJ) $< -<< - -RSC=rc.exe -BSC32=bscmake.exe -BSC32_FLAGS=/nologo /o"$(OUTDIR)\servers.bsc" -BSC32_SBRS= \ - -LINK32=link.exe -LINK32_FLAGS=ace.lib netsvcs.lib kernel32.lib user32.lib gdi32.lib winspool.lib\ - comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo\ - /subsystem:console /pdb:"$(OUTDIR)\main.pdb" /machine:ALPHA\ - /out:"$(OUTDIR)\main.exe" /libpath:"..\..\ace" /libpath:"..\lib" -LINK32_OBJS= \ - "$(INTDIR)\main.obj" - -"$(OUTDIR)\main.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) - $(LINK32) @<< - $(LINK32_FLAGS) $(LINK32_OBJS) -<< - -!ENDIF - - -!IF "$(CFG)" == "servers - Win32 Release" || "$(CFG)" ==\ - "servers - Win32 Debug" || "$(CFG)" == "servers - Win32 Alpha Debug" ||\ - "$(CFG)" == "servers - Win32 Alpha Release" -SOURCE=.\main.cpp - -!IF "$(CFG)" == "servers - Win32 Release" - -DEP_CPP_MAIN_=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Connector.cpp"\ - "..\..\ace\Connector.h"\ - "..\..\ace\Connector.i"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Local_Tokens.h"\ - "..\..\ace\Local_Tokens.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Name_Proxy.h"\ - "..\..\ace\Name_Request_Reply.h"\ - "..\..\ace\Name_Space.h"\ - "..\..\ace\Naming_Context.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SPIPE.h"\ - "..\..\ace\SPIPE.i"\ - "..\..\ace\SPIPE_Addr.h"\ - "..\..\ace\SPIPE_Addr.i"\ - "..\..\ace\SPIPE_Stream.h"\ - "..\..\ace\SPIPE_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\TLI.h"\ - "..\..\ace\TLI.i"\ - "..\..\ace\TLI_Acceptor.h"\ - "..\..\ace\TLI_Acceptor.i"\ - "..\..\ace\TLI_Stream.h"\ - "..\..\ace\TLI_Stream.i"\ - "..\..\ace\Token_Collection.h"\ - "..\..\ace\Token_Collection.i"\ - "..\..\ace\Token_Request_Reply.h"\ - "..\..\ace\Token_Request_Reply.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - "..\lib\Base_Optimizer.cpp"\ - "..\lib\Base_Optimizer.h"\ - "..\lib\Client_Logging_Handler.h"\ - "..\lib\Log_Message_Receiver.cpp"\ - "..\lib\Log_Message_Receiver.h"\ - "..\lib\Logging_Strategy.h"\ - "..\lib\Name_Handler.h"\ - "..\lib\Server_Logging_Handler.h"\ - "..\lib\Server_Logging_Handler_T.cpp"\ - "..\lib\Server_Logging_Handler_T.h"\ - "..\lib\Token_Handler.h"\ - "..\lib\TS_Clerk_Handler.h"\ - "..\lib\TS_Server_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "servers - Win32 Debug" - -DEP_CPP_MAIN_=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Connector.cpp"\ - "..\..\ace\Connector.h"\ - "..\..\ace\Connector.i"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Local_Tokens.h"\ - "..\..\ace\Local_Tokens.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Name_Proxy.h"\ - "..\..\ace\Name_Request_Reply.h"\ - "..\..\ace\Name_Space.h"\ - "..\..\ace\Naming_Context.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SPIPE.h"\ - "..\..\ace\SPIPE.i"\ - "..\..\ace\SPIPE_Addr.h"\ - "..\..\ace\SPIPE_Addr.i"\ - "..\..\ace\SPIPE_Stream.h"\ - "..\..\ace\SPIPE_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\TLI.h"\ - "..\..\ace\TLI.i"\ - "..\..\ace\TLI_Acceptor.h"\ - "..\..\ace\TLI_Acceptor.i"\ - "..\..\ace\TLI_Stream.h"\ - "..\..\ace\TLI_Stream.i"\ - "..\..\ace\Token_Collection.h"\ - "..\..\ace\Token_Collection.i"\ - "..\..\ace\Token_Request_Reply.h"\ - "..\..\ace\Token_Request_Reply.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - "..\lib\Base_Optimizer.cpp"\ - "..\lib\Base_Optimizer.h"\ - "..\lib\Client_Logging_Handler.h"\ - "..\lib\Log_Message_Receiver.cpp"\ - "..\lib\Log_Message_Receiver.h"\ - "..\lib\Logging_Strategy.h"\ - "..\lib\Name_Handler.h"\ - "..\lib\Server_Logging_Handler.h"\ - "..\lib\Server_Logging_Handler_T.cpp"\ - "..\lib\Server_Logging_Handler_T.h"\ - "..\lib\Token_Handler.h"\ - "..\lib\TS_Clerk_Handler.h"\ - "..\lib\TS_Server_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "servers - Win32 Alpha Debug" - -DEP_CPP_MAIN_=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Connector.cpp"\ - "..\..\ace\Connector.h"\ - "..\..\ace\Connector.i"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Local_Tokens.h"\ - "..\..\ace\Local_Tokens.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Name_Proxy.h"\ - "..\..\ace\Name_Request_Reply.h"\ - "..\..\ace\Name_Space.h"\ - "..\..\ace\Naming_Context.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SPIPE.h"\ - "..\..\ace\SPIPE.i"\ - "..\..\ace\SPIPE_Addr.h"\ - "..\..\ace\SPIPE_Addr.i"\ - "..\..\ace\SPIPE_Stream.h"\ - "..\..\ace\SPIPE_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\TLI.h"\ - "..\..\ace\TLI.i"\ - "..\..\ace\TLI_Acceptor.h"\ - "..\..\ace\TLI_Acceptor.i"\ - "..\..\ace\TLI_Stream.h"\ - "..\..\ace\TLI_Stream.i"\ - "..\..\ace\Token_Collection.h"\ - "..\..\ace\Token_Collection.i"\ - "..\..\ace\Token_Request_Reply.h"\ - "..\..\ace\Token_Request_Reply.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - "..\lib\Base_Optimizer.cpp"\ - "..\lib\Base_Optimizer.h"\ - "..\lib\Client_Logging_Handler.h"\ - "..\lib\Log_Message_Receiver.cpp"\ - "..\lib\Log_Message_Receiver.h"\ - "..\lib\Logging_Strategy.h"\ - "..\lib\Name_Handler.h"\ - "..\lib\Server_Logging_Handler.h"\ - "..\lib\Server_Logging_Handler_T.cpp"\ - "..\lib\Server_Logging_Handler_T.h"\ - "..\lib\Token_Handler.h"\ - "..\lib\TS_Clerk_Handler.h"\ - "..\lib\TS_Server_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)" - - -!ELSEIF "$(CFG)" == "servers - Win32 Alpha Release" - -DEP_CPP_MAIN_=\ - "..\..\ace\Acceptor.cpp"\ - "..\..\ace\Acceptor.h"\ - "..\..\ace\Acceptor.i"\ - "..\..\ace\ACE.h"\ - "..\..\ace\ACE.i"\ - "..\..\ace\Addr.h"\ - "..\..\ace\Addr.i"\ - "..\..\ace\Atomic_Op.i"\ - "..\..\ace\Auto_Ptr.cpp"\ - "..\..\ace\Auto_Ptr.h"\ - "..\..\ace\Auto_Ptr.i"\ - "..\..\ace\Basic_Types.h"\ - "..\..\ace\Basic_Types.i"\ - "..\..\ace\config-win32-common.h"\ - "..\..\ace\config-win32.h"\ - "..\..\ace\config.h"\ - "..\..\ace\Connector.cpp"\ - "..\..\ace\Connector.h"\ - "..\..\ace\Connector.i"\ - "..\..\ace\Containers.cpp"\ - "..\..\ace\Containers.h"\ - "..\..\ace\Containers.i"\ - "..\..\ace\Dynamic.h"\ - "..\..\ace\Dynamic.i"\ - "..\..\ace\Event_Handler.h"\ - "..\..\ace\Event_Handler.i"\ - "..\..\ace\Free_List.cpp"\ - "..\..\ace\Free_List.h"\ - "..\..\ace\Free_List.i"\ - "..\..\ace\Get_Opt.h"\ - "..\..\ace\Get_Opt.i"\ - "..\..\ace\Handle_Set.h"\ - "..\..\ace\Handle_Set.i"\ - "..\..\ace\Hash_Map_Manager.cpp"\ - "..\..\ace\Hash_Map_Manager.h"\ - "..\..\ace\inc_user_config.h"\ - "..\..\ace\INET_Addr.h"\ - "..\..\ace\INET_Addr.i"\ - "..\..\ace\IO_Cntl_Msg.h"\ - "..\..\ace\iosfwd.h"\ - "..\..\ace\IPC_SAP.h"\ - "..\..\ace\IPC_SAP.i"\ - "..\..\ace\Local_Tokens.h"\ - "..\..\ace\Local_Tokens.i"\ - "..\..\ace\Log_Msg.h"\ - "..\..\ace\Log_Priority.h"\ - "..\..\ace\Log_Record.h"\ - "..\..\ace\Log_Record.i"\ - "..\..\ace\Malloc.h"\ - "..\..\ace\Malloc.i"\ - "..\..\ace\Malloc_T.cpp"\ - "..\..\ace\Malloc_T.h"\ - "..\..\ace\Malloc_T.i"\ - "..\..\ace\Managed_Object.cpp"\ - "..\..\ace\Managed_Object.h"\ - "..\..\ace\Managed_Object.i"\ - "..\..\ace\Map_Manager.cpp"\ - "..\..\ace\Map_Manager.h"\ - "..\..\ace\Map_Manager.i"\ - "..\..\ace\Mem_Map.h"\ - "..\..\ace\Mem_Map.i"\ - "..\..\ace\Memory_Pool.h"\ - "..\..\ace\Memory_Pool.i"\ - "..\..\ace\Message_Block.h"\ - "..\..\ace\Message_Block.i"\ - "..\..\ace\Message_Queue.cpp"\ - "..\..\ace\Message_Queue.h"\ - "..\..\ace\Message_Queue.i"\ - "..\..\ace\Module.cpp"\ - "..\..\ace\Module.h"\ - "..\..\ace\Module.i"\ - "..\..\ace\Name_Proxy.h"\ - "..\..\ace\Name_Request_Reply.h"\ - "..\..\ace\Name_Space.h"\ - "..\..\ace\Naming_Context.h"\ - "..\..\ace\Object_Manager.h"\ - "..\..\ace\Object_Manager.i"\ - "..\..\ace\OS.h"\ - "..\..\ace\OS.i"\ - "..\..\ace\Reactor.h"\ - "..\..\ace\Reactor.i"\ - "..\..\ace\Reactor_Impl.h"\ - "..\..\ace\Service_Config.h"\ - "..\..\ace\Service_Config.i"\ - "..\..\ace\Service_Object.h"\ - "..\..\ace\Service_Object.i"\ - "..\..\ace\Service_Types.h"\ - "..\..\ace\Service_Types.i"\ - "..\..\ace\Shared_Object.h"\ - "..\..\ace\Shared_Object.i"\ - "..\..\ace\Signal.h"\ - "..\..\ace\Signal.i"\ - "..\..\ace\Singleton.cpp"\ - "..\..\ace\Singleton.h"\ - "..\..\ace\Singleton.i"\ - "..\..\ace\SOCK.h"\ - "..\..\ace\SOCK.i"\ - "..\..\ace\SOCK_Acceptor.h"\ - "..\..\ace\SOCK_Acceptor.i"\ - "..\..\ace\SOCK_Connector.h"\ - "..\..\ace\SOCK_Connector.i"\ - "..\..\ace\SOCK_IO.h"\ - "..\..\ace\SOCK_IO.i"\ - "..\..\ace\SOCK_Stream.h"\ - "..\..\ace\SOCK_Stream.i"\ - "..\..\ace\SPIPE.h"\ - "..\..\ace\SPIPE.i"\ - "..\..\ace\SPIPE_Addr.h"\ - "..\..\ace\SPIPE_Addr.i"\ - "..\..\ace\SPIPE_Stream.h"\ - "..\..\ace\SPIPE_Stream.i"\ - "..\..\ace\SString.h"\ - "..\..\ace\SString.i"\ - "..\..\ace\Strategies.h"\ - "..\..\ace\Strategies_T.cpp"\ - "..\..\ace\Strategies_T.h"\ - "..\..\ace\Stream_Modules.cpp"\ - "..\..\ace\Stream_Modules.h"\ - "..\..\ace\Stream_Modules.i"\ - "..\..\ace\streams.h"\ - "..\..\ace\SV_Semaphore_Complex.h"\ - "..\..\ace\SV_Semaphore_Complex.i"\ - "..\..\ace\SV_Semaphore_Simple.h"\ - "..\..\ace\SV_Semaphore_Simple.i"\ - "..\..\ace\Svc_Conf_Tokens.h"\ - "..\..\ace\Svc_Handler.cpp"\ - "..\..\ace\Svc_Handler.h"\ - "..\..\ace\Svc_Handler.i"\ - "..\..\ace\Synch.h"\ - "..\..\ace\Synch.i"\ - "..\..\ace\Synch_Options.h"\ - "..\..\ace\Synch_T.cpp"\ - "..\..\ace\Synch_T.h"\ - "..\..\ace\Synch_T.i"\ - "..\..\ace\sys_conf.h"\ - "..\..\ace\Task.h"\ - "..\..\ace\Task.i"\ - "..\..\ace\Task_T.cpp"\ - "..\..\ace\Task_T.h"\ - "..\..\ace\Task_T.i"\ - "..\..\ace\Thread.h"\ - "..\..\ace\Thread.i"\ - "..\..\ace\Thread_Manager.h"\ - "..\..\ace\Thread_Manager.i"\ - "..\..\ace\Time_Request_Reply.h"\ - "..\..\ace\Time_Value.h"\ - "..\..\ace\Timer_Queue.h"\ - "..\..\ace\Timer_Queue_T.cpp"\ - "..\..\ace\Timer_Queue_T.h"\ - "..\..\ace\Timer_Queue_T.i"\ - "..\..\ace\TLI.h"\ - "..\..\ace\TLI.i"\ - "..\..\ace\TLI_Acceptor.h"\ - "..\..\ace\TLI_Acceptor.i"\ - "..\..\ace\TLI_Stream.h"\ - "..\..\ace\TLI_Stream.i"\ - "..\..\ace\Token_Collection.h"\ - "..\..\ace\Token_Collection.i"\ - "..\..\ace\Token_Request_Reply.h"\ - "..\..\ace\Token_Request_Reply.i"\ - "..\..\ace\Trace.h"\ - "..\..\ace\Version.h"\ - "..\..\ace\WFMO_Reactor.h"\ - "..\..\ace\WFMO_Reactor.i"\ - "..\..\ace\ws2tcpip.h"\ - "..\lib\Base_Optimizer.cpp"\ - "..\lib\Base_Optimizer.h"\ - "..\lib\Client_Logging_Handler.h"\ - "..\lib\Log_Message_Receiver.cpp"\ - "..\lib\Log_Message_Receiver.h"\ - "..\lib\Logging_Strategy.h"\ - "..\lib\Name_Handler.h"\ - "..\lib\Server_Logging_Handler.h"\ - "..\lib\Server_Logging_Handler_T.cpp"\ - "..\lib\Server_Logging_Handler_T.h"\ - "..\lib\Token_Handler.h"\ - "..\lib\TS_Clerk_Handler.h"\ - "..\lib\TS_Server_Handler.h"\ - {$(INCLUDE)}"sys\stat.h"\ - {$(INCLUDE)}"sys\types.h"\ - - -"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)" - - -!ENDIF - - -!ENDIF - diff --git a/netsvcs/servers/servers.dsp b/netsvcs/servers/servers.dsp deleted file mode 100644 index 05bd772d66b..00000000000 --- a/netsvcs/servers/servers.dsp +++ /dev/null @@ -1,175 +0,0 @@ -# Microsoft Developer Studio Project File - Name="servers" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-# TARGTYPE "Win32 (ALPHA) Console Application" 0x0603
-
-CFG=servers - Win32 Alpha 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 "servers.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 "servers.mak" CFG="servers - Win32 Alpha Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "servers - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "servers - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE "servers - Win32 Alpha Debug" (based on\
- "Win32 (ALPHA) Console Application")
-!MESSAGE "servers - Win32 Alpha Release" (based on\
- "Win32 (ALPHA) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-
-!IF "$(CFG)" == "servers - 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 ""
-CPP=cl.exe
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\\" /I "..\lib" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
-RSC=rc.exe
-# 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 /nologo /subsystem:console /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib ace.lib netsvcs.lib /nologo /subsystem:console /machine:I386 /out:"main.exe" /libpath:"..\..\ace" /libpath:"..\lib"
-
-!ELSEIF "$(CFG)" == "servers - 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 ""
-CPP=cl.exe
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\lib" /I "..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /c
-RSC=rc.exe
-# 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 /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib aced.lib netsvcs.lib /nologo /subsystem:console /debug /machine:I386 /out:"main.exe" /libpath:"..\..\ace" /libpath:"..\lib"
-
-!ELSEIF "$(CFG)" == "servers - Win32 Alpha Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "servers_"
-# PROP BASE Intermediate_Dir "servers_"
-# PROP BASE Ignore_Export_Lib 0
-# 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 ""
-CPP=cl.exe
-# ADD BASE CPP /nologo /Gt0 /W3 /GX /Zi /Od /I "..\lib" /I "..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /Gt0 /W3 /GX /Zi /Od /I "..\lib" /I "..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-RSC=rc.exe
-# 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 aced.lib netsvcs.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /out:"main.exe" /libpath:"..\..\ace" /libpath:"..\lib"
-# ADD LINK32 aced.lib netsvcs.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:ALPHA /out:"main.exe" /libpath:"..\..\ace" /libpath:"..\lib"
-
-!ELSEIF "$(CFG)" == "servers - Win32 Alpha Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "servers0"
-# PROP BASE Intermediate_Dir "servers0"
-# PROP BASE Ignore_Export_Lib 0
-# 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 ""
-CPP=cl.exe
-# ADD BASE CPP /nologo /Gt0 /W3 /GX /O2 /I "..\..\\" /I "..\lib" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /Gt0 /W3 /GX /O2 /I "..\..\\" /I "..\lib" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-RSC=rc.exe
-# 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 ace.lib netsvcs.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /out:"main.exe" /libpath:"..\..\ace" /libpath:"..\lib"
-# ADD LINK32 ace.lib netsvcs.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:ALPHA /out:"main.exe" /libpath:"..\..\ace" /libpath:"..\lib"
-
-!ENDIF
-
-# Begin Target
-
-# Name "servers - Win32 Release"
-# Name "servers - Win32 Debug"
-# Name "servers - Win32 Alpha Debug"
-# Name "servers - Win32 Alpha Release"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90"
-# Begin Source File
-
-SOURCE=.\main.cpp
-
-!IF "$(CFG)" == "servers - Win32 Release"
-
-!ELSEIF "$(CFG)" == "servers - Win32 Debug"
-
-!ELSEIF "$(CFG)" == "servers - Win32 Alpha Debug"
-
-!ELSEIF "$(CFG)" == "servers - Win32 Alpha Release"
-
-!ENDIF
-
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd"
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
-# End Group
-# End Target
-# End Project
diff --git a/netsvcs/servers/servers.dsw b/netsvcs/servers/servers.dsw deleted file mode 100644 index cf9d200a8bf..00000000000 --- a/netsvcs/servers/servers.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "servers"=.\servers.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/netsvcs/servers/servers4.mak b/netsvcs/servers/servers4.mak deleted file mode 100644 index 58d93596a03..00000000000 --- a/netsvcs/servers/servers4.mak +++ /dev/null @@ -1,474 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-!IF "$(CFG)" == ""
-CFG=servers - Win32 Debug
-!MESSAGE No configuration specified. Defaulting to servers - Win32 Debug.
-!ENDIF
-
-!IF "$(CFG)" != "servers - Win32 Release" && "$(CFG)" !=\
- "servers - Win32 Debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
-!MESSAGE You can specify a configuration when running NMAKE on this makefile
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "servers4.mak" CFG="servers - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "servers - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "servers - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-!ERROR An invalid configuration is specified.
-!ENDIF
-
-!IF "$(OS)" == "Windows_NT"
-NULL=
-!ELSE
-NULL=nul
-!ENDIF
-################################################################################
-# Begin Project
-# PROP Target_Last_Scanned "servers - Win32 Debug"
-RSC=rc.exe
-CPP=cl.exe
-
-!IF "$(CFG)" == "servers - 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 Target_Dir ""
-OUTDIR=.
-INTDIR=.\Release
-
-ALL : "$(OUTDIR)\main.exe"
-
-CLEAN :
- -@erase "$(INTDIR)\main.obj"
- -@erase "$(OUTDIR)\main.exe"
-
-"$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
-
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE"\
- /Fp"$(INTDIR)/servers4.pch" /YX /Fo"$(INTDIR)/" /c
-CPP_OBJS=.\Release/
-CPP_SBRS=.\.
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/servers4.bsc"
-BSC32_SBRS= \
-
-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 /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib ..\lib\netsvcs.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386 /out:"main.exe"
-LINK32_FLAGS=ace.lib ..\lib\netsvcs.lib kernel32.lib user32.lib gdi32.lib\
- winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib\
- uuid.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)/main.pdb"\
- /machine:I386 /out:"$(OUTDIR)/main.exe"
-LINK32_OBJS= \
- "$(INTDIR)\main.obj"
-
-"$(OUTDIR)\main.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
-<<
-
-!ELSEIF "$(CFG)" == "servers - 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 Target_Dir ""
-OUTDIR=.
-INTDIR=.\debug
-
-ALL : "$(OUTDIR)\main.exe"
-
-CLEAN :
- -@erase "$(INTDIR)\main.obj"
- -@erase "$(INTDIR)\vc40.idb"
- -@erase "$(INTDIR)\vc40.pdb"
- -@erase "$(OUTDIR)\main.exe"
- -@erase "$(OUTDIR)\main.ilk"
- -@erase "$(OUTDIR)\main.pdb"
-
-"$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
-
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\lib" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\lib" /D "WIN32" /D "_DEBUG" /D\
- "_CONSOLE" /Fp"$(INTDIR)/servers4.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c
-CPP_OBJS=.\debug/
-CPP_SBRS=.\.
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/servers4.bsc"
-BSC32_SBRS= \
-
-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 /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 aced.lib ..\lib\netsvcs.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386 /out:"main.exe"
-LINK32_FLAGS=aced.lib ..\lib\netsvcs.lib kernel32.lib user32.lib gdi32.lib\
- winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib\
- uuid.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)/main.pdb"\
- /debug /machine:I386 /out:"$(OUTDIR)/main.exe"
-LINK32_OBJS= \
- "$(INTDIR)\main.obj"
-
-"$(OUTDIR)\main.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
-<<
-
-!ENDIF
-
-.c{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.cpp{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.cxx{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.c{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-.cpp{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-.cxx{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-################################################################################
-# Begin Target
-
-# Name "servers - Win32 Release"
-# Name "servers - Win32 Debug"
-
-!IF "$(CFG)" == "servers - Win32 Release"
-
-!ELSEIF "$(CFG)" == "servers - Win32 Debug"
-
-!ENDIF
-
-################################################################################
-# Begin Source File
-
-SOURCE=.\main.cpp
-
-!IF "$(CFG)" == "servers - Win32 Release"
-
-DEP_CPP_MAIN_=\
- "..\..\ace\config-win32.h"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Atomic_Op.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Containers.cpp"\
- {$(INCLUDE)}"\ace\Containers.h"\
- {$(INCLUDE)}"\ace\Containers.i"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Free_List.cpp"\
- {$(INCLUDE)}"\ace\Free_List.h"\
- {$(INCLUDE)}"\ace\Free_List.i"\
- {$(INCLUDE)}"\ace\Handle_Set.h"\
- {$(INCLUDE)}"\ace\Handle_Set.i"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Malloc.h"\
- {$(INCLUDE)}"\ace\Malloc.i"\
- {$(INCLUDE)}"\ace\Malloc_T.cpp"\
- {$(INCLUDE)}"\ace\Malloc_T.h"\
- {$(INCLUDE)}"\ace\Malloc_T.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Mem_Map.h"\
- {$(INCLUDE)}"\ace\Mem_Map.i"\
- {$(INCLUDE)}"\ace\Memory_Pool.h"\
- {$(INCLUDE)}"\ace\Memory_Pool.i"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Reactor.h"\
- {$(INCLUDE)}"\ace\Reactor.i"\
- {$(INCLUDE)}"\ace\Reactor_Impl.h"\
- {$(INCLUDE)}"\ace\Service_Config.h"\
- {$(INCLUDE)}"\ace\Service_Config.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\Signal.h"\
- {$(INCLUDE)}"\ace\Signal.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.i"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.i"\
- {$(INCLUDE)}"\ace\Svc_Conf_Tokens.h"\
- {$(INCLUDE)}"\ace\Synch.h"\
- {$(INCLUDE)}"\ace\Synch.i"\
- {$(INCLUDE)}"\ace\Synch_T.cpp"\
- {$(INCLUDE)}"\ace\Synch_T.h"\
- {$(INCLUDE)}"\ace\Synch_T.i"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Thread.h"\
- {$(INCLUDE)}"\ace\Thread.i"\
- {$(INCLUDE)}"\ace\Timer_Queue.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.i"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\STAT.H"\
- {$(INCLUDE)}"\sys\TYPES.H"\
-
-NODEP_CPP_MAIN_=\
- ".\Client_Logging_Handler.h"\
- ".\Logging_Strategy.h"\
- ".\Name_Handler.h"\
- ".\Server_Logging_Handler.h"\
- ".\Token_Handler.h"\
- ".\TS_Clerk_Handler.h"\
- ".\TS_Server_Handler.h"\
-
-
-"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)"
-
-
-!ELSEIF "$(CFG)" == "servers - Win32 Debug"
-
-DEP_CPP_MAIN_=\
- "..\..\ace\config-win32.h"\
- "..\lib\Base_Optimizer.cpp"\
- "..\lib\Base_Optimizer.h"\
- "..\lib\Client_Logging_Handler.h"\
- "..\lib\Log_Message_Receiver.cpp"\
- "..\lib\Log_Message_Receiver.h"\
- "..\lib\Logging_Strategy.h"\
- "..\lib\Name_Handler.h"\
- "..\lib\Server_Logging_Handler.h"\
- "..\lib\Server_Logging_Handler_T.cpp"\
- "..\lib\Server_Logging_Handler_T.h"\
- "..\lib\Token_Handler.h"\
- "..\lib\TS_Clerk_Handler.h"\
- "..\lib\TS_Server_Handler.h"\
- {$(INCLUDE)}"\ace\Acceptor.cpp"\
- {$(INCLUDE)}"\ace\Acceptor.h"\
- {$(INCLUDE)}"\ace\Acceptor.i"\
- {$(INCLUDE)}"\ace\ACE.h"\
- {$(INCLUDE)}"\ace\ACE.i"\
- {$(INCLUDE)}"\ace\Addr.h"\
- {$(INCLUDE)}"\ace\Addr.i"\
- {$(INCLUDE)}"\ace\Atomic_Op.i"\
- {$(INCLUDE)}"\ace\Auto_Ptr.cpp"\
- {$(INCLUDE)}"\ace\Auto_Ptr.h"\
- {$(INCLUDE)}"\ace\Auto_Ptr.i"\
- {$(INCLUDE)}"\ace\Basic_Types.h"\
- {$(INCLUDE)}"\ace\Basic_Types.i"\
- {$(INCLUDE)}"\ace\config-win32-common.h"\
- {$(INCLUDE)}"\ace\config.h"\
- {$(INCLUDE)}"\ace\Connector.cpp"\
- {$(INCLUDE)}"\ace\Connector.h"\
- {$(INCLUDE)}"\ace\Connector.i"\
- {$(INCLUDE)}"\ace\Containers.cpp"\
- {$(INCLUDE)}"\ace\Containers.h"\
- {$(INCLUDE)}"\ace\Containers.i"\
- {$(INCLUDE)}"\ace\Dynamic.h"\
- {$(INCLUDE)}"\ace\Dynamic.i"\
- {$(INCLUDE)}"\ace\Event_Handler.h"\
- {$(INCLUDE)}"\ace\Event_Handler.i"\
- {$(INCLUDE)}"\ace\Free_List.cpp"\
- {$(INCLUDE)}"\ace\Free_List.h"\
- {$(INCLUDE)}"\ace\Free_List.i"\
- {$(INCLUDE)}"\ace\Get_Opt.h"\
- {$(INCLUDE)}"\ace\Get_Opt.i"\
- {$(INCLUDE)}"\ace\Handle_Set.h"\
- {$(INCLUDE)}"\ace\Handle_Set.i"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Hash_Map_Manager.h"\
- {$(INCLUDE)}"\ace\inc_user_config.h"\
- {$(INCLUDE)}"\ace\INET_Addr.h"\
- {$(INCLUDE)}"\ace\INET_Addr.i"\
- {$(INCLUDE)}"\ace\IO_Cntl_Msg.h"\
- {$(INCLUDE)}"\ace\iosfwd.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.h"\
- {$(INCLUDE)}"\ace\IPC_SAP.i"\
- {$(INCLUDE)}"\ace\Local_Tokens.h"\
- {$(INCLUDE)}"\ace\Local_Tokens.i"\
- {$(INCLUDE)}"\ace\Log_Msg.h"\
- {$(INCLUDE)}"\ace\Log_Priority.h"\
- {$(INCLUDE)}"\ace\Log_Record.h"\
- {$(INCLUDE)}"\ace\Log_Record.i"\
- {$(INCLUDE)}"\ace\Malloc.h"\
- {$(INCLUDE)}"\ace\Malloc.i"\
- {$(INCLUDE)}"\ace\Malloc_T.cpp"\
- {$(INCLUDE)}"\ace\Malloc_T.h"\
- {$(INCLUDE)}"\ace\Malloc_T.i"\
- {$(INCLUDE)}"\ace\Managed_Object.cpp"\
- {$(INCLUDE)}"\ace\Managed_Object.h"\
- {$(INCLUDE)}"\ace\Managed_Object.i"\
- {$(INCLUDE)}"\ace\Map_Manager.cpp"\
- {$(INCLUDE)}"\ace\Map_Manager.h"\
- {$(INCLUDE)}"\ace\Map_Manager.i"\
- {$(INCLUDE)}"\ace\Mem_Map.h"\
- {$(INCLUDE)}"\ace\Mem_Map.i"\
- {$(INCLUDE)}"\ace\Memory_Pool.h"\
- {$(INCLUDE)}"\ace\Memory_Pool.i"\
- {$(INCLUDE)}"\ace\Message_Block.h"\
- {$(INCLUDE)}"\ace\Message_Block.i"\
- {$(INCLUDE)}"\ace\Message_Queue.cpp"\
- {$(INCLUDE)}"\ace\Message_Queue.h"\
- {$(INCLUDE)}"\ace\Message_Queue.i"\
- {$(INCLUDE)}"\ace\Module.cpp"\
- {$(INCLUDE)}"\ace\Module.h"\
- {$(INCLUDE)}"\ace\Module.i"\
- {$(INCLUDE)}"\ace\Name_Proxy.h"\
- {$(INCLUDE)}"\ace\Name_Request_Reply.h"\
- {$(INCLUDE)}"\ace\Name_Space.h"\
- {$(INCLUDE)}"\ace\Naming_Context.h"\
- {$(INCLUDE)}"\ace\Object_Manager.h"\
- {$(INCLUDE)}"\ace\Object_Manager.i"\
- {$(INCLUDE)}"\ace\OS.h"\
- {$(INCLUDE)}"\ace\OS.i"\
- {$(INCLUDE)}"\ace\Reactor.h"\
- {$(INCLUDE)}"\ace\Reactor.i"\
- {$(INCLUDE)}"\ace\Reactor_Impl.h"\
- {$(INCLUDE)}"\ace\Service_Config.h"\
- {$(INCLUDE)}"\ace\Service_Config.i"\
- {$(INCLUDE)}"\ace\Service_Object.h"\
- {$(INCLUDE)}"\ace\Service_Object.i"\
- {$(INCLUDE)}"\ace\Service_Types.h"\
- {$(INCLUDE)}"\ace\Service_Types.i"\
- {$(INCLUDE)}"\ace\Shared_Object.h"\
- {$(INCLUDE)}"\ace\Shared_Object.i"\
- {$(INCLUDE)}"\ace\Signal.h"\
- {$(INCLUDE)}"\ace\Signal.i"\
- {$(INCLUDE)}"\ace\Singleton.cpp"\
- {$(INCLUDE)}"\ace\Singleton.h"\
- {$(INCLUDE)}"\ace\Singleton.i"\
- {$(INCLUDE)}"\ace\SOCK.h"\
- {$(INCLUDE)}"\ace\SOCK.i"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.h"\
- {$(INCLUDE)}"\ace\SOCK_Acceptor.i"\
- {$(INCLUDE)}"\ace\SOCK_Connector.h"\
- {$(INCLUDE)}"\ace\SOCK_Connector.i"\
- {$(INCLUDE)}"\ace\SOCK_IO.h"\
- {$(INCLUDE)}"\ace\SOCK_IO.i"\
- {$(INCLUDE)}"\ace\SOCK_Stream.h"\
- {$(INCLUDE)}"\ace\SOCK_Stream.i"\
- {$(INCLUDE)}"\ace\SPIPE.h"\
- {$(INCLUDE)}"\ace\SPIPE.i"\
- {$(INCLUDE)}"\ace\SPIPE_Addr.h"\
- {$(INCLUDE)}"\ace\SPIPE_Addr.i"\
- {$(INCLUDE)}"\ace\SPIPE_Stream.h"\
- {$(INCLUDE)}"\ace\SPIPE_Stream.i"\
- {$(INCLUDE)}"\ace\SString.h"\
- {$(INCLUDE)}"\ace\SString.i"\
- {$(INCLUDE)}"\ace\Strategies.h"\
- {$(INCLUDE)}"\ace\Strategies_T.cpp"\
- {$(INCLUDE)}"\ace\Strategies_T.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.cpp"\
- {$(INCLUDE)}"\ace\Stream_Modules.h"\
- {$(INCLUDE)}"\ace\Stream_Modules.i"\
- {$(INCLUDE)}"\ace\streams.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Complex.i"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.h"\
- {$(INCLUDE)}"\ace\SV_Semaphore_Simple.i"\
- {$(INCLUDE)}"\ace\Svc_Conf_Tokens.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.cpp"\
- {$(INCLUDE)}"\ace\Svc_Handler.h"\
- {$(INCLUDE)}"\ace\Svc_Handler.i"\
- {$(INCLUDE)}"\ace\Synch.h"\
- {$(INCLUDE)}"\ace\Synch.i"\
- {$(INCLUDE)}"\ace\Synch_Options.h"\
- {$(INCLUDE)}"\ace\Synch_T.cpp"\
- {$(INCLUDE)}"\ace\Synch_T.h"\
- {$(INCLUDE)}"\ace\Synch_T.i"\
- {$(INCLUDE)}"\ace\sys_conf.h"\
- {$(INCLUDE)}"\ace\Task.h"\
- {$(INCLUDE)}"\ace\Task.i"\
- {$(INCLUDE)}"\ace\Task_T.cpp"\
- {$(INCLUDE)}"\ace\Task_T.h"\
- {$(INCLUDE)}"\ace\Task_T.i"\
- {$(INCLUDE)}"\ace\Thread.h"\
- {$(INCLUDE)}"\ace\Thread.i"\
- {$(INCLUDE)}"\ace\Thread_Manager.h"\
- {$(INCLUDE)}"\ace\Thread_Manager.i"\
- {$(INCLUDE)}"\ace\Time_Request_Reply.h"\
- {$(INCLUDE)}"\ace\Time_Value.h"\
- {$(INCLUDE)}"\ace\Timer_Queue.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.cpp"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.h"\
- {$(INCLUDE)}"\ace\Timer_Queue_T.i"\
- {$(INCLUDE)}"\ace\TLI.h"\
- {$(INCLUDE)}"\ace\TLI.i"\
- {$(INCLUDE)}"\ace\TLI_Acceptor.h"\
- {$(INCLUDE)}"\ace\TLI_Acceptor.i"\
- {$(INCLUDE)}"\ace\TLI_Stream.h"\
- {$(INCLUDE)}"\ace\TLI_Stream.i"\
- {$(INCLUDE)}"\ace\Token_Collection.h"\
- {$(INCLUDE)}"\ace\Token_Collection.i"\
- {$(INCLUDE)}"\ace\Token_Request_Reply.h"\
- {$(INCLUDE)}"\ace\Token_Request_Reply.i"\
- {$(INCLUDE)}"\ace\Trace.h"\
- {$(INCLUDE)}"\ace\Version.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.h"\
- {$(INCLUDE)}"\ace\WFMO_Reactor.i"\
- {$(INCLUDE)}"\ace\ws2tcpip.h"\
- {$(INCLUDE)}"\sys\STAT.H"\
- {$(INCLUDE)}"\sys\TYPES.H"\
-
-
-"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)"
-
-
-!ENDIF
-
-# End Source File
-# End Target
-# End Project
-################################################################################
diff --git a/netsvcs/servers/servers4.mdp b/netsvcs/servers/servers4.mdp deleted file mode 100644 index 6ef345082de..00000000000 --- a/netsvcs/servers/servers4.mdp +++ /dev/null @@ -1,12 +0,0 @@ -total 232
-drwxr-xr-x 2 shuston guest 512 Mar 11 13:35 CVS
--rw-r--r-- 1 shuston guest 4764 Jan 15 14:18 Makefile
--rw-r--r-- 1 shuston guest 1598 Nov 30 19:44 README
--rw-r--r-- 1 shuston guest 164 Jan 15 15:52 VCAUTO.MAK
--rw-r--r-- 1 shuston guest 3175 Jan 1 14:06 main.cpp
--rw-r--r-- 1 shuston guest 28212 Jan 15 15:52 servers.MAK
--rw-r--r-- 1 shuston guest 7037 Oct 27 11:57 servers.dsp
--rw-r--r-- 1 shuston guest 537 Jul 7 1997 servers.dsw
--rw-r--r-- 1 shuston guest 15633 Jan 13 16:57 servers4.mak
--rw-r--r-- 1 shuston guest 49664 Jan 13 16:57 servers4.mdp
--rw-r--r-- 1 shuston guest 1224 Sep 18 1997 svc.conf
diff --git a/netsvcs/servers/svc.conf b/netsvcs/servers/svc.conf deleted file mode 100644 index 78b59eab3a9..00000000000 --- a/netsvcs/servers/svc.conf +++ /dev/null @@ -1,17 +0,0 @@ -# These are the services that can be linked into ACE. -# Note that you can replace the hardcoded "../lib/netsvcs" with -# a relative path if you set your LD search path correctly -- ACE will -# locate this for you automatically by reading your LD search path. -# Moreover, ACE will automatically insert the correct suffix (e.g., -# ".dll", ".so", etc.). In addition, you can replace the hardcoded -# "-p 20xxx" with "-p $PORTxxx" if you set your environment variables -# correctly. - -dynamic Logger Service_Object * ../lib/netsvcs:_make_ACE_Logging_Strategy() "-s foobar -f STDERR|OSTREAM" -dynamic Time_Service Service_Object * ../lib/netsvcs:_make_ACE_TS_Server_Acceptor() "-p 20222" -dynamic Name_Server Service_Object * ../lib/netsvcs:_make_ACE_Name_Acceptor() "-p 20012" -dynamic Token_Service Service_Object * ../lib/netsvcs:_make_ACE_Token_Acceptor() "-p 20202" -dynamic Server_Logging_Service Service_Object * ../lib/netsvcs:_make_ACE_Server_Logging_Acceptor() active "-p 20009" -dynamic Thr_Server_Logging_Service Service_Object * ../lib/netsvcs:_make_ACE_Thr_Server_Logging_Acceptor() active "-p 20020" -dynamic Client_Logging_Service Service_Object * ../lib/netsvcs:_make_ACE_Client_Logging_Acceptor() active "-p 20009" - |