Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / examples / CosEC / RtEC_Based / lib / SupplierAdmin_i.h
blob79bffa8634ed4584162b94790e7ebb9943ef1baa
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file SupplierAdmin_i.h
7 * @author Pradeep Gore <pradeep@cs.wustl.edu>
9 * This has the implementation of the
10 * CosEventChannelAdmin::SupplierAdmin interface.
12 //=============================================================================
14 #ifndef SUPPLIER_ADMIN_I_H
15 #define SUPPLIER_ADMIN_I_H
16 #include /**/ "ace/pre.h"
18 #include "orbsvcs/RtecEventChannelAdminC.h"
19 #include "orbsvcs/CosEventChannelAdminC.h"
20 #include "ProxyPushConsumer_i.h"
22 class TAO_RTEC_COSEC_Export TAO_CosEC_SupplierAdmin_i :
23 public virtual POA_CosEventChannelAdmin::SupplierAdmin
25 // = TITLE
26 // class TAO_CosEC_SupplierAdmin_i implements the SupplierAdmin interface.
28 // = DESCRIPTION
29 // This COS-compliant implementation of the SupplierAdmin uses
30 // TAO's RtecEventChannelAdmin::SupplierAdmin.
31 public:
32 /// Constructor.
33 TAO_CosEC_SupplierAdmin_i ();
35 /// Destructor.
36 ~TAO_CosEC_SupplierAdmin_i () = default;
38 /// Initializes the SupplierAdmin. Returns 0 on success, -1 on
39 /// error.
40 int init (const RtecEventChannelAdmin::SupplierQOS &supplierqos,
41 RtecEventChannelAdmin::SupplierAdmin_ptr rtec_supplieradmin);
43 /// Returns a new ProxyPushConsumer_ptr.
44 virtual CosEventChannelAdmin::ProxyPushConsumer_ptr obtain_push_consumer ();
46 /// Returns a new ProxyPullConsumer_ptr.
47 virtual CosEventChannelAdmin::ProxyPullConsumer_ptr obtain_pull_consumer();
49 private:
50 /// The SupplierQOS specified by the user of this class.
51 RtecEventChannelAdmin::SupplierQOS qos_;
53 /// The RtecEventChannelAdmin::SupplierAdmin specified by the user of
54 /// this class.
55 RtecEventChannelAdmin::SupplierAdmin_var rtec_supplieradmin_;
58 #include /**/ "ace/post.h"
59 #endif /* SUPPLIER_ADMIN_I_H */