File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
server/src/main/java/swim/tutorial Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,14 @@ void sendCommands() throws InterruptedException {
39
39
// *CommandLane* addressable by "publish" OF the
40
40
// *Web Agent* addressable by "/unit/master" RUNNING ON the
41
41
// *(Swim) server* addressable by hostUri
42
- this .ref .command (this .hostUri , "/unit/master1 " , "publish" , msg );
42
+ this .ref .command (this .hostUri , "/unit/master " , "publish" , msg );
43
43
44
- // add agents by following the format of the hostURI specified in TutorialPlane
45
- // line 12: @SwimRoute("/unit/:id")
44
+ // To instantiate more agents, follow the format of the URI pattern specified in TutorialPlane
45
+ // see line 12: @SwimRoute("/unit/:id")
46
46
47
- // this.ref.command(this.hostUri, "/unit/master2", "publish", msg);
48
- // this.ref.command(this.hostUri, "/unit/master3", "publish", msg);
47
+ // EXAMPLES:
48
+ // this.ref.command(this.hostUri, "/unit/secondAgent", "publish", msg);
49
+ // this.ref.command(this.hostUri, "/unit/thirdAgent", "publish", msg);
49
50
50
51
indicator = (indicator + 1 ) % 1000 ;
51
52
You can’t perform that action at this time.
0 commit comments