-
- All Superinterfaces:
io.netty5.util.AttributeMap,Channel,ChannelOutboundInvoker,Comparable<Channel>,io.netty5.util.concurrent.FuturePromiseFactory,IoHandle
- All Known Subinterfaces:
ServerSocketChannel
- All Known Implementing Classes:
AbstractServerChannel,LocalServerChannel,NioServerSocketChannel
public interface ServerChannel extends Channel
AChannelthat accepts an incoming connection attempts and creates its childChannels by accepting them. AServerChanneldoes not allow the following operations and so will fail the returnedFutureof these operations:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventLoopGroupchildEventLoopGroup()Returns theEventLoopGroupthat is used to register the childChannels on after accepting these.-
Methods inherited from interface io.netty5.channel.Channel
bind, bufferAllocator, close, closeFuture, connect, connect, deregister, disconnect, executor, flush, getOption, id, isActive, isOpen, isOptionSupported, isShutdown, isWritable, localAddress, parent, pipeline, read, read, register, remoteAddress, sendOutboundEvent, setOption, shutdown, writableBytes, write, writeAndFlush
-
Methods inherited from interface io.netty5.channel.ChannelOutboundInvoker
newFailedFuture, newPromise, newSucceededFuture, newSucceededFuture
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface io.netty5.channel.IoHandle
isRegistered
-
-
-
-
Method Detail
-
childEventLoopGroup
EventLoopGroup childEventLoopGroup()
Returns theEventLoopGroupthat is used to register the childChannels on after accepting these.
-
-