summaryrefslogtreecommitdiff
path: root/CIAO/docs/tutorials/Quoter/Simple/Distributor/Distributor.idl
blob: 393f0fa94c13f1988fd785e0db48562bd5842bec (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
//$Id$

#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
  {
  };

};