Created
May 22, 2013 18:33
-
-
Save SumitBisht/5629811 to your computer and use it in GitHub Desktop.
An AKKA based task on server
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
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