ConfigType
- Type of network configurationpublic interface ICommNetwork<ConfigType extends ModuleConfig> extends IModule<ConfigType>
Interface used to represent communication networks of different types, such as Ethernet, WiFi, Bluetooth, Bluetooth LE, ZigBee, etc...
Modifier and Type | Interface and Description |
---|---|
static class |
ICommNetwork.NetworkType |
CANNOT_INIT_MSG, CANNOT_LOAD_MSG, CANNOT_START_MSG, CANNOT_STOP_MSG, CANNOT_UPDATE_MSG
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends INetworkInfo> |
getAvailableNetworks() |
IDeviceScanner |
getDeviceScanner() |
java.lang.String |
getInterfaceName() |
ICommNetwork.NetworkType |
getNetworkType() |
boolean |
isOfType(ICommNetwork.NetworkType type)
Checks if this network is compatible with given type.
|
cleanup, getConfiguration, getCurrentError, getCurrentState, getLocalID, getName, getStatusMessage, init, init, isInitialized, isStarted, loadState, registerListener, requestInit, requestStart, requestStop, saveState, setConfiguration, start, stop, unregisterListener, updateConfig, waitForState
java.lang.String getInterfaceName()
ICommNetwork.NetworkType getNetworkType()
boolean isOfType(ICommNetwork.NetworkType type)
type
- IDeviceScanner getDeviceScanner()
java.util.Collection<? extends INetworkInfo> getAvailableNetworks()