public class BrickFinder
extends java.lang.Object
Constructor and Description |
---|
BrickFinder() |
Modifier and Type | Method and Description |
---|---|
static BrickInfo[] |
discover()
Search for available EV3s and populate table with results.
|
static BrickInfo[] |
discoverNXT() |
static BrickInfo[] |
find(java.lang.String name)
Search for a named EV3.
|
static Brick |
getDefault() |
static Brick |
getLocal() |
static void |
setDefault(Brick brick) |
static void |
startDiscoveryServer(boolean forward)
Start the discovery server running.
|
static void |
stopDiscoveryServer()
Stop the discovery server
|
public static Brick getLocal()
public static Brick getDefault()
public static BrickInfo[] find(java.lang.String name)
name
- public static BrickInfo[] discover()
public static BrickInfo[] discoverNXT()
public static void setDefault(Brick brick)
public static void startDiscoveryServer(boolean forward)
forward
- true if requests should be forwarded to other devicespublic static void stopDiscoveryServer()