CallbackDiscreteTypeConverter<T> class
- Inheritance
-
- Object
- TypeConverter<
T> - DiscreteTypeConverter<
T> - CallbackDiscreteTypeConverter
Constructors
-
CallbackDiscreteTypeConverter({required ReadCallback<
T, List< readCallback, WriteCallback<bool?> >T, bool, List< ? writeCallback})bool> > -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
readCallback
→ ReadCallback<
T, List< bool?> > -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
writeCallback
→ WriteCallback<
T, bool, List< ?bool> > -
final
Methods
-
canRead(
Type type, Register registerType, int address) → bool -
inherited
-
canWrite(
Type type, int address) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
RawReadCallback< List< readRaw) → Future<bool?> >T> -
override
-
readFromClient(
ModbusClient client, Register registerType, int address) → Future< T> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
T value, RawWriteCallback< bool> writeSingle, RawWriteCallback<List< writeMultiple) → Future<bool> >void> -
override
-
writeToClient(
ModbusClient client, int address, T value) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited