public interface ApiComposeCallback extends SubscribeApiCallback
| 限定符和类型 | 方法和说明 |
|---|---|
void |
connectionAck() |
void |
connectionAck(int serverSendInterval,
int serverReceiveInterval) |
void |
connectionClosed() |
void |
connectionKickout(int errorCode,
String errorMsg)
kicked out by a new connection. recommend to terminate the connection.
|
void |
error(int id,
int errorCode,
String errorMsg) |
void |
error(String errorMsg) |
void |
hearBeat(String heartBeatContent) |
void |
serverHeartBeatTimeOut(String channelId) |
assetChange, cancelSubscribeEnd, depthQuoteChange, fullTickChange, futureAskBidChange, futureChange, getSubscribedSymbolEnd, klineChange, optionAskBidChange, optionChange, optionTopPush, orderStatusChange, orderTransactionChange, positionChange, quoteAskBidChange, quoteChange, stockTopPush, subscribeEnd, tradeTickChangevoid error(String errorMsg)
void error(int id,
int errorCode,
String errorMsg)
void connectionClosed()
void connectionKickout(int errorCode,
String errorMsg)
errorCode - errorCodeerrorMsg - errorMsgvoid connectionAck()
void connectionAck(int serverSendInterval,
int serverReceiveInterval)
serverSendInterval - The server guarantees the minimum interval for sending heartbeats, 0 means the server does not send heartbeatsserverReceiveInterval - The interval at which the server expects to receive client heartbeats, 0 means the server does not wish to receive client heartbeatsvoid hearBeat(String heartBeatContent)
void serverHeartBeatTimeOut(String channelId)
Copyright © 2025. All rights reserved.