summaryrefslogtreecommitdiff
path: root/modules/CIAO/docs/tutorials/Quoter/Simple/Distributor/StockDistributor.idl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/docs/tutorials/Quoter/Simple/Distributor/StockDistributor.idl')
-rw-r--r--modules/CIAO/docs/tutorials/Quoter/Simple/Distributor/StockDistributor.idl44
1 files changed, 44 insertions, 0 deletions
diff --git a/modules/CIAO/docs/tutorials/Quoter/Simple/Distributor/StockDistributor.idl b/modules/CIAO/docs/tutorials/Quoter/Simple/Distributor/StockDistributor.idl
new file mode 100644
index 00000000000..0f50b39b57b
--- /dev/null
+++ b/modules/CIAO/docs/tutorials/Quoter/Simple/Distributor/StockDistributor.idl
@@ -0,0 +1,44 @@
+//$Id$
+
+#ifndef STOCKDISTRIBUTOR_IDL
+#define STOCKDISTRIBUTOR_IDL
+
+#include "../Stock_Base/Stock_Base.idl"
+
+module Stock
+{
+ /**
+ * @class Trigger
+ *
+ * @brief supported interface
+ */
+ interface Trigger {
+ /// Start the real-time monitoring service
+ void start ();
+ /// Stop the real-time monitoring service
+ void stop ();
+ };
+
+ /**
+ * @class StockDistributor
+ *
+ * @brief component
+ */
+ component StockDistributor supports Trigger
+ {
+ publishes StockName notify_out;
+ provides StockQuoter push_quoter;
+ attribute long rate;
+ };
+
+ /**
+ * @class StockDistributorHome
+ *
+ * @brief home for StockDistributor component
+ */
+ home StockDistributorHome manages StockDistributor
+ {
+ };
+};
+
+#endif /* STOCKDISTRIBUTOR_IDL */