aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/common/protocol/Directive.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/uk/org/ury/common/protocol/Directive.java')
-rw-r--r--src/uk/org/ury/common/protocol/Directive.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/uk/org/ury/common/protocol/Directive.java b/src/uk/org/ury/common/protocol/Directive.java
new file mode 100644
index 0000000..e1edd98
--- /dev/null
+++ b/src/uk/org/ury/common/protocol/Directive.java
@@ -0,0 +1,18 @@
+/**
+ *
+ */
+package uk.org.ury.common.protocol;
+
+/**
+ * Directives supported by the protocol.
+ *
+ * @author Matt Windsor
+ */
+
+public enum Directive
+ {
+ INFO, // Information string (can usually be ignored)
+ ITEMS, // Item
+ STATUS, // Status code (from the enum Status)
+ REASON; // Error reason
+ }