Enum EventSubNodeRespStatus
java.lang.Object
java.lang.Enum<EventSubNodeRespStatus>
org.fisco.bcos.sdk.eventsub.filter.EventSubNodeRespStatus
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EventSubNodeRespStatus>
,java.lang.constant.Constable
public enum EventSubNodeRespStatus extends java.lang.Enum<EventSubNodeRespStatus>
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description GROUP_NOT_EXIST
INVALID_PARAMS
INVALID_RANGE
INVALID_REQUEST
INVALID_RESPONSE
OTHER_ERROR
PUSH_COMPLETED
REQUEST_TIMEOUT
SDK_PERMISSION_DENIED
SUCCESS
When make a subscribe of an event, the node would response the status. -
Method Summary
Modifier and Type Method Description static EventSubNodeRespStatus
fromIntStatus(int status)
static java.lang.String
getDescMessage(int status)
static java.lang.String
getDescMessage(EventSubNodeRespStatus status)
int
getStatus()
void
setStatus(int status)
static EventSubNodeRespStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EventSubNodeRespStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
When make a subscribe of an event, the node would response the status. -
PUSH_COMPLETED
-
INVALID_PARAMS
-
INVALID_REQUEST
-
GROUP_NOT_EXIST
-
INVALID_RANGE
-
INVALID_RESPONSE
-
REQUEST_TIMEOUT
-
SDK_PERMISSION_DENIED
-
OTHER_ERROR
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
fromIntStatus
-
getDescMessage
public static java.lang.String getDescMessage(int status) -
getDescMessage
-