Class SparkplugBEncoder
java.lang.Object
com.inductiveautomation.eventstream.gateway.encoding.SparkplugBEncoder
- All Implemented Interfaces:
EventStreamEncoder
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.eventstream.encoder.EventStreamEncoder
EventStreamEncoder.Config, EventStreamEncoder.Descriptor
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionconfig()
Convertsdata
to another type defined by theEventStreamEncoder
.
-
Field Details
-
INSTANCE
-
FACTORY
-
-
Method Details
-
config
-
encode
Description copied from interface:EventStreamEncoder
Convertsdata
to another type defined by theEventStreamEncoder
. Supported input types should always include the PyObject equivalent where possible, since Filter and Transforms will generally be outputting PyObjects.- Specified by:
encode
in interfaceEventStreamEncoder
- Parameters:
data
- Data to encode.- Returns:
- Encoded data
- Throws:
EncoderException
- when it's not possible to encodedata
to theEventStreamEncoder
type.
-