summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/lib/Notify_PushConsumer.h
blob: 8b4bf6644e8bd8a7a63de572a3947f38646ea859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//=============================================================================
/**
 *  @file   Notify_PushConsumer.h
 *
 * 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 */