This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def chatService | |
index: { | |
def id = request.session.id | |
[ | |
sessionId: id, | |
userName: request.session.userName ?: (request.session.userName = chatService.newUserName()) | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Typed package org.mbte.akkatest | |
import se.scalablesolutions.akka.actor.* | |
import java.util.concurrent.TimeUnit | |
import java.util.concurrent.CountDownLatch | |
import se.scalablesolutions.akka.config.JavaConfig.AllForOne | |
import se.scalablesolutions.akka.config.JavaConfig.RestartStrategy | |
import scala.collection.immutable.List as ScalaList | |
import scala.collection.JavaConversions | |
import se.scalablesolutions.akka.config.ScalaConfig.Supervise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Typed package org.mbte.akkatest | |
import se.scalablesolutions.akka.actor.* | |
import java.util.concurrent.TimeUnit | |
import java.util.concurrent.CountDownLatch | |
import se.scalablesolutions.akka.config.JavaConfig.AllForOne | |
import se.scalablesolutions.akka.config.JavaConfig.RestartStrategy | |
import se.scalablesolutions.akka.config.ScalaConfig.Server | |
class Akka { |
NewerOlder