Enum ResultLogin.ResultCodeLogin
- java.lang.Object
-
- java.lang.Enum<ResultLogin.ResultCodeLogin>
-
- com.nhn.gameanvil.gamehammer.tester.result.ResultLogin.ResultCodeLogin
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResultLogin.ResultCodeLogin>
- Enclosing interface:
- ResultLogin
public static enum ResultLogin.ResultCodeLogin extends java.lang.Enum<ResultLogin.ResultCodeLogin>
로그인 결과 코드
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_PROTOCOL
잘못된 프로토콜LOGIN_FAIL_CONTENT
실패LOGIN_FAIL_INVALID_CHANNEL_ID
실패LOGIN_FAIL_INVALID_SERVICE_ID
실패LOGIN_FAIL_INVALID_SUB_ID
실패LOGIN_FAIL_INVALID_USER_ID
실패LOGIN_FAIL_INVALID_USER_TYPE
실패LOGIN_FAIL_LOGINED_OTHER_CHANNEL
실패LOGIN_FAIL_LOGINED_OTHER_DEVICE
실패LOGIN_FAIL_LOGINED_OTHER_SERVICE
실패LOGIN_FAIL_LOGINED_OTHER_USER_TYPE
실패LOGIN_FAIL_NOT_EXIST_NODE
실패LOGIN_FAIL_TIMEOUT_GAME_SERVER
실패LOGIN_SUCCESS
성공SYSTEM_ERROR
시스템 에러
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResultLogin.ResultCodeLogin
forErrorCode(Error.ErrorCode errorCode)
int
getNumber()
ResultCode의 값을 반환static ResultLogin.ResultCodeLogin
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResultLogin.ResultCodeLogin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM_ERROR
public static final ResultLogin.ResultCodeLogin SYSTEM_ERROR
시스템 에러
-
INVALID_PROTOCOL
public static final ResultLogin.ResultCodeLogin INVALID_PROTOCOL
잘못된 프로토콜
-
LOGIN_SUCCESS
public static final ResultLogin.ResultCodeLogin LOGIN_SUCCESS
성공
-
LOGIN_FAIL_CONTENT
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_CONTENT
실패컨텐츠에서 거부됨
-
LOGIN_FAIL_NOT_EXIST_NODE
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_NOT_EXIST_NODE
실패노드가 존재하지 않음
-
LOGIN_FAIL_TIMEOUT_GAME_SERVER
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_TIMEOUT_GAME_SERVER
실패게임서버가 응답하지 않음
-
LOGIN_FAIL_INVALID_SERVICE_ID
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_INVALID_SERVICE_ID
실패잘못된 서비스 아이디
-
LOGIN_FAIL_INVALID_USER_TYPE
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_INVALID_USER_TYPE
실패잘못된 유저 타입
-
LOGIN_FAIL_INVALID_USER_ID
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_INVALID_USER_ID
실패잘못된 유저 아이디
-
LOGIN_FAIL_INVALID_SUB_ID
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_INVALID_SUB_ID
실패잘못된 서브 아이디
-
LOGIN_FAIL_INVALID_CHANNEL_ID
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_INVALID_CHANNEL_ID
실패잘못된 채널 아이디
-
LOGIN_FAIL_LOGINED_OTHER_SERVICE
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_LOGINED_OTHER_SERVICE
실패다른 서비스에 로그인 되어있음
-
LOGIN_FAIL_LOGINED_OTHER_CHANNEL
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_LOGINED_OTHER_CHANNEL
실패다른 채널에 로그인 되어있음
-
LOGIN_FAIL_LOGINED_OTHER_USER_TYPE
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_LOGINED_OTHER_USER_TYPE
실패동일 계정 아이디로 다른 UserType이 로그인 되어있음
-
LOGIN_FAIL_LOGINED_OTHER_DEVICE
public static final ResultLogin.ResultCodeLogin LOGIN_FAIL_LOGINED_OTHER_DEVICE
실패동일 계정 아이디로 다른 디바이스 아이디가 로그인 되어있음
-
-
Method Detail
-
values
public static ResultLogin.ResultCodeLogin[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResultLogin.ResultCodeLogin c : ResultLogin.ResultCodeLogin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultLogin.ResultCodeLogin valueOf(java.lang.String name)
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
-
getNumber
public final int getNumber()
ResultCode의 값을 반환서버의 ErrorCode의 값과 1:1로 대응
- Returns:
- ResultCode의 값
-
forErrorCode
public static ResultLogin.ResultCodeLogin forErrorCode(Error.ErrorCode errorCode)
-
-