修改新版协议主机 协议触发的机制,新增 缓存机制
This commit is contained in:
@@ -278,7 +278,7 @@ namespace RCUHost.Implement
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
logger.Error("发送:"+ex.Message);
|
||||
logger.Error("发送:" + ex.Message);
|
||||
logger.Error(ex.StackTrace);
|
||||
}
|
||||
}
|
||||
@@ -304,6 +304,10 @@ namespace RCUHost.Implement
|
||||
HostServer.SendAndPushCommandQueue(data, ipAndPort.ToString().Split(':')[0], Convert.ToInt32(ipAndPort.ToString().Split(':')[1]));
|
||||
}
|
||||
}
|
||||
protected void SendAndPushCommandQueueWithEndPoint(byte[] data, IPEndPoint endpoint)
|
||||
{
|
||||
HostServer.SendAndPushCommandQueue(data, endpoint);
|
||||
}
|
||||
/// <summary>
|
||||
/// 回复下位机命令
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user