Class StreamHandler

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
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
Direct Known Subclasses:
TCPServerHandler, UDTServerHandler

@Sharable
public class StreamHandler
extends BaseHandler<Msg<?,​?>>
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
    StreamHandler​(NettyNetwork component, Transport protocol)  
  • Method Summary

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

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

    channelActive, 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