Package jmri.jmrix.mrc
Interface MrcInterface
- All Known Implementing Classes:
MrcPacketizer,MrcTrafficController
public interface MrcInterface
Layout interface, similar to command station
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMask value to request notification of all incoming messagesstatic final intMask value to request notification of messages associated with layout powerstatic final intstatic final intMask value to request notification of messages associated with layout powerstatic final int(MrcInter Mask value to request notification of messages associated with programmingstatic final intMask value to request notification of messages indicating changes in sensor statusstatic final intMask value to request notification of messages effecting throttle changesstatic final intMask value to request notification of messages indicating changes in turnout status -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTrafficListener(int Mask, MrcTrafficListener l) voidchangeTrafficListener(int Mask, MrcTrafficListener l) voidremoveTrafficListener(int Mask, MrcTrafficListener l) voidsendMrcMessage(MrcMessage msg) booleanstatus()
-
Field Details
-
ALL
Mask value to request notification of all incoming messages- See Also:
-
THROTTLEINFO
Mask value to request notification of messages effecting throttle changes- See Also:
-
PROGRAMMING
(MrcInter Mask value to request notification of messages associated with programming- See Also:
-
TURNOUTS
Mask value to request notification of messages indicating changes in turnout status- See Also:
-
SENSORS
Mask value to request notification of messages indicating changes in sensor status- See Also:
-
POWER
Mask value to request notification of messages associated with layout power- See Also:
-
CLOCK
Mask value to request notification of messages associated with layout power- See Also:
-
POLL
- See Also:
-
-
Method Details
-
sendMrcMessage
-
addTrafficListener
-
removeTrafficListener
-
changeTrafficListener
-
status
boolean status()
-