move StateTimeout into Fsm
This commit is contained in:
parent
8a750652ae
commit
dcd182e22c
2 changed files with 2 additions and 2 deletions
|
|
@ -34,5 +34,5 @@ trait Fsm[S] { self: Actor =>
|
|||
|
||||
case class NextState(state: State, stateData: S, timeout: Option[Int] = None)
|
||||
case class Event(event: Any, stateData: S)
|
||||
object StateTimeout
|
||||
}
|
||||
object StateTimeout
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ package se.scalablesolutions.akka.actor
|
|||
import org.scalatest.junit.JUnitSuite
|
||||
import org.junit.Test
|
||||
import org.multiverse.api.latches.StandardLatch
|
||||
import actor.{StateTimeout, Fsm}
|
||||
import actor.Fsm
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
||||
object FsmActorSpec {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue