Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

eduidl/zenoh-typed-pubsub-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zenoh-typed-pubsub

Subscribe

$ cargo run --bin sub
[pub] TestMessage { a: 0, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[pub] TestMessage { a: 1, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[pub] TestMessage { a: 2, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[pub] TestMessage { a: 3, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[pub] TestMessage { a: 4, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[pub] TestMessage { a: 5, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
:

Publish

Another terminal

$ cargo run --bin pub
[sub] TestMessage { a: 0, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[sub] TestMessage { a: 1, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[sub] TestMessage { a: 2, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[sub] TestMessage { a: 3, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
[sub] TestMessage { a: 4, b: "hello world", c: [20, 34, 2], d: (-1, 25), e: Nest { f: "hoge", g: 244 } }
:

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages