summaryrefslogtreecommitdiff
path: root/TAO/examples/Simulator/DOVEBrowser/DataHandler.java
blob: 090cccf089dbd18ad96e4e600e316c922892fb72 (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
// $Id$
// 
// = FILENAME
//    DataHandler.java
//
// = AUTHOR
//    Michael Kircher (mk1@cs.wustl.edu)
//
// = DESCRIPTION
//   This is the interface for data handling in the simulation demo
//   using the Event Channel as transport media.
//
// ============================================================================

import org.omg.CORBA.*;

public interface DataHandler {
  
  // entry point for an consumer to put data event into the data handler
  public void update (RtecEventComm.Event event);
  
  // get a list of the Observables names to allow selection
  public java.util.Enumeration getObservablesList ();
 
  // get a specific Observable
  public DemoObservable getObservable(String name);

  // get the property of an observable
  public int getObservableProperty (String name);
}