Modifier and Type | Method and Description |
---|---|
static SourceChallengeType |
SourceQuery.getChallengeType(Class<? extends SourceQueryRequest> requestClass)
getChallengeType.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<SourceQueryChallengeResponse> |
SourceQueryClient.getChallenge(InetSocketAddress address,
SourceChallengeType type)
Obtains a 4-byte (32-bit) anti-spoofing integer from the server.
|
Modifier and Type | Method and Description |
---|---|
SourceChallengeType |
SourceQueryChallengeRequest.getType()
Getter for the field
type . |
SourceChallengeType |
SourceQueryChallengeResponse.getType()
Getter for the field
type . |
Constructor and Description |
---|
SourceQueryChallengeRequest(SourceChallengeType type)
Constructor for SourceQueryChallengeRequest.
|
SourceQueryChallengeResponse(Integer challenge,
SourceChallengeType type)
Constructor for SourceQueryChallengeResponse.
|
Modifier and Type | Method and Description |
---|---|
static SourceChallengeType |
SourceChallengeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceChallengeType[] |
SourceChallengeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2016–2024. All rights reserved.