Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: alice/tuplemedium/runtime/InspectorProtocol.java


1   /*
2    * InspectorProtocol.java
3    *
4    * Copyright 2000-2001 deis.unibo.it
5    *
6    * This software is the proprietary information of deis.unibo.it
7    * Use is subject to license terms.
8    *
9    */
10  package alice.tuplemedium.runtime;
11  import java.io.*;
12  import alice.tuplemedium.*;
13  
14  /**
15   * this class defines the observation protocol
16   * of inspectors
17   */
18  public class InspectorProtocol implements Serializable {
19  
20      // observation types
21  
22      /** don't observe*/
23      public static final byte NO_OBSERVATION         = 1;
24      /** observe only when asked by inspector */
25      public static final byte REACTIVE_OBSERVATION   = 2;
26      /** observe continuosly */
27      public static final byte PROACTIVE_OBSERVATION  = 3;
28  
29      /** defining T set observation */
30      public byte     tsetObservType      = NO_OBSERVATION;
31  
32      /** filter for tuple observed */
33      public TupleTemplate tsetFilter          = null;
34  
35      /** defining W set observation */
36      public byte pendingQueryObservType  = NO_OBSERVATION;
37  
38      /** defining T set observation */
39      public byte reactionsObservType     = NO_OBSERVATION;
40  
41      /** desired tracing state for the vm */
42      public boolean tracing = false;
43  }