public void SendGpuProfilesJson(string loginName, Guid clientId, string json) { if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty) { return; } _mq.BasicPublish( routingKey: WsMqKeyword.GpuProfilesJsonRoutingKey, basicProperties: CreateBasicProperties(loginName, clientId), body: OperationMqBodyUtil.GetGpuProfilesJsonMqSendBody(json)); }
public void SendGpuProfilesJson(string loginName, Guid clientId, string json) { if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty) { return; } _serverConnection.MqChannel.BasicPublish( exchange: MqKeyword.NTMinerExchange, routingKey: WsMqKeyword.GpuProfilesJsonRoutingKey, basicProperties: CreateBasicProperties(loginName, clientId), body: OperationMqBodyUtil.GetGpuProfilesJsonMqSendBody(json)); }