summaryrefslogtreecommitdiff
path: root/trunk/CIAO/examples/BasicSP/BasicSP.idl
blob: e8e0bf2ae2a11f322d832bc05dd0f2ec1058b4a3 (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$
//=============================================================================
/**
 * @file BasicSP.idl
 *
 * Definition of events, and common interfaces used in the BasicSP module.
 *
 * @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
 */
//=============================================================================

#ifndef CIAO_BASIC_SP_IDL
#define CIAO_BASIC_SP_IDL

#include <Components.idl>

// @@NOTE: Do we need a pragma prefix. Anyway its broken now in TAO..
// #pragma prefix ""

module BasicSP
{

  /**
   * @NOTE: Not sure whether this is a good abstraction. Just copying
   *  the stuff from Cadena folks.
   */
  /**
   * @interface ReadData
   *
   */

  interface ReadData {
    string get_data ();
  };

  /**
   * @eventtype Events that represent timeouts
   */
  eventtype TimeOut {};

  /**
   * @eventtype Events that represent data availability
   */
  eventtype DataAvailable {};
};

#endif /*CIAO_BASIC_SP_IDL*/