diff options
author | Peter Palfrader <peter@palfrader.org> | 2003-10-09 11:41:45 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2003-10-09 11:41:45 +0000 |
commit | 566d17f731637df6828bdf32502a0fb123882dbe (patch) | |
tree | fc09fdfb90953134fa1d25f73367307502348a22 /src/org/noreply/fancydress/type3/routing/RoutingType.java | |
parent | 018eea460ee32df1b70c40c2eca05f06c06daca5 (diff) |
Initial import
Diffstat (limited to 'src/org/noreply/fancydress/type3/routing/RoutingType.java')
-rw-r--r-- | src/org/noreply/fancydress/type3/routing/RoutingType.java | 32 |
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; + } +} |