Package net.minecraft.server.network
Class ServerConnectionListener
java.lang.Object
net.minecraft.server.network.ServerConnectionListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<io.netty.channel.ChannelFuture>
(package private) final List<Connection>
private static final org.slf4j.Logger
private static final int
boolean
(package private) final MinecraftServer
static final LazyLoadedValue<io.netty.channel.epoll.EpollEventLoopGroup>
static final LazyLoadedValue<io.netty.channel.nio.NioEventLoopGroup>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
startTcpServerListener
(InetAddress p_9712_, int p_9713_) void
stop()
void
tick()
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
READ_TIMEOUT
private static final int READ_TIMEOUT -
SERVER_EVENT_GROUP
-
SERVER_EPOLL_EVENT_GROUP
public static final LazyLoadedValue<io.netty.channel.epoll.EpollEventLoopGroup> SERVER_EPOLL_EVENT_GROUP -
server
-
running
public volatile boolean running -
channels
-
connections
-
-
Constructor Details
-
ServerConnectionListener
-
-
Method Details
-
startTcpServerListener
- Throws:
IOException
-
startMemoryChannel
-
stop
public void stop() -
tick
public void tick() -
getServer
-
getConnections
-