PortMappingServer 类 |
命名空间: HslCommunication.Enthernet.Tcp
PortMappingServer 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| PortMappingServer | 初始化 PortMappingServer 类的一个新实例 |
| 名称 | 说明 | |
|---|---|---|
| FreeTime |
获取或设置当前端口转发得免费使用时间,默认为 3600 秒
| |
| LogNet |
获取或设置当前的日志对象
| |
| RandomPortEnd |
获取或设置随机端口的结束值
| |
| RandomPortStart |
获取或设置随机端口的起始值
| |
| ServerPort |
获取或设置MQTT服务器的监听端口号,默认8888 Get or set the listening port number of the MQTT server, the default is 8888 | |
| SocketClientCount |
获取当前的远程客户端数量
|
| 名称 | 说明 | |
|---|---|---|
| Equals | (继承自 Object。) | |
| Finalize | (继承自 Object。) | |
| GetHashCode | (继承自 Object。) | |
| GetMqttServer |
获取当前的MQTT服务器
| |
| GetType | (继承自 Object。) | |
| MemberwiseClone | (继承自 Object。) | |
| ServerStart |
启动服务
| |
| ToString | (继承自 Object。) |
| 名称 | 说明 | |
|---|---|---|
| ClientVerification |
当客户端连接时,触发的验证事件 Validation event triggered when the client connects |
| 名称 | 说明 | |
|---|---|---|
| ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |