public enum MqMsgResultType extends Enum<MqMsgResultType>
| 枚举常量和说明 |
|---|
CLOUD_PASSWORD_NOT_MATCH
设备通讯密码不匹配
|
EQUI_BIND_OTHER_APP
设备绑定其他App
|
EQUI_NOT_BIND_APP
设备未绑定App
|
EQUI_NOT_EXIST
设备未注册
|
EQUI_OFFLINE
设备离线
|
FORMAT_EXCEPTION |
MSG_SAVE_FAIL
消息缓存失败
|
MSG_SEND_EXCEPTION
消息发送异常
|
PROJECT_TRANSFER_CLOSE
项目透传状态关闭
|
SNO_TYPE_NOT_SUPPORT
登录方式未识别
|
SUCCESS
处理成功
|
TIMEOUT |
UNKNOWN
未知状态
|
| 限定符和类型 | 方法和说明 |
|---|---|
static MqMsgResultType |
getMsgResultTypeByCode(Integer resultCode) |
Integer |
getResultCode() |
String |
getResultDesc() |
static MqMsgResultType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static MqMsgResultType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MqMsgResultType UNKNOWN
public static final MqMsgResultType SUCCESS
public static final MqMsgResultType TIMEOUT
public static final MqMsgResultType FORMAT_EXCEPTION
public static final MqMsgResultType EQUI_NOT_EXIST
public static final MqMsgResultType EQUI_OFFLINE
public static final MqMsgResultType EQUI_NOT_BIND_APP
public static final MqMsgResultType EQUI_BIND_OTHER_APP
public static final MqMsgResultType PROJECT_TRANSFER_CLOSE
public static final MqMsgResultType MSG_SEND_EXCEPTION
public static final MqMsgResultType SNO_TYPE_NOT_SUPPORT
public static final MqMsgResultType CLOUD_PASSWORD_NOT_MATCH
public static final MqMsgResultType MSG_SAVE_FAIL
public static MqMsgResultType[] values()
for (MqMsgResultType c : MqMsgResultType.values()) System.out.println(c);
public static MqMsgResultType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Integer getResultCode()
public String getResultDesc()
public static MqMsgResultType getMsgResultTypeByCode(Integer resultCode) throws EnumException
EnumExceptionCopyright © 2023. All rights reserved.