Merge branch 'master' into Christmas_restructure

This commit is contained in:
Viktor Klang 2009-12-26 14:05:28 +01:00
commit 308cabd068
3 changed files with 46 additions and 14 deletions

View file

@ -100,8 +100,7 @@ class PubSub extends Actor {
* Or browse to the URL from a web browser.
*/
@Path("/persistentscalacount")
class PersistentSimpleService extends Actor {
makeTransactionRequired
class PersistentSimpleService extends Transactor {
case object Tick
private val KEY = "COUNTER"
@ -127,7 +126,7 @@ class PersistentSimpleService extends Actor {
}
@Path("/chat")
class Chat extends Transactor {
class Chat extends Actor {
case class Chat(val who: String, val what: String, val msg: String)
@Suspend