mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-21 23:42:45 +01:00
17 lines
883 B
C#
17 lines
883 B
C#
using Phantom.Common.Data.Replies;
|
|
using Phantom.Common.Messages.BiDirectional;
|
|
using Phantom.Common.Messages.ToAgent;
|
|
using Phantom.Utils.Rpc.Message;
|
|
|
|
namespace Phantom.Common.Messages;
|
|
|
|
public interface IMessageToAgentListener {
|
|
Task<NoReply> HandleRegisterAgentSuccess(RegisterAgentSuccessMessage message);
|
|
Task<NoReply> HandleRegisterAgentFailure(RegisterAgentFailureMessage message);
|
|
Task<InstanceActionResult<ConfigureInstanceResult>> HandleConfigureInstance(ConfigureInstanceMessage message);
|
|
Task<InstanceActionResult<LaunchInstanceResult>> HandleLaunchInstance(LaunchInstanceMessage message);
|
|
Task<InstanceActionResult<StopInstanceResult>> HandleStopInstance(StopInstanceMessage message);
|
|
Task<InstanceActionResult<SendCommandToInstanceResult>> HandleSendCommandToInstance(SendCommandToInstanceMessage message);
|
|
Task<NoReply> HandleReply(ReplyMessage message);
|
|
}
|