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, channelRead0channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic 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.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected 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.