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

public final Class IOUringServerSocketChannel

extends AbstractIOUringServerChannel
implements ServerSocketChannel
Class Inheritance
All Implemented Interfaces
io.netty.channel.socket.ServerSocketChannel, io.netty.channel.ServerChannel, io.netty.channel.Channel, java.lang.Comparable, io.netty.channel.ChannelOutboundInvoker, io.netty.util.AttributeMap
Imports
io.netty.channel.Channel, io.netty.channel.socket.ServerSocketChannel, java.net.Inet4Address, .InetSocketAddress, .SocketAddress

Field Summary

Modifier and TypeField and Description
private final IOUringServerSocketChannelConfig

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public IOUringServerSocketChannelConfig
config()

Implements io.netty.channel.socket.ServerSocketChannel.config, io.netty.channel.Channel.config.

Returns the configuration of this channel.
public void
public InetSocketAddress
pack-priv Channel
newChildChannel(int fd, long acceptedAddressMemoryAddress, long acceptedAddressLengthMemoryAddress)

Implements abstract io.netty.incubator.channel.uring.AbstractIOUringServerChannel.newChildChannel.

public InetSocketAddress
Inherited from io.netty.incubator.channel.uring.AbstractIOUringServerChannel:
doClosedoWritegetChannelnewUnsafe

Field Detail

configback to summary
private final IOUringServerSocketChannelConfig config

Constructor Detail

IOUringServerSocketChannelback to summary
public IOUringServerSocketChannel()

Method Detail

configback to summary
public IOUringServerSocketChannelConfig config()

Implements io.netty.channel.socket.ServerSocketChannel.config, io.netty.channel.Channel.config.

Doc from io.netty.channel.Channel.config.

Returns the configuration of this channel.

Annotations
@Override
doBindback to summary
public void doBind(SocketAddress localAddress) throws Exception

Overrides io.netty.incubator.channel.uring.AbstractIOUringChannel.doBind.

Doc from io.netty.channel.AbstractChannel.doBind.

Bind the Channel to the SocketAddress

Annotations
@Override
localAddressback to summary
public InetSocketAddress localAddress()

Overrides io.netty.channel.AbstractChannel.localAddress.

Implements io.netty.channel.socket.ServerSocketChannel.localAddress, io.netty.channel.Channel.localAddress.

Doc from io.netty.channel.Channel.localAddress.

Returns the local address where this channel is bound to. The returned SocketAddress is supposed to be down-cast into more concrete type such as InetSocketAddress to retrieve the detailed information.

Returns:InetSocketAddress

the local address of this channel. null if this channel is not bound.

Annotations
@Override
newChildChannelback to summary
pack-priv Channel newChildChannel(int fd, long acceptedAddressMemoryAddress, long acceptedAddressLengthMemoryAddress)

Implements abstract io.netty.incubator.channel.uring.AbstractIOUringServerChannel.newChildChannel.

Annotations
@Override
remoteAddressback to summary
public InetSocketAddress remoteAddress()

Overrides io.netty.channel.AbstractChannel.remoteAddress.

Implements io.netty.channel.socket.ServerSocketChannel.remoteAddress, io.netty.channel.Channel.remoteAddress.

Doc from io.netty.channel.Channel.remoteAddress.

Returns the remote address where this channel is connected to. The returned SocketAddress is supposed to be down-cast into more concrete type such as InetSocketAddress to retrieve the detailed information.

Returns:InetSocketAddress

the remote address of this channel. null if this channel is not connected. If this channel is not connected but it can receive messages from arbitrary remote addresses (e.g. DatagramChannel, use DatagramPacket#recipient() to determine the origination of the received message as this method will return null.

Annotations
@Override