Class DefaultCmdRegions

java.lang.Object
com.iohao.net.server.cmd.DefaultCmdRegions
All Implemented Interfaces:
CmdRegions

public final class DefaultCmdRegions extends Object implements CmdRegions
Author:
渔民小镇
date:
2023-04-30
  • Constructor Details

    • DefaultCmdRegions

      public DefaultCmdRegions()
  • Method Details

    • loading

      public void loading(int serverId, int[] cmdMerges)
      Specified by:
      loading in interface CmdRegions
    • unLoading

      public void unLoading(int serverId)
      Specified by:
      unLoading in interface CmdRegions
    • existCmdMerge

      public boolean existCmdMerge(int cmdMerge)
      Specified by:
      existCmdMerge in interface CmdRegions
    • endpointLogicServerId

      public int endpointLogicServerId(int cmdMerge, int[] logicServerIds)
      Specified by:
      endpointLogicServerId in interface CmdRegions
    • getServerIdByCmdMerge

      public int getServerIdByCmdMerge(int cmdMerge)
      Specified by:
      getServerIdByCmdMerge in interface CmdRegions