summaryrefslogtreecommitdiff
path: root/src/org/noreply/fancydress/type3/routing/RoutingType.java
blob: ae40de624fbf9524ea9b3878abb1d2fb65f385b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* $Id$ */
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;
	}
}