class ServerViewController extends ViewController {

	@Override
	public final void reconfigureTo(View newView) {
		this.currentView = newView;
		getViewStore().storeView(this.currentView);
		if (newView.isMember(getStaticConf().getProcessId())) {
			// membro da view atual
			otherProcesses = new int[currentView.getProcesses().length - 1];
			int c = 0;
			for (int i = 0; i < currentView.getProcesses().length; i++) {
				if (currentView.getProcesses()[i] != getStaticConf().getProcessId()) {
					otherProcesses[c++] = currentView.getProcesses()[i];
				}
			}

			this.quorumBFT = (int) Math.ceil((this.currentView.getN() + this.currentView.getF()) / 2);
			this.quorumCFT = (int) Math.ceil(this.currentView.getN() / 2);
		} else if (this.currentView != null && this.currentView.isMember(getStaticConf().getProcessId())) {
			// TODO: Left the system in newView -> LEAVE
			// CODE for LEAVE
		} else {
			// TODO: Didn't enter the system yet

		}
	}

	public  ServerViewController(int procId);
	public  ServerViewController(int procId, String configHome);

}