|
Scala 2.2.0.9153
|
class
Chan
[a]
extends
pilib.this.UChan with
scala.Function1[a, scala.concurrent.pilib.Product[a]] with
scala.ScalaObjectConstructor Summary | |
def
this
|
Var Summary | |
var
defaultValue
: a
|
Def Summary | |
def
*
[b]
(f: scala.Function1[a, b])
: scala.concurrent.pilib.GP[b]
Syntactic sugar for input. |
|
def
apply
(v: a)
: scala.concurrent.pilib.Product[a]
Syntactic sugar for output. |
|
def
attach
(f: scala.Function1[a, scala.Unit])
: scala.Unit
Attach a function to be evaluated at each communication event on this channel. Replace previous attached function. |
|
def
input
[b]
(c: scala.Function1[a, b])
: scala.concurrent.pilib.GP[b]
Creates an input guarded process. |
|
def
output
[b]
(v: a, c: scala.Function0[b])
: scala.concurrent.pilib.GP[b]
Creates an input guarded process. |
|
def
read
: a
Blocking read. |
|
def
write
(x: a)
: scala.Unit
Blocking write. |
Constructor Detail |
def
this
Var Detail |
var
defaultValue
: a
Def Detail |
def
*
[b](f: scala.Function1[a, b]): scala.concurrent.pilib.GP[b]
def
apply
(v: a): scala.concurrent.pilib.Product[a]
def
attach
(f: scala.Function1[a, scala.Unit]): scala.Unit
def
input
[b](c: scala.Function1[a, b]): scala.concurrent.pilib.GP[b]
def
output
[b](v: a, c: scala.Function0[b]): scala.concurrent.pilib.GP[b]
def
read
: a
def
write
(x: a): scala.Unit