Move hotswap stack into Actor trait. See #1717
This commit is contained in:
parent
c1178c9b1a
commit
d12d56a1ae
6 changed files with 78 additions and 23 deletions
|
|
@ -41,9 +41,8 @@ class TestActorRef[T <: Actor](
|
|||
ref: InternalActorRef,
|
||||
props: Props,
|
||||
supervisor: InternalActorRef,
|
||||
receiveTimeout: Option[Duration],
|
||||
hotswap: Stack[PartialFunction[Any, Unit]]): ActorCell =
|
||||
new ActorCell(system, ref, props, supervisor, receiveTimeout, hotswap) {
|
||||
receiveTimeout: Option[Duration]): ActorCell =
|
||||
new ActorCell(system, ref, props, supervisor, receiveTimeout) {
|
||||
override def autoReceiveMessage(msg: Envelope) {
|
||||
msg.message match {
|
||||
case InternalGetActor ⇒ sender ! actor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue