public class EzyUdpSettingBuilder extends Object implements com.tvd12.ezyfox.builder.EzyBuilder<EzySimpleUdpSetting>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected String |
address |
protected int |
channelPoolSize |
protected int |
handlerThreadPoolSize |
protected int |
maxRequestSize |
protected int |
port |
| Constructor and Description |
|---|
EzyUdpSettingBuilder() |
| Modifier and Type | Method and Description |
|---|---|
EzyUdpSettingBuilder |
active(boolean active) |
EzyUdpSettingBuilder |
address(String address) |
EzySimpleUdpSetting |
build() |
EzyUdpSettingBuilder |
channelPoolSize(int channelPoolSize) |
EzyUdpSettingBuilder |
handlerThreadPoolSize(int handlerThreadPoolSize) |
EzyUdpSettingBuilder |
maxRequestSize(int maxRequestSize) |
EzyUdpSettingBuilder |
port(int port) |
protected int port
protected String address
protected boolean active
protected int maxRequestSize
protected int channelPoolSize
protected int handlerThreadPoolSize
public EzyUdpSettingBuilder port(int port)
public EzyUdpSettingBuilder address(String address)
public EzyUdpSettingBuilder active(boolean active)
public EzyUdpSettingBuilder maxRequestSize(int maxRequestSize)
public EzyUdpSettingBuilder channelPoolSize(int channelPoolSize)
public EzyUdpSettingBuilder handlerThreadPoolSize(int handlerThreadPoolSize)
public EzySimpleUdpSetting build()
build in interface com.tvd12.ezyfox.builder.EzyBuilder<EzySimpleUdpSetting>Copyright © 2024 Young Monkeys. All rights reserved.