org.smartboot.mqtt.protocol.Config Maven / Gradle / Ivy
/*
* Copyright (C) [2022] smartboot [[email protected]]
*
* 企业用户未经smartboot组织特别许可,需遵循AGPL-3.0开源协议合理合法使用本项目。
*
* Enterprise users are required to use this project reasonably
* and legally in accordance with the AGPL-3.0 open source agreement
* without special permission from the smartboot organization.
*/
package org.smartboot.mqtt.protocol;
import org.smartboot.socket.Protocol;
public class Config {
private int port;
private Protocol protocol;
private GatewayService processor;
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public Protocol getProtocol() {
return protocol;
}
public void setProtocol(Protocol protocol) {
this.protocol = protocol;
}
public GatewayService getProcessor() {
return processor;
}
public void setProcessor(GatewayService processor) {
this.processor = processor;
}
}