Package io.netty.incubator.channel.uring
Class IOUringSocketChannel
- java.lang.Object
-
- io.netty.util.DefaultAttributeMap
-
- io.netty.channel.AbstractChannel
-
- io.netty.incubator.channel.uring.AbstractIOUringChannel
-
- io.netty.incubator.channel.uring.AbstractIOUringStreamChannel
-
- io.netty.incubator.channel.uring.IOUringSocketChannel
-
- All Implemented Interfaces:
io.netty.channel.Channel
,io.netty.channel.ChannelOutboundInvoker
,io.netty.channel.socket.DuplexChannel
,io.netty.channel.socket.SocketChannel
,io.netty.channel.unix.UnixChannel
,io.netty.util.AttributeMap
,java.lang.Comparable<io.netty.channel.Channel>
public final class IOUringSocketChannel extends AbstractIOUringStreamChannel implements io.netty.channel.socket.SocketChannel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty.incubator.channel.uring.AbstractIOUringChannel
AbstractIOUringChannel.AbstractUringUnsafe
-
-
Field Summary
Fields Modifier and Type Field Description private IOUringSocketChannelConfig
config
-
Fields inherited from class io.netty.incubator.channel.uring.AbstractIOUringChannel
active, socket
-
-
Constructor Summary
Constructors Constructor Description IOUringSocketChannel()
IOUringSocketChannel(io.netty.channel.Channel parent, LinuxSocket fd, java.net.SocketAddress remote)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOUringSocketChannelConfig
config()
java.net.InetSocketAddress
localAddress()
io.netty.channel.socket.ServerSocketChannel
parent()
java.net.InetSocketAddress
remoteAddress()
-
Methods inherited from class io.netty.incubator.channel.uring.AbstractIOUringStreamChannel
doRegister, doShutdownOutput, isInputShutdown, isOutputShutdown, isShutdown, newUnsafe, shutdown, shutdown, shutdownInput, shutdownInput, shutdownOutput, shutdownOutput
-
Methods inherited from class io.netty.incubator.channel.uring.AbstractIOUringChannel
checkResolvable, clearPollFlag, doBeginRead, doBind, doClose, doDeregister, doDisconnect, doWrite, 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, equals, eventLoop, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, 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, 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 IOUringSocketChannelConfig config
-
-
Constructor Detail
-
IOUringSocketChannel
public IOUringSocketChannel()
-
IOUringSocketChannel
IOUringSocketChannel(io.netty.channel.Channel parent, LinuxSocket fd, java.net.SocketAddress remote)
-
-
Method Detail
-
parent
public io.netty.channel.socket.ServerSocketChannel parent()
- Specified by:
parent
in interfaceio.netty.channel.Channel
- Specified by:
parent
in interfaceio.netty.channel.socket.SocketChannel
- Overrides:
parent
in classio.netty.channel.AbstractChannel
-
config
public IOUringSocketChannelConfig config()
- Specified by:
config
in interfaceio.netty.channel.Channel
- Specified by:
config
in interfaceio.netty.channel.socket.SocketChannel
-
remoteAddress
public java.net.InetSocketAddress remoteAddress()
- Specified by:
remoteAddress
in interfaceio.netty.channel.Channel
- Specified by:
remoteAddress
in interfaceio.netty.channel.socket.SocketChannel
- 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.SocketChannel
- Overrides:
localAddress
in classio.netty.channel.AbstractChannel
-
-