From 410219d08abdb859315c4d6d0e0375287d64a88b Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Sat, 19 Mar 2011 14:12:44 +0000 Subject: Converted protocol to JSON. Now passes its first ever unit test\! --- src/uk/org/ury/server/protocol/Status.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/uk/org/ury/server/protocol/Status.java (limited to 'src/uk/org/ury/server/protocol/Status.java') 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 + } -- cgit v1.2.3