Top Description Methods
io.netty5.channel.socket

public Interface SocketChannel

extends Channel
Known Direct Implementers
io.netty5.channel.socket.nio.NioSocketChannel
Imports
io.netty5.channel.Channel, .ChannelOption

A Socket Channel.

Available options

In addition to the options provided by Channel, SocketChannel allows the following options in the option map:
ChannelOption INET INET6 UNIX
ChannelOption#SO_KEEPALIVEXX-
ChannelOption#SO_REUSEADDRXX-
ChannelOption#SO_LINGERXX-
ChannelOption#TCP_NODELAYXX-
ChannelOption#SO_RCVBUFXXX
ChannelOption#SO_SNDBUFXXX
ChannelOption#IP_TOSXX-

Method Summary

Modifier and TypeMethod and Description
public ServerSocketChannel
parent()

Redeclares io.netty5.channel.Channel.parent.

Returns the parent of this channel.
Inherited from io.netty5.channel.Channel:
bindbufferAllocatorclosecloseFutureconnectconnectderegisterdisconnectexecutorflushgetOptionidisActiveisOpenisOptionSupportedisShutdownisWritablelocalAddresspipelinereadreadregisterremoteAddresssendOutboundEventsetOptionshutdownwritableByteswritewriteAndFlush

Method Detail

parentback to summary
public ServerSocketChannel parent()

Redeclares io.netty5.channel.Channel.parent.

Doc from io.netty5.channel.Channel.parent.

Returns the parent of this channel.

Returns:ServerSocketChannel

the parent channel. null if this channel does not have a parent channel.

Annotations
@Override