コード例 #1
0
 public void SendGetOperationResults(string loginName, Guid clientId, long afterTime)
 {
     if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty)
     {
         return;
     }
     _serverConnection.MqChannel.BasicPublish(
         exchange: MqKeyword.NTMinerExchange,
         routingKey: WsMqKeyword.GetOperationResultsRoutingKey,
         basicProperties: CreateBasicProperties(loginName, clientId),
         body: OperationMqBodyUtil.GetGetOperationResultsMqSendBody(afterTime));
 }