Class RoomKit
java.lang.Object
com.iohao.net.extension.room.RoomKit
Room related utilities
- Since:
- 21.7
- Author:
- 渔民小镇
- date:
- 2024-04-30
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetEmptySeatNo(Room room) Get an empty seat number from the roomvoidonException(Throwable e, FlowContext flowContext) Send exception to the current user
-
Constructor Details
-
RoomKit
public RoomKit()
-
-
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
-