Package io.netty.channel.uring
Class IoUringServerDomainSocketChannel
java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
io.netty.channel.uring.AbstractIoUringChannel
io.netty.channel.uring.AbstractIoUringServerChannel
io.netty.channel.uring.IoUringServerDomainSocketChannel
- All Implemented Interfaces:
Channel,ChannelOutboundInvoker,ServerChannel,ServerDomainSocketChannel,UnixChannel,AttributeMap,Comparable<Channel>
public final class IoUringServerDomainSocketChannel
extends AbstractIoUringServerChannel
implements ServerDomainSocketChannel
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.channel.uring.AbstractIoUringChannel
AbstractIoUringChannel.AbstractUringUnsafeNested classes/interfaces inherited from class io.netty.channel.AbstractChannel
AbstractChannel.AbstractUnsafeNested classes/interfaces inherited from interface io.netty.channel.Channel
Channel.Unsafe -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IoUringServerSocketChannelConfigprivate DomainSocketAddressprivate static final InternalLoggerFields inherited from class io.netty.channel.uring.AbstractIoUringChannel
active, socket, writeTracker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig()Returns the configuration of this channel.protected voiddoBind(SocketAddress localAddress) Bind theChannelto theSocketAddressReturns the local address where this channel is bound to.(package private) ChannelnewChildChannel(int fd, ByteBuffer acceptedAddressMemory) Returns the remote address where this channel is connected to.Methods inherited from class io.netty.channel.uring.AbstractIoUringServerChannel
cancelOutstandingReads, cancelOutstandingWrites, doClose, doWrite, isPollInFirst, isStreamSocket, metadata, newUnsafe, socketIsEmptyMethods inherited from class io.netty.channel.uring.AbstractIoUringChannel
allowMultiShotPollIn, autoReadCleared, checkResolvable, doBeginRead, doDeregister, doDisconnect, doRegister, doShutdownOutput, doShutdownOutput0, fd, filterOutboundMessage, isActive, isCompatible, isOpen, localAddress0, newDirectBuffer, newDirectBuffer, nextOpsId, registration, remoteAddress0, resetCachedAddresses, schedulePollRdHup, scheduleWriteIfNeeded, submitAndRunNowMethods inherited from class io.netty.channel.AbstractChannel
closeFuture, compareTo, doRegister, equals, eventLoop, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, toString, unsafe, validateFileRegion, voidPromiseMethods 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, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, getOption, id, isActive, isOpen, isRegistered, isWritable, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, setOption, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlushMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface io.netty.channel.unix.UnixChannel
fd
-
Field Details
-
logger
-
config
-
local
-
-
Constructor Details
-
IoUringServerDomainSocketChannel
public IoUringServerDomainSocketChannel()
-
-
Method Details
-
newChildChannel
- Specified by:
newChildChannelin classAbstractIoUringServerChannel- Throws:
Exception
-
config
Description copied from interface:ChannelReturns the configuration of this channel. -
localAddress
Description copied from interface:ChannelReturns the local address where this channel is bound to. The returnedSocketAddressis supposed to be down-cast into more concrete type such asInetSocketAddressto retrieve the detailed information.- Specified by:
localAddressin interfaceChannel- Specified by:
localAddressin interfaceServerDomainSocketChannel- Overrides:
localAddressin classAbstractChannel- Returns:
- the local address of this channel.
nullif this channel is not bound.
-
remoteAddress
Description copied from interface:ChannelReturns the remote address where this channel is connected to. The returnedSocketAddressis supposed to be down-cast into more concrete type such asInetSocketAddressto retrieve the detailed information.- Specified by:
remoteAddressin interfaceChannel- Specified by:
remoteAddressin interfaceServerDomainSocketChannel- Overrides:
remoteAddressin classAbstractChannel- Returns:
- the remote address of this channel.
nullif this channel is not connected. If this channel is not connected but it can receive messages from arbitrary remote addresses (e.g.DatagramChannel, useDefaultAddressedEnvelope.recipient()to determine the origination of the received message as this method will returnnull.
-
doBind
Description copied from class:AbstractChannelBind theChannelto theSocketAddress- Overrides:
doBindin classAbstractIoUringChannel- Throws:
Exception
-