Package io.netty.incubator.channel.uring
Class IOUringServerSocketChannel
- java.lang.Object
-
- io.netty.util.DefaultAttributeMap
-
- io.netty.channel.AbstractChannel
-
- io.netty.incubator.channel.uring.AbstractIOUringChannel
-
- io.netty.incubator.channel.uring.AbstractIOUringServerChannel
-
- io.netty.incubator.channel.uring.IOUringServerSocketChannel
-
- All Implemented Interfaces:
io.netty.channel.Channel
,io.netty.channel.ChannelOutboundInvoker
,io.netty.channel.ServerChannel
,io.netty.channel.socket.ServerSocketChannel
,io.netty.channel.unix.UnixChannel
,io.netty.util.AttributeMap
,java.lang.Comparable<io.netty.channel.Channel>
public final class IOUringServerSocketChannel extends AbstractIOUringServerChannel implements io.netty.channel.socket.ServerSocketChannel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty.incubator.channel.uring.AbstractIOUringServerChannel
AbstractIOUringServerChannel.UringServerChannelUnsafe
-
Nested classes/interfaces inherited from class io.netty.incubator.channel.uring.AbstractIOUringChannel
AbstractIOUringChannel.AbstractUringUnsafe
-
-
Field Summary
Fields Modifier and Type Field Description private IOUringServerSocketChannelConfig
config
-
Fields inherited from class io.netty.incubator.channel.uring.AbstractIOUringChannel
active, socket
-
-
Constructor Summary
Constructors Constructor Description IOUringServerSocketChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOUringServerSocketChannelConfig
config()
void
doBind(java.net.SocketAddress localAddress)
java.net.InetSocketAddress
localAddress()
(package private) io.netty.channel.Channel
newChildChannel(int fd, long acceptedAddressMemoryAddress, long acceptedAddressLengthMemoryAddress)
java.net.InetSocketAddress
remoteAddress()
-
Methods inherited from class io.netty.incubator.channel.uring.AbstractIOUringServerChannel
doClose, doWrite, getChannel, newUnsafe
-
Methods inherited from class io.netty.incubator.channel.uring.AbstractIOUringChannel
checkResolvable, clearPollFlag, doBeginRead, doDeregister, doDisconnect, doRegister, fd, filterOutboundMessage, ioScheduled, ioUringUnsafe, isActive, isCompatible, isOpen, localAddress0, metadata, newDirectBuffer, newDirectBuffer, remoteAddress0, resetCachedAddresses, schedulePollRdHup, submissionQueue
-
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, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlush
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty.channel.Channel
alloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isActive, isOpen, isRegistered, isWritable, metadata, parent, pipeline, read, 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
-
-
-
-
Field Detail
-
config
private final IOUringServerSocketChannelConfig config
-
-
Method Detail
-
config
public IOUringServerSocketChannelConfig config()
- Specified by:
config
in interfaceio.netty.channel.Channel
- Specified by:
config
in interfaceio.netty.channel.socket.ServerSocketChannel
-
newChildChannel
io.netty.channel.Channel newChildChannel(int fd, long acceptedAddressMemoryAddress, long acceptedAddressLengthMemoryAddress)
- Specified by:
newChildChannel
in classAbstractIOUringServerChannel
-
remoteAddress
public java.net.InetSocketAddress remoteAddress()
- Specified by:
remoteAddress
in interfaceio.netty.channel.Channel
- Specified by:
remoteAddress
in interfaceio.netty.channel.socket.ServerSocketChannel
- Overrides:
remoteAddress
in classio.netty.channel.AbstractChannel
-
localAddress
public java.net.InetSocketAddress localAddress()
- Specified by:
localAddress
in interfaceio.netty.channel.Channel
- Specified by:
localAddress
in interfaceio.netty.channel.socket.ServerSocketChannel
- Overrides:
localAddress
in classio.netty.channel.AbstractChannel
-
doBind
public void doBind(java.net.SocketAddress localAddress) throws java.lang.Exception
- Overrides:
doBind
in classAbstractIOUringChannel
- Throws:
java.lang.Exception
-
-