public static enum LCIMClient.LCIMClientStatus extends Enum<LCIMClient.LCIMClientStatus>
Enum Constant and Description |
---|
LCIMClientStatusNone
当前client尚未open,或者已经close
|
LCIMClientStatusOpened
当前client已经打开,连接正常
|
LCIMClientStatusPaused
当前client由于网络因素导致的连接中断
|
Modifier and Type | Method and Description |
---|---|
static LCIMClient.LCIMClientStatus |
getClientStatus(int code) |
int |
getCode() |
static LCIMClient.LCIMClientStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LCIMClient.LCIMClientStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LCIMClient.LCIMClientStatus LCIMClientStatusNone
public static final LCIMClient.LCIMClientStatus LCIMClientStatusOpened
public static final LCIMClient.LCIMClientStatus LCIMClientStatusPaused
public static LCIMClient.LCIMClientStatus[] values()
for (LCIMClient.LCIMClientStatus c : LCIMClient.LCIMClientStatus.values()) System.out.println(c);
public static LCIMClient.LCIMClientStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getCode()
public static LCIMClient.LCIMClientStatus getClientStatus(int code)
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.