src/com/vehiclerental/Main.java
/**
     * Start the branch node with the cluster communication listener
     * @throws Exception
     */
Start the branch node with the cluster communication listener
@throws Exception
Start the branch node with the cluster communication listener @throws Exception
private static void handleBranchNode() throws Exception {
        NodeConfiguration.Current.branchOfficeManager = new BranchOfficeManager();
        NodeConfiguration.Current.branchOfficeManager.start();
        String processorName = MPI.getProcessorName();
        NodeConfiguration.Current.mpiNodeManager.finalizeNode();
        System.out.println(">>> Branch " + NodeConfiguration.Current.nodeBranch.getName() + " stopped on " + processorName);
    }
private static void handleBranchNode ( ) throws Exception { NodeConfiguration . Current . branchOfficeManager = new BranchOfficeManager ( ) ; NodeConfiguration . Current . branchOfficeManager . start ( ) ; String processorName = MPI . getProcessorName ( ) ; NodeConfiguration . Current . mpiNodeManager . finalizeNode ( ) ; System . out . println ( ">>> Branch " + NodeConfiguration . Current . nodeBranch . getName ( ) + " stopped on " + processorName ) ; }
Start the branch node with the cluster communication listener
 @throws Exception
Start the branch node with the cluster communication listener @throws Exception
//This will be called when the server is stopped