private MemberImpl createMember(MemberInfo memberInfo, String ipV6ScopeId) { Address address = memberInfo.getAddress(); address.setScopeId(ipV6ScopeId); return new MemberImpl( address, thisAddress.equals(address), memberInfo.getUuid(), (HazelcastInstanceImpl) nodeEngine.getHazelcastInstance(), memberInfo.getAttributes(), memberInfo.isLiteMember()); }
protected MemberImpl createMember( Address address, NodeType nodeType, String nodeUuid, String ipV6ScopeId) { address.setScopeId(ipV6ScopeId); return new MemberImpl(address, thisAddress.equals(address), nodeType, nodeUuid); }