- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.network.PipelineUtils
-
public class PipelineUtils extends Object
-
-
构造器概要
构造器 构造器 说明 PipelineUtils()
-
方法概要
修饰符和类型 方法 说明 static Class<? extends Channel>
getChannel()
static Class<? extends Channel>
getDatagramChannel()
static Class<? extends ServerChannel>
getServerChannel()
static EventLoopGroup
newEventLoopGroup()
static EventLoopGroup
newEventLoopGroup(int threads)
static EventLoopGroup
newEventLoopGroup(int threads, ThreadFactory factory)
-
-
-
方法详细资料
-
getServerChannel
public static Class<? extends ServerChannel> getServerChannel()
-
newEventLoopGroup
public static EventLoopGroup newEventLoopGroup()
-
newEventLoopGroup
public static EventLoopGroup newEventLoopGroup(int threads)
-
newEventLoopGroup
public static EventLoopGroup newEventLoopGroup(int threads, ThreadFactory factory)
-
-