jmri.jmrix.can
Class TrafficController
java.lang.Object
jmri.jmrix.AbstractMRTrafficController
jmri.jmrix.can.AbstractCanTrafficController
jmri.jmrix.can.TrafficController
- All Implemented Interfaces:
- CanInterface
- Direct Known Subclasses:
- GcTrafficController, LawicellTrafficController, LoopbackTrafficController
public abstract class TrafficController
- extends AbstractCanTrafficController
Traffic controller for CAN access.
- Author:
- Bob Jacobsen Copyright (C) 2008
| Fields inherited from class jmri.jmrix.AbstractMRTrafficController |
allowUnexpectedReply, AUTORETRYSTATE, cmdListeners, controller, flushReceiveChars, IDLESTATE, istream, mCurrentMode, mCurrentState, mLastSender, mWaitBeforePoll, NORMALMODE, NOTIFIEDSTATE, OKSENDMSGSTATE, ostream, POLLSTATE, PROGRAMINGMODE, rcvException, replyInDispatch, WAITMSGREPLYSTATE, WAITREPLYINNORMMODESTATE, WAITREPLYINPROGMODESTATE, waitTimePoll, xmtException, xmtRunnable |
| Methods inherited from class jmri.jmrix.can.AbstractCanTrafficController |
addCanListener, decodeFromHardware, encodeForHardware, enterNormalMode, enterProgMode, forwardToPort, handleOneIncomingReply, newMessage, pollMessage, pollReplyHandler, removeCanListener |
| Methods inherited from class jmri.jmrix.AbstractMRTrafficController |
addHeaderToOutput, addListener, addTrailerToOutput, canReceive, connectionWarn, connectPort, disconnectPort, endOfMessage, enterProgModeDelayTime, finalize, forwardMessage, forwardReply, getLastSender, getPortName, getSelfLock, handleTimeout, hasTimeouts, lengthOfByteStream, loadChars, newRcvNotifier, newReply, notifyMessage, notifyReply, portReadyToSend, portWarn, portWarnTCP, programmerIdle, readByteProtected, receiveLoop, removeListener, reportReceiveLoopException, resetTimeout, sendMessage, setAllowUnexpectedReply, status, terminate, transmitWait, waitForStartOfReply |
self
protected static TrafficController self
_canid
protected static int _canid
TrafficController
public TrafficController()
instance
public static TrafficController instance()
- static function returning the CanTrafficController instance to use.
- Returns:
- The registered TrafficController instance for general use,
which must have been initialized previously
setInstance
protected void setInstance()
- Specified by:
setInstance in class AbstractMRTrafficController
getCanid
public int getCanid()
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: