Package jmri.implementation
Class AbstractRailComReporter
- java.lang.Object
-
- jmri.implementation.AbstractNamedBean
-
- jmri.implementation.AbstractReporter
-
- jmri.implementation.AbstractIdTagReporter
-
- jmri.implementation.AbstractRailComReporter
-
- All Implemented Interfaces:
java.lang.Comparable<NamedBean>
,PropertyChangeProvider
,IdTagListener
,NamedBean
,PhysicalLocationReporter
,Reporter
- Direct Known Subclasses:
BiDiBReporter
,CbusReporter
,Dcc4PcReporter
,Z21CanReporter
,Z21Reporter
public class AbstractRailComReporter extends AbstractIdTagReporter
Extend AbstractReporter for RailCom reportersThis file is based on @{link jmri.jmrix.rfid.RfidReporter}
- Since:
- 4.5.4
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jmri.NamedBean
NamedBean.BadNameException, NamedBean.BadSystemNameException, NamedBean.BadUserNameException, NamedBean.DisplayOptions, NamedBean.DuplicateSystemNameException
-
Nested classes/interfaces inherited from interface jmri.PhysicalLocationReporter
PhysicalLocationReporter.Direction
-
-
Field Summary
-
Fields inherited from class jmri.implementation.AbstractReporter
_currentReport, _lastReport
-
Fields inherited from class jmri.implementation.AbstractNamedBean
listenerRefs, mSystemName, register
-
Fields inherited from interface jmri.NamedBean
DISPLAY_NAME_FORMAT, INCONSISTENT, PROPERTY_STATE, QUOTED_NAME_FORMAT, UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description AbstractRailComReporter(java.lang.String systemName)
AbstractRailComReporter(java.lang.String systemName, java.lang.String userName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocoAddress
getLocoAddress(java.lang.String rep)
Get the locomotive address we're reporting about from the current report.-
Methods inherited from class jmri.implementation.AbstractIdTagReporter
describeState, getDirection, getPhysicalLocation, getPhysicalLocation, getState, notify, setState
-
Methods inherited from class jmri.implementation.AbstractReporter
getBeanType, getCurrentReport, getLastReport, setReport
-
Methods inherited from class jmri.implementation.AbstractNamedBean
addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, compareSystemNameSuffix, dispose, equals, firePropertyChange, getComment, getDisplayName, getDisplayName, getListenerRef, getListenerRefs, getNumPropertyChangeListeners, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeListenersByReference, getPropertyKeys, getSystemName, getUserName, hashCode, removeProperty, removePropertyChangeListener, removePropertyChangeListener, setComment, setProperty, setUserName, toString, toStringSuffix, updateListenerRef, vetoableChange
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jmri.NamedBean
addPropertyChangeListener, addPropertyChangeListener, compareSystemNameSuffix, compareTo, dispose, getComment, getDisplayName, getDisplayName, getListenerRef, getListenerRefs, getNumPropertyChangeListeners, getProperty, getPropertyChangeListenersByReference, getPropertyKeys, getRecommendedToolTip, getSystemName, getUsageReport, getUserName, removeProperty, setComment, setProperty, setUserName, toString, updateListenerRef, vetoableChange
-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Constructor Detail
-
AbstractRailComReporter
public AbstractRailComReporter(java.lang.String systemName)
-
AbstractRailComReporter
public AbstractRailComReporter(java.lang.String systemName, java.lang.String userName)
-
-
Method Detail
-
getLocoAddress
public LocoAddress getLocoAddress(java.lang.String rep)
Get the locomotive address we're reporting about from the current report. Note: We ignore the string passed in, because RailCom Reporters don't send String type reports. Get the locomotive address we're reporting about from the current report.- Specified by:
getLocoAddress
in interfacePhysicalLocationReporter
- Overrides:
getLocoAddress
in classAbstractIdTagReporter
- Parameters:
rep
- ignored, IdTag Reporters don't send String type reports.
-
-