public class BedrockServer extends Bedrock
| Constructor and Description |
|---|
BedrockServer(InetSocketAddress bindAddress) |
BedrockServer(InetSocketAddress bindAddress,
int maxThreads) |
BedrockServer(InetSocketAddress bindAddress,
int maxThreads,
EventLoopGroup eventLoopGroup) |
BedrockServer(InetSocketAddress bindAddress,
int maxThreads,
EventLoopGroup eventLoopGroup,
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 maxThreads)
public BedrockServer(InetSocketAddress bindAddress, int maxThreads, EventLoopGroup eventLoopGroup)
public BedrockServer(InetSocketAddress bindAddress, int maxThreads, EventLoopGroup eventLoopGroup, 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–2021 NukkitX. All rights reserved.