Package net.minecraft.server.network
Class EventLoopGroupHolder
java.lang.Object
net.minecraft.server.network.EventLoopGroupHolder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Class<? extends io.netty.channel.Channel> private static final EventLoopGroupHolderprivate @Nullable io.netty.channel.EventLoopGroupprivate static final EventLoopGroupHolderprivate static final EventLoopGroupHolderprivate static final EventLoopGroupHolderprivate final Class<? extends io.netty.channel.ServerChannel> private @Nullable io.netty.channel.EventLoopGroupprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionEventLoopGroupHolder(String pType, Class<? extends io.netty.channel.Channel> pChannelCls, Class<? extends io.netty.channel.ServerChannel> pServerChannelCls) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends io.netty.channel.Channel> private io.netty.channel.EventLoopGroupprivate ThreadFactoryio.netty.channel.EventLoopGroupprotected abstract io.netty.channel.IoHandlerFactorystatic EventLoopGroupHolderlocal()static EventLoopGroupHolderremote(boolean pRemote) Class<? extends io.netty.channel.ServerChannel> io.netty.channel.EventLoopGroup
-
Field Details
-
NIO
-
EPOLL
-
KQUEUE
-
LOCAL
-
type
-
channelCls
-
serverChannelCls
-
group
private volatile @Nullable io.netty.channel.EventLoopGroup group -
serverGroup
private volatile @Nullable io.netty.channel.EventLoopGroup serverGroup
-
-
Constructor Details
-
EventLoopGroupHolder
-
-
Method Details
-
remote
-
local
-
createThreadFactory
-
ioHandlerFactory
protected abstract io.netty.channel.IoHandlerFactory ioHandlerFactory() -
createEventLoopGroup
private io.netty.channel.EventLoopGroup createEventLoopGroup() -
serverEventLoopGroup
public io.netty.channel.EventLoopGroup serverEventLoopGroup() -
eventLoopGroup
public io.netty.channel.EventLoopGroup eventLoopGroup() -
channelCls
-
serverChannelCls
-