blob: 5e518a211bfdf96c65258dfdaef11aea093ad06e (
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
77
78
79
80
81
82
|
// -*- C++ -*-
/**
* @file EC_Default_ProxyConsumer.h
*
* $Id$
*
* @author Carlos O'Ryan (coryan@cs.wustl.edu)
* @author Marina Spivak (marina@atdesk.com)
* @author Jason Smith (jason@atdesk.com)
*
*/
#ifndef TAO_EC_DEFAULT_PROXYCONSUMER_H
#define TAO_EC_DEFAULT_PROXYCONSUMER_H
#include /**/ "ace/pre.h"
#include "orbsvcs/RtecEventChannelAdminS.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/Event/EC_ProxyConsumer.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
class TAO_EC_Event_Channel_Base;
class TAO_EC_ProxyPushSupplier;
class TAO_EC_Supplier_Filter;
/**
* @class TAO_EC_Default_ProxyPushConsumer
*
* @brief implements RtecEventChannelAdmin::ProxyPushConsumer interface.
*
*/
class TAO_RTEvent_Serv_Export TAO_EC_Default_ProxyPushConsumer :
public POA_RtecEventChannelAdmin::ProxyPushConsumer,
public TAO_EC_ProxyPushConsumer
{
public:
/// Constructor...
TAO_EC_Default_ProxyPushConsumer (TAO_EC_Event_Channel_Base* event_channel);
/// Destructor...
virtual ~TAO_EC_Default_ProxyPushConsumer (void);
virtual void activate (
RtecEventChannelAdmin::ProxyPushConsumer_ptr &proxy)
ACE_THROW_SPEC ((CORBA::SystemException));
// = The RtecEventChannelAdmin::ProxyPushConsumer methods...
virtual void connect_push_supplier (
RtecEventComm::PushSupplier_ptr push_supplier,
const RtecEventChannelAdmin::SupplierQOS& qos)
ACE_THROW_SPEC ((CORBA::SystemException,
RtecEventChannelAdmin::AlreadyConnected));
virtual void push (const RtecEventComm::EventSet& event)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void disconnect_push_consumer (void)
ACE_THROW_SPEC ((CORBA::SystemException));
// = The Servant methods
virtual PortableServer::POA_ptr _default_POA (void);
virtual void _add_ref (void);
virtual void _remove_ref (void);
private:
virtual PortableServer::ObjectId
object_id (void)
ACE_THROW_SPEC ((CORBA::SystemException));
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_EC_DEFAULT_PROXYCONSUMER_H */
|