public class GatewayUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GatewayUtils.GATEWAY_TYPE |
static class |
GatewayUtils.SERIAL_PORT_DRIVER |
Modifier and Type | Field and Description |
---|---|
static AtomicBoolean |
GATEWAYS_READY |
static String |
OS_ARCH_ARM |
static String |
RAW_MESSAGE_LOGGER |
static String |
RAW_MESSAGE_REFERENCE |
Constructor and Description |
---|
GatewayUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addGateway(GatewayTable gatewayTable) |
static void |
disableGateway(Integer gatewayId) |
static void |
disableGateways(List<Integer> ids) |
static void |
enableGateway(Integer gatewayId) |
static void |
enableGateways(List<Integer> ids) |
static void |
executeGatewayOperation(ResourceModel resourceModel,
ResourceOperation operation) |
static GatewayConfig |
getGateway(GatewayTable gatewayTable) |
static GatewayConfig |
getGateway(Integer gatewayId) |
static String[] |
getMqttTopics(String topic) |
static String |
gwLogReference(GatewayConfig _config) |
static void |
loadEngine(GatewayTable gatewayTable) |
static void |
loadEngineAll() |
static void |
reloadEngine(Integer gatewayId) |
static void |
reloadEngines() |
static void |
reloadEngines(List<Integer> ids) |
static void |
unloadEngine(Integer gatewayId) |
static void |
unloadEngineAll() |
static void |
updateGateway(GatewayTable gatewayTable) |
public static final String RAW_MESSAGE_LOGGER
public static final String RAW_MESSAGE_REFERENCE
public static final String OS_ARCH_ARM
public static final AtomicBoolean GATEWAYS_READY
public static void loadEngineAll()
public static void loadEngine(GatewayTable gatewayTable)
public static void unloadEngine(Integer gatewayId)
public static GatewayConfig getGateway(Integer gatewayId)
public static GatewayConfig getGateway(GatewayTable gatewayTable)
public static void unloadEngineAll()
public static void reloadEngines()
public static void reloadEngine(Integer gatewayId)
public static void updateGateway(GatewayTable gatewayTable)
public static void addGateway(GatewayTable gatewayTable)
public static void enableGateway(Integer gatewayId)
public static void disableGateway(Integer gatewayId)
public static void executeGatewayOperation(ResourceModel resourceModel, ResourceOperation operation)
public static String gwLogReference(GatewayConfig _config)
Copyright © 2015–2019. All rights reserved.