public abstract class AbstractSessionMessageHandler<T>
extends io.netty.channel.SimpleChannelInboundHandler<T>
Modifier and Type | Field and Description |
---|---|
protected be.yildiz.module.network.AbstractHandler |
handler |
Constructor and Description |
---|
AbstractSessionMessageHandler(be.yildiz.module.network.AbstractHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable e) |
protected Optional<be.yildiz.module.network.server.Session> |
getSession() |
protected void |
setSession(be.yildiz.module.network.server.Session session) |
acceptInboundMessage, channelRead, channelRead0
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public AbstractSessionMessageHandler(be.yildiz.module.network.AbstractHandler handler)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable e) throws Exception
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
protected final Optional<be.yildiz.module.network.server.Session> getSession()
protected void setSession(be.yildiz.module.network.server.Session session)
Copyright © 2014–2017. All rights reserved.