scala.actors
class MessageQueue

[source: `scala/actors/MessageQueue.scala`]

`` `class` MessageQueue
  `extends` AnyRef

  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.

Version
  0.9.4
Author
  Philipp Haller

Value Summary
`var` | first : MessageQueueElement
`var` | last : MessageQueueElement

Method Summary
`def` | append (msg : Any, session : Channel[Any]) : Unit
`def` | extractFirst (p : (Any) => Boolean) : MessageQueueElement

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Value Details

`` `var` first : MessageQueueElement

`` `var` last : MessageQueueElement

Method Details

`` `def` append(msg : Any, session : Channel[Any]) : Unit

`` `def` extractFirst(p : (Any) => Boolean) : MessageQueueElement