Class LocalServerChannelWrapper
java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
io.netty.channel.AbstractServerChannel
io.netty.channel.local.LocalServerChannel
org.geysermc.geyser.network.netty.LocalServerChannelWrapper
- All Implemented Interfaces:
io.netty.channel.Channel,io.netty.channel.ChannelOutboundInvoker,io.netty.channel.ServerChannel,io.netty.util.AttributeMap,Comparable<io.netty.channel.Channel>
public class LocalServerChannelWrapper
extends io.netty.channel.local.LocalServerChannel
If the incoming channel if an instance of LocalChannelWithRemoteAddress, this server creates a LocalChannelWrapper
for the other end and attaches the spoofed remote address
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected io.netty.channel.local.LocalChannelnewLocalChannel(io.netty.channel.local.LocalChannel peer)Methods inherited from class io.netty.channel.local.LocalServerChannel
config, doBeginRead, doBind, doClose, doDeregister, doRegister, isActive, isCompatible, isOpen, localAddress, localAddress0, remoteAddressMethods inherited from class io.netty.channel.AbstractServerChannel
doDisconnect, doWrite, filterOutboundMessage, metadata, newUnsafe, remoteAddress0Methods inherited from class io.netty.channel.AbstractChannel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doShutdownOutput, equals, eventLoop, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlushMethods 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, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isRegistered, isWritable, parent, pipeline, read, unsafeMethods inherited from interface io.netty.channel.ChannelOutboundInvoker
bind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlushMethods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
LocalServerChannelWrapper
public LocalServerChannelWrapper()
-
-
Method Details
-
newLocalChannel
protected io.netty.channel.local.LocalChannel newLocalChannel(io.netty.channel.local.LocalChannel peer)- Overrides:
newLocalChannelin classio.netty.channel.local.LocalServerChannel
-