final int NB_HEART_DECONNECT = 3;
// attribute
private int heartTime; // frequency of heartBeat
- private int port = 1098; // par la suite, donner par fichier de conf
+ private int port = 1099; // par la suite, donner par fichier de conf
private int timeBeforeKill; // wait for 3 non response of heartBeat to kill
// the Daemon
String protocol;
// create his list of SuperNode
// containing the IPs and ports
// but not already the stubs
+ if (System.getSecurityManager() == null) {
+ System.setSecurityManager(new SecurityManager());
+ }
+
+
SuperNodeListe.Instance().staticInitialization();
HeartBeatSNode.Instance().setHeartTime(heartTime);