blob: df5589db1f6cb26e99772b51649d2d52598b02d8 (
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
|
// -*- C++ -*-
/**
* @file EC_Default_ProxySupplier.h
*
* @author Carlos O'Ryan (coryan@cs.wustl.edu)
* @author Marina Spivak (marina@atdesk.com)
* @author Jason Smith (jason@atdesk.com)
*/
#ifndef TAO_DEFAULT_EC_PROXYSUPPLIER_H
#define TAO_DEFAULT_EC_PROXYSUPPLIER_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_ProxySupplier.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/**
* @class TAO_EC_Default_ProxyPushSupplier
*
* @brief Implement the ReliableEventChannelAdmin::ProxyPushSupplier
* interface
*/
class TAO_RTEvent_Serv_Export TAO_EC_Default_ProxyPushSupplier
: public POA_RtecEventChannelAdmin::ProxyPushSupplier,
public TAO_EC_ProxyPushSupplier
{
public:
/// Constructor...
TAO_EC_Default_ProxyPushSupplier (TAO_EC_Event_Channel_Base* event_channel, int validate_connection);
/// Destructor...
virtual ~TAO_EC_Default_ProxyPushSupplier ();
void activate (
RtecEventChannelAdmin::ProxyPushSupplier_ptr &proxy);
/// IDL methods.
virtual void connect_push_consumer (
RtecEventComm::PushConsumer_ptr push_consumer,
const RtecEventChannelAdmin::ConsumerQOS &qos);
virtual void disconnect_push_supplier ();
virtual void suspend_connection ();
virtual void resume_connection ();
// = The Servant methods
virtual PortableServer::POA_ptr _default_POA ();
virtual void _add_ref ();
virtual void _remove_ref ();
private:
virtual PortableServer::ObjectId
object_id ();
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_EC_DEFAULT_PROXYSUPPLIER_H */
|