scala.actors
object TimerThread

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

`` `object` TimerThread
  `extends` AnyRef

  This class allows the (local) sending of a message to an actor after a timeout. Used by the library to build `receiveWithin(time: long)`. Note that the library deletes non-received `TIMEOUT` message if a message is received before the time-out occurs.

Version
  0.9.6
Author
  Sebastien Noir, Philipp Haller

Method Summary
`def` | requestTimeout (a : Actor, f : PartialFunction[Any, Unit], waitMillis : Long) : Unit
`def` | restart : Unit
`def` | shutdown : Unit
`def` | trashRequest (a : Actor) : Unit

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

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

Method Details

`` `def` shutdown : Unit

`` `def` restart : Unit

`` `def` requestTimeout(a : Actor, f : PartialFunction[Any, Unit], waitMillis : Long) : Unit

`` `def` trashRequest(a : Actor) : Unit