Package net.glowstone.net
Class GameServer
java.lang.Object
net.glowstone.net.GlowNetworkServer
net.glowstone.net.GlowSocketServer
net.glowstone.net.GameServer
- All Implemented Interfaces:
com.flowpowered.network.ConnectionManager
public final class GameServer
extends GlowSocketServer
implements com.flowpowered.network.ConnectionManager
-
Field Summary
Fields inherited from class net.glowstone.net.GlowSocketServer
bootstrap, bossGroup, channel, workerGroup
Fields inherited from class net.glowstone.net.GlowNetworkServer
latch
-
Constructor Summary
ConstructorDescriptionGameServer
(GlowServer server, ProtocolProvider protocolProvider, CountDownLatch latch) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelFuture
bind
(InetSocketAddress address) newSession
(io.netty.channel.Channel c) void
onBindFailure
(InetSocketAddress address, Throwable t) void
onBindSuccess
(InetSocketAddress address) void
sessionInactivated
(com.flowpowered.network.session.Session session) Methods inherited from class net.glowstone.net.GlowSocketServer
getChannel, shutdown
Methods inherited from class net.glowstone.net.GlowNetworkServer
getProtocolProvider, getServer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowpowered.network.ConnectionManager
shutdown
-
Constructor Details
-
GameServer
-
-
Method Details
-
bind
- Overrides:
bind
in classGlowSocketServer
-
onBindSuccess
- Overrides:
onBindSuccess
in classGlowNetworkServer
-
onBindFailure
- Specified by:
onBindFailure
in classGlowNetworkServer
-
newSession
- Specified by:
newSession
in interfacecom.flowpowered.network.ConnectionManager
-
sessionInactivated
public void sessionInactivated(com.flowpowered.network.session.Session session) - Specified by:
sessionInactivated
in interfacecom.flowpowered.network.ConnectionManager
-