You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Swim unifies the traditionally disparate roles of database, message broker, job manager, and application server, into a few simple constructs.
4
4
5
-
*Read this in other languages: [English](README.md), [简体中文](README.zh-cn.md)*
5
+
*Read this in other languages: [简体中文](README.zh-cn.md)*
6
6
7
7
## Web Agents
8
8
@@ -26,20 +26,20 @@ Visit the [documentation](https://developer.swim.ai/concepts/lanes/) for further
26
26
27
27
A Swim server is loaded with a **plane**, which provides the runtime for Web Agents and routes messages to the correct lanes.
28
28
29
-
A plane must [declare an `AgentType` field](http://github.com/swimos/tutorial/tree/master/server/src/main/java/swim/tutorial/TutorialPlane.java#L13-L14) for each Web Agent type.
29
+
A plane must [declare a `SwimRoute` field](http://github.com/swimos/tutorial/tree/master/server/src/main/java/swim/tutorial/TutorialPlane.java#L13-L14) for each Web Agent type.
30
30
31
-
Use the `ServerLoader` utility class to [load a plane into a Swim server](http://github.com/swimos/tutorial/tree/master/server/src/main/java/swim/tutorial/TutorialPlane.java#L18). Note that your module must [`provide``swim.api.plane.Plane` with your custom plane class](http://github.com/swimos/tutorial/tree/master/server/src/main/java/module-info.java#L8).
31
+
Use the `ServerLoader` utility class to [load the default kernel modules](http://github.com/swimos/tutorial/tree/master/server/src/main/java/swim/tutorial/TutorialPlane.java#L19).
32
32
33
33
Visit the [documentation](https://developer.swim.ai/concepts) for further details about these concepts.
34
34
35
35
## Populating a Swim Server With Your Data
36
36
37
-
Every Swim server can be written to and read from by external processes using the Swim API. The simplest way to utilize this API is to use a **Swim client** instance to [send commands to command lanes](http://github.com/swimos/tutorial/blob/master/server/src/main/java/swim/tutorial/DataSource.java#L40).
37
+
Every Swim server can be written to and read from by external processes using the Swim API. The simplest way to utilize this API is to use a **Swim client** instance to [send commands to command lanes](http://github.com/swimos/tutorial/blob/master/server/src/main/java/swim/tutorial/DataSource.java#L42).
38
38
39
39
Visit the [documentation](https://developer.swim.ai/concepts) for further details about these concepts.
40
40
41
41
## Subscribing to Swim Server Data
42
42
43
-
Swim client instances use Swim **links** to pull data from a Swim lanes. Like their corresponding lanes, links have overridable callback functions that can be used to [populate UIs](http://github.com/swimos/tutorial/tree/master/ui/index.html#L111-L133).
43
+
Swim client instances use Swim **links** to pull data from a Swim lanes. Like their corresponding lanes, links have overridable callback functions that can be used to [populate UIs](http://github.com/swimos/tutorial/tree/master/ui/index.html#L116-L141).
44
44
45
45
Visit the [documentation](https://developer.swim.ai/concepts/links/) for further details about links.
0 commit comments