@Environment(value=CLIENT) public class ServerAddress extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
address |
private int |
port |
| Modifier | Constructor and Description |
|---|---|
private |
ServerAddress(String address,
int int2) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
int |
getPort() |
static ServerAddress |
parse(String address) |
private static int |
portOrDefault(String port,
int def) |
private static String[] |
resolveSrv(String address) |