summaryrefslogtreecommitdiff
path: root/src/org/noreply/fancydress/type3/routing/RoutingType.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/noreply/fancydress/type3/routing/RoutingType.java')
-rw-r--r--src/org/noreply/fancydress/type3/routing/RoutingType.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/org/noreply/fancydress/type3/routing/RoutingType.java b/src/org/noreply/fancydress/type3/routing/RoutingType.java
new file mode 100644
index 0000000..daf3281
--- /dev/null
+++ b/src/org/noreply/fancydress/type3/routing/RoutingType.java
@@ -0,0 +1,32 @@
+package org.noreply.fancydress.type3.routing;
+
+import org.noreply.fancydress.misc.Util;
+import org.noreply.fancydress.crypto.*;
+import org.noreply.fancydress.status.*;
+import java.util.*;
+
+/**
+ * RoutingTypes as specified in the type III spec.
+ */
+public class RoutingType {
+ public static final int DROP = 0x0000;
+ public static final int FWD_IP4 = 0x0001;
+ public static final int SWAP_FWD_IP4 = 0x0002;
+ public static final int FWD_HOST = 0x0003;
+ public static final int SWAP_FWD_HOST = 0x0004;
+
+ public static final int SMTP = 0x0100;
+ public static final int MBOX = 0x0101;
+ public static final int MIX2 = 0x0102;
+ public static final int FRAGMENT = 0x0103;
+
+ private int type;
+
+ public RoutingType(int type) {
+ this.type = type;
+ }
+
+ public int getType() {
+ return type;
+ }
+}