in scala.concurrent.pilib
class Chan

class Chan [ a ]
extends UChan
with Function1
with 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 : Function1 ) : GP
Syntactic sugar for input.
def apply ( v : a ) : Product
Syntactic sugar for output.
def attach ( f : Function1 ) : scala.Unit
Attach a function to be evaluated at each communication event on this channel. Replace previous attached function.
def input [ b& ] ( c : Function1 ) : GP
Creates an input guarded process.
def output [ b& ] ( v : a , c : Function0 ) : GP
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 : Function1 ) : GP
Syntactic sugar for input.

def apply ( v : a ) : Product
Syntactic sugar for output.

def attach ( f : Function1 ) : scala.Unit
Attach a function to be evaluated at each communication event on this channel. Replace previous attached function.

def input [ b& ]( c : Function1 ) : GP
Creates an input guarded process.

def output [ b& ]( v : a , c : Function0 ) : GP
Creates an input guarded process.

def read : a
Blocking read.

def write ( x : a ) : scala.Unit
Blocking write.