bootstrapP
Class BootstrapCore

java.lang.Object
  extended by bootstrapP.BootstrapCore

public class BootstrapCore
extends java.lang.Object

The main class of the Bootstrap Server, witch starts the services.

Author:
Marco Cornolti

Field Summary
protected static BackupperInterface mainBackupper
           
private static java.util.Date upTime
           
 
Constructor Summary
BootstrapCore()
           
 
Method Summary
static long getUpTime()
          Get the the time the server has started by.
static void main(java.lang.String[] args)
          The main method to launch the Bootstrap Server, activating all the threads, publishing the rmi services, and restoring the data from the filename previousely used as backup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

upTime

private static java.util.Date upTime

mainBackupper

protected static BackupperInterface mainBackupper
Constructor Detail

BootstrapCore

public BootstrapCore()
Method Detail

main

public static void main(java.lang.String[] args)
The main method to launch the Bootstrap Server, activating all the threads, publishing the rmi services, and restoring the data from the filename previousely used as backup.

Parameters:
args - the arguments.

getUpTime

public static long getUpTime()
Get the the time the server has started by.

Returns:
the time in milliseconds the server has started by.