public interface GuiStateListener
Interface for listeners interested gui state changes.
Method Summary | |
---|---|
void |
connected()
The connection has been established. |
void |
connectFailed(java.lang.String reason)
An connection attempt failed. |
void |
connecting(ClientSocketState clientSocketState)
Connection establishment is in progress. |
void |
connecting(java.lang.String serverInfo)
Connection establishment is in progress. |
void |
metaserver()
The server selection screen is displayed. |
void |
preConnecting(java.lang.String serverInfo)
Connection establishment is in progress. |
void |
start()
The start screen is displayed. |
Method Detail |
---|
void connected()
void connectFailed(@NotNull java.lang.String reason)
reason
- the failure reasonvoid connecting(@NotNull ClientSocketState clientSocketState)
clientSocketState
- the client socket statevoid connecting(@NotNull java.lang.String serverInfo)
serverInfo
- the server connecting tovoid metaserver()
void preConnecting(@NotNull java.lang.String serverInfo)
connecting(String)
.
serverInfo
- the server connecting tovoid start()