Updated Akka to use JerseySimpleBroadcaster via AkkaBroadcaster
This commit is contained in:
parent
3041964859
commit
b1d3267cc7
3 changed files with 10 additions and 10 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue