Class SubscriptionWebSocket
- java.lang.Object
-
- org.eclipse.jetty.websocket.api.WebSocketAdapter
-
- org.apache.unomi.graphql.servlet.websocket.SubscriptionWebSocket
-
- All Implemented Interfaces:
org.eclipse.jetty.websocket.api.WebSocketConnectionListener
,org.eclipse.jetty.websocket.api.WebSocketListener
public class SubscriptionWebSocket extends org.eclipse.jetty.websocket.api.WebSocketAdapter
-
-
Constructor Summary
Constructors Constructor Description SubscriptionWebSocket(graphql.GraphQL graphQL, ServiceManager serviceManager)
-
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 sess)
void
onWebSocketText(String textMessage)
-
-
-
Constructor Detail
-
SubscriptionWebSocket
public SubscriptionWebSocket(graphql.GraphQL graphQL, ServiceManager serviceManager)
-
-
Method Detail
-
onWebSocketConnect
public void onWebSocketConnect(org.eclipse.jetty.websocket.api.Session sess)
- 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
-
onWebSocketText
public void onWebSocketText(String textMessage)
- Specified by:
onWebSocketText
in interfaceorg.eclipse.jetty.websocket.api.WebSocketListener
- Overrides:
onWebSocketText
in classorg.eclipse.jetty.websocket.api.WebSocketAdapter
-
-