|
Scala 2.3.1
|
class
Chan
[a]
extends
pilib.this.UChan
with
(a) => scala.concurrent.pilib.Product[a]
with
scala.ScalaObject
Constructor Summary | |
def
this
|
Var Summary | |
var
defaultValue
: a
|
Var inherited from pilib.this.UChan | |
log |
Def Summary | |
def
*
[b]
(f: (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: (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: (a) => b)
: scala.concurrent.pilib.GP[b]
Creates an input guarded process. |
|
def
output
[b]
(v: a, c: () => b)
: scala.concurrent.pilib.GP[b]
Creates an input guarded process. |
|
def
read
: a
Blocking read. |
|
def
write
(x: a)
: scala.Unit
Blocking write. |
Def inherited from (a) => scala.concurrent.pilib.Product[a] | |
andThen , apply, compose, toString |
Constructor Detail |
Var Detail |
Def Detail |
def
*
[b](f: (a) => b): scala.concurrent.pilib.GP[b]
def
apply
(v: a): scala.concurrent.pilib.Product[a]
def
attach
(f: (a) => scala.Unit): scala.Unit
def
input
[b](c: (a) => b): scala.concurrent.pilib.GP[b]
def
output
[b](v: a, c: () => b): scala.concurrent.pilib.GP[b]
def
read
: a
def
write
(x: a): scala.Unit