public class DeviceSetting<T> extends ReadableDeviceSetting<T>
Modifier and Type | Class and Description |
---|---|
static interface |
DeviceSetting.ValidationCallback |
connection, settingId
Constructor and Description |
---|
DeviceSetting(DeviceConnectionInternalLink connection,
<any> settingId,
ReadHandler read,
WriteHandler write,
ValueValidator<T> valueValidator,
boolean alwaysAvailable) |
Modifier and Type | Method and Description |
---|---|
void |
checkValue(T value,
DeviceSetting.ValidationCallback validationCallback) |
CallbackHandler |
set(T value,
SettingCallback<T> callback) |
equals, get, getId, hashCode, isAvailable
public DeviceSetting(DeviceConnectionInternalLink connection, <any> settingId, ReadHandler read, WriteHandler write, ValueValidator<T> valueValidator, boolean alwaysAvailable)
public CallbackHandler set(T value, SettingCallback<T> callback)
public void checkValue(T value, DeviceSetting.ValidationCallback validationCallback)