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 voidonWebSocketClose(int statusCode, String reason)voidonWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)voidonWebSocketError(Throwable cause)
-
-
-
Constructor Detail
-
NotificationStreamSocket
public NotificationStreamSocket(String user)
-
-
Method Detail
-
onWebSocketConnect
public void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session session)
- Specified by:
onWebSocketConnectin interfaceorg.eclipse.jetty.websocket.api.WebSocketConnectionListener- Overrides:
onWebSocketConnectin classorg.eclipse.jetty.websocket.api.WebSocketAdapter
-
onWebSocketClose
public void onWebSocketClose(int statusCode, String reason)- Specified by:
onWebSocketClosein interfaceorg.eclipse.jetty.websocket.api.WebSocketConnectionListener- Overrides:
onWebSocketClosein classorg.eclipse.jetty.websocket.api.WebSocketAdapter
-
onWebSocketError
public void onWebSocketError(Throwable cause)
- Specified by:
onWebSocketErrorin interfaceorg.eclipse.jetty.websocket.api.WebSocketConnectionListener- Overrides:
onWebSocketErrorin classorg.eclipse.jetty.websocket.api.WebSocketAdapter
-
-