in scala.actors
object TimerThread

`object` TimerThread
  `extends` java.lang.Object
  `with` java.lang.Runnable
  `with` scala.ScalaObject

  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.2
Author:
  Sebastien Noir, Philipp Haller

Class Summary
`case` | `class` WakedActor

Constructor Summary
| `def` this

Val Summary
| `val` t : java.lang.Thread

Var Summary
| `var` lateList : scala.List[TimerThread.this.WakedActor]
| `var` queue : scala.collection.mutable.PriorityQueue[TimerThread.this.WakedActor]

Def Summary
| `def` now : scala.Long
| `def` requestTimeout (a: scala.actors.Actor, f: scala.PartialFunction[scala.Any, scala.Unit], waitMillis: scala.Long) : scala.Unit
`override` | `def` run : scala.Unit
| `def` trashRequest (a: scala.actors.Actor) : scala.Unit

Def inherited from java.lang.Runnable
run

Constructor Detail

`def` this

Val Detail

`val` t : java.lang.Thread

Var Detail

`var` lateList : scala.List[TimerThread.this.WakedActor]

`var` queue : scala.collection.mutable.PriorityQueue[TimerThread.this.WakedActor]

Def Detail

`def` now : scala.Long

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

Parameters:
  `a -` ...
Parameters:
  `f -` ...
Parameters:
  `waitMillis -` ...

`override def` run : scala.Unit

`def` trashRequest (a: scala.actors.Actor): scala.Unit

Parameters:
  `a -` ...