Interface DataInputStream<T extends MguiNumber>

Type Parameters:
T - Number type for this input stream.
All Known Subinterfaces:
DataInputStreamNamedXY<T>, DataInputStreamXY<T>, DynamicModelEnvironmentInputStream
All Known Implementing Classes:
DataBridge, DataBridgeNamedXY, DataBridgeXY

public interface DataInputStream<T extends MguiNumber>
Represents an input stream of a specific number type.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Method Details

    • getData

      java.util.List<T> getData() throws java.io.IOException
      Returns a sample of the current state of this input stream.
      Returns:
      Throws:
      java.io.IOException
    • getDataAsBytes

      byte[] getDataAsBytes() throws java.io.IOException
      Returns a sample of the current state of this stream as a byte array.
      Returns:
      Throws:
      java.io.IOException
    • close

      void close()
      Closes this stream.
    • addInputStreamListener

      void addInputStreamListener​(DataInputStreamListener<T> l)
    • removeInputStreamListener

      void removeInputStreamListener​(DataInputStreamListener<T> l)