public class OpenV4JDiscovery extends java.lang.Object implements TestingUtility
Modifier and Type | Class and Description |
---|---|
(package private) class |
OpenV4JDiscovery.SearchThread |
Modifier and Type | Field and Description |
---|---|
private AutoShutOff |
autoShutOff |
(package private) java.util.ResourceBundle |
bundle |
(package private) net.sf.openv4j.protocolhandlers.SegmentedDataContainer |
dc |
(package private) boolean |
finished |
(package private) static org.apache.commons.logging.Log |
LOG |
(package private) java.lang.String |
message |
(package private) net.sf.openv4j.protocolhandlers.ProtocolHandler |
protocolHandler |
private OpenV4JDiscovery.SearchThread |
searchThread |
(package private) gnu.io.SerialPort |
sPort |
Constructor and Description |
---|
OpenV4JDiscovery(java.util.ResourceBundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
addDeviceInfo(java.util.Map<java.lang.String,java.lang.Object> result) |
private void |
addToDataContainer(net.sf.openv4j.DataPoint dataPoint) |
void |
addUpdateInfo(java.util.Map<java.lang.String,java.lang.Object> result) |
void |
cancel() |
(package private) void |
cleanup() |
static OpenV4JDiscovery |
detectDevice(java.util.ResourceBundle bundle,
java.lang.String commPortId) |
static OpenV4JDiscovery |
searchDataPoints(java.util.ResourceBundle bundle,
java.lang.String commPortId) |
private void |
setMessage(java.lang.String message) |
private void |
start(java.lang.String commPortId) |
static final org.apache.commons.logging.Log LOG
final java.util.ResourceBundle bundle
gnu.io.SerialPort sPort
final net.sf.openv4j.protocolhandlers.ProtocolHandler protocolHandler
private final AutoShutOff autoShutOff
java.lang.String message
boolean finished
private OpenV4JDiscovery.SearchThread searchThread
final net.sf.openv4j.protocolhandlers.SegmentedDataContainer dc
private void addToDataContainer(net.sf.openv4j.DataPoint dataPoint)
private void setMessage(java.lang.String message)
public static OpenV4JDiscovery searchDataPoints(java.util.ResourceBundle bundle, java.lang.String commPortId)
public static OpenV4JDiscovery detectDevice(java.util.ResourceBundle bundle, java.lang.String commPortId)
private void start(java.lang.String commPortId)
public void addDeviceInfo(java.util.Map<java.lang.String,java.lang.Object> result)
public void addUpdateInfo(java.util.Map<java.lang.String,java.lang.Object> result)
public void cancel()
cancel
in interface TestingUtility
void cleanup()