aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/common/protocol/Status.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/uk/org/ury/common/protocol/Status.java')
-rw-r--r--src/uk/org/ury/common/protocol/Status.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/uk/org/ury/common/protocol/Status.java b/src/uk/org/ury/common/protocol/Status.java
new file mode 100644
index 0000000..b424fc9
--- /dev/null
+++ b/src/uk/org/ury/common/protocol/Status.java
@@ -0,0 +1,17 @@
+/**
+ *
+ */
+package uk.org.ury.common.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
+ }