|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.echarts.monitor.NullMonitor
public final class NullMonitor
Class that serves as a dummy user monitor when user hasn't explicitly set the monitor for an FSM (via the setMonitor() method). This class implements the putEvent() method and simply throws away events.
| Field Summary | |
|---|---|
static NullMonitor |
NULL_MONITOR
|
| Constructor Summary | |
|---|---|
NullMonitor()
|
|
| Method Summary | |
|---|---|
MachineMonitorEventFilter |
getEventFilter()
|
void |
putEvent(MachineMonitorEvent event)
|
void |
setEventFilter(MachineMonitorEventFilter filter)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final NullMonitor NULL_MONITOR
| Constructor Detail |
|---|
public NullMonitor()
| Method Detail |
|---|
public final void putEvent(MachineMonitorEvent event)
putEvent in interface MachineMonitorpublic final void setEventFilter(MachineMonitorEventFilter filter)
setEventFilter in interface MachineMonitorpublic final MachineMonitorEventFilter getEventFilter()
getEventFilter in interface MachineMonitor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||