Interface GroupChannelOption


public interface GroupChannelOption
Provides OS-specific Netty event-loop groups and server channel class selection.
Author:
渔民小镇
date:
2023-02-18
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.channel.EventLoopGroup
    Create the boss event-loop group.
    Class<? extends io.netty.channel.ServerChannel>
    Get the server channel implementation class.
    io.netty.channel.EventLoopGroup
    Create the worker event-loop group.
  • Method Details

    • bossGroup

      io.netty.channel.EventLoopGroup bossGroup()
      Create the boss event-loop group.
      Returns:
      boss event-loop group
    • workerGroup

      io.netty.channel.EventLoopGroup workerGroup()
      Create the worker event-loop group.
      Returns:
      worker event-loop group
    • channelClass

      Class<? extends io.netty.channel.ServerChannel> channelClass()
      Get the server channel implementation class.
      Returns:
      server channel class