Class TCPServerHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<M>
se.sics.kompics.network.netty.BaseHandler<Msg<?,​?>>
se.sics.kompics.network.netty.StreamHandler
se.sics.kompics.network.netty.TCPServerHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

@Sharable
public class TCPServerHandler
extends StreamHandler
Author:
Lars Kroll <[email protected]>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Field Summary

    Fields inherited from class se.sics.kompics.network.netty.BaseHandler

    component, protocol
  • Constructor Summary

    Constructors 
    Constructor Description
    TCPServerHandler​(NettyNetwork component)  
  • Method Summary

    Modifier and Type Method Description
    void channelActive​(io.netty.channel.ChannelHandlerContext ctx)  
    protected void channelRead0​(io.netty.channel.ChannelHandlerContext ctx, Msg<?,​?> msg)  

    Methods inherited from class se.sics.kompics.network.netty.StreamHandler

    channelInactive

    Methods inherited from class se.sics.kompics.network.netty.BaseHandler

    exceptionCaught

    Methods inherited from class io.netty.channel.SimpleChannelInboundHandler

    acceptInboundMessage, channelRead

    Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

    channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, handlerAdded, handlerRemoved, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.channel.ChannelHandler

    handlerAdded, handlerRemoved