public final class GS4QueryEvent extends Event
| Modifier and Type | Class | Description |
|---|---|---|
static class |
GS4QueryEvent.QueryResponse |
|
static class |
GS4QueryEvent.QueryType |
The type of query
|
Event.Result| Constructor | Description |
|---|---|
GS4QueryEvent(@NotNull GS4QueryEvent.QueryType queryType,
@NotNull InetAddress querierAddress,
@NotNull GS4QueryEvent.QueryResponse response) |
| Modifier and Type | Method | Description |
|---|---|---|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
|
@NotNull InetAddress |
getQuerierAddress() |
Get querier address
|
@NotNull GS4QueryEvent.QueryType |
getQueryType() |
Get query type
|
@NotNull GS4QueryEvent.QueryResponse |
getResponse() |
Get query response
|
void |
setResponse(@NotNull GS4QueryEvent.QueryResponse response) |
Set query response
|
String |
toString() |
callEvent, getEventName, isAsynchronouspublic GS4QueryEvent(@NotNull
@NotNull GS4QueryEvent.QueryType queryType,
@NotNull
@NotNull InetAddress querierAddress,
@NotNull
@NotNull GS4QueryEvent.QueryResponse response)
@NotNull public @NotNull GS4QueryEvent.QueryType getQueryType()
@NotNull public @NotNull InetAddress getQuerierAddress()
@NotNull public @NotNull GS4QueryEvent.QueryResponse getResponse()
public void setResponse(@NotNull
@NotNull GS4QueryEvent.QueryResponse response)
response - query response@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.