|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.mvc.WebSocket.In<A>
public static class WebSocket.In<A>
A WebSocket in.
Field Summary | |
---|---|
java.util.List<F.Callback<A>> |
callbacks
Callbacks to invoke at each frame. |
java.util.List<F.Callback0> |
closeCallbacks
Callbacks to invoke on close. |
Constructor Summary | |
---|---|
WebSocket.In()
|
Method Summary | |
---|---|
void |
onClose(F.Callback0 callback)
Registers a close callback. |
void |
onMessage(F.Callback<A> callback)
Registers a message callback. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final java.util.List<F.Callback<A>> callbacks
public final java.util.List<F.Callback0> closeCallbacks
Constructor Detail |
---|
public WebSocket.In()
Method Detail |
---|
public void onMessage(F.Callback<A> callback)
public void onClose(F.Callback0 callback)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |