Added scanning button animation, detection of scannable controllers and scan start
This commit is contained in:
parent
6656882859
commit
a80a1c5cdc
26 changed files with 100 additions and 70 deletions
|
|
@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit;
|
|||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
public class NetScanController implements HalEventController, HalAutoScannableController, InetScanListener, Runnable {
|
||||
public class NetScanController implements HalEventController, HalAutostartController, InetScanListener, Runnable {
|
||||
public static Logger logger = LogUtil.getLogger();
|
||||
private static final int NETWORK_SYNC_INTERVAL = 3 * 60 * 60 * 1000; // 3 hours
|
||||
private static final int PING_INTERVAL = 10 * 1000; // 10 sec
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"version": 1.0,
|
||||
"name": "Hal-Network Scanner",
|
||||
"interfaces": [
|
||||
{"se.hal.intf.HalAutoScannableController": "se.hal.plugin.netscan.NetScanController"},
|
||||
{"se.hal.intf.HalAutostartController": "se.hal.plugin.netscan.NetScanController"},
|
||||
{"se.hal.intf.HalEventConfig": "se.hal.plugin.netscan.NetworkDevice"}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue