public class RemoteServer extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
timeout_ticks |
| Constructor and Description |
|---|
RemoteServer(InetSocketAddress inetSocketAddress,
String type,
int max_players) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrent_players() |
InetSocketAddress |
getInetSocketAddress() |
int |
getMax_players() |
String |
getName() |
String |
getStatus() |
String |
getType() |
boolean |
isClosed() |
void |
setClosed(boolean closed) |
public RemoteServer(InetSocketAddress inetSocketAddress, String type, int max_players)
public InetSocketAddress getInetSocketAddress()
public String getName()
public int getMax_players()
public int getCurrent_players()
public String getType()
public String getStatus()
public boolean isClosed()
public void setClosed(boolean closed)
Copyright © 2021. All rights reserved.