in scala.actors
class MessageQueue

`class` MessageQueue [Msg]
  `extends` scala.actors.MessageQueueResult[Msg]
  `with` scala.ScalaObject

  The class `MessageQueue` provides an efficient implementation of a message queue specialized for this actor library. Classes in this package are supposed to be the only clients of this class.

Author:
  Martin Odersky, Philipp Haller

Constructor Summary
| `def` this

Var Summary
| `var` msg : Msg
| `var` sender : scala.actors.Actor

Def Summary
| `def` append (msg: Msg, sender: scala.actors.Actor) : scala.Unit
| `def` dequeueFirst (p: scala.Function1[scala.actors.MessageQueueResult[Msg], scala.Boolean]) : scala.actors.MessageQueueResult[Msg]
| `def` extractFirst (p: scala.Function1[Msg, scala.Boolean]) : scala.actors.MessageQueueResult[Msg]

Constructor Detail

`def` this

Var Detail

`var` msg : Msg

`var` sender : scala.actors.Actor

Def Detail

`def` append (msg: Msg, sender: scala.actors.Actor): scala.Unit

`def` dequeueFirst (p: scala.Function1[scala.actors.MessageQueueResult[Msg], scala.Boolean]): scala.actors.MessageQueueResult[Msg]

`def` extractFirst (p: scala.Function1[Msg, scala.Boolean]): scala.actors.MessageQueueResult[Msg]