|
Scala 2
v2.1.4 |
class
Chan
[ a ]
extends
pilib.this.UChan with
(a) => pilib.this.Product[a] with
scala.ScalaObjectConstructor Summary | |
def
this
|
Def Summary | |
def
*
[ b ]
( f : (a) => b )
: pilib.this.GP[b]
Syntactic sugar for input. |
|
def
apply
( v : a )
: pilib.this.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 )
: pilib.this.GP[b]
Creates an input guarded process. |
|
def
output
[ b ]
( v : a , c : () => b )
: pilib.this.GP[b]
Creates an input guarded process. |
|
def
read
: a
Blocking read. |
|
def
write
( x : a )
: scala.Unit
Blocking write. |
Constructor Detail |
def
this
Def Detail |
def
*
[ b ]( f : (a) => b ) : pilib.this.GP[b]
def
apply
( v : a ) : pilib.this.Product[a]
def
attach
( f : (a) => scala.Unit ) : scala.Unit
def
input
[ b ]( c : (a) => b ) : pilib.this.GP[b]
def
output
[ b ]( v : a , c : () => b ) : pilib.this.GP[b]
def
read
: a
def
write
( x : a ) : scala.Unit