readme
来自「ICE-3.2 一个开源的中间件」· 代码 · 共 63 行
TXT
63 行
To run the demo, start the IceStorm service:$ icebox --Ice.Config=config.iceboxThis configuration assumes there is a subdirectory named db in thecurrent working directory.In a separate window:$ subscriberIn another window:$ publisherWhile the publisher continues to run, "tick" messages should bedisplayed in the subscriber window.Both the subscriber and publisher take an optional topic name as afinal argument. The default value for this topic is "time".Through the use of command-line options both the subscriber andpublisher can use different QoS for sending and receiving messages.For the subscriber:subscriber --oneway The subscriber receives events as oneway messages. This is the default.subscriber --datagram The subscriber receives events as datagrams.subscriber --twoway The subscriber receives events as twoway messages.subscriber --ordered The subscriber receives events as twoway messages with guaranteed ordering.subscriber --batch This is an additional flag that forwards datagram and oneway events to the subscriber in batches.For the publisher:publisher --oneway The publisher sends events as oneway messages. This is the default.publisher --datagram The publisher sends events as datagrams.publisher --twoway The publisher sends events as twoway messages.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?