public DTODistributionActionResult TakeDistributionAction(DTODistributionAction distributionAction) { Logger.Add(LogType.Verbose, $"TakeDistributionAction call received: action = {distributionAction.Type}," + $" {distributionAction.SourceMachineHostName} / {distributionAction.GroupID} / {distributionAction.ApplicationID} / {distributionAction.DestinationMachineHostName}"); ConnectedClient client = GetClient(); if (client == null) { return(null); } DistributionActionResult distributionActionResult = ProcessManager.Instance.TakeDistributionAction( distributionAction.SourceMachineHostName, distributionAction.GroupID, distributionAction.ApplicationID, distributionAction.DestinationMachineHostName, distributionAction.Type, client.Id); return(new DTODistributionActionResult(distributionActionResult)); }
public DTODistributionActionResult TakeDistributionAction(DTODistributionAction distributionAction) { return(Channel.TakeDistributionAction(distributionAction)); }