summaryrefslogtreecommitdiff
path: root/DSACore/Models/Network/CommandResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DSACore/Models/Network/CommandResponse.cs')
-rw-r--r--DSACore/Models/Network/CommandResponse.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/DSACore/Models/Network/CommandResponse.cs b/DSACore/Models/Network/CommandResponse.cs
deleted file mode 100644
index c7a410a..0000000
--- a/DSACore/Models/Network/CommandResponse.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-
-namespace DSACore.Models.Network
-{
- public class CommandResponse
- {
- public CommandResponse(string message, ResponseType responseType = ResponseType.Broadcast)
- {
- this.message = message ?? throw new ArgumentNullException(nameof(message));
- ResponseType = responseType;
- }
-
- public string message { get; }
- public ResponseType ResponseType { get; }
-
- public override string ToString()
- {
- return message;
- }
- }
-
- public enum ResponseType
- {
- Broadcast,
- Caller,
- Error
- }
-} \ No newline at end of file