|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object netcom.util.Props
Title: NETCOM Properties
Description: This Class holds global static variable for use by the different NETCOM components
Copyright: Copyright (c) 2002
Company: NETCOM
Field Summary | |
static boolean |
DEBUG
this determines if routing data is dumped to the screen |
static java.lang.String |
LOCAL_HOSTNAME
This is the local IP address... |
static int |
MAX_FAILURES
|
static int |
MDS_BLOOM_MAX_UDP_BYTES
This is a constant necessary for the internal working of the Bloom Search Algorithm It effects Datagram packet size |
static int |
MDS_BLOOM_PORT
This is the port a MDS Node listens for Bloom Datagram Packets **NOTE** This number actually uses 2 ports, so an input of 5005 will require locak sockets 5005 and 5006 to be available! |
static int |
MDS_FRIENDS_COUNT_THRESHOLD
This is the minimum number of "friends" an MDS Node will have before it polls to get more friends |
static int |
MDS_MAX_FRIENDS_COUNT
This is the number of friends an MDS Node will try to get when polling for new friends |
static int |
MDS_MDS_SERVER_PORT
This is the port which a MDS Node listens on for other MDS Nodes (friends) |
static int |
MDS_OUTSIDE_SERVER_PORT
This is the port which a MDS Node listens on for MDSProxy connections |
static boolean |
MDS_USE_BLOOM_SEARCH
This determines if the Bloom Search method is used. |
static java.lang.String |
NODE_NAME
This is the 'nice' name a user can give to a node |
static int |
PROXY_MDS_SERVER_PORT
This is the port which a MDSProxy listens to for MDS Node connections |
static int |
PROXY_OUTSIDE_SERVER_PORT
This is the port which a MDSProxy listens on for PClient or PServer Connections |
static int |
THREADPOOL_THREAD_COUNT
This is the number of threads to be placed in each threadpool |
static int |
TYPE_ALL
|
static int |
TYPE_MDS
|
static int |
TYPE_PCLIENT
|
static int |
TYPE_PROXY
|
static int |
TYPE_PSERVER
|
Constructor Summary | |
Props()
|
Method Summary | |
static boolean |
parseProperties(java.util.Properties defaults)
Static method which takes a java.util.Properties object and parses out any netcom.util.Properties values |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int MDS_FRIENDS_COUNT_THRESHOLD
public static int MDS_MAX_FRIENDS_COUNT
public static int MDS_OUTSIDE_SERVER_PORT
public static int MDS_MDS_SERVER_PORT
public static int MDS_BLOOM_PORT
public static int THREADPOOL_THREAD_COUNT
public static boolean MDS_USE_BLOOM_SEARCH
public static java.lang.String NODE_NAME
public static int PROXY_OUTSIDE_SERVER_PORT
public static int PROXY_MDS_SERVER_PORT
public static java.lang.String LOCAL_HOSTNAME
public static boolean DEBUG
public static int MDS_BLOOM_MAX_UDP_BYTES
public static final int TYPE_ALL
public static final int TYPE_MDS
public static final int TYPE_PROXY
public static final int TYPE_PCLIENT
public static final int TYPE_PSERVER
public static final int MAX_FAILURES
Constructor Detail |
public Props()
Method Detail |
public static boolean parseProperties(java.util.Properties defaults)
defaults
- input java.util.Properties object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |