Class RoomKit
java.lang.Object
com.iohao.net.extension.room.RoomKit
Room related utilities
- Since:
- 21.7
- Author:
- 渔民小镇
- date:
- 2024-04-30
-
Method Summary
Modifier and TypeMethodDescriptionstatic intgetEmptySeatNo(Room room) Get an empty seat number from the roomstatic voidonException(Throwable e, FlowContext flowContext) Send exception to the current user
-
Method Details
-
getEmptySeatNo
Get an empty seat number from the room- Parameters:
room- The room- Returns:
- Empty seat number. When the value is -1, it means there are no empty seats (the room is full).
-
onException
Send exception to the current user- Parameters:
e- The exceptionflowContext- The flowContext of the current user
-