Class MessageReader

java.lang.Object
org.teamapps.message.protocol.utils.MessageReader
All Implemented Interfaces:
java.lang.AutoCloseable

public class MessageReader
extends java.lang.Object
implements java.lang.AutoCloseable
  • Constructor Summary

    Constructors
    Constructor Description
    MessageReader​(java.io.InputStream inputStream, FileDataReader fileDataReader, MessageModelCollection messageModelCollection)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    Message readNextMessage()  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • readNextMessage

      public Message readNextMessage() throws java.io.IOException
      Throws:
      java.io.IOException
    • close

      public void close() throws java.lang.Exception
      Specified by:
      close in interface java.lang.AutoCloseable
      Throws:
      java.lang.Exception