public abstract class EzyAbstractSocketSettingBuilder<T extends EzyAbstractSocketSetting,B extends EzyAbstractSocketSettingBuilder<T,B>> extends Object implements com.tvd12.ezyfox.builder.EzyBuilder<EzyAbstractSocketSetting>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
active |
protected String |
address |
protected String |
codecCreator |
protected int |
port |
| Constructor and Description |
|---|
EzyAbstractSocketSettingBuilder() |
| Modifier and Type | Method and Description |
|---|---|
B |
active(boolean active) |
B |
address(String address) |
T |
build() |
B |
codecCreator(Class<?> codecCreator) |
B |
codecCreator(String codecCreator) |
protected abstract T |
newSetting() |
B |
port(int port) |
protected int port
protected String address
protected boolean active
protected String codecCreator
public B port(int port)
public B active(boolean active)
public T build()
build in interface com.tvd12.ezyfox.builder.EzyBuilder<EzyAbstractSocketSetting>protected abstract T newSetting()
Copyright © 2021 Young Monkeys. All rights reserved.