Interface IWebSocketEngine


public interface IWebSocketEngine
The interface for the WebSocket engines for the different implementations such as Grizzly, Jetty.
Author:
Christopher Mindus
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    Destroys and unregisters the engine for the URI it was registered for.
    void
    Creates and registers an engine for the receipt of web socket requests for a particular URI.
  • Method Details Link icon

    • register Link icon

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

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