in scala.concurrent.pilib
class Chan

class Chan [a]
extends pilib.this.UChan
with (a) => scala.concurrent.pilib.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

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]
apply , compose, toString
Constructor Detail
def this

Var Detail
var defaultValue : a

Def Detail
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.