anon.infoservice
Class Constants

java.lang.Object
  extended by anon.infoservice.Constants

public final class Constants
extends java.lang.Object


Field Summary
static long ANNOUNCE_PERIOD
           
static java.lang.String CERT_JAPINFOSERVICEMESSAGES
           
static java.lang.String CERTSPATH
           
static int COMMUNICATION_TIMEOUT
          This is the general timeout for the Infoservice socket communication (milli seconds).
static java.lang.String DEFAULT_RESSOURCE_FILENAME
           
static java.lang.String DYNAMIC_CONFIGURATION_FILENAME
           
static int FORWARDING_SERVER_VERIFY_TIMEOUT
          This is the timeout in seconds for verifying a JAP forwarding server (contacting the server and getting the acknowledgement, that it is a JAP forwarder).
static java.lang.String INFOSERVICE_VERSION
          This is the version number of the infoservice software.
static java.util.Locale LOCAL_FORMAT
          We use this for display some values in the local format.
static int MAX_CASCADE_LENGTH
          Minium and maximum length of dynamically build cascades
static int MAX_NR_OF_CONCURRENT_CONNECTIONS
           
static int MAX_REQUEST_HEADER_SIZE
           
static int MIN_CASCADE_LENGTH
           
static int REQUEST_METHOD_GET
           
static int REQUEST_METHOD_HEAD
           
static int REQUEST_METHOD_POST
           
static int REQUEST_METHOD_UNKNOWN
           
static long TIMEOUT_INFOSERVICE
          The standard timeout for infoservice database entries in an infoservice.
static long TIMEOUT_INFOSERVICE_JAP
          The standard timeout for infoservice database entries in a JAP client.
static long TIMEOUT_JAP_FORWARDERS
          The timeout for all entries in the database of JAP forwarders.
static long TIMEOUT_MIX
           
static long TIMEOUT_MIXCASCADE
           
static long TIMEOUT_PAYMENT_INSTANCE
           
static long TIMEOUT_STATUS
           
static long TIMEOUT_TEMPORARY_CASCADE
           
static long UPDATE_INFORMATION_ANNOUNCE_PERIOD
           
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RESSOURCE_FILENAME

public static final java.lang.String DEFAULT_RESSOURCE_FILENAME
See Also:
Constant Field Values

CERTSPATH

public static final java.lang.String CERTSPATH
See Also:
Constant Field Values

CERT_JAPINFOSERVICEMESSAGES

public static final java.lang.String CERT_JAPINFOSERVICEMESSAGES
See Also:
Constant Field Values

MAX_REQUEST_HEADER_SIZE

public static final int MAX_REQUEST_HEADER_SIZE
See Also:
Constant Field Values

REQUEST_METHOD_UNKNOWN

public static final int REQUEST_METHOD_UNKNOWN
See Also:
Constant Field Values

REQUEST_METHOD_GET

public static final int REQUEST_METHOD_GET
See Also:
Constant Field Values

REQUEST_METHOD_POST

public static final int REQUEST_METHOD_POST
See Also:
Constant Field Values

REQUEST_METHOD_HEAD

public static final int REQUEST_METHOD_HEAD
See Also:
Constant Field Values

MAX_NR_OF_CONCURRENT_CONNECTIONS

public static final int MAX_NR_OF_CONCURRENT_CONNECTIONS
See Also:
Constant Field Values

TIMEOUT_INFOSERVICE_JAP

public static final long TIMEOUT_INFOSERVICE_JAP
The standard timeout for infoservice database entries in a JAP client. This should be an infinite timeout (1000 years should be infinite enough).

See Also:
Constant Field Values

TIMEOUT_INFOSERVICE

public static final long TIMEOUT_INFOSERVICE
The standard timeout for infoservice database entries in an infoservice.

See Also:
Constant Field Values

TIMEOUT_MIX

public static final long TIMEOUT_MIX
See Also:
Constant Field Values

TIMEOUT_MIXCASCADE

public static final long TIMEOUT_MIXCASCADE
See Also:
Constant Field Values

TIMEOUT_STATUS

public static final long TIMEOUT_STATUS
See Also:
Constant Field Values

TIMEOUT_PAYMENT_INSTANCE

public static final long TIMEOUT_PAYMENT_INSTANCE
See Also:
Constant Field Values

TIMEOUT_TEMPORARY_CASCADE

public static final long TIMEOUT_TEMPORARY_CASCADE
See Also:
Constant Field Values

MAX_CASCADE_LENGTH

public static final int MAX_CASCADE_LENGTH
Minium and maximum length of dynamically build cascades

See Also:
Constant Field Values

MIN_CASCADE_LENGTH

public static final int MIN_CASCADE_LENGTH
See Also:
Constant Field Values

TIMEOUT_JAP_FORWARDERS

public static final long TIMEOUT_JAP_FORWARDERS
The timeout for all entries in the database of JAP forwarders. If we don't get a new update message from the forwarder within that time, it is removed from the database. The default is 15 minutes, so there is no problem, if the forwarder updates the entry every 10 minutes.

See Also:
Constant Field Values

FORWARDING_SERVER_VERIFY_TIMEOUT

public static final int FORWARDING_SERVER_VERIFY_TIMEOUT
This is the timeout in seconds for verifying a JAP forwarding server (contacting the server and getting the acknowledgement, that it is a JAP forwarder). If we can't get the verification within that time, the JAP forwarding server is declared as invalid.

See Also:
Constant Field Values

COMMUNICATION_TIMEOUT

public static final int COMMUNICATION_TIMEOUT
This is the general timeout for the Infoservice socket communication (milli seconds).

See Also:
Constant Field Values

ANNOUNCE_PERIOD

public static final long ANNOUNCE_PERIOD
See Also:
Constant Field Values

UPDATE_INFORMATION_ANNOUNCE_PERIOD

public static final long UPDATE_INFORMATION_ANNOUNCE_PERIOD
See Also:
Constant Field Values

LOCAL_FORMAT

public static final java.util.Locale LOCAL_FORMAT
We use this for display some values in the local format.


INFOSERVICE_VERSION

public static final java.lang.String INFOSERVICE_VERSION
This is the version number of the infoservice software.

See Also:
Constant Field Values

DYNAMIC_CONFIGURATION_FILENAME

public static final java.lang.String DYNAMIC_CONFIGURATION_FILENAME
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()