Package | Description |
---|---|
com.mmbnetworks.gatewayapi | |
com.mmbnetworks.gatewayapi.entity | |
com.mmbnetworks.gatewayapi.event.device | |
com.mmbnetworks.gatewayapi.sample.iaszone |
Modifier and Type | Method and Description |
---|---|
Device |
GatewayClient.getDevice(String id)
Gets the device with the corresponding id.
|
Modifier and Type | Method and Description |
---|---|
Collection<Device> |
GatewayClient.getDevices()
Returns a collection of devices from all the networks that the
GatewayClient knows about. |
Collection<Device> |
GatewayClient.getDevices(Predicate<Device> filter)
Returns a filtered collection of devices from all the networks that the
GatewayClient knows about. |
Collection<Device> |
GatewayClient.getGatewayDevices()
Retrieves a collection of devices in the network that represents the network interface(i.e the
ConnectionInfo
that was passed upon the initialisation of the GatewayClient |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
Group.assignDevice(Device device)
Assign a device to this Group.
|
CompletableFuture<Boolean> |
Group.assignDeviceIfIdentifying(Device device)
Assign a device to this Group only if it is identifying itself.
|
void |
InternalOtaHandler.pauseOtaUpgrade(Device device)
Pauses an on-going ota upgrade.
|
CompletableFuture<Boolean> |
Group.removeDevice(Device device)
Remove a device from this Group.
|
void |
InternalOtaHandler.resetRateLimitPolicy(Device device)
Resets the rate limit policy of an ota upgrade to default.
|
void |
InternalOtaHandler.setRateLimitPolicy(Device device,
RateLimitPolicy policy)
Sets the rate limit policy of an ota upgrade.
|
void |
InternalOtaHandler.unpauseOtaUpgrade(Device device)
Unpauses an ota upgrade that was previously paused.
|
Modifier and Type | Method and Description |
---|---|
Collection<Device> |
GatewayClient.getDevices(Predicate<Device> filter)
Returns a filtered collection of devices from all the networks that the
GatewayClient knows about. |
Modifier and Type | Class and Description |
---|---|
class |
LightDevice |
class |
ThermostatDevice |
class |
ZigbeeDevice
Represents a zigbee device on the network.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Device.addPropertyUpdateHandler(BiConsumer<Device,Property> handler)
Adds a Property update handler.
|
boolean |
Device.addProtocolHandler(BiConsumer<Device,String> handler)
Adds a ProtocolHandler to handle protocol messages from the Device.
|
boolean |
Device.removePropertyUpdateHandler(BiConsumer<Device,Property> handler)
Removes a previously added handler.
|
boolean |
Device.removeProtocolHandler(BiConsumer<Device,String> handler)
Removes a previously added ProtocolHandler
|
Modifier and Type | Method and Description |
---|---|
Device |
DeviceEvent.getDevice()
Get the Device associated with the event.
|
Constructor and Description |
---|
DeviceEvent(DeviceEventStatus status,
Device device)
Creates a DeviceEvent object.
|
Modifier and Type | Method and Description |
---|---|
void |
IasPropertyHandler.accept(Device device,
Property property) |
void |
IasProtocolPassthroughHandler.accept(Device device,
String json) |
Copyright © 2020. All rights reserved.