gopher.transputers.ReplicatedTransputer

InPortWithAdapter

class InPortWithAdapter[A] extends (ReplicatedTransputer.this)#InPort[A]

Linear Supertypes
(ReplicatedTransputer.this)#InPort[A], Input[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. InPortWithAdapter
  2. InPort
  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 InPortWithAdapter(in: Input[A])

Type Members

  1. type <~ = A

    Definition Classes
    Input
  2. type read = A

    Definition Classes
    Input

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def *!: Output[A]

    Definition Classes
    InPort
  4. def <~~<(x: OutPort[A]): Unit

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

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

    synonym for read.

    synonym for read.

    Definition Classes
    Input
  7. var adapter: PortAdapter[Input, A]

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

    Definition Classes
    Input
  9. def api: GopherAPI

    instance of gopher API

    instance of gopher API

    Definition Classes
    InPortInput
  10. 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
  11. final def asInstanceOf[T0]: T0

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

    Definition Classes
    Input
  13. 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
  14. 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

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

    Definition Classes
    InPortInput
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def connect(outPort: OutPort[A], bufferSize: Int = 1): Unit

    Definition Classes
    InPort
  17. def connect(x: Input[A]): Unit

    Definition Classes
    InPort
  18. def dup(): (Input[A], Input[A])

    duplicate input

    duplicate input

    Definition Classes
    Input
  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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  33. def outputSide: Option[Output[A]]

    Definition Classes
    InPort
  34. def owner: Self

  35. macro def read: A

    read object from channel.

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

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

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. var v: Input[A]

    Definition Classes
    InPort
  39. final def wait(): Unit

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

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

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

    Definition Classes
    Input
  43. def withInputTimeouts(timeout: FiniteDuration): (Input[A], Input[FiniteDuration])

    return pair of inputs (ready, timeouts), such that when you read from ready you receive element from this and if during reading you wait more than specified timeout, than timeout message is appear in timeouts

    return pair of inputs (ready, timeouts), such that when you read from ready you receive element from this and if during reading you wait more than specified timeout, than timeout message is appear in timeouts

    val (inReady, inTimeouts) = in withInputTimeouts (10 seconds) select.forever { case x: inReady.read => Console.println(s"received value ${value}") case x: inTimeouts.read => Console.println(s"timeout occured") }

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

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

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

    return input merged with 'other'.

    return input merged with 'other'. (i.e. non-determenistics choice)

    Definition Classes
    Input

Inherited from (ReplicatedTransputer.this)#InPort[A]

Inherited from Input[A]

Inherited from AnyRef

Inherited from Any

Ungrouped