Class NetherNetPacket

java.lang.Object
io.netty.buffer.DefaultByteBufHolder
org.cloudburstmc.netty.signalling.admission.NetherNetPacket
All Implemented Interfaces:
io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted

public final class NetherNetPacket extends io.netty.buffer.DefaultByteBufHolder
Explicit outbound channel selection. Plain ByteBuf writes use the reliable channel.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
    Fired immediately before the corresponding inbound ByteBuf, on the same event loop.
  • Constructor Summary

    Constructors
    Constructor
    Description
    NetherNetPacket(io.netty.buffer.ByteBuf content, boolean reliable)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    replace(io.netty.buffer.ByteBuf content)
     

    Methods inherited from class io.netty.buffer.DefaultByteBufHolder

    content, contentToString, copy, duplicate, equals, hashCode, refCnt, release, release, retain, retain, retainedDuplicate, toString, touch, touch

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NetherNetPacket

      public NetherNetPacket(io.netty.buffer.ByteBuf content, boolean reliable)
  • Method Details

    • reliable

      public boolean reliable()
    • replace

      public NetherNetPacket replace(io.netty.buffer.ByteBuf content)
      Specified by:
      replace in interface io.netty.buffer.ByteBufHolder
      Overrides:
      replace in class io.netty.buffer.DefaultByteBufHolder