NIO1SocketServerGroup
object NIO1SocketServerGroup
class Object
trait Matchable
class Any
Value members
Concrete methods
def create(acceptorPool: SelectorLoopPool, workerPool: SelectorLoopPool, channelOptions: ChannelOptions, maxConnections: Int): ServerChannelGroup
Create a new NIO1SocketServerGroup from the SelectorLoopPool.
Create a new NIO1SocketServerGroup from the SelectorLoopPool.
- Note
The worker pool is not owned by the group and therefore not shutdown when the group is shutdown.
def fixed(workerThreads: Int, bufferSize: Int, channelOptions: ChannelOptions, selectorThreadFactory: ThreadFactory, acceptorThreads: Int, acceptorThreadFactory: ThreadFactory, maxConnections: Int): ServerChannelGroup
Create a new NIO1SocketServerGroup with a fresh [[FixedSelectorPool] ]
Create a new NIO1SocketServerGroup with a fresh [[FixedSelectorPool] ]
The resulting ServerChannelGroup takes ownership of the created pool, shutting it down when the group is shutdown.