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, iceRelays, localAddress, MAX_QUEUED_BYTES, METADATA, open, peerConnection, reliableChannel, remoteAddress, signaledAddress, unreliableChannel -
Constructor Summary
ConstructorsConstructorDescriptionAdmittedNetherNetChildChannel(io.netty.channel.Channel parent, tel.schich.libdatachannel.PeerConnection peer, InetSocketAddress admittedFrom, InetSocketAddress local, org.cloudburstmc.netty.util.nethernet.IceProxyProtocol relays) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclosePeer(tel.schich.libdatachannel.PeerConnection peer) Methods inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChildChannel
acceptDataChannel, doBind, newUnsafeMethods inherited from class org.cloudburstmc.netty.channel.nethernet.NetherNetChannel
activate, adoptSelectedPath, clearFailureReported, closeFromTransport, closeWebRTC, config, connectionFailed, countReceived, countSent, doBeginRead, doClose, doDeregister, doDisconnect, doRegister, doWrite, filterOutboundMessage, fireActive, getPing, isActive, isCompatible, isOpen, localAddress, localAddress0, maxMessageSize, mediaAddress, metadata, readDataChannel, registerMetrics, remoteAddress, remoteAddress0, remoteMaxMessageSize, reportedAddress, sctpStats, segment, selectedPath, setDataChannels, signaledAddressMethods 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
-
AdmittedNetherNetChildChannel
public AdmittedNetherNetChildChannel(io.netty.channel.Channel parent, tel.schich.libdatachannel.PeerConnection peer, InetSocketAddress admittedFrom, InetSocketAddress local, org.cloudburstmc.netty.util.nethernet.IceProxyProtocol relays) - Parameters:
admittedFrom- The source of the first STUN check the admission accepted, or null for an assisted join, which knows only the candidates the client claims until ICE settlesrelays- The PROXY protocol relays on the listener's port, or null when none are set
-
-
Method Details
-
closePeer
protected void closePeer(tel.schich.libdatachannel.PeerConnection peer) - Overrides:
closePeerin classorg.cloudburstmc.netty.channel.nethernet.NetherNetChannel
-
nativeTermination
-