| 程序包 | 说明 |
|---|---|
| com.alipay.mychain.sdk.network |
| 限定符和类型 | 方法和说明 |
|---|---|
ChannelStatus |
NetworkConnection.getStatus() |
static ChannelStatus |
ChannelStatus.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ChannelStatus[] |
ChannelStatus.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NetworkConnection.checkAndSetStatus(ChannelStatus status)
only heartbeat thread use
|
void |
ClientNetwork.checkAndSetStatus(String endpoint,
ChannelStatus status) |
void |
INetwork.checkAndSetStatus(String endpoint,
ChannelStatus status)
设置某个节点的状态
|
void |
NetworkConnection.setStatus(ChannelStatus channelStatus) |
Copyright © 2022. All rights reserved.