Class ForgeConnectionNetworkFilter

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToMessageEncoder<Packet<?>>
net.minecraftforge.network.filters.VanillaPacketFilter
net.minecraftforge.network.filters.ForgeConnectionNetworkFilter
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelOutboundHandler

@Sharable public class ForgeConnectionNetworkFilter extends VanillaPacketFilter
Network filter for forge-forge connections.
  • Nested Class Summary

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

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

    Fields inherited from class net.minecraftforge.network.filters.VanillaPacketFilter

    handlers
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static Map<Class<? extends Packet<?>>,BiConsumer<Packet<?>,List<? super Packet<?>>>>
     
    protected boolean
    Whether this filter is necessary on the given connection.
    private static void
    splitPacket(Packet<?> packet, List<? super Packet<?>> out)
     

    Methods inherited from class net.minecraftforge.network.filters.VanillaPacketFilter

    encode, handler, handler

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

    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

    ensureNotSharable, exceptionCaught, 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

    exceptionCaught, handlerAdded, handlerRemoved