comet
Class CometSocket.In<A>

java.lang.Object
  extended by play.mvc.WebSocket.In<A>
      extended by comet.CometSocket.In<A>
Enclosing class:
CometSocket<A>

public static class CometSocket.In<A>
extends play.mvc.WebSocket.In<A>


Field Summary
 java.util.List<play.libs.F.Callback<A>> callbacks
           
 java.util.List<play.libs.F.Callback0> closeCallbacks
           
 
Constructor Summary
CometSocket.In(play.libs.Comet comet)
           
 
Method Summary
 void close()
           
 void message(A message)
           
 void onClose(play.libs.F.Callback0 callback)
           
 void onMessage(play.libs.F.Callback<A> callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callbacks

public final java.util.List<play.libs.F.Callback<A>> callbacks

closeCallbacks

public final java.util.List<play.libs.F.Callback0> closeCallbacks
Constructor Detail

CometSocket.In

public CometSocket.In(play.libs.Comet comet)
Method Detail

onMessage

public void onMessage(play.libs.F.Callback<A> callback)
Overrides:
onMessage in class play.mvc.WebSocket.In<A>

onClose

public void onClose(play.libs.F.Callback0 callback)
Overrides:
onClose in class play.mvc.WebSocket.In<A>

close

public void close()

message

public void message(A message)