blob: 3180e774e6488f04b4f58911ab1c30f5474aa9b8 (
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
|
/* -*- C++ -*- */
// $Id$
//
// ============================================================================
//
// = LIBRARY
// TAO services
//
// = FILENAME
// ConsumerAdmin_i
//
// = AUTHOR
// Pradeep Gore <pradeep@cs.wustl.edu>
//
// = DESCRIPTION
// This has the implementation of the CosEventChannelAdmin::ConsumerAdmin interface.
// ============================================================================
#if !defined (_CONSUMERADMIN_I_H)
#define _CONSUMERADMIN_I_H
#include "orbsvcs/RtecEventChannelAdminC.h"
#include "orbsvcs/CosEventChannelAdminS.h"
#include "orbsvcs/CosEvent/ProxyPushSupplier_i.h"
class ConsumerAdmin_i : public POA_CosEventChannelAdmin::ConsumerAdmin
{
// = TITLE
// class ConsumerAdmin_i implements the ConsumerAdmin interface.
// = DESCRIPTION
// This implementation of the ConsumerAdmin uses the RtecEventChannelAdmin::ConsumerAdmin.
//
public:
// = Initialization and termination methods.
ConsumerAdmin_i (const RtecEventChannelAdmin::ConsumerQOS &consumerqos,
RtecEventChannelAdmin::ConsumerAdmin_ptr rtec_consumeradmin);
~ConsumerAdmin_i ();
virtual CosEventChannelAdmin::ProxyPushSupplier_ptr
obtain_push_supplier(CORBA::Environment &TAO_TRY_ENV);
// returns a new ProxyPushSupplier_ptr.
virtual CosEventChannelAdmin::ProxyPullSupplier_ptr
obtain_pull_supplier(CORBA::Environment &TAO_TRY_ENV);
// returns a new ProxyPullSupplier_ptr.
private:
const RtecEventChannelAdmin::ConsumerQOS &qos_;
// The ConsumerQOS specified by the user of this class.
RtecEventChannelAdmin::ConsumerAdmin_ptr rtec_consumeradmin_;
// The RtecEventChannelAdmin::ConsumerAdmin specified by the user of this class.
};
#endif //_CONSUMERADMIN_I_H
|