Skip to content

Commit ff9d5bf

Browse files
Merge pull request #2 from nhorlock/nhorlock-typo-fixes
Typo fixes and README clean ups
2 parents 09fc344 + 6679d1f commit ff9d5bf

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Simplx is open-sourced under the Apache 2.0 license, please see the [accompanyin
2727

2828
## Getting Started
2929

30-
About a dozen tutorials are included here, please see the [Tutorials README](./tutorials/README.md).
30+
About a dozen tutorials are included here, please see the [Tutorials README](./tutorial/README.md).
3131

3232
To build the first tutorial, open a terminal at the root of the repository and type:
3333

tutorial/10_timer/README.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11

2-
# Tutorial #8 - Ping Pong
3-
4-
This tutorial shows how Actors are instantiated and how they communicate with each other.
5-
A PongActor is instantiated as a service on CPU core #2, then a PingActor is instantiated on CPU core #1.
6-
A TravelLogEvent is sent from Ping to Pong and back to Ping, recording its location at each stop.
7-
8-
The workflow terminates after a hardcoded number for seconds; see tutorial #9 for a better and more elaborate exit procedure.
2+
# Tutorial #10 - Timer and periodic callbacks
93

4+
This tutorial shows how the timer proxy class is used to create periodic callback behaviour.
5+
The process will start an actor which outputs a message every second, terminating after three iterations.
106

tutorial/12_connector/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Tutorial #12 - TCP and HTTP Connectors
2+
3+
This tutorial consists of two separate examples.
4+
1. [TCP Connector](./tcp/sample/README.md) - TCP client and server running on the same host (uses separate processes)
5+
2. HTTP Connector - HTTP server demonstration, a fake monitoring service presented as JSON/HTTP.

tutorial/README.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
In this directory you'll find the following tutorials, sorted by inceasing complexity:
44

5-
1. hello actor
6-
2. hello world
7-
3. printer actor starter
8-
4. printer actor service
9-
5. callback
10-
6. undelivered event management
11-
7. referenced and unreferenced actors
12-
8. ping pong
13-
9. asynchronous exit
14-
10. timer
15-
11. asynchronous keyboard polling
16-
12. asynchronous tcp client & server
5+
1. [hello actor](./01_hello_actor/README.md) - Introduces the Framework by creating a new Actor
6+
2. [hello world](./02_hello_world/README.md) - Define your own simple Actor and a Callback
7+
3. [printer actor starter](./03_printer_actor_starter/README.md) - Create two actors that interact via message passing
8+
4. [printer actor service](./04_printer_actor_service/README.md) - As example #3 but use the ServiceTag to register in the service index
9+
5. [multi-callback](./05_multi_callback/README.md) - Use two different callback functions with a single Actor
10+
6. [undelivered event management](./06_undelivered_event_management/README.md) - why message passing/event delivery may fail and how to handle it.
11+
7. [referenced and unreferenced actors](./07_referenced_unreferenced_actor/README.md) - Introduces referenced actors and the same core invocation optimisation pattern.
12+
8. [ping pong](./08_pingpong/README.md) - Brings together earlier examples to create a two actor system with service discovery and two-way (asynchronous) communication.
13+
9. [asynchronous exit](./09_sync_exit/README.md) - Demonstrates a controlled exit using requestDestroy()
14+
10. [timer](./10_timer/README.md) - Demonstrates a periodic timer using the timer_proxy class.
15+
11. [asynchronous keyboard polling](./11_keyboard_actor/README.md) - Demonstrates the built-in keyboard actor, handling keypress events
16+
12. [asynchronous tcp/http client & server](./12_connector/README.md) - Demonstrates TCP and HTTP connector built-in actors
17+
13. [cross thread bus](./13_cross_thread_bus/README.md) - Demonstrates the integration of cooperative Actor with external services that are not so well-mannered. Can be used for integrating with thirdparty systems with their own eventloops and/or blocking services.
1718

1819
Each folder contains its own README file with further details.

0 commit comments

Comments
 (0)