BaseHandler

public abstract class BaseHandler<M> extends SimpleChannelInboundHandler<M>
Author:

Lars Kroll <lkroll@kth.se>

Parameters:
  • <M>

Fields

component

protected final NettyNetwork component

protocol

protected final Transport protocol

Constructors

BaseHandler

public BaseHandler(NettyNetwork component, Transport protocol)

Methods

channelActive

public void channelActive(ChannelHandlerContext ctx)

exceptionCaught

public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause)