|
Scala
1.2.0.1 |
|||
Method Summary | |
def *[b](f: (a) => b): GP[b]
Syntactic sugar for input. |
|
def apply(v: a): Product[a]
Syntactic sugar for output. |
|
def attach(f: (a) => Unit): Unit
Attach a function to be evaluated at each communication event on this channel. |
|
def input[b](c: (a) => b): GP[b]
Creates an input guarded process. |
|
def output[b](v: a, c: () => b): GP[b]
Creates an input guarded process. |
|
def read: a
Blocking read. |
|
def write(x: a): Unit
Blocking write. |
Methods inherited from java/lang/Object-class |
clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait |
Methods inherited from scala/Any-class |
!=, ==, asInstanceOf, isInstanceOf, match |
Methods inherited from scala/concurrent/pilib/UChan-class |
log |
Method Detail |
def input[b](c: (a) => b): GP[b]
def output[b](v: a, c: () => b): GP[b]
def read: a
def write(x: a): Unit
def *[b](f: (a) => b): GP[b]
def apply(v: a): Product[a]
def attach(f: (a) => Unit): Unit
|
Scala
1.2.0.1 |
|||