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 |
---|---|
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 |
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 © 2019. All rights reserved.