play.api.libs.iteratee

PushEnumerator

class PushEnumerator[E] extends Enumerator[E] with Pushee[E]

Annotations
@deprecated
Deprecated

(Since version 2.1.0) use Concurrent.broadcast instead

Source
Enumerator.scala
Linear Supertypes
Pushee[E], Enumerator[E], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PushEnumerator
  2. Pushee
  3. Enumerator
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def &>[To](enumeratee: Enumeratee[E, To]): Enumerator[To]

    Compose this Enumerator with an Enumeratee.

    Compose this Enumerator with an Enumeratee. Alias for through

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

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

    Definition Classes
    Any
  7. def >-[B >: E](other: Enumerator[B]): Enumerator[B]

    Alias for interleave

    Alias for interleave

    Definition Classes
    Enumerator
  8. def >>>(e: Enumerator[E]): Enumerator[E]

    Alias for andThen

    Alias for andThen

    Definition Classes
    Enumerator
  9. def andThen(e: Enumerator[E]): Enumerator[E]

    Sequentially combine this Enumerator with another Enumerator.

    Sequentially combine this Enumerator with another Enumerator. The resulting enumerator will produce both input streams, this one first, then the other. Note: the current implementation will break if the first enumerator produces an Input.EOF.

    Definition Classes
    Enumerator
  10. def apply[A](it: Iteratee[E, A]): Future[Iteratee[E, A]]

    Attaches this Enumerator to an play.api.libs.iteratee.Iteratee, driving the Iteratee to (asynchronously) consume the input.

    Attaches this Enumerator to an play.api.libs.iteratee.Iteratee, driving the Iteratee to (asynchronously) consume the input. The Iteratee may enter its play.api.libs.iteratee.Done or play.api.libs.iteratee.Error state, or it may be left in a play.api.libs.iteratee.Cont state (allowing it to consume more input after that sent by the enumerator).

    If the Iteratee reaches a play.api.libs.iteratee.Done state, it will contain a computed result and the remaining (unconsumed) input.

    Definition Classes
    PushEnumeratorEnumerator
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

    Definition Classes
    PushEnumeratorPushee
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def flatMap[U](f: (E) ⇒ Enumerator[U]): Enumerator[U]

    flatmaps the given function f onto parent Enumerator

    flatmaps the given function f onto parent Enumerator

    f

    function to map

    returns

    enumerator

    Definition Classes
    Enumerator
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def interleave[B >: E](other: Enumerator[B]): Enumerator[B]

    Definition Classes
    Enumerator
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. var iteratee: Iteratee[E, _]

  23. def map[U](f: (E) ⇒ U): Enumerator[U]

    maps the given function f onto parent Enumerator

    maps the given function f onto parent Enumerator

    f

    function to map

    returns

    enumerator

    Definition Classes
    Enumerator
  24. def mapInput[U](f: (Input[E]) ⇒ Input[U]): Enumerator[U]

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

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

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

    Definition Classes
    AnyRef
  28. def onDoneEnumerating(callback: ⇒ Unit): Enumerator[E]

    Definition Classes
    Enumerator
  29. var promise: Promise[Iteratee[E, _]]

  30. def push(item: E): Boolean

    Definition Classes
    PushEnumeratorPushee
  31. def run[A](i: Iteratee[E, A]): Future[A]

    Alias for |>>>; drives the iteratee to consume the enumerator's input, adding an Input.

    Alias for |>>>; drives the iteratee to consume the enumerator's input, adding an Input.EOF at the end of the input. Returns either a result or an exception.

    Definition Classes
    Enumerator
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def through[To](enumeratee: Enumeratee[E, To]): Enumerator[To]

    Compose this Enumerator with an Enumeratee

    Compose this Enumerator with an Enumeratee

    Definition Classes
    Enumerator
  34. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. def |>>[A](i: Iteratee[E, A]): Future[Iteratee[E, A]]

    Alias for apply, produces input driving the given play.api.libs.iteratee.Iteratee to consume it.

    Alias for apply, produces input driving the given play.api.libs.iteratee.Iteratee to consume it.

    Definition Classes
    Enumerator
  39. def |>>>[A](i: Iteratee[E, A]): Future[A]

    Attaches this Enumerator to an play.api.libs.iteratee.Iteratee, driving the Iteratee to (asynchronously) consume the enumerator's input.

    Attaches this Enumerator to an play.api.libs.iteratee.Iteratee, driving the Iteratee to (asynchronously) consume the enumerator's input. If the Iteratee does not reach a play.api.libs.iteratee.Done or play.api.libs.iteratee.Error state when the Enumerator finishes, this method forces one of those states by feeding Input.EOF to the Iteratee.

    If the iteratee is left in a play.api.libs.iteratee.Done state then the promise is completed with the iteratee's result. If the iteratee is left in an play.api.libs.iteratee.Error state, then the promise is completed with a java.lang.RuntimeException containing the iteratee's error message.

    Unlike apply or |>>, this method does not allow you to access the unconsumed input.

    Definition Classes
    Enumerator
  40. def |>>|[A](i: Iteratee[E, A]): Future[Step[E, A]]

    A variation on apply or |>> which returns the state of the iteratee rather than the iteratee itself.

    A variation on apply or |>> which returns the state of the iteratee rather than the iteratee itself. This can make your code a little shorter.

    Definition Classes
    Enumerator

Inherited from Pushee[E]

Inherited from Enumerator[E]

Inherited from AnyRef

Inherited from Any

Ungrouped