scala.actors.migration

ActWithStash

trait ActWithStash extends InternalActor

Annotations
@deprecated
Deprecated

(Since version 2.10.0) Scala Actors are being removed from the standard library. Please refer to the migration guide.

Linear Supertypes
InternalActor, Serializable, java.io.Serializable, InputChannel[Any], ActorCanReply, InternalReplyReactor, ReactorCanReply, Reactor[Any], Combinators, AbstractActor, CanReply[Any, Any], OutputChannel[Any], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ActWithStash
  2. InternalActor
  3. Serializable
  4. Serializable
  5. InputChannel
  6. ActorCanReply
  7. InternalReplyReactor
  8. ReactorCanReply
  9. Reactor
  10. Combinators
  11. AbstractActor
  12. CanReply
  13. OutputChannel
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class ActorContext extends AnyRef

    Used to simulate Akka context behavior.

  2. type Future[+P] = actors.Future[P]

    Definition Classes
    ReactorCanReply → CanReply
  3. type Receive = PartialFunction[Any, Unit]

Abstract Value Members

  1. abstract def receive: Receive

    Migration notes: this method replaces receiveWithin, receive and react methods from Scala Actors.

Concrete Value Members

  1. def !(msg: Any): Unit

    Definition Classes
    InternalReplyReactor → Reactor → OutputChannel
  2. def !!(msg: Any): Future[Any]

    Definition Classes
    ActorCanReply → ReactorCanReply → CanReply
  3. def !![A](msg: Any, handler: PartialFunction[Any, A]): Future[A]

    Definition Classes
    ActorCanReply → ReactorCanReply → CanReply
  4. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  6. def !?(msec: Long, msg: Any): Option[Any]

    Definition Classes
    ActorCanReply → ReactorCanReply → CanReply
  7. def !?(msg: Any): Any

    Definition Classes
    ActorCanReply → ReactorCanReply → CanReply
  8. final def ##(): Int

    Definition Classes
    AnyRef → Any
  9. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  11. def ?: Any

    Definition Classes
    InternalActor → InputChannel
  12. lazy val ReceiveTimeout: TIMEOUT.type

  13. def act(): Unit

    Definition Classes
    ActWithStash → Reactor
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. val context: ActorContext

    Attributes
    protected[this]
  17. def continue(): Unit

    Definition Classes
    Combinators
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def exceptionHandler: PartialFunction[Exception, Unit]

    Attributes
    protected[scala.actors]
    Definition Classes
    Reactor
  21. def exit(): Nothing

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalActor → Reactor
  22. def exit(reason: AnyRef): Nothing

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalActor
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def forward(msg: Any): Unit

    Definition Classes
    InternalReplyReactor → Reactor → OutputChannel
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def getState: Actor.State.Value

    Definition Classes
    InternalActor → InternalReplyReactor → Reactor
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. def internalSender: OutputChannel[Any]

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalReplyReactor
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def link(body: ⇒ Unit): Actor

    Definition Classes
    InternalActor
  31. def link(to: ActorRef): ActorRef

    Definition Classes
    InternalActor
  32. def link(to: AbstractActor): AbstractActor

    Definition Classes
    InternalActor
  33. def loop(body: ⇒ Unit): Unit

    Definition Classes
    Combinators
  34. def loopWhile(cond: ⇒ Boolean)(body: ⇒ Unit): Unit

    Definition Classes
    Combinators
  35. def mailboxSize: Int

    Attributes
    protected[scala.actors]
    Definition Classes
    Reactor
  36. implicit def mkBody[A](body: ⇒ A): Body[A]

    Definition Classes
    Reactor → Combinators
  37. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. def postStop(): Unit

    User overridable callback.

    User overridable callback.

    Is called when 'actor.stop()' is invoked.

  41. def preRestart(reason: Throwable, message: Option[Any]): Unit

    User overridable callback.

    User overridable callback.

    Is called on a crashed Actor right BEFORE it is restarted to allow clean up of resources before Actor is terminated. By default it calls postStop()

  42. def preStart(): Unit

    User overridable callback.

    User overridable callback.

    Is called when an Actor is started by invoking 'actor'.

  43. def react(handler: PartialFunction[Any, Unit]): Nothing

    Definition Classes
    InternalActor → InputChannel → InternalReplyReactor → Reactor
  44. def reactWithin(msec: Long)(handler: PartialFunction[Any, Unit]): Nothing

    Definition Classes
    InternalActor → InputChannel → InternalReplyReactor
  45. def receive[R](f: PartialFunction[Any, R]): R

    Definition Classes
    InternalActor → InputChannel
  46. def receiveWithin[R](msec: Long)(f: PartialFunction[Any, R]): R

    Definition Classes
    InternalActor → InputChannel
  47. def receiver: Actor

    Definition Classes
    Reactor → OutputChannel
  48. def reply(msg: Any): Unit

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalReplyReactor
  49. def restart(): Unit

    Definition Classes
    Reactor
  50. def scheduler: IScheduler

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalActor → Reactor
  51. val self: ActorRef

  52. def send(msg: Any, replyTo: OutputChannel[Any]): Unit

    Definition Classes
    Reactor → OutputChannel
  53. def sender: ActorRef

    Attributes
    protected
  54. def start(): ActWithStash

    Definition Classes
    ActWithStash → InternalActor → Reactor
  55. final def stash(msg: Any): Unit

    Adds message to a stash, to be processed later.

    Adds message to a stash, to be processed later. Stashed messages can be fed back into the actors' mailbox using unstashAll().

    Temporarily stashing away messages that the actor does not (yet) handle. Simplifies implementing certain messaging protocols.

  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def toString(): String

    Definition Classes
    AnyRef → Any
  58. def trapExit: Boolean

    Definition Classes
    InternalActor
  59. def trapExit_=(value: Boolean): Unit

    Definition Classes
    InternalActor
  60. def unhandled(message: Any): Unit

    User overridable callback.

    User overridable callback.

    Is called when a message isn't handled by the current behavior of the actor by default it does: EventHandler.warning(self, message)

  61. def unlink(from: ActorRef): Unit

    Definition Classes
    InternalActor
  62. def unlink(from: AbstractActor): Unit

    Definition Classes
    InternalActor
  63. final def unstashAll(): Unit

  64. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from InternalActor

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from InputChannel[Any]

Inherited from ActorCanReply

Inherited from InternalReplyReactor

Inherited from ReactorCanReply

Inherited from Reactor[Any]

Inherited from Combinators

Inherited from AbstractActor

Inherited from CanReply[Any, Any]

Inherited from OutputChannel[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped