/** * update the loner port with an integer that may be more unique than the * default port (zero). This updates the ID in place and establishes new * default settings for the manufacture of new IDs. * * @param newPort the new port to use */ public void updateLonerPort(int newPort) { this.logger.config(LocalizedStrings.LonerDistributionmanager_CHANGING_PORT_FROM_TO, new Object[]{this.lonerPort, newPort}); this.lonerPort = newPort; this.getId().setPort(this.lonerPort); } public boolean isCurrentMember(InternalDistributedMember p_id) {
/** * update the loner port with an integer that may be more unique than the * default port (zero). This updates the ID in place and establishes new * default settings for the manufacture of new IDs. * * @param newPort the new port to use */ public void updateLonerPort(int newPort) { this.logger.config(LocalizedStrings.LonerDistributionmanager_CHANGING_PORT_FROM_TO, new Object[]{this.lonerPort, newPort}); this.lonerPort = newPort; MemberAttributes.setDefaults(lonerPort, MemberAttributes.DEFAULT.getVmPid(), DistributionManager.LONER_DM_TYPE, -1, MemberAttributes.DEFAULT.getName(), MemberAttributes.DEFAULT.getGroups(), MemberAttributes.DEFAULT.getDurableClientAttributes()); this.getId().setPort(this.lonerPort); } public boolean isCurrentMember(InternalDistributedMember p_id) {