|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gtosoft.libvoyager.util.NetDetect
public class NetDetect
The purpose of this class is to perform passive CAN network detection. A separate class will collect network data (i.e. CAN IDs) and we will look at that collected data and form a "best guess" at which datapoint Network ID to use. Each entry in the dataPoint table in the Voyager Database contains a field "Network ID" which must be set in order to decode passive network traffic. This class will provide the link (the Network ID) between the collection of [unknown] network data, and the processes which decode that data.
Constructor Summary | |
---|---|
NetDetect(DashDB d)
Default constructor. |
Method Summary | |
---|---|
java.lang.String |
getBestGuessNetworkID(java.util.Set<java.lang.String> newBaseSet)
Given a base set (set of observed CAN IDs), we will compare against all available DPNs in the DB. |
GeneralStats |
getStats()
returns a reference to our instance of the general stats class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetDetect(DashDB d)
Method Detail |
---|
public java.lang.String getBestGuessNetworkID(java.util.Set<java.lang.String> newBaseSet)
public GeneralStats getStats()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |