2022-10-12 22:06:18 -04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using SharedLibraryCore.Dtos;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces;
|
|
|
|
|
|
|
|
|
|
public interface IRemoteCommandService
|
|
|
|
|
{
|
|
|
|
|
Task<IEnumerable<CommandResponseInfo>> Execute(int originId, int? targetId, string command, IEnumerable<string> arguments, Server server);
|
2022-10-25 15:52:12 -04:00
|
|
|
|
Task<(bool, IEnumerable<CommandResponseInfo>)> ExecuteWithResult(int originId, int? targetId, string command, IEnumerable<string> arguments, Server server);
|
2022-10-12 22:06:18 -04:00
|
|
|
|
}
|