From df7d7981b56a4560c95ea7e9b194080e93398ecf Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Mon, 21 Mar 2011 21:54:31 +0000 Subject: GREAT PACKAGE RESHUFFLE: Everything is now organised into frontend, backend and common (to frontend and backend) packages. Things may have been broken. Doc refresh. --- src/uk/org/ury/common/protocol/Directive.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/uk/org/ury/common/protocol/Directive.java (limited to 'src/uk/org/ury/common/protocol/Directive.java') 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 + } -- cgit v1.2.3