Interface ByteDatagramInputStream

  • All Superinterfaces:
    org.refcodes.component.Closable


    public interface ByteDatagramInputStream
    extends org.refcodes.component.Closable
    (as InputStream does not provide some useful *interface*)
    See Also:
    InputStream
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.component.Closable

        org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int available​()
      Available.
      void mark​(int readlimit)
      Mark.
      boolean markSupported​()
      Mark supported.
      int read​()
      Read.
      int read​(byte[] b)
      Read.
      int read​(byte[] b, int off, int len)
      Read.
      void reset​()
      Reset.
      long skip​(long n)
      Skip.
      • Methods inherited from interface org.refcodes.component.Closable

        close, closeIn, closeQuietly, closeUnchecked
    • Method Detail

      • read

        int read​()
          throws org.refcodes.component.OpenException
        Read.
        Returns:
        the int
        Throws:
        org.refcodes.component.OpenException - the open exception
      • read

        int read​(byte[] b)
          throws org.refcodes.component.OpenException
        Read.
        Parameters:
        b - the b
        Returns:
        the int
        Throws:
        org.refcodes.component.OpenException - the open exception
      • read

        int read​(byte[] b,
                 int off,
                 int len)
          throws org.refcodes.component.OpenException
        Read.
        Parameters:
        b - the b
        off - the off
        len - the len
        Returns:
        the int
        Throws:
        org.refcodes.component.OpenException - the open exception
      • skip

        long skip​(long n)
           throws org.refcodes.component.OpenException
        Skip.
        Parameters:
        n - the n
        Returns:
        the long
        Throws:
        org.refcodes.component.OpenException - the open exception
      • available

        int available​()
               throws org.refcodes.component.OpenException
        Available.
        Returns:
        the int
        Throws:
        org.refcodes.component.OpenException - the open exception
      • mark

        void mark​(int readlimit)
        Mark.
        Parameters:
        readlimit - the readlimit
      • reset

        void reset​()
            throws org.refcodes.component.OpenException
        Reset.
        Throws:
        org.refcodes.component.OpenException - the open exception
      • markSupported

        boolean markSupported​()
        Mark supported.
        Returns:
        true, if successful