play.mvc
Class WebSocket<A>

java.lang.Object
  extended by play.mvc.WebSocket<A>

public abstract class WebSocket<A>
extends java.lang.Object

A WebSocket result.


Nested Class Summary
static class WebSocket.In<A>
          A WebSocket in.
static interface WebSocket.Out<A>
          A WebSocket out.
 
Constructor Summary
WebSocket()
           
 
Method Summary
abstract  void onReady(WebSocket.In<A> in, WebSocket.Out<A> out)
          Called when the WebSocket is ready
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebSocket

public WebSocket()
Method Detail

onReady

public abstract void onReady(WebSocket.In<A> in,
                             WebSocket.Out<A> out)
Called when the WebSocket is ready

Parameters:
in - The Socket in.
out - The Socket out.