Class SessionServerHandlerFactory
- java.lang.Object
-
- be.yildizgames.module.network.netty.server.SessionServerHandlerFactory
-
- All Implemented Interfaces:
HandlerFactory
public final class SessionServerHandlerFactory extends Object implements HandlerFactory
- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description SessionServerHandlerFactory(be.yildizgames.module.network.server.SessionManager sessionManager, be.yildizgames.module.network.DecoderEncoder codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.channel.ChannelHandlercreate()be.yildizgames.module.network.DecoderEncodergetCodec()booleanisServer()
-
-
-
Method Detail
-
create
public io.netty.channel.ChannelHandler create()
- Specified by:
createin interfaceHandlerFactory- Returns:
- A new ChannelHandler.
-
getCodec
public be.yildizgames.module.network.DecoderEncoder getCodec()
- Specified by:
getCodecin interfaceHandlerFactory- Returns:
- The codec.
-
isServer
public boolean isServer()
- Specified by:
isServerin interfaceHandlerFactory
-
-