scala.concurrent.pilib.Chan

class Chan

class Chan[A]

 extends UChan with (A) => Product[A]


Name on which one can emit, receive or that can be emitted or received during a communication.


Source: pilib.scala(82)

 Constructors

def this

 Fields

defaultValue var defaultValue A
log var log
Default log function
(Any) => Unit UChan
read def read
Blocking read
A

 Methods

!= final def !=(arg0 : Any) Boolean Any
!= final def !=(arg0 : Object) Boolean AnyRef
* def *[B](f : (A) => B)
Syntactic sugar for input
GP[B]
== final def ==(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Any) Boolean Any
andThen def andThen[A](g : (R) => A)
(f andThen g)(x) == g(f(x))
(T1) => A Function1
apply def apply(v : A)
Syntactic sugar for output
Product[A]
asInstanceOf final def asInstanceOf[T0] T0 Any
attach def attach(f : (A) => Unit)
Attach a function to be evaluated at each communication event on this channel [details]
Replace previous attached function.
Unit
clone protected def clone Object AnyRef
compose def compose[A](g : (A) => T1)
(f compose g)(x) == f(g(x))
(A) => R Function1
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Any] AnyRef
hashCode def hashCode Int AnyRef
input def input[B](c : (A) => B)
Creates an input guarded process
GP[B]
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
output def output[B](v : A, c : () => B)
Creates an input guarded process
GP[B]
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString override def toString String Function1
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
write def write(x : A)
Blocking write
Unit
Copyright (c) 2008. All Rights Reserved.