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.WebSocketConnectionListener
onWebSocketConnect
in class org.eclipse.jetty.websocket.api.WebSocketAdapter
public void onWebSocketClose(int statusCode, String reason)
onWebSocketClose
in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
onWebSocketClose
in class org.eclipse.jetty.websocket.api.WebSocketAdapter
public void onWebSocketError(Throwable cause)
onWebSocketError
in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
onWebSocketError
in class org.eclipse.jetty.websocket.api.WebSocketAdapter
Copyright © 2021. All rights reserved.