Interface PollingContext
public interface PollingContext
-
Method Summary
-
Method Details
-
getMqttTopic
- Returns:
- the topic on which the data will be available
-
getTagName
-
getMqttQos
int getMqttQos()- Returns:
- the Quality-of-Service for the MQTT publish containing the data
-
getMessageHandlingOptions
- Returns:
- how the data will be published (one publish for all tags, a separate publish for each tag)
-
getIncludeTimestamp
- Returns:
- whether the MQTT publish payload should contain the timestamp
-
getIncludeTagNames
- Returns:
- whether the MQTT publish payload should contain the tag names
-
getUserProperties
- Returns:
- a list of MQTT user properties that are added to the MQTT publish
-
getJsonPayloadCreator
- Returns:
- optional custom implementation of the
JsonPayloadCreatorto overwrite the default creation of the mqtt payloads
-
getMessageExpiryInterval
- Returns:
- optional custom implementation of the
JsonPayloadCreatorto overwrite the default creation of the mqtt payloads
-