public class ServerManager extends JavaPlugin
Class ServerManager. Provides servermanager functionality for the Hytale server.
java.lang.Object > JavaPlugin > ServerManager
Field Summary
transport
Field transport.
registerFuture
Field registerFuture.
bootFuture
Field bootFuture.
start
Field start.
arr$
Field arr$.
localhosts
Field localhosts.
channelIpv6
Field channelIpv6.
channelIpv7
Field channelIpv7.
channelIpv6Localhost
Field channelIpv6Localhost.
channel
Field channel.
success
Field success.
socketAddress
Field socketAddress.
address
Field address.
anyNonLoopbackAddress
Field anyNonLoopbackAddress.
anyPublicAddress
Field anyPublicAddress.
future
Field future.
f
Field f.
Method Detail
init
void
init
()
Method init.
setup
void
setup
()
Method setup.
BindingsCommand
new
BindingsCommand
()
Method BindingsCommand.
start
void
start
()
Method start.
InetSocketAddress
new
InetSocketAddress
(localhost, Options.getOptionSet()
Method InetSocketAddress.
- Parameters:
localhostlocalhostOptions.getOptionSet(Options.getOptionSet(
shutdown
void
shutdown
()
Method shutdown.
unbindAllListeners
void
unbindAllListeners
()
Method unbindAllListeners.
getListeners
List
getListeners
()
Method getListeners.
bind
boolean
bind
(@Nonnull final InetSocketAddress address)
Method bind.
- Parameters:
@Nonnull final InetSocketAddressaddress
unbind
boolean
unbind
(@Nonnull final Channel channel)
Method unbind.
- Parameters:
@Nonnull final Channelchannel
getLocalOrPublicAddress
InetSocketAddress
getLocalOrPublicAddress
()
Method getLocalOrPublicAddress.
getNonLoopbackAddress
InetSocketAddress
getNonLoopbackAddress
()
Method getNonLoopbackAddress.
getPublicAddress
InetSocketAddress
getPublicAddress
()
Method getPublicAddress.
waitForBindComplete
void
waitForBindComplete
()
Method waitForBindComplete.
registerSubPacketHandlers
void
registerSubPacketHandlers
(@Nonnull final Function supplier)
Method registerSubPacketHandlers.
- Parameters:
@Nonnull final Functionsupplier
populateSubPacketHandlers
Method populateSubPacketHandlers.
- Parameters:
@Nonnull final GamePacketHandlerpacketHandler
bind0
Channel
bind0
(@Nonnull final InetSocketAddress address)
Method bind0.
- Parameters:
@Nonnull final InetSocketAddressaddress
SkipSentryException
new
SkipSentryException
(f.cause()
Method SkipSentryException.
- Parameters:
f.cause(f.cause(
RuntimeException
new
RuntimeException
("Interrupted when attempting to bind to host " + String.valueOf(address)
Method RuntimeException.
- Parameters:
"Interrupted when attempting to bind to host " +String.valueOf(address
unbind0
boolean
unbind0
(@Nonnull final Channel channel)
Method unbind0.
- Parameters:
@Nonnull final Channelchannel