public final class SourceRconAuthResponse extends SourceRconResponse<Boolean>
SourceRconAuthResponse class.
Constructor and Description |
---|
SourceRconAuthResponse(boolean authenticated)
Constructor for SourceRconAuthResponse.
|
SourceRconAuthResponse(boolean authenticated,
String reason,
SourceRconAuthReason reasonCode)
Constructor for SourceRconAuthResponse.
|
Modifier and Type | Method and Description |
---|---|
String |
getReason()
Getter for the field
reason . |
SourceRconAuthReason |
getReasonCode()
Getter for the field
reasonCode . |
boolean |
isAuthenticated()
isAuthenticated.
|
buildToString, setAddress
getAddress, getRequest, getResult, setRequest
equals, hashCode, id, toString
public SourceRconAuthResponse(boolean authenticated)
Constructor for SourceRconAuthResponse.
authenticated
- a booleanpublic SourceRconAuthResponse(boolean authenticated, String reason, SourceRconAuthReason reasonCode)
Constructor for SourceRconAuthResponse.
authenticated
- a booleanreason
- a String
objectreasonCode
- a SourceRconAuthReason
objectpublic boolean isAuthenticated()
isAuthenticated.
public SourceRconAuthReason getReasonCode()
Getter for the field reasonCode
.
SourceRconAuthReason
objectCopyright © 2016–2024. All rights reserved.