summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/lib/Notify_PushConsumer.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/Notify_PushConsumer.h')
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Notify_PushConsumer.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/Notify_PushConsumer.h b/TAO/orbsvcs/tests/Notify/lib/Notify_PushConsumer.h
new file mode 100644
index 00000000000..0a66baa40e3
--- /dev/null
+++ b/TAO/orbsvcs/tests/Notify/lib/Notify_PushConsumer.h
@@ -0,0 +1,36 @@
+// $Id$
+// ==========================================================================
+//
+// = LIBRARY
+// orbsvcs
+//
+// = FILENAME
+// Notify_PushConsumer.h
+//
+// = DESCRIPTION
+// This is a utility class is to be used by clients of the Notification
+// Service to implement the servant for CosNotifyComm::PushConsumer
+//
+// = HOW-TO
+// 1. Derive from Notify_ProxyConsumer and implement <push>.
+// 2. Create the servant on the heap.(refcounted servant).
+// 3. Initialize the object, provide a POA.
+// 4. To connect, call <connect>, this will activate the object in the POA.
+// You must provide a ConsumerAdmin to <connect>.
+// 5. To disconnect, call <disconnect> this will also deactivate the object.
+//
+// = AUTHOR
+// Pradeep Gore <pradeep@cs.wustl.edu>
+//
+// ==========================================================================
+
+#ifndef TAO_NOTIFY_PUSHCONSUMER_H
+#define TAO_NOTIFY_PUSHCONSUMER_H
+#include /**/ "ace/pre.h"
+
+#include "PushConsumer.h"
+
+typedef TAO_Notify_Tests_PushConsumer TAO_Notify_PushConsumer;
+
+#include /**/ "ace/post.h"
+#endif /* TAO_NOTIFY_PUSHCONSUMER_H */