Class EventLoopGroupUtil

java.lang.Object
org.drasyl.util.EventLoopGroupUtil

public final class EventLoopGroupUtil extends Object
Utility class for operations on EventLoopGroups.
  • Method Details

    • getBestEventLoopGroup

      public static io.netty.channel.EventLoopGroup getBestEventLoopGroup(int nThreads, ThreadFactory threadFactory)
    • getBestEventLoopGroup

      public static io.netty.channel.EventLoopGroup getBestEventLoopGroup(int nThreads)
    • getBestEventLoopGroup

      public static io.netty.channel.EventLoopGroup getBestEventLoopGroup()
    • getBestDatagramChannel

      public static Class<? extends io.netty.channel.socket.DatagramChannel> getBestDatagramChannel()
    • getBestDatagramChannel

      public static io.netty.channel.socket.DatagramChannel getBestDatagramChannel(io.netty.channel.socket.InternetProtocolFamily family)
    • getServerSocketChannel

      public static Class<? extends io.netty.channel.socket.ServerSocketChannel> getServerSocketChannel()
    • getSocketChannel

      public static Class<? extends io.netty.channel.socket.SocketChannel> getSocketChannel()