Top Fields Constructors Methods
io.netty.channel.epoll

public final Class EpollServerDomainSocketChannel

extends AbstractEpollServerChannel
implements ServerDomainSocketChannel
Class Inheritance
All Implemented Interfaces
io.netty.channel.unix.ServerDomainSocketChannel, io.netty.channel.unix.UnixChannel, io.netty.channel.Channel, java.lang.Comparable, io.netty.channel.ChannelOutboundInvoker, io.netty.util.AttributeMap, io.netty.channel.ServerChannel
Imports
io.netty.channel.Channel, io.netty.channel.unix.DomainSocketAddress, .ServerDomainSocketChannel, .Socket, io.netty.util.internal.logging.InternalLogger, .InternalLoggerFactory, java.io.File, java.net.SocketAddress

Field Summary

Modifier and TypeField and Description
private final EpollServerChannelConfig
private volatile DomainSocketAddress
private static final InternalLogger

Constructor Summary

AccessConstructor and Description
public
public
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
public EpollServerChannelConfig
config()

Implements abstract io.netty.channel.epoll.AbstractEpollChannel.config.

Implements io.netty.channel.Channel.config.

Returns the configuration of this channel.
protected void
protected void
public DomainSocketAddress
protected DomainSocketAddress
protected Channel
newChildChannel(int fd, byte[] addr, int offset, int len)

Implements abstract io.netty.channel.epoll.AbstractEpollServerChannel.newChildChannel.

public DomainSocketAddress
Inherited from io.netty.channel.epoll.AbstractEpollServerChannel:
doConnectdoWritefilterOutboundMessageisCompatiblemetadatanewUnsaferemoteAddress0

Field Detail

configback to summary
private final EpollServerChannelConfig config
localback to summary
private volatile DomainSocketAddress local

Hides io.netty.channel.epoll.AbstractEpollChannel.local.

loggerback to summary
private static final InternalLogger logger

Hides io.netty.channel.AbstractChannel.logger.

Constructor Detail

EpollServerDomainSocketChannelback to summary
public EpollServerDomainSocketChannel()
EpollServerDomainSocketChannelback to summary
public EpollServerDomainSocketChannel(int fd)
EpollServerDomainSocketChannelback to summary
pack-priv EpollServerDomainSocketChannel(LinuxSocket fd)
EpollServerDomainSocketChannelback to summary
pack-priv EpollServerDomainSocketChannel(LinuxSocket fd, boolean active)

Method Detail

configback to summary
public EpollServerChannelConfig config()

Implements abstract io.netty.channel.epoll.AbstractEpollChannel.config.

Implements io.netty.channel.Channel.config.

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

Returns the configuration of this channel.

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

Overrides io.netty.channel.epoll.AbstractEpollChannel.doBind.

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

Bind the Channel to the SocketAddress

Annotations
@Override
doCloseback to summary
protected void doClose() throws Exception

Overrides io.netty.channel.epoll.AbstractEpollChannel.doClose.

Doc from io.netty.channel.AbstractChannel.doClose.

Close the Channel

Annotations
@Override
localAddressback to summary
public DomainSocketAddress localAddress()

Overrides io.netty.channel.AbstractChannel.localAddress.

Implements io.netty.channel.unix.ServerDomainSocketChannel.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:DomainSocketAddress

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

Annotations
@Override
localAddress0back to summary
protected DomainSocketAddress localAddress0()

Overrides io.netty.channel.epoll.AbstractEpollChannel.localAddress0.

Doc from io.netty.channel.AbstractChannel.localAddress0.

Returns the SocketAddress which is bound locally.

Annotations
@Override
newChildChannelback to summary
protected Channel newChildChannel(int fd, byte[] addr, int offset, int len) throws Exception

Implements abstract io.netty.channel.epoll.AbstractEpollServerChannel.newChildChannel.

Annotations
@Override
remoteAddressback to summary
public DomainSocketAddress remoteAddress()

Overrides io.netty.channel.AbstractChannel.remoteAddress.

Implements io.netty.channel.unix.ServerDomainSocketChannel.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:DomainSocketAddress

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