此内容没有您所选择的语言版本。
Chapter 8. Message delivery
8.1. Sending messages 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
To send a message, create a connection, session, and sender link, then call the Sender.Send() method with a Message object.
Example: Sending messages
For more information, see the Send.cs example.
8.2. Receiving messages 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
To receive a message, create a connection, session, and receiver link, then call the Receiver.Receive() method and use the returned Message object.
Example: Receiving messages
The Receiver.Accept() call tells the remote peer that the message was received and processed.
For more information, see the Receive.cs example.