public class ChannelConfiguration extends Object
Constructor and Description |
---|
ChannelConfiguration() |
Modifier and Type | Method and Description |
---|---|
static ClientChannelConfiguration |
clientConfig(io.netty.channel.EventLoopGroup workerGroup)
This method will configure a worker EventLoopGroup and a Channel
for use by a client.
|
static ClientChannelConfiguration |
clientConfig(int workerThreads,
String workerNameFormat)
This method will configure a worker EventLoopGroup and a Channel
for use by a client.
|
static ServerChannelConfiguration |
serverConfig(int bossThreads,
String bossNameFormat,
int workerThreads,
String workerNameFormat)
This method will configure a boss EventLoopGroup, a worker
EventLoopGroup and a ServerChannel for use by a server.
|
public static ClientChannelConfiguration clientConfig(int workerThreads, String workerNameFormat)
public static ClientChannelConfiguration clientConfig(io.netty.channel.EventLoopGroup workerGroup)
public static ServerChannelConfiguration serverConfig(int bossThreads, String bossNameFormat, int workerThreads, String workerNameFormat)
Copyright © 2016. All Rights Reserved.