public class EzySocketSettingBuilder extends EzyAbstractSocketSettingBuilder<EzySimpleSocketSetting,EzySocketSettingBuilder>
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxRequestSize |
protected int |
sslHandshakeTimeout |
protected SslType |
sslType |
protected boolean |
tcpNoDelay |
protected int |
writerThreadPoolSize |
active, address, codecCreator, port, sslActive| Constructor and Description |
|---|
EzySocketSettingBuilder() |
| Modifier and Type | Method and Description |
|---|---|
EzySocketSettingBuilder |
maxRequestSize(int maxRequestSize) |
protected EzySimpleSocketSetting |
newSetting() |
EzySocketSettingBuilder |
sslHandshakeTimeout(int sslHandshakeTimeout) |
EzySocketSettingBuilder |
sslType(SslType sslType) |
EzySocketSettingBuilder |
tcpNoDelay(boolean tcpNoDelay) |
EzySocketSettingBuilder |
writerThreadPoolSize(int writerThreadPoolSize) |
active, address, build, codecCreator, codecCreator, port, sslActiveprotected SslType sslType
protected int sslHandshakeTimeout
protected int maxRequestSize
protected boolean tcpNoDelay
protected int writerThreadPoolSize
public EzySocketSettingBuilder sslType(SslType sslType)
public EzySocketSettingBuilder sslHandshakeTimeout(int sslHandshakeTimeout)
public EzySocketSettingBuilder maxRequestSize(int maxRequestSize)
public EzySocketSettingBuilder tcpNoDelay(boolean tcpNoDelay)
public EzySocketSettingBuilder writerThreadPoolSize(int writerThreadPoolSize)
protected EzySimpleSocketSetting newSetting()
newSetting in class EzyAbstractSocketSettingBuilder<EzySimpleSocketSetting,EzySocketSettingBuilder>Copyright © 2024 Young Monkeys. All rights reserved.