Class TestPayloadDataSupplier
- java.lang.Object
-
- io.heraldprox.herald.sensor.payload.DefaultPayloadDataSupplier
-
- io.heraldprox.herald.sensor.payload.test.TestPayloadDataSupplier
-
- All Implemented Interfaces:
PayloadDataSupplier
public class TestPayloadDataSupplier extends DefaultPayloadDataSupplier
-
-
Constructor Summary
Constructors Constructor Description TestPayloadDataSupplier(int identifier)
TestPayloadDataSupplier(int identifier, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegacyPayloadData
legacyPayload(PayloadTimestamp timestamp, Device device)
PayloadData
payload(PayloadTimestamp timestamp, Device device)
-
Methods inherited from class io.heraldprox.herald.sensor.payload.DefaultPayloadDataSupplier
payload
-
-
-
-
Method Detail
-
payload
@NonNull public PayloadData payload(@NonNull PayloadTimestamp timestamp, @Nullable Device device)
-
legacyPayload
@Nullable public LegacyPayloadData legacyPayload(@NonNull PayloadTimestamp timestamp, @Nullable Device device)
- Specified by:
legacyPayload
in interfacePayloadDataSupplier
- Overrides:
legacyPayload
in classDefaultPayloadDataSupplier
-
-