diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-10-23 14:05:52 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-10-23 14:05:52 +0200 |
commit | f330084b3ff87d778f5c2d9cb2bb86b1bebdb7fc (patch) | |
tree | 574c54c3e354cfb4ee5a8356b357c68cbb645cac /ACE/apps | |
parent | c9c176cf7f50117e144581839da7c91b556586e1 (diff) | |
download | ATCD-f330084b3ff87d778f5c2d9cb2bb86b1bebdb7fc.tar.gz |
Minor layout changes
* ACE/ace/Process_Manager.cpp:
* ACE/ace/Process_Manager.h:
* ACE/ace/Service_Config.cpp:
* ACE/ace/Sig_Adapter.cpp:
* ACE/ace/Sig_Handler.cpp:
* ACE/ace/Test_and_Set.h:
* ACE/ace/Timer_Queue_Adapters.cpp:
* ACE/ace/WFMO_Reactor.cpp:
* ACE/ace/WFMO_Reactor.inl:
* ACE/apps/Gateway/Gateway/Gateway.cpp:
* ACE/examples/APG/Reactor/HAStatus.cpp:
* ACE/examples/APG/Reactor/Reschedule.cpp:
* ACE/examples/APG/Reactor/Schedule_Timers.cpp:
* ACE/examples/APG/Reactor/Timer_Cancel.cpp:
* ACE/examples/APG/Reactor/Timer_State_Data.cpp:
* ACE/examples/APG/Signals/SigGuard.cpp:
* ACE/examples/APG/Signals/SigHandler.cpp:
* ACE/examples/APG/Signals/SigInfo.cpp:
* ACE/examples/APG/ThreadManagement/Signals.cpp:
* ACE/examples/APG/ThreadManagement/Signals2.cpp:
* ACE/examples/ASX/Event_Server/Transceiver/transceiver.cpp:
* ACE/examples/Connection/blocking/SPIPE-acceptor.cpp:
* ACE/examples/Connection/misc/Connection_Handler.cpp:
* ACE/examples/Connection/misc/Connection_Handler.h:
* ACE/examples/Connection/non_blocking/CPP-connector.cpp:
* ACE/examples/QOS/Change_Receiver_FlowSpec/QoS_Signal_Handler.h:
* ACE/examples/QOS/Change_Sender_TSpec/QoS_Signal_Handler.cpp:
* ACE/examples/QOS/Change_Sender_TSpec/QoS_Signal_Handler.h:
* ACE/examples/QOS/Simple/QoS_Signal_Handler.h:
* ACE/examples/Reactor/Misc/notification.cpp:
* ACE/examples/Reactor/Misc/test_demuxing.cpp:
* ACE/examples/Reactor/Misc/test_event_handler_t.cpp:
* ACE/examples/Reactor/Misc/test_signals_1.cpp:
* ACE/examples/Reactor/Misc/test_signals_2.cpp:
* ACE/examples/Reactor/WFMO_Reactor/APC.cpp:
* ACE/examples/Reactor/WFMO_Reactor/Abandoned.cpp:
* ACE/examples/Reactor/WFMO_Reactor/Directory_Changes.cpp:
* ACE/examples/Reactor/WFMO_Reactor/Registry_Changes.cpp:
* ACE/examples/Reactor/WFMO_Reactor/Talker.cpp:
* ACE/examples/Reactor/WFMO_Reactor/Window_Messages.cpp:
* ACE/netsvcs/lib/TS_Clerk_Handler.h:
* ACE/tests/Bug_2368_Regression_Test.cpp:
* ACE/tests/Network_Adapters_Test.cpp:
* ACE/tests/Network_Adapters_Test.h:
* ACE/tests/Reference_Counted_Event_Handler_Test.cpp:
Diffstat (limited to 'ACE/apps')
-rw-r--r-- | ACE/apps/Gateway/Gateway/Gateway.cpp | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/ACE/apps/Gateway/Gateway/Gateway.cpp b/ACE/apps/Gateway/Gateway/Gateway.cpp index 0aa586c6fc8..a711cd4d7a8 100644 --- a/ACE/apps/Gateway/Gateway/Gateway.cpp +++ b/ACE/apps/Gateway/Gateway/Gateway.cpp @@ -10,53 +10,49 @@ #include "Event_Channel.h" #include "Gateway.h" +// Integrates the whole Gateway application. +// +// This implementation uses the <Event_Channel> as the basis +// for the <Gateway> routing. class ACE_Svc_Export Gateway : public ACE_Service_Object { - // = TITLE - // Integrates the whole Gateway application. - // - // = DESCRIPTION - // This implementation uses the <Event_Channel> as the basis - // for the <Gateway> routing. protected: // = Service configurator hooks. - virtual int init (int argc, ACE_TCHAR *argv[]); // Perform initialization. + virtual int init (int argc, ACE_TCHAR *argv[]); - virtual int fini (); // Perform termination when unlinked dynamically. + virtual int fini (); - virtual int info (ACE_TCHAR **, size_t) const; // Return info about this service. + virtual int info (ACE_TCHAR **, size_t) const; // = Configuration methods. - int parse_connection_config_file (void); // Parse the proxy configuration file. + int parse_connection_config_file (void); - int parse_consumer_config_file (void); // Parse the consumer configuration file. + int parse_consumer_config_file (void); // = Lifecycle management methods. - int handle_input (ACE_HANDLE); // Shut down the Gateway when input comes in from the controlling // console. + int handle_input (ACE_HANDLE); - int handle_signal (int signum, siginfo_t * = 0, ucontext_t * = 0); // Shut down the Gateway when a signal arrives. + int handle_signal (int signum, siginfo_t * = 0, ucontext_t * = 0); - Event_Channel event_channel_; // The Event Channel routes events from Supplier(s) to Consumer(s) // using <Supplier_Handler> and <Consumer_Handler> objects. + Event_Channel event_channel_; - Connection_Handler_Factory connection_handler_factory_; // Creates the appropriate type of <Connection_Handlers>. + Connection_Handler_Factory connection_handler_factory_; }; int -Gateway::handle_signal (int signum, siginfo_t *, ucontext_t *) +Gateway::handle_signal (int, siginfo_t *, ucontext_t *) { - ACE_UNUSED_ARG (signum); - // Shut down the main event loop. ACE_Reactor::end_event_loop (); return 0; |