Class WebSocketConnector

java.lang.Object
org.cometd.javascript.WebSocketConnector

public class WebSocketConnector
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    WebSocketConnector​(XMLHttpRequestClient xhrClient)  
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.jetty.websocket.client.WebSocketClient getWebSocketClient()  
    void start()  
    void stop()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • start

      public void start() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • stop

      public void stop() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • getWebSocketClient

      public org.eclipse.jetty.websocket.client.WebSocketClient getWebSocketClient()