Class NetherNetChannelInitialiser
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
org.geysermc.geyser.network.bedrock.nethernet.NetherNetChannelInitialiser
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
The RakNet pipeline minus RakNet: no 0xFE frame ID, and no Bedrock encryption as DTLS already covers the data channel.
-
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.geysermc.geyser.network.GeyserServerInitializer
geyserFields inherited from class org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer
RAKNET_MINECRAFT_ID -
Constructor Summary
ConstructorsConstructorDescriptionNetherNetChannelInitialiser(GeyserImpl geyser, @Nullable GameOutcomeReporter outcomes) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.cloudburstmc.protocol.bedrock.BedrockPeercreatePeer(io.netty.channel.Channel channel) protected voidinitPacketCodec(io.netty.channel.Channel channel) protected voidpostInitChannel(io.netty.channel.Channel channel) protected voidpreInitChannel(io.netty.channel.Channel channel) Methods inherited from class org.geysermc.geyser.network.GeyserServerInitializer
getEventLoopGroup, initSessionMethods inherited from class org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockServerInitializer
createSession0Methods inherited from class org.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer
createSession, getCompression, initChannelMethods 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
-
NetherNetChannelInitialiser
-
NetherNetChannelInitialiser
- Parameters:
outcomes- Reports game outcomes to the provider, or null when no provider admits players here
-
-
Method Details
-
preInitChannel
protected void preInitChannel(io.netty.channel.Channel channel) - Overrides:
preInitChannelin classorg.cloudburstmc.protocol.bedrock.netty.initializer.BedrockServerInitializer
-
initPacketCodec
protected void initPacketCodec(io.netty.channel.Channel channel) - Overrides:
initPacketCodecin classorg.cloudburstmc.protocol.bedrock.netty.initializer.BedrockChannelInitializer<org.cloudburstmc.protocol.bedrock.BedrockServerSession>
-
postInitChannel
protected void postInitChannel(io.netty.channel.Channel channel) - Overrides:
postInitChannelin 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 classGeyserServerInitializer
-