public abstract class BedrockChannelInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
| Modifier and Type | Field and Description |
|---|---|
static int |
RAKNET_MINECRAFT_ID |
| Constructor and Description |
|---|
BedrockChannelInitializer() |
| Modifier and Type | Method and Description |
|---|---|
protected BedrockPeer |
createPeer(io.netty.channel.Channel channel) |
protected BedrockSession |
createSession(BedrockPeer peer,
int subClientId) |
protected abstract BedrockSession |
createSession0(BedrockPeer peer,
int subClientId) |
protected void |
initChannel(io.netty.channel.Channel channel) |
protected void |
initPacketCodec(io.netty.channel.Channel channel) |
protected abstract void |
initSession(BedrockSession session) |
protected void |
postInitChannel(io.netty.channel.Channel channel) |
protected void |
preInitChannel(io.netty.channel.Channel channel) |
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedpublic static final int RAKNET_MINECRAFT_ID
protected final void initChannel(io.netty.channel.Channel channel)
throws Exception
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.Channel>Exceptionprotected void preInitChannel(io.netty.channel.Channel channel)
throws Exception
Exceptionprotected void postInitChannel(io.netty.channel.Channel channel)
throws Exception
Exceptionprotected void initPacketCodec(io.netty.channel.Channel channel)
throws Exception
Exceptionprotected BedrockPeer createPeer(io.netty.channel.Channel channel)
protected final BedrockSession createSession(BedrockPeer peer, int subClientId)
protected abstract BedrockSession createSession0(BedrockPeer peer, int subClientId)
protected abstract void initSession(BedrockSession session)
Copyright © 2018–2022 CloudburstMC. All rights reserved.