diff options
author | gonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-31 22:55:22 +0000 |
---|---|---|
committer | gonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-31 22:55:22 +0000 |
commit | 2dcdd3b6a1806cf231a4ccdca59a106132d9e1be (patch) | |
tree | 7774cf0fef5bbe805a0e0817bb55ff8ad5489c7f /examples/ASX | |
parent | 85b30f9d091af39e1e61fa92ce8f351ee520bc31 (diff) | |
download | ATCD-2dcdd3b6a1806cf231a4ccdca59a106132d9e1be.tar.gz |
Added ACE_RCSID to examples/
Diffstat (limited to 'examples/ASX')
19 files changed, 57 insertions, 14 deletions
diff --git a/examples/ASX/CCM_App/CCM_App.cpp b/examples/ASX/CCM_App/CCM_App.cpp index e0330cf53de..33950fc4015 100644 --- a/examples/ASX/CCM_App/CCM_App.cpp +++ b/examples/ASX/CCM_App/CCM_App.cpp @@ -1,10 +1,13 @@ -#define ACE_BUILD_SVC_DLL // $Id$ +#define ACE_BUILD_SVC_DLL + #include "ace/Stream.h" #include "ace/Task.h" #include "ace/Module.h" +ACE_RCSID(CCM_App, CCM_App, "$Id$") + typedef ACE_Task<ACE_SYNCH> MT_Task; typedef ACE_Stream<ACE_SYNCH> MT_Stream; typedef ACE_Module<ACE_SYNCH> MT_Module; diff --git a/examples/ASX/CCM_App/SC_Client.cpp b/examples/ASX/CCM_App/SC_Client.cpp index b1dc59ae2ee..41453b3eb5d 100644 --- a/examples/ASX/CCM_App/SC_Client.cpp +++ b/examples/ASX/CCM_App/SC_Client.cpp @@ -1,6 +1,10 @@ -// Pretty simple, eh? ;-) // $Id$ +#include "ace/ACE.h" + +ACE_RCSID(CCM_App, SC_Client, "$Id$") + +// Pretty simple, eh? ;-) int main (int, char *[]) diff --git a/examples/ASX/CCM_App/SC_Server.cpp b/examples/ASX/CCM_App/SC_Server.cpp index 0261cb39282..189a46ab98c 100644 --- a/examples/ASX/CCM_App/SC_Server.cpp +++ b/examples/ASX/CCM_App/SC_Server.cpp @@ -1,12 +1,14 @@ -// Simple driver program for the server. // $Id$ +// Simple driver program for the server. #include "ace/Service_Config.h" #include "ace/Thread_Manager.h" #include "ace/Synch.h" #include "ace/Signal.h" +ACE_RCSID(CCM_App, SC_Server, "$Id$") + class Event_Handler : public ACE_Event_Handler { public: @@ -44,9 +46,9 @@ main (int argc, char *argv[]) Event_Handler handler; ACE_Sig_Adapter shutdown_handler ((ACE_Sig_Handler_Ex) ACE_Reactor::end_event_loop); - if (ACE::register_stdin_handler (&handler, - ACE_Reactor::instance (), - ACE_Thread_Manager::instance ()) == -1) + if (ACE_Event_Handler::register_stdin_handler (&handler, + ACE_Reactor::instance (), + ACE_Thread_Manager::instance ()) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "register_stdin_handler")); if (loggerd.open (argc, argv) == -1 && errno != ENOENT) diff --git a/examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp b/examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp index 27788af3719..165e370e87b 100644 --- a/examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp +++ b/examples/ASX/Event_Server/Event_Server/Consumer_Router.cpp @@ -3,6 +3,8 @@ #include "Consumer_Router.h" #include "Options.h" +ACE_RCSID(Event_Server, Consumer_Router, "$Id$") + Consumer_Router::Consumer_Router (Peer_Router_Context *prc) : Peer_Router (prc) { diff --git a/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp b/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp index 5a796f31bd8..4e4bce2f993 100644 --- a/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp +++ b/examples/ASX/Event_Server/Event_Server/Event_Analyzer.cpp @@ -3,6 +3,8 @@ #include "Options.h" #include "Event_Analyzer.h" +ACE_RCSID(Event_Server, Event_Analyzer, "$Id$") + int Event_Analyzer::open (void *) { diff --git a/examples/ASX/Event_Server/Event_Server/Options.cpp b/examples/ASX/Event_Server/Event_Server/Options.cpp index 3febf822a22..96c6073d76a 100644 --- a/examples/ASX/Event_Server/Event_Server/Options.cpp +++ b/examples/ASX/Event_Server/Event_Server/Options.cpp @@ -6,6 +6,8 @@ #include "Options.h" +ACE_RCSID(Event_Server, Options, "$Id$") + /* static */ Options *Options::instance_ = 0; diff --git a/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp b/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp index 5ddf9e1b78a..b01611b14d6 100644 --- a/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp +++ b/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp @@ -8,6 +8,8 @@ #include "Options.h" #include "Peer_Router.h" +ACE_RCSID(Event_Server, Peer_Router, "$Id$") + // Send the <ACE_Message_Block> to all the peers. Note that in a // "real" application this logic would most likely be more selective, // i.e., it would actually do "routing" based on addressing diff --git a/examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp b/examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp index e42c9371eed..7e2018a3d56 100644 --- a/examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp +++ b/examples/ASX/Event_Server/Event_Server/Supplier_Router.cpp @@ -3,6 +3,8 @@ #include "Supplier_Router.h" #include "Options.h" +ACE_RCSID(Event_Server, Supplier_Router, "$Id$") + // Handle outgoing messages in a separate thread. int diff --git a/examples/ASX/Event_Server/Event_Server/event_server.cpp b/examples/ASX/Event_Server/Event_Server/event_server.cpp index 023d2427e14..dd4cdc87b3f 100644 --- a/examples/ASX/Event_Server/Event_Server/event_server.cpp +++ b/examples/ASX/Event_Server/Event_Server/event_server.cpp @@ -9,6 +9,8 @@ #include "Event_Analyzer.h" #include "Supplier_Router.h" +ACE_RCSID(Event_Server, event_server, "$Id$") + // Typedef these components to handle multi-threading correctly. typedef ACE_Stream<ACE_SYNCH> MT_Stream; typedef ACE_Module<ACE_SYNCH> MT_Module; diff --git a/examples/ASX/Event_Server/Transceiver/transceiver.cpp b/examples/ASX/Event_Server/Transceiver/transceiver.cpp index 640955c1f8c..a53530d0942 100644 --- a/examples/ASX/Event_Server/Transceiver/transceiver.cpp +++ b/examples/ASX/Event_Server/Transceiver/transceiver.cpp @@ -9,6 +9,8 @@ #include "ace/SOCK_Connector.h" #include "ace/Get_Opt.h" +ACE_RCSID(Transceiver, transceiver, "$Id$") + class Event_Transceiver : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> { // = TITLE diff --git a/examples/ASX/Message_Queue/bounded_buffer.cpp b/examples/ASX/Message_Queue/bounded_buffer.cpp index e0ea691d433..338b83dd5d9 100644 --- a/examples/ASX/Message_Queue/bounded_buffer.cpp +++ b/examples/ASX/Message_Queue/bounded_buffer.cpp @@ -7,6 +7,8 @@ #include "ace/Message_Queue.h" #include "ace/Thread_Manager.h" +ACE_RCSID(Message_Queue, bounded_buffer, "$Id$") + #if defined (ACE_HAS_THREADS) // Global thread manager. diff --git a/examples/ASX/Message_Queue/buffer_stream.cpp b/examples/ASX/Message_Queue/buffer_stream.cpp index 4d8c86b9703..a3132c0beac 100644 --- a/examples/ASX/Message_Queue/buffer_stream.cpp +++ b/examples/ASX/Message_Queue/buffer_stream.cpp @@ -14,6 +14,8 @@ #include "ace/Module.h" #include "ace/Task.h" +ACE_RCSID(Message_Queue, buffer_stream, "$Id$") + #if defined (ACE_HAS_THREADS) typedef ACE_Stream<ACE_MT_SYNCH> MT_Stream; diff --git a/examples/ASX/Message_Queue/priority_buffer.cpp b/examples/ASX/Message_Queue/priority_buffer.cpp index 52976df02d5..9b20e8b36a3 100644 --- a/examples/ASX/Message_Queue/priority_buffer.cpp +++ b/examples/ASX/Message_Queue/priority_buffer.cpp @@ -9,6 +9,8 @@ #include "ace/Thread_Manager.h" #include "ace/Service_Config.h" +ACE_RCSID(Message_Queue, priority_buffer, "$Id$") + #if defined (ACE_HAS_THREADS) // Global thread manager. diff --git a/examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp b/examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp index 71c152b0687..5e15bdf137a 100644 --- a/examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp +++ b/examples/ASX/UPIPE_Event_Server/Consumer_Router.cpp @@ -1,8 +1,10 @@ -#include "Consumer_Router.h" // $Id$ +#include "Consumer_Router.h" #include "Options.h" +ACE_RCSID(UPIPE_Event_Server, Consumer_Router, "$Id$") + #if defined (ACE_HAS_THREADS) typedef Acceptor_Factory<Consumer_Handler, CONSUMER_KEY> CONSUMER_FACTORY; diff --git a/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp b/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp index 10133b3c90e..9568788e417 100644 --- a/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp +++ b/examples/ASX/UPIPE_Event_Server/Event_Analyzer.cpp @@ -1,6 +1,8 @@ -#include "Event_Analyzer.h" // $Id$ +#include "Event_Analyzer.h" + +ACE_RCSID(UPIPE_Event_Server, Event_Analyzer, "$Id$") #if defined (ACE_HAS_THREADS) diff --git a/examples/ASX/UPIPE_Event_Server/Options.cpp b/examples/ASX/UPIPE_Event_Server/Options.cpp index f77333da2a3..1865bc84b08 100644 --- a/examples/ASX/UPIPE_Event_Server/Options.cpp +++ b/examples/ASX/UPIPE_Event_Server/Options.cpp @@ -1,10 +1,12 @@ -#include "ace/Get_Opt.h" // $Id$ +#include "ace/Get_Opt.h" #include "ace/Synch.h" #include "Options.h" +ACE_RCSID(UPIPE_Event_Server, Options, "$Id$") + #if defined (ACE_HAS_THREADS) Options::Options (void) diff --git a/examples/ASX/UPIPE_Event_Server/Peer_Router.cpp b/examples/ASX/UPIPE_Event_Server/Peer_Router.cpp index d87ed2b263f..325456c46d4 100644 --- a/examples/ASX/UPIPE_Event_Server/Peer_Router.cpp +++ b/examples/ASX/UPIPE_Event_Server/Peer_Router.cpp @@ -1,6 +1,7 @@ -#if !defined (_PEER_ROUTER_C) // $Id$ +#if !defined (_PEER_ROUTER_C) + #define _PEER_ROUTER_C #include "ace/Get_Opt.h" @@ -9,6 +10,8 @@ #include "Peer_Router.h" #include "Options.h" +ACE_RCSID(UPIPE_Event_Server, Peer_Router, "$Id$") + #if defined (ACE_HAS_THREADS) // Define some short-hand macros to deal with long templates diff --git a/examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp b/examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp index b12f30a411f..8acac06b97b 100644 --- a/examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp +++ b/examples/ASX/UPIPE_Event_Server/Supplier_Router.cpp @@ -3,6 +3,8 @@ #include "Options.h" #include "Supplier_Router.h" +ACE_RCSID(UPIPE_Event_Server, Supplier_Router, "$Id$") + #if defined (ACE_HAS_THREADS) typedef Acceptor_Factory<Supplier_Handler, SUPPLIER_KEY> SUPPLIER_FACTORY; diff --git a/examples/ASX/UPIPE_Event_Server/event_server.cpp b/examples/ASX/UPIPE_Event_Server/event_server.cpp index 08a339b4b03..0aecd9b992d 100644 --- a/examples/ASX/UPIPE_Event_Server/event_server.cpp +++ b/examples/ASX/UPIPE_Event_Server/event_server.cpp @@ -1,15 +1,18 @@ -// Test the event server. // $Id$ +// Test the event server. + #include "ace/Stream.h" #include "ace/Service_Config.h" +#include "ace/UPIPE_Acceptor.h" +#include "ace/UPIPE_Connector.h" +#include "ace/streams.h" #include "Options.h" #include "Consumer_Router.h" #include "Event_Analyzer.h" #include "Supplier_Router.h" -#include "ace/UPIPE_Acceptor.h" -#include "ace/UPIPE_Connector.h" -#include "ace/streams.h" + +ACE_RCSID(UPIPE_Event_Server, event_server, "$Id$") #if defined (ACE_HAS_THREADS) |