Class RoomKit

java.lang.Object
com.iohao.net.extension.room.RoomKit

public class RoomKit extends Object
Room related utilities
Since:
21.7
Author:
渔民小镇
date:
2024-04-30
  • Constructor Details

    • RoomKit

      public RoomKit()
  • Method Details

    • getEmptySeatNo

      public int getEmptySeatNo(Room room)
      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

      public void onException(Throwable e, FlowContext flowContext)
      Send exception to the current user
      Parameters:
      e - The exception
      flowContext - The flowContext of the current user