Package com.iizix.comm
Interface IWebSocketEngine
- public interface IWebSocketEngineThe interface for the WebSocket engines for the different implementations such as Grizzly, Jetty.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - void- destroy()Destroys and unregisters the engine for the URI it was registered for.- void- register(WebSocketAcceptor listener)Creates and registers an engine for the receipt of web socket requests for a particular URI.
 
- Method Detail- register- void register(WebSocketAcceptor listener) throws java.io.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:
- java.io.IOException- for communication failures.
 
 - destroy- void destroy() Destroys and unregisters the engine for the URI it was registered for.