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 中) 版本:12.1.2.0 (12.1.2.0)
语法 public delegate OperateResult FileOperateVerificationDelegate(
MqttSession session,
byte code,
string[] groups,
string[] fileNames
)
Public Delegate Function FileOperateVerificationDelegate (
session As MqttSession,
code As Byte,
groups As String(),
fileNames As String()
) As OperateResult
public delegate OperateResult^ FileOperateVerificationDelegate(
MqttSession^ session,
unsigned char code,
array<String^>^ groups,
array<String^>^ fileNames
)
type FileOperateVerificationDelegate =
delegate of
session : MqttSession *
code : byte *
groups : string[] *
fileNames : string[] -> OperateResult
参数
- session
- 类型:HslCommunication.MQTTMqttSession
会话状态 - code
- 类型:SystemByte
操作码 - groups
- 类型:SystemString
分类信息 - fileNames
- 类型:SystemString
文件名
返回值
类型:
OperateResult是否成功
参见