public final class GameServer extends GlowSocketServer implements com.flowpowered.network.ConnectionManager
bootstrap, bossGroup, channel, workerGrouplatch| Constructor and Description |
|---|
GameServer(GlowServer server,
ProtocolProvider protocolProvider,
CountDownLatch latch) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.channel.ChannelFuture |
bind(InetSocketAddress address) |
GlowSession |
newSession(io.netty.channel.Channel c) |
void |
onBindFailure(InetSocketAddress address,
Throwable t) |
void |
onBindSuccess(InetSocketAddress address) |
void |
sessionInactivated(com.flowpowered.network.session.Session session) |
getChannel, shutdowngetProtocolProvider, getServerpublic GameServer(GlowServer server, ProtocolProvider protocolProvider, CountDownLatch latch)
public io.netty.channel.ChannelFuture bind(InetSocketAddress address)
bind in class GlowSocketServerpublic void onBindSuccess(InetSocketAddress address)
onBindSuccess in class GlowNetworkServerpublic void onBindFailure(InetSocketAddress address, Throwable t)
onBindFailure in class GlowNetworkServerpublic GlowSession newSession(io.netty.channel.Channel c)
newSession in interface com.flowpowered.network.ConnectionManagerpublic void sessionInactivated(com.flowpowered.network.session.Session session)
sessionInactivated in interface com.flowpowered.network.ConnectionManagerCopyright © 2021. All rights reserved.