jca
Class Monitor

java.lang.Object
  |
  +--jca.Monitor

public class Monitor
extends java.lang.Object


Field Summary
static int ALARM
          The monitor is triggered when the PV alarm state change.
static int LOG
          The monitor is triggered when the PV log value change.
static int VALUE
          The monitor is triggered when the PV value change.
 
Method Summary
 void clear()
          Clear the monitor.
 int id()
          Return the monitor ID.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE

public static final int VALUE
The monitor is triggered when the PV value change.

LOG

public static final int LOG
The monitor is triggered when the PV log value change.

ALARM

public static final int ALARM
The monitor is triggered when the PV alarm state change.
Method Detail

clear

public void clear()
           throws BadMonitorException
Clear the monitor.
Throws:
BadMonitorException - thrown if the monitor has already been cleared.

id

public int id()
Return the monitor ID. All Monitor have their own ID.