Class DefaultPayloadDataSupplier
- java.lang.Object
-
- io.heraldprox.herald.sensor.payload.DefaultPayloadDataSupplier
-
- All Implemented Interfaces:
PayloadDataSupplier
- Direct Known Subclasses:
ConcreteSimplePayloadDataSupplier
,TestPayloadDataSupplier
public abstract class DefaultPayloadDataSupplier extends java.lang.Object implements PayloadDataSupplier
-
-
Constructor Summary
Constructors Constructor Description DefaultPayloadDataSupplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LegacyPayloadData
legacyPayload(PayloadTimestamp timestamp, Device device)
java.util.List<PayloadData>
payload(Data data)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.heraldprox.herald.sensor.PayloadDataSupplier
payload
-
-
-
-
Method Detail
-
legacyPayload
@Nullable public LegacyPayloadData legacyPayload(@NonNull PayloadTimestamp timestamp, @Nullable Device device)
- Specified by:
legacyPayload
in interfacePayloadDataSupplier
-
payload
@NonNull public java.util.List<PayloadData> payload(@NonNull Data data)
- Specified by:
payload
in interfacePayloadDataSupplier
-
-