public class BedrockServer extends Bedrock
| Constructor and Description |
|---|
BedrockServer(InetSocketAddress bindAddress) |
BedrockServer(InetSocketAddress bindAddress,
int bindThreads) |
BedrockServer(InetSocketAddress bindAddress,
int bindThreads,
EventLoopGroup eventLoopGroup) |
BedrockServer(InetSocketAddress bindAddress,
int bindThreads,
EventLoopGroup group,
boolean allowProxyProtocol) |
BedrockServer(InetSocketAddress bindAddress,
int bindThreads,
EventLoopGroup bossGroup,
EventLoopGroup workerGroup,
boolean allowProxyProtocol) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean force) |
void |
close(String reason) |
BedrockServerEventHandler |
getHandler() |
com.nukkitx.network.raknet.RakNetServer |
getRakNet() |
boolean |
isClosed() |
protected void |
onTick() |
void |
setHandler(BedrockServerEventHandler handler) |
bind, close, getBindAddress, getBootstrappublic BedrockServer(InetSocketAddress bindAddress)
public BedrockServer(InetSocketAddress bindAddress, int bindThreads)
public BedrockServer(InetSocketAddress bindAddress, int bindThreads, EventLoopGroup eventLoopGroup)
public BedrockServer(InetSocketAddress bindAddress, int bindThreads, EventLoopGroup group, boolean allowProxyProtocol)
public BedrockServer(InetSocketAddress bindAddress, int bindThreads, EventLoopGroup bossGroup, EventLoopGroup workerGroup, boolean allowProxyProtocol)
public BedrockServerEventHandler getHandler()
public void setHandler(BedrockServerEventHandler handler)
public com.nukkitx.network.raknet.RakNetServer getRakNet()
public void close(String reason)
public boolean isClosed()
Copyright © 2018–2022 NukkitX. All rights reserved.