Changeset 5 for src/main/java/geniusweb/runserver/RunningNego.java
- Timestamp:
- 09/25/19 16:49:11 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/geniusweb/runserver/RunningNego.java
r1 r5 36 36 37 37 /** 38 * Create new session wth unique ID. 38 * Create new session wth unique ID. You should call {@link #start()} to 39 * actually start this. 39 40 * 40 41 * @param settings the settings to use for this session … … 48 49 Reporter logger) { 49 50 this.log = logger; 50 protocol = settings.getProtocol(logger);51 this.protocol = settings.getProtocol(logger); 51 52 this.sessionid = "" + protocol.getRef().getURI() + (negoNr++); 52 53 this.repo = repo; 54 } 55 56 public void start() { 53 57 System.out.println("new session. logging to " + logdir); 58 repo.put(this); 54 59 protocol.addListener(evt -> handle(evt)); 55 protocol.start(new PartyConnectionFactory(log ger));60 protocol.start(new PartyConnectionFactory(log)); 56 61 } 57 62
Note:
See TracChangeset
for help on using the changeset viewer.