public final class IoUringDatagramChannel
extends io.netty.channel.AbstractChannel
implements io.netty.channel.socket.DatagramChannel
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
| Constructor and Description |
|---|
IoUringDatagramChannel()
Create a new instance which selects the
SocketProtocolFamily to use depending
on the Operation Systems default which will be chosen. |
IoUringDatagramChannel(int fd)
Create a new instance which selects the
SocketProtocolFamily to use depending
on the Operation Systems default which will be chosen. |
IoUringDatagramChannel(io.netty.channel.socket.SocketProtocolFamily family)
Create a new instance using the given
SocketProtocolFamily. |
| Modifier and Type | Method and Description |
|---|---|
io.netty.channel.ChannelFuture |
block(InetAddress multicastAddress,
InetAddress sourceToBlock) |
io.netty.channel.ChannelFuture |
block(InetAddress multicastAddress,
InetAddress sourceToBlock,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock) |
io.netty.channel.ChannelFuture |
block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock,
io.netty.channel.ChannelPromise promise) |
protected void |
cancelOutstandingReads(IoUringIoRegistration registration,
int numOutstandingReads)
Cancel all outstanding reads
|
protected void |
cancelOutstandingWrites(IoUringIoRegistration registration,
int numOutstandingWrites)
Cancel all outstanding writes
|
protected static void |
checkResolvable(InetSocketAddress addr) |
io.netty.channel.socket.DatagramChannelConfig |
config() |
protected void |
doBeginRead() |
protected void |
doBind(SocketAddress localAddress) |
protected void |
doClose() |
protected void |
doDeregister() |
protected void |
doDisconnect() |
protected void |
doRegister(io.netty.channel.ChannelPromise promise) |
protected void |
doWrite(io.netty.channel.ChannelOutboundBuffer in) |
io.netty.channel.unix.FileDescriptor |
fd() |
protected Object |
filterOutboundMessage(Object msg) |
boolean |
isActive() |
protected boolean |
isCompatible(io.netty.channel.EventLoop loop) |
boolean |
isConnected() |
boolean |
isOpen() |
static boolean |
isSegmentedDatagramPacketSupported()
Returns
true if the usage of SegmentedDatagramPacket is supported. |
io.netty.channel.ChannelFuture |
joinGroup(InetAddress multicastAddress) |
io.netty.channel.ChannelFuture |
joinGroup(InetAddress multicastAddress,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source) |
io.netty.channel.ChannelFuture |
joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface) |
io.netty.channel.ChannelFuture |
joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
leaveGroup(InetAddress multicastAddress) |
io.netty.channel.ChannelFuture |
leaveGroup(InetAddress multicastAddress,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source) |
io.netty.channel.ChannelFuture |
leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface) |
io.netty.channel.ChannelFuture |
leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
io.netty.channel.ChannelPromise promise) |
InetSocketAddress |
localAddress() |
protected SocketAddress |
localAddress0() |
io.netty.channel.ChannelMetadata |
metadata() |
protected io.netty.buffer.ByteBuf |
newDirectBuffer(io.netty.buffer.ByteBuf buf) |
protected io.netty.buffer.ByteBuf |
newDirectBuffer(Object holder,
io.netty.buffer.ByteBuf buf) |
protected io.netty.channel.AbstractChannel.AbstractUnsafe |
newUnsafe() |
protected short |
nextOpsId()
Returns the next id that should be used when submitting
IoUringIoOps. |
protected IoUringIoRegistration |
registration() |
InetSocketAddress |
remoteAddress() |
protected SocketAddress |
remoteAddress0() |
closeFuture, compareTo, doRegister, doShutdownOutput, equals, eventLoop, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, toString, unsafe, validateFileRegion, voidPromiseclone, finalize, getClass, notify, notifyAll, wait, wait, waitalloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, getOption, id, isOpen, isRegistered, isWritable, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, setOption, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlushcompareTopublic IoUringDatagramChannel()
SocketProtocolFamily to use depending
on the Operation Systems default which will be chosen.public IoUringDatagramChannel(io.netty.channel.socket.SocketProtocolFamily family)
SocketProtocolFamily. If null is used it will depend
on the Operation Systems default which will be chosen.public IoUringDatagramChannel(int fd)
SocketProtocolFamily to use depending
on the Operation Systems default which will be chosen.public InetSocketAddress remoteAddress()
remoteAddress in interface io.netty.channel.ChannelremoteAddress in interface io.netty.channel.socket.DatagramChannelremoteAddress in class io.netty.channel.AbstractChannelpublic InetSocketAddress localAddress()
localAddress in interface io.netty.channel.ChannellocalAddress in interface io.netty.channel.socket.DatagramChannellocalAddress in class io.netty.channel.AbstractChannelpublic io.netty.channel.ChannelMetadata metadata()
metadata in interface io.netty.channel.Channelpublic boolean isActive()
isActive in interface io.netty.channel.Channelpublic boolean isConnected()
isConnected in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture joinGroup(InetAddress multicastAddress)
joinGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture joinGroup(InetAddress multicastAddress, io.netty.channel.ChannelPromise promise)
joinGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface)
joinGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, io.netty.channel.ChannelPromise promise)
joinGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source)
joinGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, io.netty.channel.ChannelPromise promise)
joinGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture leaveGroup(InetAddress multicastAddress)
leaveGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture leaveGroup(InetAddress multicastAddress, io.netty.channel.ChannelPromise promise)
leaveGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface)
leaveGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, io.netty.channel.ChannelPromise promise)
leaveGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source)
leaveGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, io.netty.channel.ChannelPromise promise)
leaveGroup in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock)
block in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock, io.netty.channel.ChannelPromise promise)
block in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture block(InetAddress multicastAddress, InetAddress sourceToBlock)
block in interface io.netty.channel.socket.DatagramChannelpublic io.netty.channel.ChannelFuture block(InetAddress multicastAddress, InetAddress sourceToBlock, io.netty.channel.ChannelPromise promise)
block in interface io.netty.channel.socket.DatagramChannelprotected io.netty.channel.AbstractChannel.AbstractUnsafe newUnsafe()
newUnsafe in class io.netty.channel.AbstractChannelprotected void doBind(SocketAddress localAddress) throws Exception
Exceptionpublic io.netty.channel.socket.DatagramChannelConfig config()
config in interface io.netty.channel.Channelconfig in interface io.netty.channel.socket.DatagramChannelpublic static boolean isSegmentedDatagramPacketSupported()
true if the usage of SegmentedDatagramPacket is supported.true if supported, false otherwise.protected void cancelOutstandingReads(IoUringIoRegistration registration, int numOutstandingReads)
registration - the IoUringIoRegistration.numOutstandingReads - the number of outstanding reads.protected void cancelOutstandingWrites(IoUringIoRegistration registration, int numOutstandingWrites)
registration - the IoUringIoRegistration.numOutstandingWrites - the number of outstanding writes.protected final short nextOpsId()
IoUringIoOps.public final boolean isOpen()
isOpen in interface io.netty.channel.Channelpublic final io.netty.channel.unix.FileDescriptor fd()
fd in interface io.netty.channel.unix.UnixChannelprotected boolean isCompatible(io.netty.channel.EventLoop loop)
isCompatible in class io.netty.channel.AbstractChannelprotected final io.netty.buffer.ByteBuf newDirectBuffer(io.netty.buffer.ByteBuf buf)
protected final io.netty.buffer.ByteBuf newDirectBuffer(Object holder, io.netty.buffer.ByteBuf buf)
protected final void doBeginRead()
doBeginRead in class io.netty.channel.AbstractChannelprotected void doWrite(io.netty.channel.ChannelOutboundBuffer in)
doWrite in class io.netty.channel.AbstractChannelprotected final IoUringIoRegistration registration()
protected void doRegister(io.netty.channel.ChannelPromise promise)
doRegister in class io.netty.channel.AbstractChannelprotected final void doDeregister()
doDeregister in class io.netty.channel.AbstractChannelprotected static void checkResolvable(InetSocketAddress addr)
protected final SocketAddress localAddress0()
localAddress0 in class io.netty.channel.AbstractChannelprotected final SocketAddress remoteAddress0()
remoteAddress0 in class io.netty.channel.AbstractChannelCopyright © 2008–2024 The Netty Project. All rights reserved.