public class RconServer extends GlowSocketServer
bootstrap, bossGroup, channel, workerGrouplatch| Constructor and Description |
|---|
RconServer(GlowServer server,
ProtocolProvider protocolProvider,
CountDownLatch latch,
String password)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
io.netty.channel.ChannelFuture |
bind(InetSocketAddress address)
Bind the server on the specified address.
|
void |
onBindFailure(InetSocketAddress address,
Throwable t) |
void |
onBindSuccess(InetSocketAddress address) |
void |
shutdown()
Shut the Rcon server down.
|
getChannelgetProtocolProvider, getServerpublic RconServer(GlowServer server, ProtocolProvider protocolProvider, CountDownLatch latch, String password)
server - the associated GlowServerlatch - The countdown latch used during server startup to wait for network server
binding.password - the remote operator's passwordpublic io.netty.channel.ChannelFuture bind(InetSocketAddress address)
bind in class GlowSocketServeraddress - The address.public void onBindSuccess(InetSocketAddress address)
onBindSuccess in class GlowNetworkServerpublic void onBindFailure(InetSocketAddress address, Throwable t)
onBindFailure in class GlowNetworkServerpublic void shutdown()
shutdown in class GlowSocketServerCopyright © 2021. All rights reserved.