Package 

Interface WebSocketFactory

    • Method Summary

      Modifier and Type Method Description
      abstract WebSocket createWebSocket(WebSocketAdapter a, Draft d) Create a new Websocket with the provided listener, drafts and socket
      abstract WebSocket createWebSocket(WebSocketAdapter a, List<Draft> drafts) Create a new Websocket with the provided listener, drafts and socket
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createWebSocket

         abstract WebSocket createWebSocket(WebSocketAdapter a, Draft d)

        Create a new Websocket with the provided listener, drafts and socket

        Parameters:
        a - The Listener for the WebsocketImpl
        d - The draft which should be used
      • createWebSocket

         abstract WebSocket createWebSocket(WebSocketAdapter a, List<Draft> drafts)

        Create a new Websocket with the provided listener, drafts and socket

        Parameters:
        a - The Listener for the WebsocketImpl
        drafts - The drafts which should be used