summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Persistent_Filter/consumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Persistent_Filter/consumer.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/Persistent_Filter/consumer.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Persistent_Filter/consumer.cpp b/TAO/orbsvcs/tests/Notify/Persistent_Filter/consumer.cpp
new file mode 100644
index 00000000000..33f0e181f1d
--- /dev/null
+++ b/TAO/orbsvcs/tests/Notify/Persistent_Filter/consumer.cpp
@@ -0,0 +1,30 @@
+// -*- C++ -*-
+// $Id$
+
+#include "Filter.h"
+
+int
+ACE_TMAIN (int argc, ACE_TCHAR *argv [])
+{
+ FilterClient client;
+
+ try
+ {
+ client.init_consumer (argc, argv); //Init the Client
+
+ client.run_consumer ();
+ }
+ catch (const CORBA::UserException& ue)
+ {
+ ue._tao_print_exception (
+ "TLS_Client user error: ");
+ return 1;
+ }
+ catch (const CORBA::SystemException& se)
+ {
+ se._tao_print_exception ("Consumer system error: ");
+ return 1;
+ }
+
+ return 0;
+}