Class DefaultCmdRegion
java.lang.Object
com.iohao.net.server.cmd.DefaultCmdRegion
- All Implemented Interfaces:
CmdRegion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddServerId(int serverId) intendpointLogicServerId(int[] logicServerIds) intbooleanvoidremoveByServerId(int serverId) toString()
-
Constructor Details
-
DefaultCmdRegion
public DefaultCmdRegion(int cmdMerge)
-
-
Method Details
-
addServerId
public void addServerId(int serverId) - Specified by:
addServerIdin interfaceCmdRegion
-
removeByServerId
public void removeByServerId(int serverId) - Specified by:
removeByServerIdin interfaceCmdRegion
-
endpointLogicServerId
public int endpointLogicServerId(int[] logicServerIds) - Specified by:
endpointLogicServerIdin interfaceCmdRegion
-
hasServerId
public boolean hasServerId()- Specified by:
hasServerIdin interfaceCmdRegion
-
getAnyServerId
public int getAnyServerId()- Specified by:
getAnyServerIdin interfaceCmdRegion
-
toString
-