summaryrefslogtreecommitdiff
path: root/modules/CIAO/examples/Hello/Sender/Sender.idl
blob: 978f08d7559a715882a769ef47c8955fb9ef430f (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
//$Id$

#ifndef SENDER_IDL
#define SENDER_IDL


#include "../Hello_Base/Hello_Base.idl"

module Hello
{
  /* This is a Sender specific interface which will be used to get the
   * process start.
   */
  
  interface trigger
  {
    void start ();
  };

  enum COLOR_SELECTION 
    {
      empty,
      white, 
      red, 
      yellow
    };

  component Sender supports trigger
  {
    provides ReadMessage push_message;
    publishes TimeOut click_out;
    attribute string local_message;
    readonly attribute long hertz;

    // A test attribute to test setting attributes through XML
    attribute COLOR_SELECTION color;
  };

  home SenderHome manages Sender
  {
  };
};
#endif /*SENDER_IDL*/