Class 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 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 interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
        Overrides:
        onWebSocketConnect in class org.eclipse.jetty.websocket.api.WebSocketAdapter
      • onWebSocketClose

        public void onWebSocketClose​(int statusCode,
                                     String reason)
        Specified by:
        onWebSocketClose in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
        Overrides:
        onWebSocketClose in class org.eclipse.jetty.websocket.api.WebSocketAdapter
      • onWebSocketText

        public void onWebSocketText​(String textMessage)
        Specified by:
        onWebSocketText in interface org.eclipse.jetty.websocket.api.WebSocketListener
        Overrides:
        onWebSocketText in class org.eclipse.jetty.websocket.api.WebSocketAdapter