Class MessageEncoder<T>

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToByteEncoder<NetworkMessage>
pt.unl.fct.di.novasys.network.pipeline.MessageEncoder<T>
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelOutboundHandler

public class MessageEncoder<T> extends io.netty.handler.codec.MessageToByteEncoder<NetworkMessage>
  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     
    long
     
    long
     

    Methods inherited from class io.netty.handler.codec.MessageToByteEncoder

    acceptOutboundMessage, write

    Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter

    bind, close, connect, deregister, disconnect, flush, read

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    exceptionCaught, handlerAdded, handlerRemoved, isSharable

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface io.netty.channel.ChannelHandler

    exceptionCaught, handlerAdded, handlerRemoved
  • Constructor Details

    • MessageEncoder

      public MessageEncoder(ISerializer<T> serializer)
  • Method Details

    • getSentAppBytes

      public long getSentAppBytes()
    • getSentAppMessages

      public long getSentAppMessages()
    • getSentControlBytes

      public long getSentControlBytes()
    • getSentControlMessages

      public long getSentControlMessages()