dist1.acb.common
Class Constant

java.lang.Object
  extended bydist1.acb.common.Constant

public final class Constant
extends java.lang.Object

Class with system constants

Version:
$Revision: 1.39 $
Author:
Alexander Stasiv

Field Summary
static java.lang.String ACBCERT_NAME
          Name of the file for the public key of the system (the certificate is inside also)
static java.lang.String ACBPOINT_APP_DIR
          Subdirectory for ACBpoint
static java.lang.String ACBPOINT_DATA_DOWNLOADING
          File for storing shared/published data for the peer
static java.lang.String ACBPOINT_DATA_PUBLISHING
          File for storing shared/published data for the peer
static int ACBPOINT_DOWNLOADING_SEGMENT_SIZE
          Segment size for downloading
static int ACBPOINT_PROVIDER_PORT_DEFAULT
          ACBpoint's port for downloading
static int ACBPOINT_REQUESTS_BACKUP_LIMIT_DEFAULT
          Default limit of requests in backup buffer
static java.lang.String ADMIN_PASSWORD_DEFAULT
          Default password of 'default' administrator
static java.lang.String CBL_ACBKEY_NAME
          Name of the file for the private key of the system (CBL servers use it) (the public key with the certificate are inside also)
static java.lang.String CBL_APP_DIR
          Subdirectory for CBL
static int CBL_AUTOMANAGER_PERIOD_DEFAULT
          Default period for the Automanager
static int CBL_CC_REFRESH_TIME
          Time in miliseconds, in order CBLcc to refresh both of the tables
static java.lang.String CBL_COMMISSION_DEFAULT
          Default commission
static java.lang.String CBL_DATABASE_NAME_DEFAULT
          Default name of the database for a CBL
static java.lang.String CBL_DATABASE_SNAPSHOT_PATH_DEFAULT
          Default snapshot path for the database for a CBL
static java.lang.String CBL_DATABASE_URL_DEFAULT
          Default URL of the DBMS for a CBL
static java.lang.String CBL_DBMS_DATABASE_NAME_DEFAULT
          Default name of the DBMS database
static java.lang.String CBL_DBSCRIPT_NAME
          Script name for creating the database for a CBL
static int CBL_HOT_JOIN_GET_REPLICAS_TIMEOUT_DEFAULT
          Default timeout in ms for executing the Hot Join protocol
static int CBL_HOT_JOIN_TIMEOUT_DEFAULT
          Default timeout in ms for executing the Hot Join protocol
static java.lang.String CBL_JDBC_DRIVER_DEFAULT
          Default JDBC driver for connectiong to the database for a CBL
static int CBL_REPLICAS_BACKUP_LIMIT_DEFAULT
          Default limit of replicas in backup buffer
static int CBL_REPLICAS_REQUEST_INTERVAL_DEFAULT
          Default time in ms of requesting replicas
static int CBL_SERVER_TRANSITIVE_TIMEOUT_DEFAULT
          Default timeout in ms before reporting transitive state of a CBL server
static int CBL_SOCKET_PORT_ADMIN_DEFAULT
          Default port number on a CBL for incoming connections from nodes CBLcc
static int CBL_SOCKET_PORT_CLIENT_DEFAULT
          Default port number on a CBL for incoming connections from nodes ACBpoint
static int CBL_SOCKET_PORT_PB_CONTROL_DEFAULT
          Default port number on a CBL for control communications
static int CBL_SOCKET_PORT_PB_TRANSLATER_DEFAULT
          Default port number on a CBL which is the Primary for control communications
static int CBL_USER_LIFETIME_DEFAULT
          Default lifetime of a user
static java.lang.String CBLCC_APP_DIR
          Subdirectory for CBLcc
static int CONNECTION_TIMEOUT_DEFAULT
          Default timeout in ms while connecting to a remote side
static java.lang.String RESOURCES_PATH
          Path to application resources (may be applied to a jar or to a file system)
static char[] STORE_PASSWORD
          The password for KeyStore in order to manipulate keys
static java.lang.String SYS_DIR
          ACB system directory
static java.lang.String ZKDATA_NAME
          Name of the file for the prime and generator Zero Knowledge algorithm
 
Constructor Summary
Constant()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYS_DIR

public static final java.lang.String SYS_DIR
ACB system directory

See Also:
Constant Field Values

ACBPOINT_DOWNLOADING_SEGMENT_SIZE

public static final int ACBPOINT_DOWNLOADING_SEGMENT_SIZE
Segment size for downloading

See Also:
Constant Field Values

CBL_APP_DIR

public static java.lang.String CBL_APP_DIR
Subdirectory for CBL


ADMIN_PASSWORD_DEFAULT

public static final java.lang.String ADMIN_PASSWORD_DEFAULT
Default password of 'default' administrator

See Also:
Constant Field Values

CBL_COMMISSION_DEFAULT

public static final java.lang.String CBL_COMMISSION_DEFAULT
Default commission

See Also:
Constant Field Values

CBL_SERVER_TRANSITIVE_TIMEOUT_DEFAULT

public static int CBL_SERVER_TRANSITIVE_TIMEOUT_DEFAULT
Default timeout in ms before reporting transitive state of a CBL server


CONNECTION_TIMEOUT_DEFAULT

public static int CONNECTION_TIMEOUT_DEFAULT
Default timeout in ms while connecting to a remote side


CBL_HOT_JOIN_TIMEOUT_DEFAULT

public static int CBL_HOT_JOIN_TIMEOUT_DEFAULT
Default timeout in ms for executing the Hot Join protocol


CBL_HOT_JOIN_GET_REPLICAS_TIMEOUT_DEFAULT

public static int CBL_HOT_JOIN_GET_REPLICAS_TIMEOUT_DEFAULT
Default timeout in ms for executing the Hot Join protocol


CBL_SOCKET_PORT_CLIENT_DEFAULT

public static final int CBL_SOCKET_PORT_CLIENT_DEFAULT
Default port number on a CBL for incoming connections from nodes ACBpoint

See Also:
Constant Field Values

CBL_CC_REFRESH_TIME

public static final int CBL_CC_REFRESH_TIME
Time in miliseconds, in order CBLcc to refresh both of the tables

See Also:
Constant Field Values

CBL_SOCKET_PORT_ADMIN_DEFAULT

public static final int CBL_SOCKET_PORT_ADMIN_DEFAULT
Default port number on a CBL for incoming connections from nodes CBLcc

See Also:
Constant Field Values

CBL_DATABASE_URL_DEFAULT

public static final java.lang.String CBL_DATABASE_URL_DEFAULT
Default URL of the DBMS for a CBL

See Also:
Constant Field Values

CBL_DATABASE_NAME_DEFAULT

public static final java.lang.String CBL_DATABASE_NAME_DEFAULT
Default name of the database for a CBL

See Also:
Constant Field Values

CBL_DBMS_DATABASE_NAME_DEFAULT

public static final java.lang.String CBL_DBMS_DATABASE_NAME_DEFAULT
Default name of the DBMS database

See Also:
Constant Field Values

CBL_DATABASE_SNAPSHOT_PATH_DEFAULT

public static final java.lang.String CBL_DATABASE_SNAPSHOT_PATH_DEFAULT
Default snapshot path for the database for a CBL

See Also:
Constant Field Values

CBL_DBSCRIPT_NAME

public static final java.lang.String CBL_DBSCRIPT_NAME
Script name for creating the database for a CBL

See Also:
Constant Field Values

CBL_JDBC_DRIVER_DEFAULT

public static final java.lang.String CBL_JDBC_DRIVER_DEFAULT
Default JDBC driver for connectiong to the database for a CBL

See Also:
Constant Field Values

ACBPOINT_APP_DIR

public static final java.lang.String ACBPOINT_APP_DIR
Subdirectory for ACBpoint

See Also:
Constant Field Values

CBLCC_APP_DIR

public static final java.lang.String CBLCC_APP_DIR
Subdirectory for CBLcc

See Also:
Constant Field Values

CBL_SOCKET_PORT_PB_CONTROL_DEFAULT

public static final int CBL_SOCKET_PORT_PB_CONTROL_DEFAULT
Default port number on a CBL for control communications

See Also:
Constant Field Values

CBL_SOCKET_PORT_PB_TRANSLATER_DEFAULT

public static final int CBL_SOCKET_PORT_PB_TRANSLATER_DEFAULT
Default port number on a CBL which is the Primary for control communications

See Also:
Constant Field Values

CBL_REPLICAS_BACKUP_LIMIT_DEFAULT

public static final int CBL_REPLICAS_BACKUP_LIMIT_DEFAULT
Default limit of replicas in backup buffer

See Also:
Constant Field Values

CBL_REPLICAS_REQUEST_INTERVAL_DEFAULT

public static final int CBL_REPLICAS_REQUEST_INTERVAL_DEFAULT
Default time in ms of requesting replicas

See Also:
Constant Field Values

STORE_PASSWORD

public static final char[] STORE_PASSWORD
The password for KeyStore in order to manipulate keys


ACBPOINT_DATA_PUBLISHING

public static final java.lang.String ACBPOINT_DATA_PUBLISHING
File for storing shared/published data for the peer

See Also:
Constant Field Values

ACBPOINT_REQUESTS_BACKUP_LIMIT_DEFAULT

public static final int ACBPOINT_REQUESTS_BACKUP_LIMIT_DEFAULT
Default limit of requests in backup buffer

See Also:
Constant Field Values

ACBPOINT_DATA_DOWNLOADING

public static final java.lang.String ACBPOINT_DATA_DOWNLOADING
File for storing shared/published data for the peer

See Also:
Constant Field Values

RESOURCES_PATH

public static final java.lang.String RESOURCES_PATH
Path to application resources (may be applied to a jar or to a file system)

See Also:
Constant Field Values

CBL_ACBKEY_NAME

public static final java.lang.String CBL_ACBKEY_NAME
Name of the file for the private key of the system (CBL servers use it) (the public key with the certificate are inside also)

See Also:
Constant Field Values

ACBCERT_NAME

public static final java.lang.String ACBCERT_NAME
Name of the file for the public key of the system (the certificate is inside also)

See Also:
Constant Field Values

ZKDATA_NAME

public static final java.lang.String ZKDATA_NAME
Name of the file for the prime and generator Zero Knowledge algorithm

See Also:
Constant Field Values

ACBPOINT_PROVIDER_PORT_DEFAULT

public static final int ACBPOINT_PROVIDER_PORT_DEFAULT
ACBpoint's port for downloading

See Also:
Constant Field Values

CBL_AUTOMANAGER_PERIOD_DEFAULT

public static final int CBL_AUTOMANAGER_PERIOD_DEFAULT
Default period for the Automanager

See Also:
Constant Field Values

CBL_USER_LIFETIME_DEFAULT

public static final int CBL_USER_LIFETIME_DEFAULT
Default lifetime of a user

See Also:
Constant Field Values
Constructor Detail

Constant

public Constant()


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.