点击或拖拽改变大小

MqttServerFileOperateVerificationDelegate 委托

当客户端进行文件操作时,校验客户端合法性的委托,操作码具体查看的常量值
When client performing file operations, verify the legitimacy of the client, and check the constant value of for the operation code.

命名空间:  HslCommunication.MQTT
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public delegate OperateResult FileOperateVerificationDelegate(
	MqttSession session,
	byte code,
	string[] groups,
	string[] fileNames
)

参数

session
类型:HslCommunication.MQTTMqttSession
会话状态
code
类型:SystemByte
操作码
groups
类型:SystemString
分类信息
fileNames
类型:SystemString
文件名

返回值

类型:OperateResult
是否成功
参见