Package net.mcbrawls.inject.velocity
Class InjectVelocity
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
net.mcbrawls.inject.velocity.InjectVelocity
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,net.mcbrawls.inject.api.InjectPlatform
public class InjectVelocity
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
implements net.mcbrawls.inject.api.InjectPlatform
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(com.velocitypowered.api.proxy.ProxyServer server) protected voidinitChannel(io.netty.channel.Channel channel) voidregisterInjector(net.mcbrawls.inject.api.Injector injector) Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Field Details
-
INSTANCE
-
-
Method Details
-
initChannel
- Specified by:
initChannelin classio.netty.channel.ChannelInitializer<io.netty.channel.Channel>- Throws:
Exception
-
init
public void init(com.velocitypowered.api.proxy.ProxyServer server) -
registerInjector
public void registerInjector(net.mcbrawls.inject.api.Injector injector) - Specified by:
registerInjectorin interfacenet.mcbrawls.inject.api.InjectPlatform
-