Updated Akka to use JerseySimpleBroadcaster via AkkaBroadcaster

This commit is contained in:
Viktor Klang 2010-01-30 14:54:45 +01:00
parent 3041964859
commit b1d3267cc7
3 changed files with 10 additions and 10 deletions

View file

@ -132,13 +132,7 @@ class Chat extends Actor {
@Suspend
@GET
@Produces(Array("text/html"))
def suspend = {
val s = new StringBuilder
s append "<!-- "
for(i <- 1 to 10) s append "Comet is a programming technique that enables web servers to send data to the client without having any need for the client to request it. "
s append " -->"
s toString
}
def suspend = ()
def receive = {
case Chat(who, what, msg) => {