public class NotificationStreamServlet.NotificationStreamSocket
extends org.eclipse.jetty.websocket.api.WebSocketAdapter
| Constructor and Description |
|---|
NotificationStreamSocket(String user) |
| Modifier and Type | Method and Description |
|---|---|
void |
onWebSocketClose(int statusCode,
String reason) |
void |
onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session) |
void |
onWebSocketError(Throwable cause) |
public NotificationStreamSocket(String user)
public void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)
onWebSocketConnect in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListeneronWebSocketConnect in class org.eclipse.jetty.websocket.api.WebSocketAdapterpublic void onWebSocketClose(int statusCode,
String reason)
onWebSocketClose in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListeneronWebSocketClose in class org.eclipse.jetty.websocket.api.WebSocketAdapterpublic void onWebSocketError(Throwable cause)
onWebSocketError in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListeneronWebSocketError in class org.eclipse.jetty.websocket.api.WebSocketAdapterCopyright © 2022. All rights reserved.