class AppContext implements Serializable {

    public void setMasterPeerPort(Integer masterPeerPort) {
        Util.check(masterPeerPort>0, "masterPeerPort negative");
        this.masterPeerPort = masterPeerPort;
    }

}