MqttServer 事件 |
MqttServer 类型公开以下成员。
名称 | 说明 | |
---|---|---|
ClientVerification |
当客户端连接时,触发的验证事件 Validation event triggered when the client connects | |
FileOperateVerification |
当客户端进行文件操作时,校验客户端合法性的事件,操作码具体查看的常量值 When client performing file operations, it is an event to verify the legitimacy of the client. For the operation code, check the constant value of | |
OnClientApplicationMessageReceive |
当收到客户端发来的MqttClientApplicationMessage消息时触发 Triggered when a MqttClientApplicationMessage message is received from the client | |
OnClientConnected |
Mqtt的客户端连接上来时触发 Triggered when Mqtt client connects | |
OnClientDisConnected |
Mqtt的客户端下线时触发 Triggered when Mqtt client connects | |
OnFileChangedEvent |
文件变化的事件,当文件上传的时候,文件下载的时候,文件被删除的时候触发。 The file change event is triggered when the file is uploaded, when the file is downloaded, or when the file is deleted. |