This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user