public class HttpServer
extends java.lang.Object
implements xyz.noark.core.network.TcpServer
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
logEnabled
网络封包日志激活
|
protected boolean |
outputActive
网络封包日志处理器已启动时,是否激活输出功能
|
| 构造器和说明 |
|---|
HttpServer() |
@Value(value="network.log.enabled") protected boolean logEnabled
@Value(value="network.log.output.active") protected boolean outputActive
public void setPort(int port)
port - 端口public void setSecretKey(java.lang.String secretKey)
secretKey - 密钥public void startup()
startup 在接口中 xyz.noark.core.network.TcpServerpublic void shutdown()
shutdown 在接口中 xyz.noark.core.network.TcpServer