net.sf.asyncobjects.asyncscala.nio.adapters

Adapters

object Adapters extends AnyRef

The class that contains IO adapters that allows use standard Java classes as asyncscala streams.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Adapters
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

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 actorInput (in: InputStream, bufferSize: Int = 4096): AByteInput

    Create adapter for input stream (using ActorVat).

    Create adapter for input stream (using ActorVat). Note that using this adapter is a bit dangerous, since scala uses forkJoin by default for actors. And this method could block.

    in

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  7. def actorOutput (out: OutputStream, bufferSize: Int = 4096): AByteOutput

    Create adapter for input stream (using ActorVat).

    Create adapter for input stream (using ActorVat). Note that using this adapter is a bit dangerous, since scala uses forkJoin by default for actors. And this method could block.

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  8. def adaptInput (executor: Executor, in: InputStream, bufferSize: Int = 4096): AByteInput

    Create adapter for input stream (for thread-safe streams only)

    Create adapter for input stream (for thread-safe streams only)

    executor

    the executor to use object's vat

    in

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  9. def adaptOutput (executor: Executor, out: OutputStream, bufferSize: Int = 4096): AByteOutput

    Create adapter for output stream (for thread-safe streams only)

    Create adapter for output stream (for thread-safe streams only)

    executor

    the executor to use object's vat

    out

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  10. def adaptReader (executor: Executor, in: Reader, bufferSize: Int = 4096): ATextInput

    Create adapter for reader (for thread-safe streams only)

    Create adapter for reader (for thread-safe streams only)

    executor

    the executor to use object's vat

    in

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  11. def adaptWriter (executor: Executor, out: Writer, bufferSize: Int = 4096): ATextOutput

    Create adapter for writer

    Create adapter for writer

    executor

    the executor to use object's vat

    out

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  12. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  13. def byteArrayOutput (resolver: Resolver[Array[Byte]]): AByteOutput

    Byte array output

    Byte array output

    resolver

    the resolver that resolves when stream is closed with resulting array

    returns

    byte output

  14. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def daemonInput (in: InputStream, bufferSize: Int = 4096): AByteInput

    Create adapter for input stream (for thread-safe streams only)

    Create adapter for input stream (for thread-safe streams only)

    in

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  16. def daemonOutput (out: OutputStream, bufferSize: Int = 4096): AByteOutput

    Create adapter for output stream (for thread-safe streams only)

    Create adapter for output stream (for thread-safe streams only)

    out

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  17. def daemonReader (in: Reader, bufferSize: Int = 4096): ATextInput

    Create adapter for reader (for thread-safe streams only)

    Create adapter for reader (for thread-safe streams only)

    in

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  18. def daemonWriter (out: Writer, bufferSize: Int = 4096): ATextOutput

    Create adapter for writer (using two daemon executors)

    Create adapter for writer (using two daemon executors)

    out

    the stream to wrap

    bufferSize

    the buffer size to create when needed

    returns

    the adapter stream

  19. def eq (arg0: AnyRef): Boolean

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  25. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  28. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any