Class BungeeProxyDataHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
org.geysermc.floodgate.core.addon.data.CommonNettyDataHandler
org.geysermc.floodgate.bungee.addon.data.BungeeProxyDataHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class BungeeProxyDataHandler
extends org.geysermc.floodgate.core.addon.data.CommonNettyDataHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.geysermc.floodgate.core.addon.data.CommonNettyDataHandler
org.geysermc.floodgate.core.addon.data.CommonNettyDataHandler.HandleResultTypeNested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class org.geysermc.floodgate.core.addon.data.CommonNettyDataHandler
blocker, config, connectionAttribute, ctx, dataSeeker, handshakeHandler, handshakePacket, kickMessageAttribute, logger, packetQueue -
Constructor Summary
ConstructorsConstructorDescriptionBungeeProxyDataHandler(org.geysermc.floodgate.core.connection.DataSeeker dataSeeker, org.geysermc.floodgate.core.connection.FloodgateDataHandler handshakeHandler, org.geysermc.floodgate.core.config.ProxyFloodgateConfig config, org.geysermc.floodgate.api.logger.FloodgateLogger logger, io.netty.util.AttributeKey<org.geysermc.api.connection.Connection> connectionAttribute, io.netty.util.AttributeKey<String> kickMessageAttribute, org.geysermc.floodgate.core.addon.data.PacketBlocker blocker) -
Method Summary
Modifier and TypeMethodDescriptionbooleanchannelRead(Object msg) protected ObjectsetHostname(Object wrapperWithHandshake, String hostname) protected voidsetNewIp(io.netty.channel.Channel channel, InetSocketAddress newIp) Methods inherited from class org.geysermc.floodgate.core.addon.data.CommonNettyDataHandler
channelRead, disablePacketQueue, disablePacketQueue, exceptionCaught, getKickMessage, handle, handlerAdded, removeSelf, setKickMessage, shouldCallFireRead, shouldRemoveHandlerMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerRemoved
-
Constructor Details
-
BungeeProxyDataHandler
public BungeeProxyDataHandler(org.geysermc.floodgate.core.connection.DataSeeker dataSeeker, org.geysermc.floodgate.core.connection.FloodgateDataHandler handshakeHandler, org.geysermc.floodgate.core.config.ProxyFloodgateConfig config, org.geysermc.floodgate.api.logger.FloodgateLogger logger, io.netty.util.AttributeKey<org.geysermc.api.connection.Connection> connectionAttribute, io.netty.util.AttributeKey<String> kickMessageAttribute, org.geysermc.floodgate.core.addon.data.PacketBlocker blocker)
-
-
Method Details
-
setNewIp
- Specified by:
setNewIpin classorg.geysermc.floodgate.core.addon.data.CommonNettyDataHandler
-
setHostname
- Specified by:
setHostnamein classorg.geysermc.floodgate.core.addon.data.CommonNettyDataHandler
-
channelRead
- Specified by:
channelReadin classorg.geysermc.floodgate.core.addon.data.CommonNettyDataHandler
-