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.AbstractUnsafeNested classes/interfaces inherited from interface io.netty.channel.Channel
io.netty.channel.Channel.Unsafe -
Field Summary
Fields -
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, remoteAddress0Methods 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, voidPromiseMethods inherited from class io.netty.util.DefaultAttributeMap
attr, hasAttrMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.util.AttributeMap
attr, hasAttrMethods 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
-
Field Details
-
INSTANCE
-