Scala 2.7.2.r16513-b20081107075805 API

This document is the API specification for Scala Library

Class Summary
case class ! [a](val ch : Channel[a], val msg : a) extends Product
trait AbstractActor extends OutputChannel[Any] with AnyRef
The AbstractActor trait.
trait Actor extends AbstractActor
class Channel [Msg] extends InputChannel[Msg] with OutputChannel[Msg] with AnyRef
This class provides a means for typed communication among actors. Only the actor creating an instance of a Channel may receive from it.
class Debug (tag : java.lang.String) extends AnyRef
case class Exit (val from : AbstractActor, val reason : AnyRef) extends Product
class FJTaskScheduler2 extends java.lang.Thread with IScheduler
FJTaskScheduler2
abstract class Future [+T](val ch : InputChannel[Any]) extends Responder[T] with () => T
trait IScheduler extends AnyRef
The IScheduler trait provides a common interface for all schedulers used to execute actor tasks. Subclasses of Actor that override its scheduler member value must provide an implementation of the IScheduler trait.
trait InputChannel [+Msg] extends AnyRef
The InputChannel trait provides a common interface for all channels from which values can be received.
class MessageQueue extends AnyRef
The class MessageQueue provides an efficient implementation of a message queue specialized for this actor library. Classes in this package are supposed to be the only clients of this class.
class MessageQueueElement extends AnyRef
This class is used by our efficient message queue implementation.
trait OutputChannel [-Msg] extends AnyRef
The OutputChannel trait provides a common interface for all channels to which values can be sent.
class Reaction extends java.lang.Runnable with AnyRef
trait SchedulerAdapter extends IScheduler
The SchedulerAdapter trait is used to adapt the behavior of the standard Scheduler object. Providing an implementation for the execute(f: => Unit) method is sufficient to obtain a concrete IScheduler class.
class SingleThreadedScheduler extends IScheduler
This scheduler executes the tasks of an actor on a single thread (the current thread).
class TickedScheduler extends java.lang.Thread with WorkerThreadScheduler with AnyRef
class WorkerThread (sched : WorkerThreadScheduler) extends java.lang.Thread with AnyRef
trait WorkerThreadScheduler extends IScheduler
Object Summary
object ! extends AnyRef
object Actor extends AnyRef
The Actor object provides functions for the definition of actors, as well as actor operations, such as receive, react, reply, etc.
object ActorGC extends AnyRef
object Debug extends AnyRef
object Exit extends (AbstractActor, AnyRef) => Exit
object Futures extends AnyRef
The Futures object contains methods that operate on Futures.
object Scheduler extends IScheduler
The Scheduler object is used by Actor to execute tasks of an execution of an actor.
case object TIMEOUT extends Product