scalation.process

CoroutineA

Related Doc: package process

abstract class CoroutineA extends Actor

The CoroutineA class supports quasi-concurrent programming. A coroutine runs/acts until it yields control to some other coroutine. When resumed, a coroutines continues execution where it left off.

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

Instance Constructors

  1. new CoroutineA()

Type Members

  1. type Future[+P] = scala.actors.Future[P]

    Definition Classes
    ReactorCanReply → CanReply

Abstract Value Members

  1. abstract def act(): Unit

    Definition Classes
    Reactor

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: Any): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  9. def ?: Any

    Definition Classes
    InternalActor → InputChannel
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def continue(): Unit

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  21. def getState: scala.actors.Actor.State.Value

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

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

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

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

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

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

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

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

    Definition Classes
    Combinators
  30. def mailboxSize: Int

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

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

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

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

    Definition Classes
    AnyRef
  35. def react(handler: PartialFunction[Any, Unit]): Nothing

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

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

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

    Definition Classes
    InternalActor → InputChannel
  39. def receiver: Actor

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

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

    Definition Classes
    Reactor
  42. def scheduler: IScheduler

    Attributes
    protected[scala.actors]
    Definition Classes
    InternalActor → Reactor
  43. def send(msg: Any, replyTo: OutputChannel[Any]): Unit

    Definition Classes
    Reactor → OutputChannel
  44. def sender: OutputChannel[Any]

    Attributes
    protected[scala.actors]
    Definition Classes
    ReplyReactor
  45. def start(): CoroutineA

    Start this coroutine, i.e., invoke its 'act' method.

    Start this coroutine, i.e., invoke its 'act' method.

    Definition Classes
    CoroutineA → Actor → InternalActor → Reactor
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  47. def toString(): String

    Definition Classes
    AnyRef → Any
  48. def trapExit: Boolean

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

    Definition Classes
    InternalActor
  50. def unlink(from: ActorRef): Unit

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

    Definition Classes
    InternalActor
  52. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def yyield(other: CoroutineA, quit: Boolean = false): Unit

    Yield control to the 'other' coroutine.

    Yield control to the 'other' coroutine.

    other

    the other coroutine to yield control to

    quit

    whether to wait via a receive or quit via exit

Inherited from Actor

Inherited from ReplyReactor

Inherited from InternalActor

Inherited from Serializable

Inherited from 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