public class StreamingWebSocketServlet
extends org.eclipse.jetty.websocket.servlet.WebSocketServlet
| Modifier and Type | Class and Description |
|---|---|
class |
StreamingWebSocketServlet.MyWebSocket
This is the httpserver component of a WebSocket that maintains a session with one client.
|
| Constructor and Description |
|---|
StreamingWebSocketServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory) |
int |
getNumActiveConnections() |
void |
tellClients(BuckEventExternalInterface event)
Sends the message to all WebSockets that are subscribed to the given event.
|
destroy, init, servicedoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic void configure(org.eclipse.jetty.websocket.servlet.WebSocketServletFactory factory)
configure in class org.eclipse.jetty.websocket.servlet.WebSocketServletpublic void tellClients(BuckEventExternalInterface event)
public int getNumActiveConnections()