CommunicationServerPipeMessageReceived 委托 |
接收管道消息的事件
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public delegate void PipeMessageReceived(
PipeSession session,
byte[] buffer
)
Public Delegate Sub PipeMessageReceived (
session As PipeSession,
buffer As Byte()
)
public delegate void PipeMessageReceived(
PipeSession^ session,
array<unsigned char>^ buffer
)
type PipeMessageReceived =
delegate of
session : PipeSession *
buffer : byte[] -> unit
参数
- session
- 类型:HslCommunication.Core.NetPipeSession
管道的会话,可能是TCP管道,可能是UDP管道,可能是串口管道 - buffer
- 类型:SystemByte
接收到的数据信息
参见