summaryrefslogtreecommitdiff
path: root/DSALib/Models/Network/CommandResponse.cs
diff options
context:
space:
mode:
authoruzvkl <dennis.kobert@student.kit.edu>2019-06-11 23:05:52 +0200
committeruzvkl <dennis.kobert@student.kit.edu>2019-06-11 23:05:52 +0200
commite6181c24124d97f2fbc932b8a68311e625463156 (patch)
treec1f097c344ca266b7941c9668590b0fd35c7870a /DSALib/Models/Network/CommandResponse.cs
parent2490ad5d31fe2ac778ff9303776f0e91f47a2862 (diff)
Move dsa related stuff to subfolder
Diffstat (limited to 'DSALib/Models/Network/CommandResponse.cs')
-rw-r--r--DSALib/Models/Network/CommandResponse.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/DSALib/Models/Network/CommandResponse.cs b/DSALib/Models/Network/CommandResponse.cs
deleted file mode 100644
index 0816e4a..0000000
--- a/DSALib/Models/Network/CommandResponse.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using System;
-
-namespace DSALib.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