public InternalDistributedMember(ServerLocation location){
  this.hostName=location.getHostName();
  InetAddress addr=null;
  try {
    addr=InetAddress.getByName(this.hostName);
  }
 catch (  UnknownHostException e) {
    throw new GemFireConfigException("Unable to resolve server location " + location,e);
  }
  this.netMbr=MemberFactory.newNetMember(addr,location.getPort());
  this.vmKind=DistributionManager.NORMAL_DM_TYPE;
  this.versionObj=Version.CURRENT;
}

public InternalDistributedMember ( ServerLocation location ) { this . hostName = location . getHostName ( ) ; InetAddress addr = null ; try { addr = InetAddress . getByName ( this . hostName ) ; } catch ( UnknownHostException e ) { throw new GemFireConfigException ( "Unable to resolve server location " + location , e ) ; } this . netMbr = MemberFactory . newNetMember ( addr , location . getPort ( ) ) ; this . vmKind = DistributionManager . NORMAL_DM_TYPE ; this . versionObj = Version . CURRENT ; }
creates a new internaldistributedmember for use in notifying membership listeners . the version information in the id is set to version . current .
