net.sf.asyncobjects.asyncscala.nio.adapters

InputStreamAdapter

class InputStreamAdapter extends GenericInputAdapter[InputStream, ByteBuffer, Array[Byte]]

A input stream adapter

Linear Supertypes
GenericInputAdapter[InputStream, ByteBuffer, Array[Byte]], AInput[ByteBuffer], ACloseable, Asynchronous, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. InputStreamAdapter
  2. GenericInputAdapter
  3. AInput
  4. ACloseable
  5. Asynchronous
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InputStreamAdapter (in: InputStream, bufferSize: Int)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def allocate (bufferSize: Int): Array[Byte]

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def close : Promise[Unit]

    The #close() operation should be idempotent.

    The #close() operation should be idempotent. It should be no problem with closing the same object twice. The close operation should cancel the current operation if possible. The close should throw exception only in serious cases (for example in case of data loss, or inconsistent data)

    returns

    a promise that resolves when object finishes closing

    Definition Classes
    GenericInputAdapterACloseable
  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  14. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  15. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  16. var localBuffer : Array[Byte]

    The local buffer

    The local buffer

    Definition Classes
    GenericInputAdapter
  17. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  18. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def putToBuffer (buffer: ByteBuffer, array: Array[Byte], start: Int, size: Int): Unit

    Attributes
    protected
    Definition Classes
    InputStreamAdapterGenericInputAdapter
  21. def read (in: InputStream, array: Array[Byte], offset: Int, length: Int): Int

  22. def read (buffer: ByteBuffer): Promise[Int]

    Read some data from input.

    Read some data from input.

    buffer

    a buffer to read data into

    returns

    a promise that resolves to amount of read elements or -1 meaning that EOF was reached

    Definition Classes
    GenericInputAdapterAInput
  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def toString (): String

    Definition Classes
    AnyRef → Any
  25. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from GenericInputAdapter[InputStream, ByteBuffer, Array[Byte]]

Inherited from AInput[ByteBuffer]

Inherited from ACloseable

Inherited from Asynchronous

Inherited from AnyRef

Inherited from Any