diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 20:37:21 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-26 20:37:21 +0000 |
commit | 0725903fd35de34a14bf4fc7eb08fbca79443495 (patch) | |
tree | 0db5559c09ddb0ebf5cec31bf897a3804a7f33ef /apps/Orbix-Examples | |
parent | 9fdd114f9305dd042c03e0a340bb54d6897b4751 (diff) | |
download | ATCD-0725903fd35de34a14bf4fc7eb08fbca79443495.tar.gz |
*** empty log message ***
Diffstat (limited to 'apps/Orbix-Examples')
4 files changed, 8 insertions, 8 deletions
diff --git a/apps/Orbix-Examples/Event_Comm/Consumer/Input_Handler.cpp b/apps/Orbix-Examples/Event_Comm/Consumer/Input_Handler.cpp index ac0a683864e..6b8f6339c5a 100644 --- a/apps/Orbix-Examples/Event_Comm/Consumer/Input_Handler.cpp +++ b/apps/Orbix-Examples/Event_Comm/Consumer/Input_Handler.cpp @@ -52,7 +52,7 @@ Input_Handler::handle_close (ACE_HANDLE, ACE_Reactor_Mask) } ENDTRY; } // Don't execute a callback here otherwise we'll recurse indefinitely! - if (ACE_Reactor::instance()->remove_handler + if (ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::READ_MASK | ACE_Event_Handler::DONT_CALL) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "remove_handler")); @@ -67,7 +67,7 @@ Input_Handler::Input_Handler (Notification_Receiver_Handler *ch, handle_ (handle), consumer_initiated_shutdown_ (0) { - if (ACE_Reactor::instance()->register_handler + if (ACE_Reactor::instance ()->register_handler (this, ACE_Event_Handler::READ_MASK) == -1) ACE_ERROR ((LM_ERROR, "Input_Handler::Input_Handler\n")); } diff --git a/apps/Orbix-Examples/Event_Comm/Consumer/consumer.cpp b/apps/Orbix-Examples/Event_Comm/Consumer/consumer.cpp index b493f1a175e..29137661ce3 100644 --- a/apps/Orbix-Examples/Event_Comm/Consumer/consumer.cpp +++ b/apps/Orbix-Examples/Event_Comm/Consumer/consumer.cpp @@ -59,7 +59,7 @@ Consumer::handle_signal (int signum, siginfo_t *, ucontext_t *) void Consumer::run (void) { - if (ACE_Reactor::run_event_loop() == -1) + if (ACE_Reactor::run_event_loop () == -1) ACE_ERROR ((LM_ERROR, "%p\n", "run_reactor_event_loop")); } @@ -83,7 +83,7 @@ Consumer::Consumer (int argc, char *argv[]) ACE_ERROR ((LM_ERROR, "%p\n%a", "open", 1)); } - if (ACE_Reactor::instance()->register_handler (SIGINT, this) == -1) + if (ACE_Reactor::instance ()->register_handler (SIGINT, this) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "register_handler")); } diff --git a/apps/Orbix-Examples/Event_Comm/Supplier/Input_Handler.cpp b/apps/Orbix-Examples/Event_Comm/Supplier/Input_Handler.cpp index b6f3ad2fff0..164e0bc6810 100644 --- a/apps/Orbix-Examples/Event_Comm/Supplier/Input_Handler.cpp +++ b/apps/Orbix-Examples/Event_Comm/Supplier/Input_Handler.cpp @@ -24,7 +24,7 @@ Input_Handler::handle_close (ACE_HANDLE, ACE_Reactor_Mask) } ENDTRY; // Don't execute a callback here otherwise we'll recurse indefinitely! - if (ACE_Reactor::instance()->remove_handler + if (ACE_Reactor::instance ()->remove_handler (this, ACE_Event_Handler::READ_MASK | ACE_Event_Handler::DONT_CALL) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "remove_handler")); @@ -41,7 +41,7 @@ Input_Handler::Input_Handler (Notifier_Handler *notifier, // Register ourselves with the ACE_Reactor so that input events // cause our handle_input() method to be dispatched automatically. - if (ACE_Reactor::instance()->register_handler (this, + if (ACE_Reactor::instance ()->register_handler (this, ACE_Event_Handler::READ_MASK) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "register_handler")); diff --git a/apps/Orbix-Examples/Event_Comm/Supplier/supplier.cpp b/apps/Orbix-Examples/Event_Comm/Supplier/supplier.cpp index 4a3ff050298..2477568d636 100644 --- a/apps/Orbix-Examples/Event_Comm/Supplier/supplier.cpp +++ b/apps/Orbix-Examples/Event_Comm/Supplier/supplier.cpp @@ -55,7 +55,7 @@ Supplier::handle_signal (int signum, siginfo_t *, ucontext_t *) void Supplier::run (void) { - if (ACE_Reactor::run_event_loop() == -1) + if (ACE_Reactor::run_event_loop () == -1) ACE_ERROR ((LM_ERROR, "%p\n", "run_reactor_event_loop")); } @@ -85,7 +85,7 @@ Supplier::Supplier (int argc, char *argv[]) ACE_DEBUG ((LM_DEBUG, "starting up server %s\n", CORBA::Orbix.myImplementationName ())); - if (ACE_Reactor::instance()->register_handler (SIGINT, this) == -1) + if (ACE_Reactor::instance ()->register_handler (SIGINT, this) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "register_handler")); } |