summaryrefslogtreecommitdiff
path: root/TAO/examples/Callback_Quoter/consumer.cpp
diff options
context:
space:
mode:
authorkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-14 23:33:24 +0000
committerkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-14 23:33:24 +0000
commite67eff4cee1c9e8b5dbb9257ade0fd48fb5646b6 (patch)
treea08f84c8e92c14a6ecdd45bb92337ea5de20b95a /TAO/examples/Callback_Quoter/consumer.cpp
parent9795c7ef30dac5808a38bec9761869a62a57ca06 (diff)
downloadATCD-e67eff4cee1c9e8b5dbb9257ade0fd48fb5646b6.tar.gz
Renamed and added these files. Incorporated an Event Handling mechanism for consumer events.
Diffstat (limited to 'TAO/examples/Callback_Quoter/consumer.cpp')
-rw-r--r--TAO/examples/Callback_Quoter/consumer.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/TAO/examples/Callback_Quoter/consumer.cpp b/TAO/examples/Callback_Quoter/consumer.cpp
new file mode 100644
index 00000000000..f8d8c4e8037
--- /dev/null
+++ b/TAO/examples/Callback_Quoter/consumer.cpp
@@ -0,0 +1,19 @@
+// $Id$
+
+#include "Consumer_Input_Handler.h"
+
+// This function runs the Callback Quoter Consumer application.
+
+int
+main (int argc, char **argv)
+{
+ Consumer_Input_Handler consumer;
+
+ ACE_DEBUG ((LM_DEBUG,
+ "\n\t***Consumer***\n\n"));
+
+ if (consumer.init (argc, argv) == -1)
+ return -1;
+ else
+ return consumer.run ();
+}