3 //=============================================================================
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
26 // class TAO_CosEC_SupplierAdmin_i implements the SupplierAdmin interface.
29 // This COS-compliant implementation of the SupplierAdmin uses
30 // TAO's RtecEventChannelAdmin::SupplierAdmin.
33 TAO_CosEC_SupplierAdmin_i ();
36 ~TAO_CosEC_SupplierAdmin_i () = default;
38 /// Initializes the SupplierAdmin. Returns 0 on success, -1 on
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();
50 /// The SupplierQOS specified by the user of this class.
51 RtecEventChannelAdmin::SupplierQOS qos_
;
53 /// The RtecEventChannelAdmin::SupplierAdmin specified by the user of
55 RtecEventChannelAdmin::SupplierAdmin_var rtec_supplieradmin_
;
58 #include /**/ "ace/post.h"
59 #endif /* SUPPLIER_ADMIN_I_H */