点击或拖拽改变大小

PortMappingServer 类

端口映射服务器
继承层次
SystemObject
  HslCommunication.Enthernet.TcpPortMappingServer

命名空间:  HslCommunication.Enthernet.Tcp
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.9.1.0 (12.9.1.0)
语法
public class PortMappingServer

PortMappingServer 类型公开以下成员。

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