summaryrefslogtreecommitdiff
path: root/ACE/TAO/examples/Callback_Quoter/consumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/examples/Callback_Quoter/consumer.cpp')
-rw-r--r--ACE/TAO/examples/Callback_Quoter/consumer.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/ACE/TAO/examples/Callback_Quoter/consumer.cpp b/ACE/TAO/examples/Callback_Quoter/consumer.cpp
new file mode 100644
index 00000000000..a9115e68ca5
--- /dev/null
+++ b/ACE/TAO/examples/Callback_Quoter/consumer.cpp
@@ -0,0 +1,19 @@
+// $Id$
+
+#include "Consumer_Handler.h"
+
+// This function runs the Callback Quoter Consumer application.
+
+int
+ACE_TMAIN(int argc, ACE_TCHAR *argv[])
+{
+ Consumer_Handler consumer;
+
+ ACE_DEBUG ((LM_DEBUG,
+ "\n\t***Consumer***\n\n"));
+
+ if (consumer.init (argc, argv) == -1)
+ return -1;
+ else
+ return consumer.run ();
+}