dermi
Class Context

java.lang.Object
  extended by dermi.Context

public class Context
extends java.lang.Object

This class contains Dermi's constants, like connection timeouts, synchronous blocking delays, and String constants for the properties objects.

Author:
Carles Pairot , Pedro Garcia

Field Summary
static java.lang.String CLASS_ID
          CLASS_ID is the unique identifier assigned to an object server.
static java.lang.String CLASS_NAME
          The name of the constant containing the name of the Stub class for the properties reference
static java.lang.String CLASS_STORE
          The name of the constant containing the directory with loadable remote stubs
static int DELAY
          Default delay for synchronous calls
static java.lang.String DERMI_DOLR_CHILDREN
          DERMI_DOLR_CHILDREN refers to the name of the field containing children objects for any object
static java.lang.String DERMI_DOLR_NAMING
          DERMI_DOLR_NAMING represents the DERMI naming distributed object location and routing facility
static java.lang.String DERMI_DOLR_PARENT
          DERMI_DOLR_PARENT refers to the parent of an object (in the naming hierarchy)
static java.lang.String DERMI_DOLR_UNIQUE_URI
          DERMI_DOLR_UNIQUE_URI represents the object URI identifier associated to an object
static java.lang.String PROTOCOL
          Constant that holds the protocol used by Dermi to communicate between remote nodes
static java.lang.String PROVIDER_CLASS
          Constant that holds the name of the environment property for specifying configuration information for the class factory provider to use.
static java.lang.String PROVIDER_HOST
          Constant that holds the name of the environment property for specifying configuration information for the service provider to use.
static java.lang.String PROVIDER_PORT
          Constant that holds the name of the environment property for specifying configuration information for the port numberof the provider to use.
static int REPLICATION_FACTOR
          Number of replicas to use for PAST
static int RETRANSMISSIONS
          Number of event retransmissions in case all timeouts have been consumed
static int TIMEOUT
          Timeout constant.
 
Constructor Summary
Context()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT

public static int TIMEOUT
Timeout constant. All timeouts will be consumend once TIMEOUT*DELAY milliseconds have been elapsed


DELAY

public static int DELAY
Default delay for synchronous calls


RETRANSMISSIONS

public static int RETRANSMISSIONS
Number of event retransmissions in case all timeouts have been consumed


REPLICATION_FACTOR

public static int REPLICATION_FACTOR
Number of replicas to use for PAST


CLASS_STORE

public static final java.lang.String CLASS_STORE
The name of the constant containing the directory with loadable remote stubs

See Also:
Constant Field Values

CLASS_NAME

public static final java.lang.String CLASS_NAME
The name of the constant containing the name of the Stub class for the properties reference

See Also:
Constant Field Values

CLASS_ID

public static final java.lang.String CLASS_ID
CLASS_ID is the unique identifier assigned to an object server. It is used for all subscriptions related to this object

See Also:
Constant Field Values

DERMI_DOLR_NAMING

public static final java.lang.String DERMI_DOLR_NAMING
DERMI_DOLR_NAMING represents the DERMI naming distributed object location and routing facility

See Also:
Constant Field Values

DERMI_DOLR_UNIQUE_URI

public static final java.lang.String DERMI_DOLR_UNIQUE_URI
DERMI_DOLR_UNIQUE_URI represents the object URI identifier associated to an object

See Also:
Constant Field Values

DERMI_DOLR_CHILDREN

public static final java.lang.String DERMI_DOLR_CHILDREN
DERMI_DOLR_CHILDREN refers to the name of the field containing children objects for any object

See Also:
Constant Field Values

DERMI_DOLR_PARENT

public static final java.lang.String DERMI_DOLR_PARENT
DERMI_DOLR_PARENT refers to the parent of an object (in the naming hierarchy)

See Also:
Constant Field Values

PROVIDER_CLASS

public static final java.lang.String PROVIDER_CLASS
Constant that holds the name of the environment property for specifying configuration information for the class factory provider to use.

See Also:
Constant Field Values

PROVIDER_HOST

public static final java.lang.String PROVIDER_HOST
Constant that holds the name of the environment property for specifying configuration information for the service provider to use.

See Also:
Constant Field Values

PROVIDER_PORT

public static final java.lang.String PROVIDER_PORT
Constant that holds the name of the environment property for specifying configuration information for the port numberof the provider to use.

See Also:
Constant Field Values

PROTOCOL

public static final java.lang.String PROTOCOL
Constant that holds the protocol used by Dermi to communicate between remote nodes

See Also:
Constant Field Values
Constructor Detail

Context

public Context()