Package org.opennms.web.notification
Class NotificationStreamServlet.NotificationStreamSocket
- java.lang.Object
-
- org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- org.opennms.web.notification.NotificationStreamServlet.NotificationStreamSocket
-
- All Implemented Interfaces:
org.eclipse.jetty.websocket.api.WebSocketConnectionListener
,org.eclipse.jetty.websocket.api.WebSocketListener
- Enclosing class:
- NotificationStreamServlet
public class NotificationStreamServlet.NotificationStreamSocket extends org.eclipse.jetty.websocket.api.WebSocketAdapter
-
-
Constructor Summary
Constructors Constructor Description NotificationStreamSocket(String user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onWebSocketClose(int statusCode, String reason)
void
onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)
void
onWebSocketError(Throwable cause)
-
-
-
Constructor Detail
-
NotificationStreamSocket
public NotificationStreamSocket(String user)
-
-
Method Detail
-
onWebSocketConnect
public void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)
- Specified by:
onWebSocketConnect
in interfaceorg.eclipse.jetty.websocket.api.WebSocketConnectionListener
- Overrides:
onWebSocketConnect
in classorg.eclipse.jetty.websocket.api.WebSocketAdapter
-
onWebSocketClose
public void onWebSocketClose(int statusCode, String reason)
- Specified by:
onWebSocketClose
in interfaceorg.eclipse.jetty.websocket.api.WebSocketConnectionListener
- Overrides:
onWebSocketClose
in classorg.eclipse.jetty.websocket.api.WebSocketAdapter
-
onWebSocketError
public void onWebSocketError(Throwable cause)
- Specified by:
onWebSocketError
in interfaceorg.eclipse.jetty.websocket.api.WebSocketConnectionListener
- Overrides:
onWebSocketError
in classorg.eclipse.jetty.websocket.api.WebSocketAdapter
-
-