Skip to content

Instantly share code, notes, and snippets.

@SumitBisht
Created May 22, 2013 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SumitBisht/5629811 to your computer and use it in GitHub Desktop.
Save SumitBisht/5629811 to your computer and use it in GitHub Desktop.
An AKKA based task on server
public void onReady(WebSocket.In<JsonNode>in , final WebSocket.Out<JsonNode> out) {
Akka.system().scheduler().schdeule(
Duration.create(0, TimeUnit.MILLISECONDS),
Duration.create(1, TimeUnit.SECONDS),
new Runnable() {
public void run() {
....
out.write("");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment