gopher.channels

IOChannel

class IOChannel[A] extends Input[A] with Output[A]

Linear Supertypes
Output[A], Input[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IOChannel
  2. Output
  3. Input
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IOChannel(futureChannelRef: Future[ActorRef], api: GopherAPI)

Type Members

  1. type <~ = A

    Definition Classes
    Input
  2. type read = A

    Definition Classes
    Input
  3. type write = A

    Definition Classes
    Output
  4. type writeExp[X] = A

    Definition Classes
    Output
  5. type ~> = A

    Definition Classes
    Output

Value Members

  1. macro def !(a: A): Unit

    shortcut for blocking write.

    shortcut for blocking write.

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

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

    Definition Classes
    AnyRef → Any
  4. macro def <~(a: A): Output[A]

    shortcut for blocking write.

    shortcut for blocking write.

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

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

    synonym for read.

    synonym for read.

    Definition Classes
    Input
  7. macro def aforeach(f: (A) ⇒ Unit): Future[Unit]

    Definition Classes
    Input
  8. val api: GopherAPI

    instance of gopher API

    instance of gopher API

    Definition Classes
    IOChannelInput
  9. 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.

    Definition Classes
    Input
  10. final def asInstanceOf[T0]: T0

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

    Definition Classes
    Input
  12. def atake(n: Int): Future[IndexedSeq[A]]

    return feature which contains sequence from first n elements.

    return feature which contains sequence from first n elements.

    Definition Classes
    Input
  13. def awrite(a: A): Future[Unit]

    Definition Classes
    Output
  14. def awriteAll[C <: Iterable[A]](c: C): Future[Unit]

    Definition Classes
    Output
  15. def cbread[B](f: (ContRead[A, B]) ⇒ Option[(In[A]) ⇒ Future[Continuated[B]]], flwt: FlowTermination[B]): Unit

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

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

    Definition Classes
    IOChannelInput
  16. def cbwrite[B](f: (ContWrite[A, B]) ⇒ Option[(A, Future[Continuated[B]])], flwt: FlowTermination[B]): Unit

    apply f and send result to channels processor.

    apply f and send result to channels processor.

    Definition Classes
    IOChannelOutput
  17. def clone(): AnyRef

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

  19. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Input
  22. def finalize(): Unit

    Attributes
    protected
    Definition Classes
    IOChannel → AnyRef
  23. 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.

    Definition Classes
    Input
  24. def foreachAsync(f: (A) ⇒ Future[Unit])(implicit ec: ExecutionContext): Future[Unit]

    Definition Classes
    Input
  25. def foreachSync(f: (A) ⇒ Unit): Future[Unit]

    Definition Classes
    Input
  26. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  28. def isClosed: Boolean

  29. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    Input
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  34. macro def read: A

    read object from channel.

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

    Definition Classes
    Input
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

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

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

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

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

    Definition Classes
    Input
  41. macro def write(a: A): Unit

    'blocking' write of 'a' to channel.

    'blocking' write of 'a' to channel. Note, that this method can be called only inside 'go' or 'async' blocks.

    Definition Classes
    Output
  42. macro def writeAll[C <: Iterable[A]](it: C): Unit

    Definition Classes
    Output
  43. def zip[B](x: Input[B]): Input[(A, B)]

    Definition Classes
    Input
  44. def zip[B](x: Iterable[B]): Input[(A, B)]

    Definition Classes
    Input
  45. def |(other: Input[A]): Input[A]

    Definition Classes
    Input

Inherited from Output[A]

Inherited from Input[A]

Inherited from AnyRef

Inherited from Any

Ungrouped