Class AbstractEventDeserializer
java.lang.Object
kieker.analysis.generic.source.file.AbstractEventDeserializer
- Direct Known Subclasses:
BinaryEventDeserializer,DatEventDeserializer
public abstract class AbstractEventDeserializer
extends java.lang.Object
Abstract interface for the event deserialization.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Field Summary
Fields Modifier and Type Field Description protected ReaderRegistry<java.lang.String>registry -
Constructor Summary
Constructors Constructor Description AbstractEventDeserializer(ReaderRegistry<java.lang.String> registry)Create an abstract event deserializer. -
Method Summary
Modifier and Type Method Description abstract voidprocessDataStream(java.io.InputStream chainInputStream, teetime.framework.OutputPort<IMonitoringRecord> outputPort)Read an input stream of data, deserialize it and output proper monitoring records.
-
Field Details
-
Constructor Details
-
AbstractEventDeserializer
Create an abstract event deserializer.- Parameters:
registry- string registry to be used.
-
-
Method Details
-
processDataStream
public abstract void processDataStream(java.io.InputStream chainInputStream, teetime.framework.OutputPort<IMonitoringRecord> outputPort) throws java.io.IOExceptionRead an input stream of data, deserialize it and output proper monitoring records.- Parameters:
chainInputStream- the input streamoutputPort- the output port- Throws:
java.io.IOException- on input stream errors
-