I need a scenario where one node send a message and another node starts waiting to get the message.

Each node after getting message sent turns into listener and after receiving message it turns into publisher again.

有帮助吗?

解决方案

Look on this RPC example. You will have to slightly modify it to exit listening and start publishing.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top