Class ClientUserConfigs

java.lang.Object
com.iohao.net.extension.client.kit.ClientUserConfigs

public final class ClientUserConfigs extends Object
Configuration flags for simulated client behavior and logging.
Author:
渔民小镇
date:
2023-07-15
  • Field Details

    • closeScanner

      public static boolean closeScanner
      Disables console input features.
          Recommended for pressure testing (set this property to true).
      
          When enabled, all console-input-related features become unavailable.
      
    • openLogListenBroadcast

      public static boolean openLogListenBroadcast
      Enables logs for broadcast-listen callbacks when true.
    • openLogRequestCommand

      public static boolean openLogRequestCommand
      Enables logs when the client sends requests to the server.
    • openLogRequestCallback

      public static boolean openLogRequestCallback
      Enables logs for request callbacks.
    • uniqueInputCommand

      public static boolean uniqueInputCommand
      When true, duplicate simulated commands are not allowed.
          Default is false, which disables duplicate checking.
      
    • openLogIdle

      public static boolean openLogIdle
      Enables idle/heartbeat callback logs.
  • Method Details

    • closeLog

      public static void closeLog()
      Disables simulated-request related logs.