summaryrefslogtreecommitdiff
path: root/CIAO/examples/Hello/Sender/Sender.idl
blob: d182b68008cb9782fc8de653b778e4ebd2fbfdb2 (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 CIAO_SENDER_IDL
#define CIAO_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 /*CIAO_SENDER_IDL*/