public final class SpigotDataHandler
extends org.geysermc.floodgate.addon.data.CommonDataHandler
| Constructor and Description |
|---|
SpigotDataHandler(org.geysermc.floodgate.player.FloodgateHandshakeHandler handshakeHandler,
org.geysermc.floodgate.config.FloodgateConfig config,
io.netty.util.AttributeKey<String> kickMessageAttribute) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
channelRead(Object packet) |
protected Object |
setHostname(Object handshakePacket,
String hostname) |
protected void |
setNewIp(io.netty.channel.Channel channel,
InetSocketAddress newIp) |
protected boolean |
shouldCallFireRead(Object queuedPacket) |
protected boolean |
shouldRemoveHandler(org.geysermc.floodgate.player.FloodgateHandshakeHandler.HandshakeResult result) |
channelRead, disablePacketQueue, exceptionCaught, getKickMessage, handle, handlerAdded, removeSelf, setKickMessagechannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharablepublic SpigotDataHandler(org.geysermc.floodgate.player.FloodgateHandshakeHandler handshakeHandler,
org.geysermc.floodgate.config.FloodgateConfig config,
io.netty.util.AttributeKey<String> kickMessageAttribute)
protected void setNewIp(io.netty.channel.Channel channel,
InetSocketAddress newIp)
setNewIp in class org.geysermc.floodgate.addon.data.CommonDataHandlerprotected Object setHostname(Object handshakePacket, String hostname)
setHostname in class org.geysermc.floodgate.addon.data.CommonDataHandlerprotected boolean shouldRemoveHandler(org.geysermc.floodgate.player.FloodgateHandshakeHandler.HandshakeResult result)
shouldRemoveHandler in class org.geysermc.floodgate.addon.data.CommonDataHandlerprotected boolean shouldCallFireRead(Object queuedPacket)
shouldCallFireRead in class org.geysermc.floodgate.addon.data.CommonDataHandler