diff options
Diffstat (limited to 'TAO/examples/Callback_Quoter/notifier.cpp')
-rw-r--r-- | TAO/examples/Callback_Quoter/notifier.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/TAO/examples/Callback_Quoter/notifier.cpp b/TAO/examples/Callback_Quoter/notifier.cpp deleted file mode 100644 index 25ded4c26bf..00000000000 --- a/TAO/examples/Callback_Quoter/notifier.cpp +++ /dev/null @@ -1,44 +0,0 @@ -// $Id$ - -#include "Notifier_Input_Handler.h" - -ACE_RCSID(notifier, Callback_Quoter, "$Id$") - -// This is the main driver program for the Callback Quoter Notifier. -// @@ I recommend renaming this stuff to notifier.cpp and calling the Notifier_Servant the -// Notifier_Servant, etc. Then, you can rename the Market Feed stuff the "Notifier" since -// It really is the ultimate Notifier for this application. - -int -main (int argc, char *argv[]) -{ - Notifier_Input_Handler notifier; - - ACE_DEBUG ((LM_DEBUG, - "\n\tNotifier\n\n")); - TAO_TRY - { - if (notifier.init (argc, argv, TAO_TRY_ENV) == -1) - return 1; - else - { - notifier.run (TAO_TRY_ENV); - TAO_CHECK_ENV; - } - } - TAO_CATCH (CORBA::SystemException, sysex) - { - ACE_UNUSED_ARG (sysex); - TAO_TRY_ENV.print_exception ("System Exception"); - return -1; - } - TAO_CATCH (CORBA::UserException, userex) - { - ACE_UNUSED_ARG (userex); - TAO_TRY_ENV.print_exception ("User Exception"); - return -1; - } - TAO_ENDTRY; - - return 0; -} |