@Environment(value=CLIENT) public class RealmsGetServerDetailsTask extends LongRunningTask
Modifier and Type | Field and Description |
---|---|
private ReentrantLock |
connectLock |
private Screen |
lastScreen |
private RealmsMainScreen |
mainScreen |
private RealmsServer |
server |
LOGGER, longRunningMcoTaskScreen
Constructor and Description |
---|
RealmsGetServerDetailsTask(RealmsMainScreen mainScreen,
Screen lastScreen,
RealmsServer server,
ReentrantLock connectLock) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
private void |
sleep(int sleepTimeSeconds) |
aborted, abortTask, error, init, pause, setScreen, setScreen, setTitle, tick
private final RealmsServer server
private final Screen lastScreen
private final RealmsMainScreen mainScreen
private final ReentrantLock connectLock
public RealmsGetServerDetailsTask(RealmsMainScreen mainScreen, Screen lastScreen, RealmsServer server, ReentrantLock connectLock)