Package org.epics.pvdata.monitor
Interface Monitor
-
- All Superinterfaces:
Destroyable
public interface Monitor extends Destroyable
Interface for Monitor.- Author:
- mrk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MonitorElementpoll()If monitor has occurred return data.voidrelease(MonitorElement monitorElement)Release a MonitorElement that was returned by poll.Statusstart()Start monitoring.Statusstop()Stop Monitoring.-
Methods inherited from interface org.epics.pvdata.misc.Destroyable
destroy
-
-
-
-
Method Detail
-
start
Status start()
Start monitoring.- Returns:
- completion status
-
stop
Status stop()
Stop Monitoring.- Returns:
- completion status
-
poll
MonitorElement poll()
If monitor has occurred return data.- Returns:
- monitorElement for modified data on null if no monitors have occurred
-
release
void release(MonitorElement monitorElement)
Release a MonitorElement that was returned by poll.- Parameters:
monitorElement- the MonitorElement to release
-
-