scala.actors

AbstractActor

trait AbstractActor extends OutputChannel[Any] with CanReply[Any, Any]

Annotations
@deprecated
Deprecated

(Since version 2.11.0) Use the akka.actor package instead. For migration from the scala.actors package refer to the Actors Migration Guide.

Linear Supertypes
CanReply[Any, Any], OutputChannel[Any], AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractActor
  2. CanReply
  3. OutputChannel
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Future[+R] <: actors.Future[R]

    Definition Classes
    AbstractActorCanReply

Abstract Value Members

  1. abstract def !(msg: Any): Unit

    Sends msg to this OutputChannel (asynchronous).

    Sends msg to this OutputChannel (asynchronous).

    msg

    the message to send

    Definition Classes
    OutputChannel
  2. abstract def !![P](msg: Any, handler: PartialFunction[Any, P]): Future[P]

    Sends msg to this CanReply and immediately returns a future representing the reply value.

    Sends msg to this CanReply and immediately returns a future representing the reply value. The reply is post-processed using the partial function handler. This also allows to recover a more precise type for the reply value.

    msg

    the message to be sent

    handler

    the function to be applied to the response

    returns

    the future

    Definition Classes
    CanReply
  3. abstract def !!(msg: Any): Future[Any]

    Sends msg to this CanReply and immediately returns a future representing the reply value.

    Sends msg to this CanReply and immediately returns a future representing the reply value.

    msg

    the message to be sent

    returns

    the future

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

    Sends msg to this CanReply and awaits reply (synchronous) within msec milliseconds.

    Sends msg to this CanReply and awaits reply (synchronous) within msec milliseconds.

    msec

    the time span before timeout

    msg

    the message to be sent

    returns

    None in case of timeout, otherwise Some(x) where x is the reply

    Definition Classes
    CanReply
  5. abstract def !?(msg: Any): Any

    Sends msg to this CanReply and awaits reply (synchronous).

    Sends msg to this CanReply and awaits reply (synchronous).

    msg

    the message to be sent

    returns

    the reply

    Definition Classes
    CanReply
  6. abstract def forward(msg: Any): Unit

    Forwards msg to this OutputChannel (asynchronous).

    Forwards msg to this OutputChannel (asynchronous).

    msg

    the message to forward

    Definition Classes
    OutputChannel
  7. abstract def receiver: InternalActor

    Returns the Actor that is receiving from this OutputChannel.

    Returns the Actor that is receiving from this OutputChannel.

    Definition Classes
    OutputChannel
  8. abstract def send(msg: Any, replyTo: OutputChannel[Any]): Unit

    Sends msg to this OutputChannel (asynchronous) supplying explicit reply destination.

    Sends msg to this OutputChannel (asynchronous) supplying explicit reply destination.

    msg

    the message to send

    replyTo

    the reply destination

    Definition Classes
    OutputChannel