Uses of Enum Class
xyz.felh.okx.v5.enumeration.ws.WsChannel
Packages that use WsChannel
Package
Description
-
Uses of WsChannel in xyz.felh.okx.v5
Methods in xyz.felh.okx.v5 with parameters of type WsChannelModifier and TypeMethodDescriptionvoidconnect wsstatic okhttp3.RequestOkxWsApiService.defaultRequest(WsChannel wsChannel, boolean simulated) voidOkxWsApiService.disconnect(WsChannel wsChannel, int code, String reason) Manually close connectionbooleanOkxWsApiService.isConnected(WsChannel wsChannel) IsConnectedvoidOkxWsApiService.pureSubscribe(WsChannel wsChannel, WsRequestArg requestArg) voidreconnectvoidOkxWsApiService.resetConnectCount(WsChannel wsChannel) voidsend string messagevoidsend byte messagevoidOkxWsApiService.setConnectState(WsChannel wsChannel, boolean state) voidOkxWsApiService.setWebSocket(WsChannel wsChannel, okhttp3.WebSocket webSocket) Set it when connected -
Uses of WsChannel in xyz.felh.okx.v5.enumeration.ws
Methods in xyz.felh.okx.v5.enumeration.ws that return WsChannel -
Uses of WsChannel in xyz.felh.okx.v5.handler
Methods in xyz.felh.okx.v5.handler with parameters of type WsChannelModifier and TypeMethodDescriptionstatic WsSubscribeEntityHandler<? extends WsRequestArg, ? extends WsResponseArg, ? extends WsSubscribeEntity> WsSubscribeEntityHandlerFactory.getHandler(String message, WsChannel wsChannel, SubscribeStateService subscribeStateService) Constructors in xyz.felh.okx.v5.handler with parameters of type WsChannel -
Uses of WsChannel in xyz.felh.okx.v5.ws
Methods in xyz.felh.okx.v5.ws with parameters of type WsChannelModifier and TypeMethodDescriptionvoidSubscribeStateService.addSubscribed(WsChannel wsChannel, WsRequestArg arg) Add param when call subscribevoidSubscribeStateService.confirmSubscribed(WsChannel wsChannel, WsRequestArg arg) confirm subscribedbooleanSubscribeStateService.hasSubscribed(WsChannel wsChannel, WsRequestArg arg) Check if current channel has been subscribed successfullyvoidSubscribeStateService.removeSubscribed(WsChannel wsChannel, WsRequestArg arg) remove subscribed datavoidSubscribeStateService.restoreSubscribed(WsChannel wsChannel) 恢复某个channel的订阅Constructors in xyz.felh.okx.v5.ws with parameters of type WsChannelModifierConstructorDescriptionFelhWsListener(WsChannel wsChannel, OkxWsApiService okxWsApiService)