Package org.geysermc.geyser.network
Class GeyserServerInitializer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer<org.cloudburstmc.protocol.bedrock.BedrockServerSession>
org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockServerInitializer
org.geysermc.geyser.network.GeyserServerInitializer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
public class GeyserServerInitializer
extends org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockServerInitializer
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer
RAKNET_MINECRAFT_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.cloudburstmc.protocol.bedrock.BedrockPeercreatePeer(io.netty.channel.Channel channel)voidinitSession(org.cloudburstmc.protocol.bedrock.BedrockServerSession bedrockServerSession)protected voidpostInitChannel(io.netty.channel.Channel channel)Methods inherited from class org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockServerInitializer
createSession0Methods inherited from class org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer
createSession, initChannel, initPacketCodec, preInitChannelMethods 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
-
Constructor Details
-
GeyserServerInitializer
-
-
Method Details
-
postInitChannel
- Overrides:
postInitChannelin classorg.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer<org.cloudburstmc.protocol.bedrock.BedrockServerSession>- Throws:
Exception
-
initSession
public void initSession(@Nonnull org.cloudburstmc.protocol.bedrock.BedrockServerSession bedrockServerSession)- Specified by:
initSessionin classorg.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer<org.cloudburstmc.protocol.bedrock.BedrockServerSession>
-
createPeer
protected org.cloudburstmc.protocol.bedrock.BedrockPeer createPeer(io.netty.channel.Channel channel)- Overrides:
createPeerin classorg.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer<org.cloudburstmc.protocol.bedrock.BedrockServerSession>
-