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, WsChannelRequestArg 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 WsHandlerWsHandlerFactory.getHandler(WsChannel wsChannel, OkxWsApiService okxWsApiService, String message) static WsHandlerWsHandlerFactory.getOnceHandler(WsChannel wsChannel, Operation operation, String message) Constructors in xyz.felh.okx.v5.handler with parameters of type WsChannelModifierConstructorDescriptionWsErrorHandler(WsChannel wsChannel, String message) WsLoginHandler(WsChannel wsChannel, String message) WsSubscribePushHandler(Class<T> tClass, Class<D> dClass, Channel channel, String message, WsChannel 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, WsChannelRequestArg arg) Add param when call subscribevoidSubscribeStateService.confirmSubscribed(WsChannel wsChannel, WsRequestArg arg) confirm subscribedbooleanSubscribeStateService.hasSubscribed(WsChannel wsChannel, WsChannelRequestArg 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)