|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.aps.jca.Monitor
com.cosylab.epics.caj.CAJMonitor
public class CAJMonitor
Implementation of CAJ JCA Monitor.
| Field Summary | |
|---|---|
protected CAJChannel |
channel
Monitored channel. |
protected boolean |
cleared
Cleared flag. |
protected CAJContext |
context
Context. |
protected int |
count
Number of elements (size of array) of monitored value type. |
protected EventAddRequest |
eventAddRequest
Event add request. |
protected ArrayList |
listeners
Monitor listeners. |
protected int |
mask
Monitor mask. |
protected int |
subsid
Subscription ID. |
protected gov.aps.jca.dbr.DBRType |
type
Monitored value type. |
| Fields inherited from class gov.aps.jca.Monitor |
|---|
ALARM, LOG, PROPERTY, VALUE |
| Constructor Summary | |
|---|---|
CAJMonitor(CAJContext context,
gov.aps.jca.dbr.DBRType type,
int count,
CAJChannel channel,
gov.aps.jca.event.MonitorListener listener,
int mask)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addMonitorListener(gov.aps.jca.event.MonitorListener l)
|
void |
clear()
|
gov.aps.jca.Channel |
getChannel()
|
gov.aps.jca.Context |
getContext()
|
int |
getCount()
|
int |
getMask()
|
gov.aps.jca.event.MonitorListener |
getMonitorListener()
|
gov.aps.jca.event.MonitorListener[] |
getMonitorListeners()
|
int |
getSID()
Get this monitor subscription ID. |
gov.aps.jca.dbr.DBRType |
getType()
|
boolean |
isCleared()
Get cleared flag. |
void |
monitorChanged(gov.aps.jca.event.MonitorEvent ev)
|
void |
removeMonitorListener(gov.aps.jca.event.MonitorListener l)
|
| Methods inherited from class gov.aps.jca.Monitor |
|---|
isMonitoringAlarm, isMonitoringLog, isMonitoringProperty, isMonitoringValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CAJContext context
protected gov.aps.jca.dbr.DBRType type
protected int count
protected CAJChannel channel
protected EventAddRequest eventAddRequest
protected int mask
protected ArrayList listeners
protected int subsid
protected volatile boolean cleared
| Constructor Detail |
|---|
public CAJMonitor(CAJContext context,
gov.aps.jca.dbr.DBRType type,
int count,
CAJChannel channel,
gov.aps.jca.event.MonitorListener listener,
int mask)
throws gov.aps.jca.CAException
context - type - count - channel - listener - mask -
gov.aps.jca.CAException| Method Detail |
|---|
public void clear()
throws gov.aps.jca.CAException
clear in class gov.aps.jca.Monitorgov.aps.jca.CAExceptionMonitor.clear()public gov.aps.jca.Context getContext()
getContext in class gov.aps.jca.MonitorMonitor.getContext()public gov.aps.jca.Channel getChannel()
getChannel in class gov.aps.jca.MonitorMonitor.getChannel()public gov.aps.jca.dbr.DBRType getType()
getType in class gov.aps.jca.MonitorMonitor.getType()public int getCount()
getCount in class gov.aps.jca.MonitorMonitor.getCount()public int getMask()
getMask in class gov.aps.jca.MonitorMonitor.getMask()public gov.aps.jca.event.MonitorListener getMonitorListener()
getMonitorListener in class gov.aps.jca.MonitorMonitor.getMonitorListener()public void addMonitorListener(gov.aps.jca.event.MonitorListener l)
addMonitorListener in class gov.aps.jca.MonitorMonitor.addMonitorListener(gov.aps.jca.event.MonitorListener)public void removeMonitorListener(gov.aps.jca.event.MonitorListener l)
removeMonitorListener in class gov.aps.jca.MonitorMonitor.removeMonitorListener(gov.aps.jca.event.MonitorListener)public gov.aps.jca.event.MonitorListener[] getMonitorListeners()
getMonitorListeners in class gov.aps.jca.MonitorMonitor.getMonitorListeners()public void monitorChanged(gov.aps.jca.event.MonitorEvent ev)
monitorChanged in interface gov.aps.jca.event.MonitorListenerMonitorListener.monitorChanged(gov.aps.jca.event.MonitorEvent)public int getSID()
public boolean isCleared()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||