Class JettyWebSocketTransport.JettyWebSocketDelegate

  • All Implemented Interfaces:
    org.eclipse.jetty.websocket.api.WebSocketConnectionListener, org.eclipse.jetty.websocket.api.WebSocketListener
    Enclosing class:
    JettyWebSocketTransport

    protected class JettyWebSocketTransport.JettyWebSocketDelegate
    extends AbstractWebSocketTransport.Delegate
    implements org.eclipse.jetty.websocket.api.WebSocketListener
    • Constructor Detail

      • JettyWebSocketDelegate

        protected JettyWebSocketDelegate()
    • Method Detail

      • onWebSocketConnect

        public void onWebSocketConnect​(org.eclipse.jetty.websocket.api.Session session)
        Specified by:
        onWebSocketConnect in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener
      • onWebSocketClose

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

        public void onWebSocketText​(String data)
        Specified by:
        onWebSocketText in interface org.eclipse.jetty.websocket.api.WebSocketListener
      • onWebSocketBinary

        public void onWebSocketBinary​(byte[] payload,
                                      int offset,
                                      int len)
        Specified by:
        onWebSocketBinary in interface org.eclipse.jetty.websocket.api.WebSocketListener
      • onWebSocketError

        public void onWebSocketError​(Throwable failure)
        Specified by:
        onWebSocketError in interface org.eclipse.jetty.websocket.api.WebSocketConnectionListener