Class AllocatedGroupRange
java.lang.Object
org.openremote.agent.protocol.bluetooth.mesh.Range
org.openremote.agent.protocol.bluetooth.mesh.AddressRange
org.openremote.agent.protocol.bluetooth.mesh.AllocatedGroupRange
-
Field Summary
Fields inherited from class org.openremote.agent.protocol.bluetooth.mesh.Range
lowerBound, upperBound -
Constructor Summary
ConstructorsConstructorDescriptionAllocatedGroupRange(int lowAddress, int highAddress) ConstructsAllocatedGroupRangefor provisioner -
Method Summary
Modifier and TypeMethodDescriptionintReturns the high address of the allocated group rangeintReturns the low address of the allocated group addressfinal intReturns the lower bound of the Rangefinal intReturns the upper bound of the rangevoidsetHighAddress(int highAddress) Sets the high address of the group addressvoidsetLowAddress(int lowAddress) Sets the low address of the allocated group addressMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.AddressRange
minus, minus, overlaps, rangeMethods inherited from class org.openremote.agent.protocol.bluetooth.mesh.Range
mergeGroupRanges, mergeSceneRanges, mergeUnicastRanges, overlaps
-
Constructor Details
-
AllocatedGroupRange
public AllocatedGroupRange(int lowAddress, int highAddress) ConstructsAllocatedGroupRangefor provisioner- Parameters:
lowAddress- low address of group rangehighAddress- high address of group range
-
-
Method Details
-
getLowerBound
public final int getLowerBound()Description copied from class:RangeReturns the lower bound of the Range- Specified by:
getLowerBoundin classRange
-
getUpperBound
public final int getUpperBound()Description copied from class:RangeReturns the upper bound of the range- Specified by:
getUpperBoundin classRange
-
getLowAddress
public int getLowAddress()Description copied from class:AddressRangeReturns the low address of the allocated group address- Specified by:
getLowAddressin classAddressRange- Returns:
- low address
-
setLowAddress
public void setLowAddress(int lowAddress) Sets the low address of the allocated group address- Parameters:
lowAddress- of the group range
-
getHighAddress
public int getHighAddress()Description copied from class:AddressRangeReturns the high address of the allocated group range- Specified by:
getHighAddressin classAddressRange- Returns:
- highAddress of the group range
-
setHighAddress
public void setHighAddress(int highAddress) Sets the high address of the group address- Parameters:
highAddress- of the group range
-