akka.actor.IO

Iteratee

class Iteratee [+A] extends AnyRef

A basic Iteratee implementation of Oleg's Iteratee (http://okmij.org/ftp/Streams.html). To keep this implementation simple it has no support for Enumerator or Input types other then ByteString.

Other Iteratee implementations can be used in place of this one if any missing features are required.

Attributes
sealed abstract
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Iteratee
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Iteratee ()

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 apply (input: Input): (Iteratee[A], Input)

    Processes the given Input, returning the resulting Iteratee and the remaining Input.

    Processes the given Input, returning the resulting Iteratee and the remaining Input.

    Attributes
    final
  7. def asInstanceOf [T0] : T0

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def eq (arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def flatMap [B] (f: (A) ⇒ Iteratee[B]): Iteratee[B]

    Applies a function to the result of this Iteratee, resulting in a new Iteratee.

    Applies a function to the result of this Iteratee, resulting in a new Iteratee. Any unused Input that is given to this Iteratee will be passed to that resulting Iteratee. This is the primary method of composing Iteratees together in order to process an Input stream.

    Attributes
    final
  13. def get : A

    Passes an EOF to this Iteratee and returns the result if available.

    Passes an EOF to this Iteratee and returns the result if available.

    If this Iteratee is in a failure state then the Exception will be thrown.

    If this Iteratee is not well behaved (does not return a result on EOF) then a "Divergent Iteratee" Exception will be thrown.

    Attributes
    final
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  15. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  17. def map [B] (f: (A) ⇒ B): Iteratee[B]

    Applies a function to transform the result of this Iteratee.

    Applies a function to transform the result of this Iteratee.

    Attributes
    final
  18. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. def recover [B >: A] (pf: PartialFunction[Exception, B]): Iteratee[B]

    Provides a handler for any matching errors that may have occured while running this Iteratee.

    Provides a handler for any matching errors that may have occured while running this Iteratee.

    Errors are usually raised within the Iteratee with akka.actor.IO.throwErr or by processing an EOF that contains an Exception.

  22. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any