Interface WebsocketStreamClient

    • Method Detail

      • onMessage

        void onMessage​(String msg)
                throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException
      • onClose

        void onClose​(okhttp3.WebSocket ws,
                     int code,
                     String reason)
      • onOpen

        void onOpen​(okhttp3.WebSocket ws)
      • connect

        okhttp3.WebSocket connect()
      • getPublicChannelStream

        okhttp3.WebSocket getPublicChannelStream​(List<String> argNames,
                                                 String path)
        Subscribe public channel
        Parameters:
        argNames - args
        path - path
        Returns:
      • getPrivateChannelStream

        okhttp3.WebSocket getPrivateChannelStream​(List<String> argNames,
                                                  String path)
        Subscribe private channel
        Parameters:
        argNames - agrs
        path - path
        Returns:
      • getTradeChannelStream

        okhttp3.WebSocket getTradeChannelStream​(Map<String,​Object> params,
                                                String path)
        Websocket Api Message
        Parameters:
        params - params
        path - path
        Returns:
      • sendSubscribeMessage

        void sendSubscribeMessage​(okhttp3.WebSocket ws,
                                  Map<String,​Object> params)
      • sendSubscribeMessage

        void sendSubscribeMessage​(okhttp3.WebSocket ws,
                                  List<String> args)