SecsHsmsDecideWhetherQAMessage 方法 |
决定当前的消息是否是应答机制的消息内容,需要在客户端进行重写实现,如果是应答机制,返回 True, 否则返回 False
To determine whether the current message is the message content of the response mechanism,
it needs to be rewritten on the client side. If it is the response mechanism, return True, otherwise return False
命名空间:
HslCommunication.Secs
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected override bool DecideWhetherQAMessage(
Socket socket,
OperateResult<byte[]> receive
)
Protected Overrides Function DecideWhetherQAMessage (
socket As Socket,
receive As OperateResult(Of Byte())
) As Boolean
protected:
virtual bool DecideWhetherQAMessage(
Socket^ socket,
OperateResult<array<unsigned char>^>^ receive
) override
abstract DecideWhetherQAMessage :
socket : Socket *
receive : OperateResult<byte[]> -> bool
override DecideWhetherQAMessage :
socket : Socket *
receive : OperateResult<byte[]> -> bool
参数
- socket
- 类型:System.Net.SocketsSocket
通信使用的网络套接字 - receive
- 类型:HslCommunicationOperateResultByte
服务器返回的内容
返回值
类型:
Boolean是否应答机制的数据报文
参见