summaryrefslogtreecommitdiff
path: root/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-10 03:45:37 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-10 03:45:37 +0000
commitbe40f48dd986204d27111aea45859d03bf21c7b6 (patch)
tree3d87ab96d89f6fe093ec54601de99f42e3cb3ef3 /TAO/examples/Event_Comm/Consumer_Input_Handler.cpp
parentaaa79e4dd3a5cb5bcecc6e0ff64bc29a515c90ef (diff)
downloadATCD-be40f48dd986204d27111aea45859d03bf21c7b6.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/examples/Event_Comm/Consumer_Input_Handler.cpp')
-rw-r--r--TAO/examples/Event_Comm/Consumer_Input_Handler.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp b/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp
index 9d3aac119d5..94286df5850 100644
--- a/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp
+++ b/TAO/examples/Event_Comm/Consumer_Input_Handler.cpp
@@ -45,7 +45,7 @@ Consumer_Input_Handler::close (void)
// Only try to unsubscribe if the Consumer initiated the
// shutdown. Otherwise, the Notifier initiated it and it has
// probably gone away by now!
- TAO_TRY
+ ACE_TRY_NEW_ENV
{
// Gracefully shutdown the Receiver by removing it from the
// Notifier's internal map.
@@ -53,14 +53,14 @@ Consumer_Input_Handler::close (void)
if (notifier != 0)
notifier->unsubscribe (receiver,
"",
- TAO_TRY_ENV);
- TAO_CHECK_ENV;
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
}
- TAO_CATCHANY
+ ACE_CATCHANY
{
- TAO_TRY_ENV.print_exception ("Consumer_Input_Handler::handle_close\n");
+ ACE_TRY_ENV.print_exception ("Consumer_Input_Handler::handle_close\n");
}
- TAO_ENDTRY;
+ ACE_ENDTRY;
}
// Make sure to cleanup the STDIN handler.
@@ -129,20 +129,20 @@ Consumer_Input_Handler::handle_input (ACE_HANDLE h)
}
else
{
- TAO_TRY
+ ACE_TRY_NEW_ENV
{
Event_Comm::Event event;
event.tag_ = ACE_OS::strdup (buf);
- notifier->push (event, TAO_TRY_ENV);
- TAO_CHECK_ENV;
+ notifier->push (event, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
}
- TAO_CATCHANY
+ ACE_CATCHANY
{
- TAO_TRY_ENV.print_exception("Unexpected exception\n");
+ ACE_TRY_ENV.print_exception("Unexpected exception\n");
}
- TAO_ENDTRY;
+ ACE_ENDTRY;
}
/* NOTREACHED */