Class AbstractRoomMatchInfo
java.lang.Object
com.nhn.gameanvil.node.match.roommatch.AbstractRoomMatchInfo
- All Implemented Interfaces:
Serializable
AbstractRoomMatchMaker
에서 매치메이킹 요청을 처리하기위해 필요한 정보를 저장할 클래스- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractRoomMatchInfo
(int roomId, int maxUserCount) 생성자AbstractRoomMatchInfo
(int roomId, String matchingUserCategory, int maxUserCount) 생성자 -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addMatchingUserCategory
(String matchingUserCategory, int maxUserCount) 매칭 유저 카테고리 관리 맵에 매칭 유저 카테고리 추가매칭 유저 카테고리 관리 맵 반환final int
룸 아이디 반환
-
Field Details
-
USER_CATEGORY_DEFAULT
- See Also:
-
-
Constructor Details
-
AbstractRoomMatchInfo
public AbstractRoomMatchInfo(int roomId, int maxUserCount) 생성자- Parameters:
roomId
- 룸 아이디maxUserCount
- 최대 유저수
-
AbstractRoomMatchInfo
생성자- Parameters:
roomId
- 룸 아이디matchingUserCategory
- 매칭 유저 카테고리maxUserCount
- 최대 유저수
-
-
Method Details
-
getRoomId
public final int getRoomId()룸 아이디 반환- Returns:
- 룸 아이디 반환
-
getMatchingUserCategoryMap
매칭 유저 카테고리 관리 맵 반환- Returns:
- 매칭 유저 카테고리 맵 반환
-
addMatchingUserCategory
매칭 유저 카테고리 관리 맵에 매칭 유저 카테고리 추가- Parameters:
matchingUserCategory
- 매칭 유저 카테고리maxUserCount
- 최대 유저수
-