Class CbusEventRequestMonitorEvent
- java.lang.Object
-
- jmri.jmrix.can.cbus.CbusEventDataElements
-
- jmri.jmrix.can.cbus.CbusEvent
-
- jmri.jmrix.can.cbus.swing.eventrequestmonitor.CbusEventRequestMonitorEvent
-
public class CbusEventRequestMonitorEvent extends CbusEvent
Class to represent a request event in the MERG CBUS event request monitor table
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CbusEventRequestMonitorEvent.FbState
-
Nested classes/interfaces inherited from class jmri.jmrix.can.cbus.CbusEventDataElements
CbusEventDataElements.EvState
-
-
Constructor Summary
Constructors Constructor Description CbusEventRequestMonitorEvent(int nn, int en, CbusEventDataElements.EvState state, java.util.Date timestamp, int feedbackTimeout, int feedbackTotReqd, CbusEventRequestDataModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
protected java.util.Date
getDate()
protected int
getExtraEvent()
protected int
getExtraNode()
protected int
getFeedbackOutstanding()
protected int
getFeedbackTimeout()
protected int
getFeedbackTotReqd()
protected CbusEventRequestMonitorEvent.FbState
getLastFb()
int
hashCode()
java.lang.Boolean
matchesFeedback(int nn, int en)
protected void
setDate(java.util.Date newval)
protected void
setExtraEvent(int newval)
protected void
setExtraNode(int newval)
protected void
setFeedbackOutstanding(int newval)
protected void
setFeedbackTimeout(int newval)
protected void
setFeedbackTotReqd(int newval)
protected void
setLastFb(CbusEventRequestMonitorEvent.FbState newval)
protected void
setRequestReceived()
protected void
setResponseReceived()
protected void
stopTheTimer()
-
Methods inherited from class jmri.jmrix.can.cbus.CbusEvent
getEn, getName, getNn, getNodeName, getState, matches, sendEvent, sendOff, sendOn, sendRequest, setEn, setName, setNameIfNoName, setNn, setState, toString
-
Methods inherited from class jmri.jmrix.can.cbus.CbusEventDataElements
getCanMessage, getData, getEvState, getJmriString, getNumElements, getNumEventDataElements, setData, setDataFromFrame, setNumElements
-
-
-
-
Constructor Detail
-
CbusEventRequestMonitorEvent
public CbusEventRequestMonitorEvent(int nn, int en, CbusEventDataElements.EvState state, java.util.Date timestamp, int feedbackTimeout, int feedbackTotReqd, CbusEventRequestDataModel model)
-
-
Method Detail
-
matchesFeedback
public java.lang.Boolean matchesFeedback(int nn, int en)
-
getDate
protected java.util.Date getDate()
-
setDate
protected void setDate(java.util.Date newval)
-
setFeedbackTimeout
protected void setFeedbackTimeout(int newval)
-
getFeedbackTimeout
protected int getFeedbackTimeout()
-
getFeedbackTotReqd
protected int getFeedbackTotReqd()
-
setFeedbackTotReqd
protected void setFeedbackTotReqd(int newval)
-
getExtraEvent
protected int getExtraEvent()
-
getExtraNode
protected int getExtraNode()
-
setExtraEvent
protected void setExtraEvent(int newval)
-
setExtraNode
protected void setExtraNode(int newval)
-
setFeedbackOutstanding
protected void setFeedbackOutstanding(int newval)
-
getFeedbackOutstanding
protected int getFeedbackOutstanding()
-
getLastFb
protected CbusEventRequestMonitorEvent.FbState getLastFb()
-
setLastFb
protected void setLastFb(CbusEventRequestMonitorEvent.FbState newval)
-
setRequestReceived
protected void setRequestReceived()
-
stopTheTimer
protected void stopTheTimer()
-
setResponseReceived
protected void setResponseReceived()
-
equals
public boolean equals(java.lang.Object o)
Custom method to compare Node Number and Event Number.
-
-