Package io.netty.channel.unix
Interface ServerDomainSocketChannel
- 
- All Superinterfaces:
- AttributeMap,- Channel,- ChannelOutboundInvoker,- java.lang.Comparable<Channel>,- ServerChannel,- UnixChannel
 - All Known Implementing Classes:
- EpollServerDomainSocketChannel,- IoUringServerDomainSocketChannel,- KQueueServerDomainSocketChannel
 
 public interface ServerDomainSocketChannel extends ServerChannel, UnixChannel 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelChannel.Unsafe
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description DomainSocketAddresslocalAddress()Returns the local address where this channel is bound to.DomainSocketAddressremoteAddress()Returns the remote address where this channel is connected to.- 
Methods inherited from interface io.netty.util.AttributeMapattr, hasAttr
 - 
Methods inherited from interface io.netty.channel.Channelalloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, config, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, getOption, id, isActive, isOpen, isRegistered, isWritable, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, setOption, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlush
 - 
Methods inherited from interface io.netty.channel.unix.UnixChannelfd
 
- 
 
- 
- 
- 
Method Detail- 
remoteAddressDomainSocketAddress remoteAddress() Description copied from interface:ChannelReturns the remote address where this channel is connected to. The returnedSocketAddressis supposed to be down-cast into more concrete type such asInetSocketAddressto retrieve the detailed information.- Specified by:
- remoteAddressin interface- Channel
- Returns:
- the remote address of this channel.
         nullif this channel is not connected. If this channel is not connected but it can receive messages from arbitrary remote addresses (e.g.DatagramChannel, useDefaultAddressedEnvelope.recipient()to determine the origination of the received message as this method will returnnull.
 
 - 
localAddressDomainSocketAddress localAddress() Description copied from interface:ChannelReturns the local address where this channel is bound to. The returnedSocketAddressis supposed to be down-cast into more concrete type such asInetSocketAddressto retrieve the detailed information.- Specified by:
- localAddressin interface- Channel
- Returns:
- the local address of this channel.
         nullif this channel is not bound.
 
 
- 
 
-