Package jmri.jmrix.dcc4pc
Class Dcc4PcSensorManager.ActiveBoard
- java.lang.Object
-
- jmri.jmrix.dcc4pc.Dcc4PcSensorManager.ActiveBoard
-
- Enclosing class:
- Dcc4PcSensorManager
class Dcc4PcSensorManager.ActiveBoard extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
addr
(package private) int
address
(package private) int
cvNumber
(package private) int
dcc_addr_type
(package private) java.lang.String
description
(package private) boolean
doNotPoll
(package private) int
encoding
(package private) int
failedRequests
(package private) java.util.HashMap<java.lang.Integer,Dcc4PcSensor>
inputPorts
(package private) java.util.HashMap<java.lang.Integer,Dcc4PcReporter>
inputReportersPorts
(package private) int
inputs
(package private) int[]
lastDCCPacketSeen
(package private) int
speed
(package private) java.lang.String
version
-
Constructor Summary
Constructors Constructor Description ActiveBoard(int address, java.lang.String version, int inputs, int encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
addFailedRequests()
(package private) void
addReporter(int port, Dcc4PcReporter reporter)
(package private) void
addSensor(int port, Dcc4PcSensor sensor)
(package private) void
clearFailedRequests()
(package private) void
decodeDCCPacket(int[] packet)
(package private) boolean
doNotPoll()
(package private) java.lang.String
getDescription()
(package private) java.lang.String
getEncodingAsString()
(package private) int
getInputs()
(package private) int
getNumEnabledSensors()
(package private) Dcc4PcReporter
getReporterAtIndex(int i)
(package private) Dcc4PcSensor
getSensorAtIndex(int i)
(package private) java.lang.String
getVersion()
(package private) void
processInputPacket(Dcc4PcReply r)
int
processPacket(Dcc4PcReply r, int packetType, int packetTypeCmd, int currentByteLocation)
(package private) void
setAddress(int address)
(package private) void
setDescription(java.lang.String description)
(package private) void
setDoNotPoll(boolean poll)
-
-
-
Field Detail
-
inputs
int inputs
-
encoding
int encoding
-
version
java.lang.String version
-
description
java.lang.String description
-
address
int address
-
failedRequests
int failedRequests
-
doNotPoll
boolean doNotPoll
-
inputPorts
java.util.HashMap<java.lang.Integer,Dcc4PcSensor> inputPorts
-
inputReportersPorts
java.util.HashMap<java.lang.Integer,Dcc4PcReporter> inputReportersPorts
-
addr
int addr
-
dcc_addr_type
int dcc_addr_type
-
cvNumber
int cvNumber
-
speed
int speed
-
lastDCCPacketSeen
int[] lastDCCPacketSeen
-
-
Constructor Detail
-
ActiveBoard
ActiveBoard(int address, java.lang.String version, int inputs, int encoding)
-
-
Method Detail
-
setAddress
void setAddress(int address)
-
addFailedRequests
void addFailedRequests()
-
clearFailedRequests
void clearFailedRequests()
-
setDoNotPoll
void setDoNotPoll(boolean poll)
-
doNotPoll
boolean doNotPoll()
-
addSensor
void addSensor(int port, Dcc4PcSensor sensor)
-
getEncodingAsString
java.lang.String getEncodingAsString()
-
setDescription
void setDescription(java.lang.String description)
-
getSensorAtIndex
Dcc4PcSensor getSensorAtIndex(int i)
-
getNumEnabledSensors
int getNumEnabledSensors()
-
addReporter
void addReporter(int port, Dcc4PcReporter reporter)
-
getReporterAtIndex
Dcc4PcReporter getReporterAtIndex(int i)
-
processInputPacket
void processInputPacket(Dcc4PcReply r)
-
processPacket
public int processPacket(Dcc4PcReply r, int packetType, int packetTypeCmd, int currentByteLocation)
-
decodeDCCPacket
void decodeDCCPacket(int[] packet)
-
getInputs
int getInputs()
-
getDescription
java.lang.String getDescription()
-
getVersion
java.lang.String getVersion()
-
-