Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remind the users start z_pong first in the ping pong example #852

Merged
merged 2 commits into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 32 additions & 30 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

Typical usage:
```bash
z_scout
z_scout
```

### z_info
Expand All @@ -30,7 +30,7 @@

Typical usage:
```bash
z_info
z_info
```


Expand All @@ -42,11 +42,11 @@

Typical usage:
```bash
z_put
z_put
```
or
```bash
z_put -k demo/example/test -v 'Hello World'
z_put -k demo/example/test -v 'Hello World'
```

### z_pub
Expand All @@ -56,11 +56,11 @@

Typical usage:
```bash
z_pub
z_pub
```
or
```bash
z_pub -k demo/example/test -v 'Hello World'
z_pub -k demo/example/test -v 'Hello World'
```

### z_sub
Expand All @@ -70,11 +70,11 @@

Typical usage:
```bash
z_sub
z_sub
```
or
```bash
z_sub -k 'demo/**'
z_sub -k 'demo/**'
```

### z_pull
Expand All @@ -85,11 +85,11 @@

Typical usage:
```bash
z_pull
z_pull
```
or
```bash
z_pull -k 'demo/**'
z_pull -k 'demo/**'
```

### z_get
Expand All @@ -100,11 +100,11 @@

Typical usage:
```bash
z_get
z_get
```
or
```bash
z_get -s 'demo/**'
z_get -s 'demo/**'
```

### z_queryable
Expand All @@ -115,11 +115,11 @@

Typical usage:
```bash
z_queryable
z_queryable
```
or
```bash
z_queryable -k demo/example/queryable -v 'This is the result'
z_queryable -k demo/example/queryable -v 'This is the result'
```

### z_storage
Expand All @@ -132,11 +132,11 @@

Typical usage:
```bash
z_storage
z_storage
```
or
```bash
z_storage -k 'demo/**'
z_storage -k 'demo/**'
```

### z_pub_shm & z_sub
Expand All @@ -146,12 +146,12 @@

Typical Subscriber usage:
```bash
z_sub
z_sub
```

Typical Publisher usage:
```bash
z_pub_shm
z_pub_shm
```

### z_pub_thr & z_sub_thr
Expand All @@ -162,12 +162,12 @@

Typical Subscriber usage:
```bash
z_sub_thr
z_sub_thr
```

Typical Publisher usage:
```bash
z_pub_thr 1024
z_pub_thr 1024
```

### z_ping & z_pong
Expand All @@ -179,14 +179,16 @@
The pong application waits for samples on the first key expression and replies by
writing back the received data on the second key expression.

:warning: z_pong needs to start first to avoid missing the kickoff from z_ping.

Typical Pong usage:
```bash
z_pong
z_pong
```

Typical Ping usage:
```bash
z_ping 1024
z_ping 1024
```

### z_pub_shm_thr & z_sub_thr
Expand All @@ -199,12 +201,12 @@

Typical Subscriber usage:
```bash
z_sub_thr
z_sub_thr
```

Typical Publisher usage:
```bash
z_pub_shm_thr
z_pub_shm_thr
```

### z_liveliness
Expand All @@ -216,11 +218,11 @@

Typical usage:
```bash
z_liveliness
z_liveliness
```
or
```bash
z_liveliness -k 'group1/member1'
z_liveliness -k 'group1/member1'
```

### z_get_liveliness
Expand All @@ -230,11 +232,11 @@

Typical usage:
```bash
z_get_liveliness
z_get_liveliness
```
or
```bash
z_get_liveliness -k 'group1/**'
z_get_liveliness -k 'group1/**'
```

### z_sub_liveliness
Expand All @@ -248,9 +250,9 @@

Typical usage:
```bash
z_sub_liveliness
z_sub_liveliness
```
or
```bash
z_sub_liveliness -k 'group1/**'
z_sub_liveliness -k 'group1/**'
```