public class ServerAddress
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ipAddress |
private int |
serverPort |
Modifier | Constructor and Description |
---|---|
private |
ServerAddress(java.lang.String address,
int port) |
Modifier and Type | Method and Description |
---|---|
static ServerAddress |
fromString(java.lang.String addrString) |
private static int |
getInt(java.lang.String value,
int defaultValue) |
java.lang.String |
getIP() |
int |
getPort() |
private static java.lang.String[] |
getServerAddress(java.lang.String p_78863_0_) |
private final java.lang.String ipAddress
private final int serverPort
public java.lang.String getIP()
public int getPort()
public static ServerAddress fromString(java.lang.String addrString)
private static java.lang.String[] getServerAddress(java.lang.String p_78863_0_)
private static int getInt(java.lang.String value, int defaultValue)