Class NoPacketSendChannel

java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
io.netty.channel.local.LocalChannel
com.viaversion.viafabricplus.protocoltranslator.util.NoPacketSendChannel
All Implemented Interfaces:
io.netty.channel.Channel, io.netty.channel.ChannelOutboundInvoker, io.netty.util.AttributeMap, Comparable<io.netty.channel.Channel>

public final class NoPacketSendChannel extends io.netty.channel.local.LocalChannel
This class can be used when creating dummy UserConnection instances. This class will prevent packets created by ViaVersion from being sent to the server. This is mainly used in the translator system. See com.viaversion.viafabricplus.protocoltranslator.translator for more information.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.netty.channel.AbstractChannel

    io.netty.channel.AbstractChannel.AbstractUnsafe

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

    io.netty.channel.Channel.Unsafe
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final NoPacketSendChannel
     
  • Method Summary

    Methods inherited from class io.netty.channel.local.LocalChannel

    config, doBeginRead, doBind, doClose, doDeregister, doDisconnect, doRegister, doWrite, isActive, isCompatible, isOpen, localAddress, localAddress0, metadata, newUnsafe, parent, remoteAddress, remoteAddress0

    Methods inherited from class io.netty.channel.AbstractChannel

    closeFuture, compareTo, doRegister, doShutdownOutput, equals, eventLoop, filterOutboundMessage, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, maxMessagesPerWrite, newChannelPipeline, newId, pipeline, toString, unsafe, validateFileRegion, voidPromise

    Methods inherited from class io.netty.util.DefaultAttributeMap

    attr, hasAttr

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.netty.util.AttributeMap

    attr, hasAttr

    Methods inherited from interface io.netty.channel.Channel

    alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, flush, getOption, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, read, setOption, write, write, writeAndFlush, writeAndFlush