![]() ![]() The topics can be think of like a tag for each message, and can be in the form of one level or multi-levels (tree) each level separated by a slash (/) (.i.e: rooms/room1/sensors/temp ). The publish/subscribe model is quite different from the request/response model in HTTP, and this allows for one-to-many message transfer. There is no direct connection between the publisher and subscriber, simply the subscriber tells the broker (server) which topics it interested in, and the broker handles sending a message with data for the requested topic/s to all subscribers. The subscriber is the device which listens for topic/s.These messages are labeled with a ‘topic’ name. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |