Class AdmittedNetherNetChildChannel

java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
org.cloudburstmc.netty.channel.nethernet.NetherNetChannel
org.cloudburstmc.netty.channel.nethernet.NetherNetChildChannel
org.cloudburstmc.netty.signaling.admission.AdmittedNetherNetChildChannel
All Implemented Interfaces:
io.netty.channel.Channel, io.netty.channel.ChannelOutboundInvoker, io.netty.util.AttributeMap, Comparable<io.netty.channel.Channel>, org.cloudburstmc.netty.channel.TransportChannel

public final class AdmittedNetherNetChildChannel extends org.cloudburstmc.netty.channel.nethernet.NetherNetChildChannel
A child admitted through NXS. Its native peer is torn down synchronously, and nativeTermination() completes once it is gone, which is when its admission may be released.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChannel

    org.cloudburstmc.netty.channel.nethernet.NetherNetChannel.Path

    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 inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChildChannel

    CONNECTION_ID, PLAYER_INFO

    Fields inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChannel

    config, localAddress, MAX_QUEUED_BYTES, METADATA, open, peerConnection, reliableChannel, remoteAddress, unreliableChannel
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdmittedNetherNetChildChannel(io.netty.channel.Channel parent, tel.schich.libdatachannel.PeerConnection peer, InetSocketAddress remote, InetSocketAddress local)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    activate(tel.schich.libdatachannel.DataChannel reliable, tel.schich.libdatachannel.DataChannel unreliable)
     
    protected void
    closePeer(tel.schich.libdatachannel.PeerConnection peer)
     
     

    Methods inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChildChannel

    acceptDataChannel, doBind, newUnsafe

    Methods inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChannel

    clearFailureReported, closeFromTransport, closeWebRTC, config, connectionFailed, countReceived, countSent, doBeginRead, doClose, doDeregister, doDisconnect, doRegister, doWrite, filterOutboundMessage, fireActive, getPing, isActive, isCompatible, isOpen, localAddress0, maxMessageSize, metadata, readDataChannel, registerMetrics, remoteAddress0, remoteMaxMessageSize, sctpStats, segment, selectedPath, setDataChannels, setRemoteAddress

    Methods 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, localAddress, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, remoteAddress, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlush

    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, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isRegistered, isWritable, localAddress, parent, pipeline, read, remoteAddress, unsafe

    Methods 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, writeAndFlush

    Methods inherited from interface java.lang.Comparable

    compareTo
  • Constructor Details

    • AdmittedNetherNetChildChannel

      public AdmittedNetherNetChildChannel(io.netty.channel.Channel parent, tel.schich.libdatachannel.PeerConnection peer, InetSocketAddress remote, InetSocketAddress local)
  • Method Details

    • activate

      protected void activate(tel.schich.libdatachannel.DataChannel reliable, tel.schich.libdatachannel.DataChannel unreliable)
      Overrides:
      activate in class org.cloudburstmc.netty.channel.nethernet.NetherNetChannel
    • closePeer

      protected void closePeer(tel.schich.libdatachannel.PeerConnection peer)
      Overrides:
      closePeer in class org.cloudburstmc.netty.channel.nethernet.NetherNetChannel
    • nativeTermination

      public CompletionStage<Void> nativeTermination()