Interface IWebSocketEngine

  • public interface IWebSocketEngine
    The interface for the WebSocket engines for the different implementations such as Grizzly, Jetty.
    Christopher Mindus
    • Method Detail

      • register

        void register​(WebSocketAcceptor listener)
        Creates and registers an engine for the receipt of web socket requests for a particular URI.
        listener - The listener for incoming requests.
        Throws: - for communication failures.
      • destroy

        void destroy()
        Destroys and unregisters the engine for the URI it was registered for.