summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ConsumerAdmin_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ConsumerAdmin_i.h')
-rw-r--r--TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ConsumerAdmin_i.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ConsumerAdmin_i.h b/TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ConsumerAdmin_i.h
new file mode 100644
index 00000000000..83689e0dbb0
--- /dev/null
+++ b/TAO/orbsvcs/examples/CosEC/RtEC_Based/lib/ConsumerAdmin_i.h
@@ -0,0 +1,67 @@
+/* -*- 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.
+//
+// ============================================================================
+
+#ifndef CONSUMERADMIN_I_H
+#define CONSUMERADMIN_I_H
+#include /**/ "ace/pre.h"
+
+#include "orbsvcs/RtecEventChannelAdminC.h"
+#include "orbsvcs/CosEventChannelAdminS.h"
+#include "ProxyPushSupplier_i.h"
+
+class TAO_RTEC_COSEC_Export TAO_CosEC_ConsumerAdmin_i :
+ public virtual POA_CosEventChannelAdmin::ConsumerAdmin
+{
+ // = TITLE
+ // class TAO_CosEC_ConsumerAdmin_i implements the ConsumerAdmin interface.
+ //
+ // = DESCRIPTION
+ // This implementation of the ConsumerAdmin uses the
+ // RtecEventChannelAdmin::ConsumerAdmin.
+public:
+ // = Initialization and termination methods.
+ TAO_CosEC_ConsumerAdmin_i (void);
+ // Constructor.
+
+ ~TAO_CosEC_ConsumerAdmin_i (void);
+ // Destructor.
+
+ int init (const RtecEventChannelAdmin::ConsumerQOS &consumerqos,
+ RtecEventChannelAdmin::ConsumerAdmin_ptr rtec_consumeradmin);
+
+ virtual CosEventChannelAdmin::ProxyPushSupplier_ptr
+ obtain_push_supplier(void);
+ // Returns a new ProxyPushSupplier_ptr.
+
+ virtual CosEventChannelAdmin::ProxyPullSupplier_ptr
+ obtain_pull_supplier(void);
+ // Returns a new ProxyPullSupplier_ptr.
+
+private:
+ RtecEventChannelAdmin::ConsumerQOS qos_;
+ // The ConsumerQOS specified by the user of this class.
+
+ RtecEventChannelAdmin::ConsumerAdmin_var rtec_consumeradmin_;
+ // The RtecEventChannelAdmin::ConsumerAdmin specified by the user of
+ // this class.
+};
+
+#include /**/ "ace/post.h"
+#endif /* CONSUMERADMIN_I_H */