blob: 9e77c92ac4ce32d6328fd64cc7f187c521ea89a1 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/* -*- C++ -*- */
// $Id$
// ==========================================================================
//
// = LIBRARY
// orbsvcs
//
// = FILENAME
// TAO_Notify_StructuredProxyPushConsumer_i.h
//
// = DESCRIPTION
//
//
// = AUTHOR
// Pradeep Gore <pradeep@cs.wustl.edu>
//
// ==========================================================================
#ifndef NOTIFY_STRUCTUREDPROXYPUSHCONSUMER_I_H
#define NOTIFY_STRUCTUREDPROXYPUSHCONSUMER_I_H
#include "orbsvcs/orbsvcs/CosNotifyChannelAdminS.h"
#include "orbsvcs/orbsvcs/Notify/Notify_ProxyConsumer_i.h"
#include "orbsvcs/orbsvcs/Notify/NotifyPublish_i.h"
class TAO_Notify_StructuredProxyPushConsumer_i :
public virtual POA_CosNotifyChannelAdmin::StructuredProxyPushConsumer,
public virtual TAO_Notify_ProxyConsumer_i,
public virtual TAO_NotifyPublish_i
{
// = TITLE
// TAO_Notify_StructuredProxyPushConsumer_i
// = DESCRIPTION
//
//
public:
TAO_Notify_StructuredProxyPushConsumer_i (TAO_Notify_SupplierAdmin_i &supplieradmin);
// Constructor
virtual ~TAO_Notify_StructuredProxyPushConsumer_i (void);
// Destructor
virtual CosNotifyChannelAdmin::ProxyConsumer_ptr get_ref (CORBA::Environment &ACE_TRY_ENV);
//
virtual void connect_structured_push_supplier (
CosNotifyComm::StructuredPushSupplier_ptr push_supplier,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((
CORBA::SystemException,
CosEventChannelAdmin::AlreadyConnected
));
virtual void push_structured_event (
const CosNotification::StructuredEvent & notification,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((
CORBA::SystemException,
CosEventComm::Disconnected
));
virtual void disconnect_structured_push_consumer (
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
protected:
CosNotifyComm::StructuredPushSupplier_var push_supplier_;
//
};
#endif /* NOTIFY_STRUCTUREDPROXYPUSHCONSUMER_I_H */
|