21 lines
819 B
C#
21 lines
819 B
C#
using ShrinkNetwork;
|
|
|
|
namespace ShrinkCommand.Integration
|
|
{
|
|
[ShrinkNetworkMessage(1501, ShrinkNetworkCommandBridge.ExecuteRoute)]
|
|
public sealed class ShrinkNetworkCommandRequest : IShrinkNetworkRequest
|
|
{
|
|
public string ServiceName { get; set; } = ShrinkCommandConstants.DefaultServiceName;
|
|
public string CommandLine { get; set; } = string.Empty;
|
|
public string ClientLabel { get; set; } = string.Empty;
|
|
}
|
|
|
|
[ShrinkNetworkMessage(1502, "command/execute_response")]
|
|
public sealed class ShrinkNetworkCommandResponse : ShrinkRpcResponseBase
|
|
{
|
|
public string ServiceName { get; set; } = ShrinkCommandConstants.DefaultServiceName;
|
|
public string CommandLine { get; set; } = string.Empty;
|
|
public string OutputMessage { get; set; } = string.Empty;
|
|
}
|
|
}
|