summaryrefslogtreecommitdiff
path: root/modules/CIAO/docs/tutorials/Quoter/Simple/Distributor/StockDistributor.idl
blob: 046ffea9f15bb9b18119443336f5f657c7b65bea (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
43
44
45
46
47
//$Id$

#ifndef STOCKDISTRIBUTOR_IDL
#define STOCKDISTRIBUTOR_IDL

#include "../Stock_Base/Stock_Base.idl"
#include "../Stock_Base/Stock_BaseE.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 */