blob: 0f50b39b57bf3db27632331e5ee2fd11325004a7 (
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
|
//$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 */
|