public static class ReadRequest.Builder
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
ReadRequest |
build() |
Build the read request.
|
ReadRequest.Builder |
integrityPoll() |
Read classes 0-3.
|
ReadRequest.Builder |
readAll(Variation variation) |
Read all data of the specified group variation using qualifier 0x06.
|
ReadRequest.Builder |
readAllWithLimit(Variation variation,
int limit) |
Read all data of the specified group variation with the given limit/count using qualifiers
0x07 and 0x08.
|
ReadRequest.Builder |
readIndexes(Variation variation,
int... indexes) |
Read one or more indexes using qualifiers 0x17 or 0x28.
|
ReadRequest.Builder |
readIndexes(Variation variation,
java.util.List<java.lang.Integer> indexes) |
Read one or more indexes using qualifiers 0x17 or 0x28.
|
ReadRequest.Builder |
readIndexless(Variation variation) |
Read a single indexless data point using qualifier 0x07 and a specified limit/count of 1.
|
ReadRequest.Builder |
readRange(Variation variation,
int start,
int stop) |
Read the index range from start to stop (inclusive).
|
public ReadRequest.Builder readAll(Variation variation)
variation
- the group variation to readpublic ReadRequest.Builder readAllWithLimit(Variation variation, int limit)
variation
- the group variation to readlimit
- the maximum number of data points a response shall containpublic ReadRequest.Builder readIndexless(Variation variation)
readAllWithLimit(Variation, int)
with a limit/count of
1.variation
- the group variation to readpublic ReadRequest.Builder readRange(Variation variation, int start, int stop)
variation
- the group variationstart
- the start indexstop
- the stop indexpublic ReadRequest.Builder readIndexes(Variation variation, java.util.List<java.lang.Integer> indexes)
variation
- the group variationindexes
- the indexespublic ReadRequest.Builder readIndexes(Variation variation, int... indexes)
variation
- the group variationindexes
- the indexespublic ReadRequest.Builder integrityPoll()
readAll(Variation)
for all four classes.public ReadRequest build()