public class IseClient extends WebSocketClient
| 限定符和类型 | 类和说明 |
|---|---|
static class |
IseClient.Builder |
apiKey, apiSecret, appId, callTimeout, connectTimeout, hostUrl, okHttpClient, originHostUrl, pingInterval, readTimeout, request, retryOnConnectionFailure, signature, webSocket, writeTimeout| 构造器和说明 |
|---|
IseClient(IseClient.Builder builder) |
closeWebsocket, createWebSocketConnect, newWebSocketpublic IseClient(IseClient.Builder builder)
public void send(File file, okhttp3.WebSocketListener webSocketListener) throws FileNotFoundException, MalformedURLException, SignatureException
file - 发送的文件FileNotFoundExceptionMalformedURLExceptionSignatureExceptionpublic void send(InputStream inputStream, okhttp3.WebSocketListener webSocketListener) throws MalformedURLException, SignatureException
inputStream - 需要发送的流MalformedURLExceptionSignatureExceptionpublic void send(byte[] bytes,
Closeable closeable,
okhttp3.WebSocketListener webSocketListener)
throws MalformedURLException,
SignatureException
bytes - closeable - 需要关闭的流,可为空MalformedURLExceptionSignatureExceptionpublic String getAppId()
public boolean isTtpSkip()
public String getExtraAbility()
public String getCheckType()
public String getIseUnite()
public String getSub()
public String getEnt()
public String getCategory()
public int getAus()
public String getCmd()
public String getText()
public String getTte()
public String getAue()
public String getAuf()
public String getRstcd()
public String getGroup()
public String getGrade()
public String getRst()
public String getPlev()
public String getHostUrl()
public String getOriginHostUrl()
public String getApiKey()
public String getApiSecret()
public okhttp3.Request getRequest()
public okhttp3.OkHttpClient getClient()
public okhttp3.WebSocket getWebSocket()
getWebSocket 在类中 WebSocketClientpublic boolean isRetryOnConnectionFailure()
public int getCallTimeout()
public int getConnectTimeout()
public int getReadTimeout()
public int getWriteTimeout()
public int getPingInterval()
public AbstractSignature getSignature()
public Integer getFrameSize()
Copyright © 2021. All rights reserved.