public interface GuiStateListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
void |
connected()
The connection has been established.
|
void |
connectFailed(@NotNull java.lang.String reason)
A connection attempt failed.
|
void |
connecting(@NotNull ClientSocketState clientSocketState,
@NotNull java.lang.String param)
Connection establishment is in progress.
|
void |
connecting(@NotNull java.lang.String serverInfo)
Connection establishment is in progress.
|
void |
metaserver()
The server selection screen is displayed.
|
void |
preConnecting(@NotNull java.lang.String serverInfo)
Connection establishment is in progress.
|
void |
start()
The start screen is displayed.
|
void start()
void metaserver()
void preConnecting(@NotNull @NotNull java.lang.String serverInfo)
connecting(String)
.serverInfo
- the server connecting tovoid connecting(@NotNull @NotNull java.lang.String serverInfo)
serverInfo
- the server connecting tovoid connecting(@NotNull @NotNull ClientSocketState clientSocketState, @NotNull @NotNull java.lang.String param)
clientSocketState
- the client socket stateparam
- additional information; currently only used in state
ClientSocketState.REQUESTINFO
void connected()
void connectFailed(@NotNull @NotNull java.lang.String reason)
reason
- the failure reason