public class ProxyInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
host |
private int |
memory |
private boolean |
online |
private int |
onlineCount |
private List<MultiValue<UUID,String>> |
players |
private int |
port |
private ServiceId |
serviceId |
| Constructor and Description |
|---|
ProxyInfo(ServiceId serviceId,
String host,
int port,
boolean online,
List<MultiValue<UUID,String>> players,
int memory,
int onlineCount) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
int |
getMemory() |
int |
getOnlineCount() |
List<MultiValue<UUID,String>> |
getPlayers() |
int |
getPort() |
ServiceId |
getServiceId() |
boolean |
isOnline() |
SimpleProxyInfo |
toSimple() |
String |
toString() |
private ServiceId serviceId
private String host
private int port
private boolean online
private List<MultiValue<UUID,String>> players
private int memory
private int onlineCount
public int getMemory()
public ServiceId getServiceId()
public String getHost()
public int getPort()
public int getOnlineCount()
public boolean isOnline()
public List<MultiValue<UUID,String>> getPlayers()
public SimpleProxyInfo toSimple()
Copyright © 2020. All rights reserved.