Source code: Freenet/Parameters.java
1 package Freenet;
2 /*
3 This code is part of the Java Adaptive Network Client by Ian Clarke.
4 It is distributed under the GNU Public Licence (GPL) version 2. See
5 http://www.gnu.org/ for further details of the GPL.
6 */
7
8 /**
9 * This class holds all static parameters within FreeNet
10 *
11 * @author <A HREF="mailto:I.Clarke@strs.co.uk">Ian Clarke</A>
12 **/
13
14 public class Parameters
15 {
16 // Public Fields
17 /** The port that is listened to for incoming connections **/
18 public static int port;
19 /** The maximum amount of data permitted in bytes **/
20 public static long dataLength;
21 /** The total number of references/data permitted in the DataStore **/
22 public static int dataStoreSize;
23 /** The number of message objects that can be stored **/
24 public static int messageObjects;
25 }