Top Inners Fields Constructors Methods
io.netty.incubator.channel.uring

pack-priv abstract Class AbstractIOUringChannel

extends AbstractChannel
implements UnixChannel
Class Inheritance
All Implemented Interfaces
io.netty.channel.unix.UnixChannel, io.netty.channel.Channel, java.lang.Comparable, io.netty.channel.ChannelOutboundInvoker, io.netty.util.AttributeMap
Known Direct Subclasses
io.netty.incubator.channel.uring.AbstractIOUringServerChannel, io.netty.incubator.channel.uring.AbstractIOUringStreamChannel, io.netty.incubator.channel.uring.IOUringDatagramChannel
Imports
io.netty.buffer.ByteBuf, .ByteBufAllocator, .ByteBufHolder, .ByteBufUtil, .Unpooled, io.netty.channel.AbstractChannel, .Channel, .ChannelConfig, .ChannelFuture, .ChannelFutureListener, .ChannelMetadata, .ChannelOption, .ChannelOutboundBuffer, .ChannelPromise, .ChannelPromiseNotifier, .ConnectTimeoutException, .EventLoop, .RecvByteBufAllocator, io.netty.channel.socket.ChannelInputShutdownEvent, .ChannelInputShutdownReadComplete, .SocketChannelConfig, io.netty.channel.unix.Buffer, .Errors, .FileDescriptor, .UnixChannel, .UnixChannelUtil, io.netty.util.ReferenceCountUtil, io.netty.util.internal.logging.InternalLogger, .InternalLoggerFactory, java.io.IOException, java.net.InetSocketAddress, .SocketAddress, java.nio.ByteBuffer, java.nio.channels.AlreadyConnectedException, .ClosedChannelException, .ConnectionPendingException, .NotYetConnectedException, .UnresolvedAddressException, java.util.concurrent.ScheduledFuture, .TimeUnit

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv abstract class

Field Summary

Modifier and TypeField and Description
protected volatile boolean
private static final int
private ChannelPromise
connectPromise

The future of the current connection attempt.

private ScheduledFuture<?>
private ChannelPromise
private boolean
private byte
private volatile SocketAddress
private static final InternalLogger
private static final ChannelMetadata
private MsgHdrMemoryArray
private short
private short
private static final int
private static final int
private static final int
private static final int
private volatile SocketAddress
private ByteBuffer
private SocketAddress
pack-priv final LinuxSocket
private IOUringSubmissionQueue
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
AbstractIOUringChannel(final Channel parent, LinuxSocket socket, boolean active)

pack-priv

Method Summary

Modifier and TypeMethod and Description
private void
protected static void
public void
clearPollFlag(int pollMask)

private void
protected void
doBeginRead()

Implements abstract io.netty.channel.AbstractChannel.doBeginRead.

Schedule a read operation.
protected void
doBind(final SocketAddress local)

Implements abstract io.netty.channel.AbstractChannel.doBind.

Bind the Channel to the SocketAddress
protected void
protected final void
protected void
doDisconnect()

Implements abstract io.netty.channel.AbstractChannel.doDisconnect.

Disconnect this Channel from its remote peer
protected void
doRegister()

Overrides io.netty.channel.AbstractChannel.doRegister.

Is called after the Channel is registered with its EventLoop as part of the register process.
protected void
doWrite(ChannelOutboundBuffer in)

Implements abstract io.netty.channel.AbstractChannel.doWrite.

Flush the content of the given buffer to the remote peer.
public FileDescriptor
fd()

Implements io.netty.channel.unix.UnixChannel.fd.

Returns the FileDescriptor that is used by this Channel.
protected Object
filterOutboundMessage(Object msg)

Overrides io.netty.channel.AbstractChannel.filterOutboundMessage.

Invoked when a new message is added to a ChannelOutboundBuffer of this AbstractChannel, so that the Channel implementation converts the message to another.
private void
private void
pack-priv boolean
pack-priv AbstractIOUringChannel.AbstractUringUnsafe
public boolean
isActive()

Implements io.netty.channel.Channel.isActive.

Return true if the Channel is active and so connected.
private static boolean
protected boolean
isCompatible(final EventLoop loop)

Implements abstract io.netty.channel.AbstractChannel.isCompatible.

Return true if the given EventLoop is compatible with this instance.
public boolean
isOpen()

Implements io.netty.channel.Channel.isOpen.

Returns true if the Channel is open and may get active later
protected SocketAddress
localAddress0()

Implements abstract io.netty.channel.AbstractChannel.localAddress0.

Returns the SocketAddress which is bound locally.
public ChannelMetadata
metadata()

Implements io.netty.channel.Channel.metadata.

Return the ChannelMetadata of the Channel which describe the nature of the Channel.
protected final ByteBuf
protected final ByteBuf
private static ByteBuf
newDirectBuffer0(Object holder, ByteBuf buf, ByteBufAllocator alloc, int capacity)

protected abstract AbstractIOUringChannel.AbstractUringUnsafe
newUnsafe()

Implements abstract io.netty.channel.AbstractChannel.newUnsafe.

Create a new AbstractUnsafe instance which will be used for the life-time of the Channel
protected SocketAddress
remoteAddress0()

Implements abstract io.netty.channel.AbstractChannel.remoteAddress0.

Return the SocketAddress which the Channel is connected to.
pack-priv final void
private void
pack-priv final void
private int
private boolean
pack-priv IOUringSubmissionQueue
private void
submitConnect(InetSocketAddress inetSocketAddress)

Inherited from io.netty.channel.AbstractChannel:
allocbindbindbytesBeforeUnwritablebytesBeforeWritablecloseclosecloseFuturecompareToconnectconnectconnectconnectderegisterderegisterdisconnectdisconnectdoShutdownOutputequalseventLoopflushhashCodeidinvalidateLocalAddressinvalidateRemoteAddressisRegisteredisWritablelocalAddressmaxMessagesPerWritenewChannelPipelinenewFailedFuturenewIdnewProgressivePromisenewPromisenewSucceededFutureparentpipelinereadremoteAddresstoStringunsafevalidateFileRegionvoidPromisewritewritewriteAndFlushwriteAndFlush