in scala.concurrent.pilib
class Chan

class Chan [ a ]
extends pilib.this.UChan
with (a) => pilib.this.Product[a]
with scala.ScalaObject
Name on which one can emit, receive or that can be emitted or received during a communication.

Constructor 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]
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.