com.feingto.iot.client.config.NettyProperties Maven / Gradle / Ivy
package com.feingto.iot.client.config;
import com.feingto.iot.common.model.mqtt.MqttConnectOptions;
import lombok.Data;
/**
* Netty 配置
*
* @author longfei
*/
@Data
public class NettyProperties {
private String host;
private int port;
private int wsPort;
private int bossThread;
private int workThread = 4;
/**
* 缓冲区队列大小
*/
private int backlog = 50;
/**
* 长连接
*/
private boolean keepalive = true;
private boolean ssl = false;
private String keyStore;
private String keyStorePassword;
private MqttConnectOptions mqtt;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy