Class DefaultCmdRegions
java.lang.Object
com.iohao.net.server.cmd.DefaultCmdRegions
- All Implemented Interfaces:
CmdRegions
- Author:
- 渔民小镇
- date:
- 2023-04-30
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintendpointLogicServerId(int cmdMerge, int[] logicServerIds) booleanexistCmdMerge(int cmdMerge) intgetServerIdByCmdMerge(int cmdMerge) voidloading(int serverId, int[] cmdMerges) voidunLoading(int serverId)
-
Constructor Details
-
DefaultCmdRegions
public DefaultCmdRegions()
-
-
Method Details
-
loading
public void loading(int serverId, int[] cmdMerges) - Specified by:
loadingin interfaceCmdRegions
-
unLoading
public void unLoading(int serverId) - Specified by:
unLoadingin interfaceCmdRegions
-
existCmdMerge
public boolean existCmdMerge(int cmdMerge) - Specified by:
existCmdMergein interfaceCmdRegions
-
endpointLogicServerId
public int endpointLogicServerId(int cmdMerge, int[] logicServerIds) - Specified by:
endpointLogicServerIdin interfaceCmdRegions
-
getServerIdByCmdMerge
public int getServerIdByCmdMerge(int cmdMerge) - Specified by:
getServerIdByCmdMergein interfaceCmdRegions
-