static ServerConnectRequest.Builder |
ServerConnectRequest.builder() |
|
ServerConnectRequest.Builder |
ServerConnectRequest.Builder.callback(Callback<ServerConnectRequest.Result> callback) |
Callback to execute post request.
|
ServerConnectRequest.Builder |
ServerConnectRequest.Builder.connectTimeout(int connectTimeout) |
Timeout in milliseconds for request.
|
ServerConnectRequest.Builder |
ServerConnectRequest.Builder.reason(ServerConnectEvent.Reason reason) |
Reason for connecting to server.
|
ServerConnectRequest.Builder |
ServerConnectRequest.Builder.retry(boolean retry) |
Should the player be attempted to connect to the next server in their
queue if the initial request fails.
|
ServerConnectRequest.Builder |
ServerConnectRequest.Builder.target(@NonNull ServerInfo target) |
Target server to connect to.
|