| 程序包 | 说明 |
|---|---|
| com.antchain.unionsdk.btn.api.network | |
| com.antchain.unionsdk.callback | |
| com.antchain.unionsdk.network |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BtnClientChainMessageResponse |
class |
BtnPushMessageResponse |
class |
BtnResponse |
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
BtnTcpConnection.sendAsyncRequest(byte[] msg,
String contextKey,
IAsyncCallBack callback,
int timeout,
int cmdId) |
Response |
BtnClientNetwork.sendAsyncRequest(ProtobufRequest protobufRequest,
IAsyncCallBack callback,
boolean isNecessaryNodeRegistered,
boolean isNecessaryNodeGroupRegistered,
int timeout) |
Response |
BtnClientNetwork.sendAsyncRequest(ProtobufRequest protobufRequest,
IAsyncCallBack callback,
String endpoint,
boolean isNecessaryNodeRegistered,
boolean isNecessaryNodeGroupRegistered) |
Response |
BtnTcpConnection.sendSyncRequest(byte[] bytes,
String contextKey,
int requestTimeouts,
int cmdId) |
Response |
BtnClientNetwork.sendSyncRequest(ProtobufRequest protobufRequest,
boolean isNecessaryNodeRegistered,
boolean isNecessaryNodeGroupRegistered,
int requestTimeouts) |
Response |
BtnClientNetwork.sendSyncRequest(ProtobufRequest protobufRequest,
String endpoint,
boolean isNecessaryNodeRegistered,
boolean isNecessaryNodeGroupRegistered,
int requestTimeouts) |
Response |
BtnTcpConnection.sendSyncRequestForNodeAndGroupReRegister(byte[] msg,
String contextKey,
int requestTimeouts,
int cmdId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
IAsyncCallBack.onResponse(ChainErrorCode chainErrorCode,
Response response) |
| 限定符和类型 | 方法和说明 |
|---|---|
Response |
MessageContext.getResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
MessageProcessor.processTimeoutMsg(String contextKey,
Response response,
String endpoint) |
boolean |
MessageProcessor.pushTimeoutMessage(String contextKey,
Response response,
String endpoint) |
void |
MessageContext.setResponse(Response response) |
Copyright © 2022. All rights reserved.