重构: 源码文件蛇形命名, 接口去I头(BindRequestContext/SimApiAuthChecker), 清理C#相关说明, serialization依赖路径改 serialization-cj
This commit is contained in:
1 parent
829f009229
commit
30e5f165f2
56 files changed
+319
-332
No files matched your search
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2025 SimcuTeam. All rights reserved.
|
||||
* 遵循 MIT 许可证。
|
||||
* Synapse 通信选项配置(占位,未实现)。
|
||||
*/
|
||||
|
||||
package simcu::simapi.configurations
|
||||
|
||||
/**
|
||||
* MQTT 通信配置(默认值)。
|
||||
*/
|
||||
public class SimApiSynapseOptions {
|
||||
/**
|
||||
* Mqtt 服务器的 Websocket 地址。
|
||||
*/
|
||||
public var websocket: String = ""
|
||||
|
||||
public var username: String = ""
|
||||
public var password: String = ""
|
||||
public var sysName: String = ""
|
||||
public var appName: String = ""
|
||||
public var appId: String = ""
|
||||
|
||||
/**
|
||||
* RPC 超时秒数(默认 3)。
|
||||
*/
|
||||
public var rpcTimeout: Int64 = 3
|
||||
|
||||
/**
|
||||
* Event 是否使用负载均衡:订阅 $queue 主题,消息分发给不同 AppId。
|
||||
* false 时多个 AppId 都可同时收到消息(默认 false)。
|
||||
*/
|
||||
public var eventLoadBalancing: Bool = false
|
||||
|
||||
/**
|
||||
* 启用分布式配置存储(默认 true)。
|
||||
*/
|
||||
public var enableConfigStore: Bool = true
|
||||
|
||||
/**
|
||||
* 禁用事件客户端(默认 false)。
|
||||
*/
|
||||
public var disableEventClient: Bool = false
|
||||
|
||||
/**
|
||||
* 禁用 RPC 客户端(默认 false)。
|
||||
*/
|
||||
public var disableRpcClient: Bool = false
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user