OCSEPICS
Interface CAEventListener

All Known Implementing Classes:
EPICSAction, OCSAction

public interface CAEventListener

This interface will be used to inform a listener of an event on a PV. When a event occurs, this method will be called which will result in the raw and the engineering unit associated with the PV being returned to the interested party.

Version:
$Id: CAEventListener.java,v 1.2 2006/03/17 14:30:02 cb Exp $
Author:
Craige Bevil

Field Summary
static java.util.Hashtable<java.lang.String,OCSEPICSConsts.UnitType> UnitOfInterest
          A hash which contains for each of the PVs which this object may be interested in, whether it is interested in the logical or the engineering units
 
Method Summary
 void channelAccessEvent(java.lang.String PVName, ing.status.StatusItemValue StatusItem)
          This operation will be called when there is an event on the monitored underlying PV and will pass a standard status item.
 void observerUnableToListen(java.lang.String PVName, java.lang.String reason)
          This is called when the observer is unable to listen to events for the reported reason
 

Field Detail

UnitOfInterest

static final java.util.Hashtable<java.lang.String,OCSEPICSConsts.UnitType> UnitOfInterest
A hash which contains for each of the PVs which this object may be interested in, whether it is interested in the logical or the engineering units

Method Detail

observerUnableToListen

void observerUnableToListen(java.lang.String PVName,
                            java.lang.String reason)
This is called when the observer is unable to listen to events for the reported reason

Parameters:
PVName - Name of the PV which is effected.
reason - This is the reason that the observer cannot observe events any longer

channelAccessEvent

void channelAccessEvent(java.lang.String PVName,
                        ing.status.StatusItemValue StatusItem)
This operation will be called when there is an event on the monitored underlying PV and will pass a standard status item.

Parameters:
PVName - This is the name of the PV which was responsible for the event
StatusItem - This contains the details of the event.