Skip to content

Instantly share code, notes, and snippets.

@chbatey
Created January 14, 2014 23:27
Show Gist options
  • Select an option

  • Save chbatey/8427997 to your computer and use it in GitHub Desktop.

Select an option

Save chbatey/8427997 to your computer and use it in GitHub Desktop.
Basic actor that should send a message back to sender
package batey.akka.testing.backtosender
import akka.actor.Actor
class Server extends Actor {
def receive: Actor.Receive = {
case msg @ _ => {
println("I should really send something back!")
}
}
}
case object Messages {
case object Startup
case object Ready
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment