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.PathNested 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 inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChildChannel
CONNECTION_ID, PLAYER_INFOFields inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChannel
config, localAddress, MAX_QUEUED_BYTES, METADATA, open, peerConnection, reliableChannel, remoteAddress, unreliableChannel -
Constructor Summary
ConstructorsConstructorDescriptionAdmittedNetherNetChildChannel(io.netty.channel.Channel parent, tel.schich.libdatachannel.PeerConnection peer, InetSocketAddress remote, InetSocketAddress local) -
Method Summary
Methods inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChildChannel
acceptDataChannel, doBind, newUnsafeMethods 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, setRemoteAddressMethods 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, 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, localAddress, parent, pipeline, read, remoteAddress, 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
-
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:
activatein classorg.cloudburstmc.netty.channel.nethernet.NetherNetChannel
-
closePeer
protected void closePeer(tel.schich.libdatachannel.PeerConnection peer) - Overrides:
closePeerin classorg.cloudburstmc.netty.channel.nethernet.NetherNetChannel
-
nativeTermination
-