implement node addition and removal events
[jSite2.git] / src / net / pterodactylus / util / fcp / Priority.java
1 /**
2  * © 2008 INA Service GmbH
3  */
4 package net.pterodactylus.util.fcp;
5
6 /**
7  * The priority classes used by the Freenet node.
8  * 
9  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
10  * @version $Id$
11  */
12 public enum Priority {
13
14         /** Maximum priority. */
15         maximum,
16
17         /** Priority for interactive request, i.e. FProxy. */
18         interactive,
19
20         /** Priority for splitfile manifests. */
21         immediateSplitfile,
22
23         /** Priority for USK searches. */
24         update,
25
26         /** Priority for splitfile blocks. */
27         bulkSplitfile,
28
29         /** Priority for prefetching blocks. */
30         prefetch,
31
32         /** Minimum priority. */
33         minimum,
34
35         /** Unknown priority. */
36         unknown;
37
38         /**
39          * @see java.lang.Enum#toString()
40          */
41         @Override
42         public String toString() {
43                 return String.valueOf(ordinal());
44         }
45
46 }