Class AeronInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    AeronPollableInputStream

    @Deprecated
    public class AeronInputStream
    extends java.io.InputStream
    Deprecated.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int dataOffset
      Deprecated.
       
      protected int dataSize
      Deprecated.
       
      protected byte[] internalBuf
      Deprecated.
       
      protected io.aeron.FragmentAssembler subscribeHandler
      Deprecated.
       
      protected io.aeron.Subscription subscription
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void close()
      Deprecated.
       
      protected io.aeron.logbuffer.FragmentHandler createSubscribeHandler()
      Deprecated.
       
      protected int getByte()
      Deprecated.
       
      protected int getBytes​(byte[] b, int offset, int length)
      Deprecated.
       
      protected int getDataSize()
      Deprecated.
       
      protected void putBytes​(org.agrona.DirectBuffer buffer, int offset, int length)
      Deprecated.
       
      int read()
      Deprecated.
       
      int read​(byte[] b, int off, int len)
      Deprecated.
       
      • Methods inherited from class java.io.InputStream

        available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
      • Methods inherited from class java.lang.Object

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

      • subscription

        protected final io.aeron.Subscription subscription
        Deprecated.
      • subscribeHandler

        protected final io.aeron.FragmentAssembler subscribeHandler
        Deprecated.
      • internalBuf

        protected byte[] internalBuf
        Deprecated.
      • dataOffset

        protected int dataOffset
        Deprecated.
      • dataSize

        protected int dataSize
        Deprecated.
    • Method Detail

      • createSubscribeHandler

        protected io.aeron.logbuffer.FragmentHandler createSubscribeHandler()
        Deprecated.
      • read

        public int read()
                 throws java.io.IOException
        Deprecated.
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • read

        public int read​(byte[] b,
                        int off,
                        int len)
                 throws java.io.IOException
        Deprecated.
        Overrides:
        read in class java.io.InputStream
        Throws:
        java.io.IOException
      • putBytes

        protected void putBytes​(org.agrona.DirectBuffer buffer,
                                int offset,
                                int length)
        Deprecated.
      • getByte

        protected int getByte()
        Deprecated.
      • getBytes

        protected int getBytes​(byte[] b,
                               int offset,
                               int length)
        Deprecated.
      • getDataSize

        protected int getDataSize()
        Deprecated.
      • close

        public void close()
        Deprecated.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.InputStream