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 void processDataStream​(java.io.InputStream chainInputStream, teetime.framework.OutputPort<IMonitoringRecord> outputPort)
    Read an input stream of data, deserialize it and output proper monitoring records.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AbstractEventDeserializer

      public AbstractEventDeserializer​(ReaderRegistry<java.lang.String> registry)
      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.IOException
      Read an input stream of data, deserialize it and output proper monitoring records.
      Parameters:
      chainInputStream - the input stream
      outputPort - the output port
      Throws:
      java.io.IOException - on input stream errors