- GatewayClient - Class in com.mmbnetworks.gatewayapi
-
The GatewayClient
represents an aggregation of one or more network interfaces.
- GatewayClient(ConnectionInfo) - Constructor for class com.mmbnetworks.gatewayapi.GatewayClient
-
Creates a GatewayClient that represents a single network interface.
- GatewayClient(ConnectionInfo, DeviceEventHandler) - Constructor for class com.mmbnetworks.gatewayapi.GatewayClient
-
Creates a GatewayClient that represents a single network interface.
- GatewayClient(ConnectionInfo, DeviceEventHandler, String) - Constructor for class com.mmbnetworks.gatewayapi.GatewayClient
-
Creates a GatewayClient that represents a single network interface.
- GatewayConnectionException - Exception in com.mmbnetworks.gatewayapi.exception
-
This exception class is used to report errors and unexpected processing conditions related
to connecting to network interfaces.
- GatewayConnectionException(String) - Constructor for exception com.mmbnetworks.gatewayapi.exception.GatewayConnectionException
-
Construct an exception with the associated message.
- GatewayConnectionException(Throwable) - Constructor for exception com.mmbnetworks.gatewayapi.exception.GatewayConnectionException
-
- getApiVersion() - Static method in class com.mmbnetworks.gatewayapi.GatewayClient
-
Get the API version number.
- getCachedProperties() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Gets all currently known
Property
objects associated with this device type.
- getCachedProperty(String) - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Gets the
Property
with the associated
propertyName
.
- getCachedProperty() - Method in class com.mmbnetworks.gatewayapi.PropertyCommandData
-
Get the last known value of the Property.
- getCachedProtocolProperties() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Gets all currently known
Property
objects associated with this device type.
- getCachedResult() - Method in class com.mmbnetworks.gatewayapi.CommandData
-
- getCategory() - Method in class com.mmbnetworks.gatewayapi.entity.DeviceType
-
Gets the device category.
- getCommandResult() - Method in class com.mmbnetworks.gatewayapi.CommandData
-
- getConnectedGatewayId() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Get the String
identifier of the Gateway that this Device
is connected to.
- getConnectionInfo() - Method in class com.mmbnetworks.gatewayapi.GatewayClient
-
Gets the list of connections that the GatewayClient knows about.
- getDevice() - Method in class com.mmbnetworks.gatewayapi.event.device.DeviceEvent
-
Get the Device associated with the event.
- getDevice(String) - Method in class com.mmbnetworks.gatewayapi.GatewayClient
-
Gets the device with the corresponding id.
- getDeviceConnectionType() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
- getDevices(Predicate<Device>) - Method in class com.mmbnetworks.gatewayapi.GatewayClient
-
Returns a filtered collection of devices from all the networks that the GatewayClient
knows about.
- getDevices() - Method in class com.mmbnetworks.gatewayapi.GatewayClient
-
Returns a collection of devices from all the networks that the GatewayClient
knows about.
- getDeviceType() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
- getDeviceType() - Method in class com.mmbnetworks.gatewayapi.entity.ZigbeeDevice
-
- getErrorCode() - Method in exception com.mmbnetworks.gatewayapi.exception.RequestException
-
Returns the error code associated with the exception
- getFuture() - Method in class com.mmbnetworks.gatewayapi.PropertyCommandData
-
Gets the CompletableFuture representing the request to read/write the Property.
- getGatewayDevices() - Method in class com.mmbnetworks.gatewayapi.GatewayClient
-
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
- getID() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Get the String
identifier of this Device.
- getMax() - Method in class com.mmbnetworks.gatewayapi.entity.Property
-
Get the maximum value associated with this Property, which is immutable.
- getMin() - Method in class com.mmbnetworks.gatewayapi.entity.Property
-
Get the minimum value associated with this Property, which is immutable.
- getName() - Method in enum com.mmbnetworks.gatewayapi.ConnectionInfo.ConnectionType
-
- getName() - Method in class com.mmbnetworks.gatewayapi.entity.FunctionObject
-
- getName() - Method in class com.mmbnetworks.gatewayapi.entity.Parameter
-
- getName() - Method in class com.mmbnetworks.gatewayapi.entity.Property
-
Get the name of the Property, which is immutable.
- getNetworkInfo(ConnectionInfo) - Method in class com.mmbnetworks.gatewayapi.GatewayClient
-
Returns the network information (status, channel, and id) of the specified network interface.
- getParameters() - Method in class com.mmbnetworks.gatewayapi.entity.FunctionObject
-
- getProgress() - Method in class com.mmbnetworks.gatewayapi.event.serialupload.SerialUploadResult
-
Gets the progress of a serial upgrade that is currently in progress.
- getProperties() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Gets all currently known
Property
objects associated with this device type.
- getProperties() - Method in class com.mmbnetworks.gatewayapi.entity.Result
-
- getProperty(String) - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Gets the
Property
with the associated
propertyName
.
- getProtocolProperties() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Get all currently known protocol
Property
for this device.
- getStatus() - Method in class com.mmbnetworks.gatewayapi.entity.Result
-
- getStatus() - Method in class com.mmbnetworks.gatewayapi.event.device.DeviceEvent
-
Get the DeviceEventStatus of the event.
- getType() - Method in class com.mmbnetworks.gatewayapi.ConnectionInfo
-
Get the type of the connection represented by this object.
- getType() - Method in class com.mmbnetworks.gatewayapi.entity.DeviceType
-
Gets the device type.
- getType() - Method in class com.mmbnetworks.gatewayapi.entity.Property
-
Get the class type of the Property.
- getValue() - Method in class com.mmbnetworks.gatewayapi.ConnectionInfo
-
Get the value associated with this object.
- getValue() - Method in class com.mmbnetworks.gatewayapi.entity.Parameter
-
- getValue() - Method in class com.mmbnetworks.gatewayapi.entity.Property
-
Get the value of this Property.
- readAttribute(int, int) - Method in class com.mmbnetworks.gatewayapi.entity.ZigbeeDevice
-
Read a zigbee attribute that lives on a server cluster (and is not manufacturing specific).
- readAttribute(int, int, int, boolean) - Method in class com.mmbnetworks.gatewayapi.entity.ZigbeeDevice
-
Read a zigbee attribute.
- readCachedFanMode() - Method in class com.mmbnetworks.gatewayapi.entity.ThermostatDevice
-
Reads the cached FanControl.FanModeEnum
of the Thermostat.
- readCachedLevel() - Method in class com.mmbnetworks.gatewayapi.entity.LightDevice
-
Reads the cache level value of this light device.
- readCachedMode() - Method in class com.mmbnetworks.gatewayapi.entity.ThermostatDevice
-
Reads the cached Thermostat.SystemModeEnum
of the Thermostat.
- readCachedRunningMode() - Method in class com.mmbnetworks.gatewayapi.entity.ThermostatDevice
-
Reads the cached running mode of the thermostat device.
- readCachedSetpointLimit(Thermostat.SetpointModeEnum) - Method in class com.mmbnetworks.gatewayapi.entity.ThermostatDevice
-
Reads the cached setpoint of the thermostat device.
- readFanMode() - Method in class com.mmbnetworks.gatewayapi.entity.ThermostatDevice
-
Reads the current FanControl.FanModeEnum
of the Thermostat.
- readLevel() - Method in class com.mmbnetworks.gatewayapi.entity.LightDevice
-
Reads the current level of this light device
- readMode() - Method in class com.mmbnetworks.gatewayapi.entity.ThermostatDevice
-
Reads the current Thermostat.SystemModeEnum
of the Thermostat.
- readRunningMode() - Method in class com.mmbnetworks.gatewayapi.entity.ThermostatDevice
-
Reads the current running mode of the thermostat.
- readSetpointLimit(Thermostat.SetpointModeEnum) - Method in class com.mmbnetworks.gatewayapi.entity.ThermostatDevice
-
Reads the setpoint.
- removeAllDeviceEventHandlers() - Method in class com.mmbnetworks.gatewayapi.GatewayClient
-
Removes all registered handlers.
- removeAllPropertyUpdateHandlers() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Removes all handlers that have been previously registered.
- removeAllProtocolHandlers() - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Removes all handlers that have been previously registered.
- removeDeviceEventHandler(DeviceEventHandler) - Method in class com.mmbnetworks.gatewayapi.GatewayClient
-
Removes a previously registered handler.
- removeFromGroup(int) - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
- removePropertyUpdateHandler(BiConsumer<Device, Property>) - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Removes a previously added handler.
- removeProtocolHandler(BiConsumer<Device, String>) - Method in class com.mmbnetworks.gatewayapi.entity.Device
-
Removes a previously added ProtocolHandler
- RequestException - Exception in com.mmbnetworks.gatewayapi.exception
-
- RequestException(int, String) - Constructor for exception com.mmbnetworks.gatewayapi.exception.RequestException
-
Construct an exception with the associated error code and message
- Result - Class in com.mmbnetworks.gatewayapi.entity
-
- Result(Status, Collection<Property>) - Constructor for class com.mmbnetworks.gatewayapi.entity.Result
-
- ResultConsumer<T> - Interface in com.mmbnetworks.gatewayapi.event
-
ResultConsumer adds the #onError(Throwable) method for situation when the producer needs to propagate some sort of
error message, or exception to indicate an erroneous state
- valueOf(String) - Static method in enum com.mmbnetworks.gatewayapi.ConnectionInfo.ConnectionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mmbnetworks.gatewayapi.entity.DeviceConnectionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mmbnetworks.gatewayapi.entity.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mmbnetworks.gatewayapi.event.device.DeviceEventStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mmbnetworks.gatewayapi.exception.ExceptionCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.mmbnetworks.gatewayapi.NetworkStatus
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.mmbnetworks.gatewayapi.ConnectionInfo.ConnectionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.mmbnetworks.gatewayapi.entity.DeviceConnectionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.mmbnetworks.gatewayapi.entity.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.mmbnetworks.gatewayapi.event.device.DeviceEventStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.mmbnetworks.gatewayapi.exception.ExceptionCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.mmbnetworks.gatewayapi.NetworkStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.