public static interface ConnectionRequestBuilder.Result
Modifier and Type | Method and Description |
---|---|
RegisteredServer |
getAttemptedConnection()
Returns the server we actually tried to connect to.
|
Optional<Component> |
getReason()
Returns an (optional) textual reason for the failure to connect to the server.
|
ConnectionRequestBuilder.Status |
getStatus()
Returns the status associated with this result.
|
default boolean |
isSuccessful()
Determines whether or not the connection request was successful.
|
default boolean isSuccessful()
ConnectionRequestBuilder.Status getStatus()
Optional<Component> getReason()
RegisteredServer getAttemptedConnection()