summaryrefslogtreecommitdiff
path: root/apps/Gateway/Gateway/Gateway.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-26 19:58:38 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-07-26 19:58:38 +0000
commit0835111a16e80a4807bcc10831b86476fde0932e (patch)
tree0a7b9e174bf1e5bf3b6e78b2ed608270ba605f8f /apps/Gateway/Gateway/Gateway.cpp
parent24532b6550f9451649a5794bf46aa4744676e4e9 (diff)
downloadATCD-0835111a16e80a4807bcc10831b86476fde0932e.tar.gz
*** empty log message ***
Diffstat (limited to 'apps/Gateway/Gateway/Gateway.cpp')
-rw-r--r--apps/Gateway/Gateway/Gateway.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/Gateway/Gateway/Gateway.cpp b/apps/Gateway/Gateway/Gateway.cpp
index edf8d24df14..4c55cb71ddf 100644
--- a/apps/Gateway/Gateway/Gateway.cpp
+++ b/apps/Gateway/Gateway/Gateway.cpp
@@ -70,7 +70,7 @@ Gateway::handle_signal (int signum, siginfo_t *, ucontext_t *)
ACE_DEBUG ((LM_DEBUG, "(%t) %S\n", signum));
// Shut down the main event loop.
- ACE_Service_Config::end_reactor_event_loop ();
+ ACE_Reactor::end_event_loop();
return 0;
}
@@ -180,11 +180,11 @@ Gateway::init (int argc, char *argv[])
// down gracefully via signals.
#if defined (ACE_WIN32)
- if (ACE_Service_Config::reactor ()->register_handler
+ if (ACE_Reactor::instance()->register_handler
(SIGINT, this) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "(%t) %p\n", "register_handler"), -1);
#else
- if (ACE_Service_Config::reactor ()->register_handler
+ if (ACE_Reactor::instance()->register_handler
(sig_set, this) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "(%t) %p\n", "register_handler"), -1);
#endif
@@ -192,15 +192,15 @@ Gateway::init (int argc, char *argv[])
// Register this handler to receive events on stdin. We use this to
// shutdown the Gateway gracefully.
if (ACE::register_stdin_handler (this,
- ACE_Service_Config::reactor (),
- ACE_Service_Config::thr_mgr ()) == -1)
+ ACE_Reactor::instance(),
+ ACE_Thread_Manager::instance ()) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "(%t) %p\n", "register_stdin_handler"), -1);
// If this->performance_window_ > 0 start a timer.
if (this->event_channel_.options ().performance_window_ > 0)
{
- if (ACE_Service_Config::reactor ()->schedule_timer
+ if (ACE_Reactor::instance()->schedule_timer
(&this->event_channel_, 0,
this->event_channel_.options ().performance_window_) == -1)
ACE_ERROR ((LM_ERROR, "(%t) %p\n", "schedule_timer"));