summaryrefslogtreecommitdiff
path: root/src/actors-migration/scala/actors/migration/Props.scala
blob: 00bc9d93f8de572f3456a944cc61ab105f878b62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package scala.actors.migration

import scala.actors._

/**
 * ActorRef configuration object. It represents the minimal subset of Akka Props class.
 */
case class Props(creator: ()  InternalActor, dispatcher: String) {

  /**
   * Returns a new Props with the specified creator set
   */
  final def withCreator(c:  InternalActor) = copy(creator = ()  c)
}