blob: 80b1e76b3060b51a202a4bc7c2ee428a8180b094 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2005-2010, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
// $Id$
package scala.actors
/**
* The <code>AbstractActor</code> trait.
*
* @author Philipp Haller
*
* @define actor actor
*/
trait AbstractActor extends OutputChannel[Any] with CanReply[Any, Any] {
private[actors] def exiting: Boolean = false
private[actors] def linkTo(to: AbstractActor): Unit
private[actors] def unlinkFrom(from: AbstractActor): Unit
private[actors] def exit(from: AbstractActor, reason: AnyRef): Unit
}
|