gopher.channels

Input

trait Input[A] extends AnyRef

Entity, from which we can read objects of type A.

Self Type
Input[A]
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Input
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type <~ = A

  2. type read = A

Abstract Value Members

  1. abstract def api: GopherAPI

    instance of gopher API

  2. abstract def cbread[B](f: (ContRead[A, B]) ⇒ Option[(In[A]) ⇒ Future[Continuated[B]]], ft: FlowTermination[B]): Unit

    apply f, when input will be ready and send result to API processor

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. macro def ?: A

    synonym for read.

  5. macro def aforeach(f: (A) ⇒ Unit): Future[Unit]

  6. def aread: Future[A]

    async version of read.

    async version of read. Immediatly return future, which will contains result of read or failur with StreamClosedException in case of stream is closed.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def async: AnyRef { ... /* 3 definitions in type refinement */ }

  9. def atake(n: Int): Future[IndexedSeq[A]]

    return feature which contains sequence from first n elements.

  10. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  13. def filter(p: (A) ⇒ Boolean): Input[A]

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. macro def foreach(f: (A) ⇒ Unit): Unit

    run f each time when new object is arrived.

    run f each time when new object is arrived. Ended when input closes.

    must be inside go/async/action block.

  16. def foreachAsync(f: (A) ⇒ Future[Unit])(implicit ec: ExecutionContext): Future[Unit]

  17. def foreachSync(f: (A) ⇒ Unit): Future[Unit]

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

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

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

    Definition Classes
    Any
  21. def map[B](g: (A) ⇒ B): Input[B]

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. macro def read: A

    read object from channel.

    read object from channel. Must be situated inside async/go/action block.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withFilter(p: (A) ⇒ Boolean): Input[A]

  32. def zip[B](x: Input[B]): Input[(A, B)]

  33. def zip[B](x: Iterable[B]): Input[(A, B)]

  34. def |(other: Input[A]): Input[A]

Inherited from AnyRef

Inherited from Any

Ungrouped