|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DHTProperties
This interface allows to implement all the own properties of configuration of a generic DHT application layer. It establishes a single relationship, through the method init(), so that their values are initialized. For this reason, cast will have to be made in each place where it is necessary, to the concrete implementation.
Method Summary | |
---|---|
void |
init(java.lang.String propertiesFile)
Initialize correctly the generic DHT configuration properties. |
java.lang.String |
typeToString(int type)
Returns a String representation of the constant specific values of type and mode of the RouteMessage. |
Method Detail |
---|
void init(java.lang.String propertiesFile) throws InitializationException
propertiesFile
- File with all configuration properties of the concrete
DHT. This file must follow java.util.Properties scheme.
InitializationException
- if an error occurs during the initialization
of the different properties.java.lang.String typeToString(int type)
type
- Value to get its String representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |