Ignore:
Timestamp:
09/25/19 16:49:11 (5 years ago)
Author:
bart
Message:

Fix consistency check LinearAdditiveUtilitySpace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/geniusweb/runserver/RunningNego.java

    r1 r5  
    3636
    3737        /**
    38          * Create new session wth unique ID.
     38         * Create new session wth unique ID. You should call {@link #start()} to
     39         * actually start this.
    3940         *
    4041         * @param settings the settings to use for this session
     
    4849                        Reporter logger) {
    4950                this.log = logger;
    50                 protocol = settings.getProtocol(logger);
     51                this.protocol = settings.getProtocol(logger);
    5152                this.sessionid = "" + protocol.getRef().getURI() + (negoNr++);
    5253                this.repo = repo;
     54        }
     55
     56        public void start() {
    5357                System.out.println("new session. logging to " + logdir);
     58                repo.put(this);
    5459                protocol.addListener(evt -> handle(evt));
    55                 protocol.start(new PartyConnectionFactory(logger));
     60                protocol.start(new PartyConnectionFactory(log));
    5661        }
    5762
Note: See TracChangeset for help on using the changeset viewer.