Class AppbaseWebsocketClient

  • All Implemented Interfaces:
    Runnable, org.java_websocket.WebSocketListener

    public class AppbaseWebsocketClient
    extends org.java_websocket.client.WebSocketClient
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.java_websocket.client.WebSocketClient

        org.java_websocket.client.WebSocketClient.DefaultClientProxyChannel, org.java_websocket.client.WebSocketClient.WebSocketClientFactory
    • Field Summary

      • Fields inherited from class org.java_websocket.client.WebSocketClient

        uri
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onClose​(int code, String reason, boolean remote)
      Implements the method stated in Stream object passed in the Constructor.
      void onError​(Exception ex)
      Implements the method stated in Stream object passed in the Constructor.
      void onMessage​(String message)
      Implements the method stated in Stream object passed in the Constructor.
      void onOpen​(org.java_websocket.handshake.ServerHandshake handshakedata)
      Implements the method stated in Stream object passed in the Constructor.
      • Methods inherited from class org.java_websocket.client.WebSocketClient

        close, closeBlocking, connect, connectBlocking, createProxyChannel, getConnection, getDraft, getLocalSocketAddress, getReadyState, getRemoteSocketAddress, getURI, getWebSocketFactory, onCloseInitiated, onClosing, onMessage, onWebsocketClose, onWebsocketCloseInitiated, onWebsocketClosing, onWebsocketError, onWebsocketMessage, onWebsocketMessage, onWebsocketOpen, onWriteDemand, run, send, send, setProxy, setWebSocketFactory
      • Methods inherited from class org.java_websocket.WebSocketAdapter

        getFlashPolicy, onWebsocketHandshakeReceivedAsClient, onWebsocketHandshakeReceivedAsServer, onWebsocketHandshakeSentAsClient, onWebsocketMessageFragment, onWebsocketPing, onWebsocketPong
    • Constructor Detail

      • AppbaseWebsocketClient

        public AppbaseWebsocketClient​(URI serverUri,
                                      Stream on,
                                      org.java_websocket.drafts.Draft draft)
      • AppbaseWebsocketClient

        public AppbaseWebsocketClient​(URI serverURI,
                                      Stream on)
    • Method Detail

      • onOpen

        public void onOpen​(org.java_websocket.handshake.ServerHandshake handshakedata)
        Implements the method stated in Stream object passed in the Constructor.
        Specified by:
        onOpen in class org.java_websocket.client.WebSocketClient
      • onClose

        public void onClose​(int code,
                            String reason,
                            boolean remote)
        Implements the method stated in Stream object passed in the Constructor.
        Specified by:
        onClose in class org.java_websocket.client.WebSocketClient
      • onError

        public void onError​(Exception ex)
        Implements the method stated in Stream object passed in the Constructor.
        Specified by:
        onError in class org.java_websocket.client.WebSocketClient
      • onMessage

        public void onMessage​(String message)
        Implements the method stated in Stream object passed in the Constructor.
        Specified by:
        onMessage in class org.java_websocket.client.WebSocketClient