summaryrefslogtreecommitdiff
path: root/CIAO/connectors/dds4ccm/examples/Quoter/Distributor/Distributor.idl
blob: 5b693131598c933b7e65d960a27f08e4d4a06417 (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
/**
 * @file Distributor.idl
 * @author William R. Otte <wotte@dre.vanderbilt.edu>
 */

#ifndef DDS_DISTRIBUTOR_IDL
#define DDS_DISTRIBUTOR_IDL

#include "Connector/Quoter_Connector.idl"

module Quoter
{
  interface Trigger
  {
    void add_stock (in string stock);
    void del_stock (in string stock);
    void start ();
    void stop ();
  };

  component Distributor supports Trigger
  {
    port Quoter::DDS_Write info_in;
    provides CCM_DDS::ConnectorStatusListener info_out_connector_status;
    attribute unsigned long rate;
  };
};

#endif