Class VelocityServerDataHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- org.geysermc.floodgate.addon.data.VelocityServerDataHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelOutboundHandler
public final class VelocityServerDataHandler extends io.netty.channel.ChannelOutboundHandlerAdapter
-
-
Constructor Summary
Constructors Constructor Description VelocityServerDataHandler(org.geysermc.floodgate.core.api.ProxyFloodgateApi api, com.velocitypowered.api.proxy.ProxyServer proxy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(io.netty.channel.ChannelHandlerContext ctx, Object packet, io.netty.channel.ChannelPromise promise)-
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Method Detail
-
write
public void write(io.netty.channel.ChannelHandlerContext ctx, Object packet, io.netty.channel.ChannelPromise promise) throws Exception- Specified by:
writein interfaceio.netty.channel.ChannelOutboundHandler- Overrides:
writein classio.netty.channel.ChannelOutboundHandlerAdapter- Throws:
Exception
-
-