Skip to content

Instantly share code, notes, and snippets.

@rrichardson
Created February 28, 2010 04:13
Show Gist options
  • Save rrichardson/317185 to your computer and use it in GitHub Desktop.
Save rrichardson/317185 to your computer and use it in GitHub Desktop.
case ServerRequest(key) =>
reply(sessionMap.get(key) match {
case Some(svr) =>
SessionSuccess(svr)
case None =>
SessionFailure("No session found for supplied key")
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment