package com.cloudera.distributed;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
final String host;
final int port;
this.host = host;
this.port = port;
}
String[] split = id.split(":");
host = split[0];
port = Integer.parseInt(split[1]);
}
return host + ":" + port;
}
@Override
return new InetSocketAddress(host,port);
}
return port;
}
return host;
}
}