From 566d17f731637df6828bdf32502a0fb123882dbe Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 9 Oct 2003 11:41:45 +0000 Subject: Initial import --- .../fancydress/type3/routing/RoutingType.java | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/org/noreply/fancydress/type3/routing/RoutingType.java (limited to 'src/org/noreply/fancydress/type3/routing/RoutingType.java') 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; + } +} -- cgit v1.2.3