aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/server/protocol/Status.java
diff options
context:
space:
mode:
authorMatt Windsor <mattwindsor@btinternet.com>2011-03-19 14:12:44 +0000
committerMatt Windsor <mattwindsor@btinternet.com>2011-03-19 14:12:44 +0000
commit410219d08abdb859315c4d6d0e0375287d64a88b (patch)
tree3d4610f6cc671147a0aec7bca573a38d6c98b58e /src/uk/org/ury/server/protocol/Status.java
parent2efb758e7c2bd85801c76305161d9d8fa6d2be4b (diff)
Converted protocol to JSON. Now passes its first ever unit test\!
Diffstat (limited to 'src/uk/org/ury/server/protocol/Status.java')
-rw-r--r--src/uk/org/ury/server/protocol/Status.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/uk/org/ury/server/protocol/Status.java b/src/uk/org/ury/server/protocol/Status.java
new file mode 100644
index 0000000..c9d848d
--- /dev/null
+++ b/src/uk/org/ury/server/protocol/Status.java
@@ -0,0 +1,17 @@
+/**
+ *
+ */
+package uk.org.ury.server.protocol;
+
+
+/**
+ * Statuses that can follow the STATUS directory.
+ *
+ * @author Matt Windsor
+ */
+
+public enum Status
+ {
+ OK, // The request was processed OK; response should be valid
+ ERROR // An error occurred; message provided as REASON directive
+ }