public interface ApiComposeCallback extends SubscribeApiCallback
| 限定符和类型 | 方法和说明 |
|---|---|
void |
connectionAck() |
void |
connectionAck(int serverSendInterval,
int serverReceiveInterval) |
void |
connectionClosed() |
void |
connectionKickoff(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 channelIdAsLongText) |
assetChange, cancelSubscribeEnd, depthQuoteChange, futureChange, getSubscribedSymbolEnd, optionChange, orderStatusChange, positionChange, quoteChange, subscribeEndvoid error(String errorMsg)
void error(int id,
int errorCode,
String errorMsg)
void connectionClosed()
void connectionKickoff(int errorCode,
String errorMsg)
errorCode - errorCodeerrorMsg - errorMsgvoid connectionAck()
void connectionAck(int serverSendInterval,
int serverReceiveInterval)
serverSendInterval - server保证发送心跳的最小间隔,0代表server不发送心跳serverReceiveInterval - server希望收到client心跳的间隔,0表示server不希望收到client的心跳void hearBeat(String heartBeatContent)
void serverHeartBeatTimeOut(String channelIdAsLongText)
Copyright © 2022. All rights reserved.